...
1{
2 "description": "OpenContainer Content Descriptor Specification",
3 "$schema": "http://json-schema.org/draft-04/schema#",
4 "id": "https://opencontainers.org/schema/descriptor",
5 "type": "object",
6 "properties": {
7 "mediaType": {
8 "description": "the mediatype of the referenced object",
9 "$ref": "defs-descriptor.json#/definitions/mediaType"
10 },
11 "size": {
12 "description": "the size in bytes of the referenced object",
13 "$ref": "defs.json#/definitions/int64"
14 },
15 "digest": {
16 "description": "the cryptographic checksum digest of the object, in the pattern '<algorithm>:<encoded>'",
17 "$ref": "defs-descriptor.json#/definitions/digest"
18 },
19 "urls": {
20 "description": "a list of urls from which this object may be downloaded",
21 "$ref": "defs-descriptor.json#/definitions/urls"
22 },
23 "data": {
24 "description": "an embedding of the targeted content (base64 encoded)",
25 "$ref": "defs.json#/definitions/base64"
26 },
27 "artifactType": {
28 "description": "the IANA media type of this artifact",
29 "$ref": "defs-descriptor.json#/definitions/mediaType"
30 },
31 "annotations": {
32 "id": "https://opencontainers.org/schema/descriptor/annotations",
33 "$ref": "defs-descriptor.json#/definitions/annotations"
34 }
35 },
36 "required": [
37 "mediaType",
38 "size",
39 "digest"
40 ]
41}
View as plain text