Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion descriptor.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The following describe the primary set of properties that make up a _Descriptor_
This REQUIRED property is the _digest_ of the targeted content, meeting the requirements outlined in [Digests and Verification](#digests-and—verification).
Retrieved content SHOULD be verified against this digest when consumed via untrusted sources.

- **`size`** *int*
- **`size`** *int64*
This REQUIRED property specifies the size in bytes of the blob.
This property exists so that a client will have an expected size for the content before validating.
If the length of the retrieved content does not match the specified length, the content SHOULD NOT be trusted.
Expand Down
2 changes: 1 addition & 1 deletion schema/content-descriptor.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"size": {
"description": "the size in bytes of the referenced object",
"type": "integer"
"$ref": "defs.json#/definitions/int64"
},
"digest": {
"$ref": "defs-image.json#definitions/digest"
Expand Down
2 changes: 1 addition & 1 deletion schema/defs-image.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"size": {
"description": "the size in bytes of the referenced object",
"type": "integer"
"$ref": "defs.json#/definitions/int64"
},
"digest": {
"$ref": "#definitions/digest"
Expand Down