-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
schema: actually add the schema file
I managed to forget adding the file in opencontainers/image-spec#18 Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
- Loading branch information
1 parent
d820385
commit de0c32a
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
] | ||
} |