| 1 | { |
| 2 | "$schema": "http://json-schema.org/draft-04/schema", |
| 3 | "title": "Git LFS HTTPS Batch API Request", |
| 4 | "type": "object", |
| 5 | "properties": { |
| 6 | "transfers": { |
| 7 | "type": "array", |
| 8 | "items": { |
| 9 | "type": "string" |
| 10 | } |
| 11 | }, |
| 12 | "operation": { |
| 13 | "type": "string" |
| 14 | }, |
| 15 | "objects": { |
| 16 | "type": "array", |
| 17 | "items": { |
| 18 | "type": "object", |
| 19 | "properties": { |
| 20 | "oid": { |
| 21 | "type": "string" |
| 22 | }, |
| 23 | "size": { |
| 24 | "type": "number", |
| 25 | "minimum": 0 |
| 26 | }, |
| 27 | "authenticated": { |
| 28 | "type": "boolean" |
| 29 | } |
| 30 | }, |
| 31 | "required": ["oid", "size"], |
| 32 | "additionalProperties": false |
| 33 | } |
| 34 | } |
| 35 | }, |
| 36 | "required": ["objects", "operation"] |
| 37 | } |