Skip to content

Commit 2eebaf6

Browse files
author
xiekeyang
committed
bug fix error syntax in schema definitions
Signed-off-by: xiekeyang <[email protected]>
1 parent 7ccc18a commit 2eebaf6

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

schema/content-descriptor.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66
"properties": {
77
"mediaType": {
88
"description": "the mediatype of the referenced object",
9-
"$ref": "defs-image.json#definitions/mediaType"
9+
"$ref": "defs-image.json#/definitions/mediaType"
1010
},
1111
"size": {
1212
"description": "the size in bytes of the referenced object",
1313
"$ref": "defs.json#/definitions/int64"
1414
},
1515
"digest": {
16-
"$ref": "defs-image.json#definitions/digest"
16+
"description": "the cryptographic checksum digest of the object, in the pattern '<hash>:<hexadecimal digest>'",
17+
"$ref": "defs-image.json#/definitions/digest"
1718
},
1819
"urls": {
1920
"description": "a list of urls from which this object may be downloaded",

schema/defs-image.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@
2323
"properties": {
2424
"mediaType": {
2525
"description": "the mediatype of the referenced object",
26-
"$ref": "#definitions/mediaType"
26+
"$ref": "#/definitions/mediaType"
2727
},
2828
"size": {
2929
"description": "the size in bytes of the referenced object",
3030
"$ref": "defs.json#/definitions/int64"
3131
},
3232
"digest": {
33-
"$ref": "#definitions/digest"
33+
"description": "the cryptographic checksum digest of the object, in the pattern '<hash>:<hexadecimal digest>'",
34+
"$ref": "#/definitions/digest"
3435
},
3536
"urls": {
3637
"description": "a list of urls from which this object may be downloaded",

0 commit comments

Comments
 (0)