github.com/stffabi/git-lfs@v2.3.5-0.20180214015214-8eeaa8d88902+incompatible/tq/schemas/http-batch-response-schema.json (about) 1 { 2 "$schema": "http://json-schema.org/draft-04/schema", 3 "title": "Git LFS HTTPS Batch API Response", 4 "type": "object", 5 6 "definitions": { 7 "action": { 8 "type": "object", 9 "properties": { 10 "href": { 11 "type": "string" 12 }, 13 "header": { 14 "type": "object", 15 "additionalProperties": true 16 }, 17 "expires_in": { 18 "type": "number", 19 "maximum": 2147483647, 20 "minimum": -2147483647 21 }, 22 "expires_at": { 23 "type": "string" 24 } 25 }, 26 "required": ["href"], 27 "additionalProperties": false 28 } 29 }, 30 31 "properties": { 32 "transfer": { 33 "type": "string" 34 }, 35 "objects": { 36 "type": "array", 37 "items": { 38 "type": "object", 39 "properties": { 40 "oid": { 41 "type": "string" 42 }, 43 "size": { 44 "type": "number", 45 "minimum": 0 46 }, 47 "authenticated": { 48 "type": "boolean" 49 }, 50 "actions": { 51 "type": "object", 52 "properties": { 53 "download": { "$ref": "#/definitions/action" }, 54 "upload": { "$ref": "#/definitions/action" }, 55 "verify": { "$ref": "#/definitions/action" } 56 }, 57 "additionalProperties": false 58 }, 59 "error": { 60 "type": "object", 61 "properties": { 62 "code": { 63 "type": "number" 64 }, 65 "message": { 66 "type": "string" 67 } 68 }, 69 "required": ["code", "message"], 70 "additionalProperties": false 71 } 72 }, 73 "required": ["oid", "size"], 74 "additionalProperties": false 75 } 76 }, 77 "message": { 78 "type": "string" 79 }, 80 "request_id": { 81 "type": "string" 82 }, 83 "documentation_url": { 84 "type": "string" 85 } 86 }, 87 "required": ["objects"] 88 }