Skip to content

Commit

Permalink
schema: actually add the schema file
Browse files Browse the repository at this point in the history
I managed to forget adding the file in
opencontainers/image-spec#18

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
  • Loading branch information
laventuraw committed Oct 6, 2021
1 parent d820385 commit de0c32a
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions schema/manifest-list-schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"description": "OpenContainer Image Manifest List Specification",
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://opencontainers.org/schema/image/manifest-list",
"type": "object",
"properties": {
"schemaVersion": {
"description": "This field specifies the image manifest-list schema version as an integer",
"id": "https://opencontainers.org/schema/image/manifest-list/schemaVersion",
"type": "integer"
},
"mediaType": {
"id": "https://opencontainers.org/schema/image/manifest-list/mediaType",
"$ref": "defs-image.json#/definitions/mediaType"
},
"manifests": {
"type": "array",
"items": {
"$ref": "defs-image.json#/definitions/manifestObject"
}
}
},
"required": [
"schemaVersion",
"mediaType",
"manifests"
]
}

0 comments on commit de0c32a

Please sign in to comment.