| 1 | { |
| 2 | "$schema": "http://json-schema.org/draft-04/schema", |
| 3 | "title": "Git LFS HTTPS Lock Verify API Response", |
| 4 | "type": "object", |
| 5 | |
| 6 | "definitions": { |
| 7 | "lock": { |
| 8 | "type": "object", |
| 9 | "properties": { |
| 10 | "id": { |
| 11 | "type": "string" |
| 12 | }, |
| 13 | "path": { |
| 14 | "type": "string" |
| 15 | }, |
| 16 | "locked_at": { |
| 17 | "type": "string" |
| 18 | }, |
| 19 | "owner": { |
| 20 | "type": "object", |
| 21 | "properties": { |
| 22 | "name": { |
| 23 | "type": "string" |
| 24 | } |
| 25 | } |
| 26 | } |
| 27 | }, |
| 28 | "required": ["id", "path"] |
| 29 | } |
| 30 | }, |
| 31 | |
| 32 | "properties": { |
| 33 | "ours": { |
| 34 | "type": "array", |
| 35 | "items": { |
| 36 | "$ref": "#/definitions/lock" |
| 37 | } |
| 38 | }, |
| 39 | "theirs": { |
| 40 | "type": "array", |
| 41 | "items": { |
| 42 | "$ref": "#/definitions/lock" |
| 43 | } |
| 44 | }, |
| 45 | "next_cursor": { |
| 46 | "type": "string" |
| 47 | } |
| 48 | }, |
| 49 | "required": ["ours", "theirs"] |
| 50 | } |