github.com/ijc/docker-app@v0.6.1-0.20181012090447-c7ca8bc483fb/specification/schemas/metadata_schema_v0.1.json (about) 1 { 2 "$schema": "http://json-schema.org/draft-04/schema#", 3 "id": "metadata_schema_v0.1.json", 4 "type": "object", 5 "properties": { 6 "name": { 7 "type": "string", 8 "format": "hostname" 9 }, 10 "version": { 11 "type": "string" 12 }, 13 "description": { 14 "type": [ 15 "string", 16 "null" 17 ] 18 }, 19 "namespace": { 20 "type": "string" 21 }, 22 "maintainers": { 23 "type": "array", 24 "items": { 25 "$ref": "#/definitions/maintainer" 26 } 27 }, 28 "parents": { 29 "type": "array", 30 "items": { 31 "$ref": "#/definitions/parent" 32 } 33 } 34 }, 35 "required": [ 36 "name", 37 "version" 38 ], 39 "definitions": { 40 "maintainer": { 41 "id": "#/definitions/maintainer", 42 "type": "object", 43 "properties": { 44 "name": { 45 "type": "string" 46 }, 47 "email": { 48 "type": [ 49 "string", 50 "null" 51 ], 52 "format": "email" 53 } 54 } 55 }, 56 "parent": { 57 "id": "#/definitions/parent", 58 "properties": { 59 "name": { 60 "type": "string", 61 "format": "hostname" 62 }, 63 "namespace": { 64 "type": "string" 65 }, 66 "version": { 67 "type": "string" 68 }, 69 "maintainers": { 70 "type": "array", 71 "items": { 72 "$ref": "#/definitions/maintainer" 73 } 74 } 75 } 76 } 77 }