debian-mirror-gitlab/spec/fixtures/api/schemas/public_api/v4/comment.json
2017-09-10 17:25:29 +05:30

21 lines
396 B
JSON

{
"type": "object",
"required" : [
"name",
"message",
"commit",
"release"
],
"properties" : {
"name": { "type": "string" },
"message": { "type": ["string", "null"] },
"commit": { "$ref": "commit/basic.json" },
"release": {
"oneOf": [
{ "type": "null" },
{ "$ref": "release.json" }
]
}
},
"additionalProperties": false
}