|
| 1 | +{ |
| 2 | + "description": "Definitions particular to OpenContainer Image Specification", |
| 3 | + "definitions": { |
| 4 | + "mediaType": { |
| 5 | + "id": "https://opencontainers.org/schema/image/mediaType", |
| 6 | + "type": "string", |
| 7 | + "pattern": "^[a-z]+/[0-9a-zA-Z.+]+$" |
| 8 | + }, |
| 9 | + "digest": { |
| 10 | + "description": "the cryptographic checksum digest of the object, in the pattern '<hash>:<hexadecimal digest>'", |
| 11 | + "type": "string", |
| 12 | + "pattern": "^[a-z0-9]+:[a-fA-F0-9]+$" |
| 13 | + }, |
| 14 | + "blobObject": { |
| 15 | + "id": "https://opencontainers.org/schema/image/blobObject", |
| 16 | + "type": "object", |
| 17 | + "required": [ |
| 18 | + "mediaType", |
| 19 | + "size", |
| 20 | + "digest" |
| 21 | + ], |
| 22 | + "properties": { |
| 23 | + "mediaType": { |
| 24 | + "description": "the mediatype of the referenced object", |
| 25 | + "$ref": "#definitions/mediaType" |
| 26 | + }, |
| 27 | + "size": { |
| 28 | + "description": "the size in bytes of the referenced object", |
| 29 | + "type": "integer" |
| 30 | + }, |
| 31 | + "digest": { |
| 32 | + "$ref": "#definitions/digest" |
| 33 | + } |
| 34 | + } |
| 35 | + }, |
| 36 | + "manifestObject": { |
| 37 | + "id": "https://opencontainers.org/schema/image/manifestObject", |
| 38 | + "type": "object", |
| 39 | + "required": [ |
| 40 | + "mediaType", |
| 41 | + "size", |
| 42 | + "digest", |
| 43 | + "platform" |
| 44 | + ], |
| 45 | + "properties": { |
| 46 | + "mediaType": { |
| 47 | + "description": "the mediatype of the referenced object", |
| 48 | + "$ref": "#definitions/mediaType" |
| 49 | + }, |
| 50 | + "size": { |
| 51 | + "description": "the size in bytes of the referenced object", |
| 52 | + "type": "integer" |
| 53 | + }, |
| 54 | + "digest": { |
| 55 | + "$ref": "#definitions/digest" |
| 56 | + }, |
| 57 | + "platform": { |
| 58 | + "id": "https://opencontainers.org/schema/image/platform", |
| 59 | + "type": "object", |
| 60 | + "required": [ |
| 61 | + "architecture", |
| 62 | + "os" |
| 63 | + ], |
| 64 | + "properties": { |
| 65 | + "architecture": { |
| 66 | + "id": "https://opencontainers.org/schema/image/platform/architecture", |
| 67 | + "type": "string" |
| 68 | + }, |
| 69 | + "os": { |
| 70 | + "id": "https://opencontainers.org/schema/image/platform/os", |
| 71 | + "type": "string" |
| 72 | + }, |
| 73 | + "os.version": { |
| 74 | + "id": "https://opencontainers.org/schema/image/platform/os.version", |
| 75 | + "type": "string" |
| 76 | + }, |
| 77 | + "os.features": { |
| 78 | + "id": "https://opencontainers.org/schema/image/platform/os.features", |
| 79 | + "type": "array", |
| 80 | + "items": { |
| 81 | + "type": "string" |
| 82 | + } |
| 83 | + }, |
| 84 | + "variant": { |
| 85 | + "type": "string" |
| 86 | + }, |
| 87 | + "features": { |
| 88 | + "type": "array", |
| 89 | + "items": { |
| 90 | + "type": "string" |
| 91 | + }, |
| 92 | + "additionalProperties": false |
| 93 | + } |
| 94 | + } |
| 95 | + } |
| 96 | + } |
| 97 | + } |
| 98 | + } |
| 99 | +} |
0 commit comments