66 lines
2.1 KiB
JSON
66 lines
2.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
|
|
"type": "object",
|
|
"oneOf": [
|
|
{
|
|
"properties": {
|
|
"locks": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"path": {
|
|
"type": "string"
|
|
},
|
|
"committer": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"email": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["name", "email"]
|
|
},
|
|
"commit_sha": {
|
|
"type": "string"
|
|
},
|
|
"locked_at": {
|
|
"type": "string"
|
|
},
|
|
"unlocked_at": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["id", "path", "commit_sha", "locked_at"],
|
|
"additionalItems": false
|
|
}
|
|
},
|
|
"next_cursor": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": ["locks"]
|
|
},
|
|
{
|
|
"properties": {
|
|
"locks": {
|
|
"type": "null"
|
|
},
|
|
"error": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": ["error"]
|
|
}
|
|
]
|
|
}
|