debian-mirror-gitlab/spec/fixtures/api/schemas/entities/github/commit.json

62 lines
2.1 KiB
JSON
Raw Normal View History

2020-11-24 15:15:51 +05:30
{
"type": "object",
"properties" : {
"sha": { "type": "string" },
"parents": {
"type": "array",
"properties": {
"sha": { "type": "string" }
},
"additionalProperties": false
},
"author": {
"type": "object",
"required": ["login", "email"],
"properties" : {
"login": { "type": ["string", "null"] },
"email": { "type": "string" }
},
"additionalProperties": false
},
"committer": {
"type": "object",
"required": ["login", "email"],
"properties" : {
"login": { "type": ["string", "null"] },
"email": { "type": "string" }
},
"additionalProperties": false
},
"commit": {
"type": "object",
"properties": {
"message": { "type": "string" },
"author": {
"type": "object",
"required": ["name", "email", "date", "type"],
"properties" : {
"name": { "type": "string" },
"email": { "type": "string" },
2021-06-08 01:23:25 +05:30
"date": { "type": "string", "format": "date-time" },
2020-11-24 15:15:51 +05:30
"type": { "type": "string" }
},
"additionalProperties": false
},
"committer": {
"type": "object",
"required": ["name", "email", "date", "type"],
"properties" : {
"name": { "type": "string" },
"email": { "type": "string" },
2021-06-08 01:23:25 +05:30
"date": { "type": "string", "format": "date-time" },
2020-11-24 15:15:51 +05:30
"type": { "type": "string" }
},
"additionalProperties": false
},
"additionalProperties": false
}
},
"additionalProperties": false
}
}