34 lines
956 B
JSON
34 lines
956 B
JSON
|
{
|
||
|
"description": "OpenContainer Content Descriptor Specification",
|
||
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
||
|
"id": "https://opencontainers.org/schema/descriptor",
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"mediaType": {
|
||
|
"description": "the mediatype of the referenced object",
|
||
|
"$ref": "defs-image.json#/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 '<hash>:<hexadecimal digest>'",
|
||
|
"$ref": "defs-image.json#/definitions/digest"
|
||
|
},
|
||
|
"urls": {
|
||
|
"description": "a list of urls from which this object may be downloaded",
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"type": "string",
|
||
|
"format": "uri"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"required": [
|
||
|
"mediaType",
|
||
|
"size",
|
||
|
"digest"
|
||
|
]
|
||
|
}
|