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
#18

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
  • Loading branch information
vbatts committed Apr 15, 2016
1 parent 8300b50 commit a563210
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions schema/manifest-list-schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"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"
}
},
"annotations": {
"id": "https://opencontainers.org/schema/image/manifest-list/annotations",
"oneOf": [
{
"$ref": "defs.json#/definitions/mapStringString"
},
{
"type": "null"
}
]
}
},
"required": [
"schemaVersion",
"mediaType",
"manifests"
]
}

0 comments on commit a563210

Please sign in to comment.