{ "description": "Definitions particular to OpenContainer Image Specification", "definitions": { "mediaType": { "id": "https://opencontainers.org/schema/image/mediaType", "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9!#$&-^_.+]{0,126}/[A-Za-z0-9][A-Za-z0-9!#$&-^_.+]{0,126}$" }, "digest": { "description": "the cryptographic checksum digest of the object, in the pattern ':'", "type": "string", "pattern": "^[a-z0-9_+.-]+:[a-f0-9]+$" }, "manifestDescriptor": { "id": "https://opencontainers.org/schema/image/manifestDescriptor", "type": "object", "required": [ "mediaType", "size", "digest", "platform" ], "properties": { "mediaType": { "description": "the mediatype of the referenced object", "$ref": "#/definitions/mediaType" }, "size": { "description": "the size in bytes of the referenced object", "$ref": "defs.json#/definitions/int64" }, "digest": { "description": "the cryptographic checksum digest of the object, in the pattern ':'", "$ref": "#/definitions/digest" }, "urls": { "description": "a list of urls from which this object may be downloaded", "type": "array", "items": { "type": "string", "format": "uri" } }, "platform": { "id": "https://opencontainers.org/schema/image/platform", "type": "object", "required": [ "architecture", "os" ], "properties": { "architecture": { "id": "https://opencontainers.org/schema/image/platform/architecture", "type": "string" }, "os": { "id": "https://opencontainers.org/schema/image/platform/os", "type": "string" }, "os.version": { "id": "https://opencontainers.org/schema/image/platform/os.version", "type": "string" }, "os.features": { "id": "https://opencontainers.org/schema/image/platform/os.features", "type": "array", "items": { "type": "string" } }, "variant": { "type": "string" }, "features": { "type": "array", "items": { "type": "string" } } } } } }, "annotations": { "id": "https://opencontainers.org/schema/image/annotations", "oneOf": [ { "$ref": "defs.json#/definitions/mapStringString" }, { "type": "null" } ] } } }