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." },
"document_ref": { "type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9._:-]*$" },
"evidence_type": { "enum": [ "document_metadata",
"source_text",
"table_cell",
"table_row",
"image_region",
"chart",
"signature",
"stamp",
"handwritten_annotation",
"highlight",
"qr_code",
"barcode",
"other" ] },
"page": { "oneOf": [ { "type": "integer",
"minimum": 1 },
{ "type": "string" } ] },
"page_label": { "type": "string" },
"locator": { "$ref": "#/$defs/evidence_locator" },
"raw_text": { "type": "string" },
"asset_uri": { "type": "string",
"format": "uri-reference" },
"extraction": { "$ref": "#/$defs/extraction" },
"notes": { "type": "array",
"items": { "type": "string" } } },
"required": [ "id",
"document_ref",
"evidence_type",
"page",
"extraction" ],
"description": "Source-addressable evidence used by normalized fields and later MatCheckJSON evaluations."}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. |
document_ref | string — pattern ^[A-Za-z][A-Za-z0-9._:-]*$ | Required | Document ref used by this schema object. |
evidence_type | enum — "document_metadata", "source_text", "table_cell", "table_row", "image_region", "chart", … | Required | Evidence type used by this schema object. |
page | One Of (2) | Required | Printed or electronic source page supporting the requirement. |
page_label | string | Optional | Page label used by this schema object. |
locator | Evidence locator | Optional | Locator used by this schema object. |
raw_text | string | Optional | Raw text used by this schema object. |
asset_uri | string | Optional | Asset uri used by this schema object. |
extraction | Extraction | Required | Extraction used by this schema object. |
notes | array | Optional | Additional explanatory notes that do not replace the structured requirement. |