Definition JSON
This fragment is shown exactly as published. Use the chevrons to fold objects and arrays; linked $ref values return to their targets in the complete schema.
{ "type": "object",
"additionalProperties": false,
"properties": { "id": { "type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9._:-]*$",
"minLength": 1,
"description": "Record-local stable identifier. IDs are intended to be unique across the complete MatRecordJSON package." },
"filename": { "type": "string",
"minLength": 1 },
"media_type": { "type": "string",
"minLength": 1 },
"sha256": { "type": "string",
"pattern": "^[A-Fa-f0-9]{64}$" },
"page_count": { "type": "integer",
"minimum": 1 },
"byte_size": { "type": "integer",
"minimum": 0 },
"source_uri": { "type": "string",
"format": "uri-reference" },
"received_filename": { "type": "string" },
"notes": { "type": "array",
"items": { "type": "string" } } },
"required": [ "id",
"filename",
"media_type" ],
"description": "Physical source file. One file can contain several logical certificates or reports."}Fields
| Field | Type | Status | Meaning |
|---|---|---|---|
id | string — pattern ^[A-Za-z][A-Za-z0-9._:-]*$ | Required | Record-local stable identifier. IDs are intended to be unique across the complete MatRecordJSON package. |
filename | string | Required | Filename used by this schema object. |
media_type | string | Required | Media type used by this schema object. |
sha256 | string — pattern ^[A-Fa-f0-9]{64}$ | Optional | Sha256 used by this schema object. |
page_count | integer — minimum 1 | Optional | Page count used by this schema object. |
byte_size | integer — minimum 0 | Optional | Byte size used by this schema object. |
source_uri | string | Optional | Source uri used by this schema object. |
received_filename | string | Optional | Received filename used by this schema object. |
notes | array | Optional | Additional explanatory notes that do not replace the structured requirement. |