Source file

Physical source file. One file can contain several logical certificates or reports.

$defs.source_file · object

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

FieldTypeStatusMeaning
idstring — pattern ^[A-Za-z][A-Za-z0-9._:-]*$RequiredRecord-local stable identifier. IDs are intended to be unique across the complete MatRecordJSON package.
filenamestringRequiredFilename used by this schema object.
media_typestringRequiredMedia type used by this schema object.
sha256string — pattern ^[A-Fa-f0-9]{64}$OptionalSha256 used by this schema object.
page_countinteger — minimum 1OptionalPage count used by this schema object.
byte_sizeinteger — minimum 0OptionalByte size used by this schema object.
source_uristringOptionalSource uri used by this schema object.
received_filenamestringOptionalReceived filename used by this schema object.
notesarrayOptionalAdditional explanatory notes that do not replace the structured requirement.