Evidence

Source-addressable evidence used by normalized fields and later MatCheckJSON evaluations.

$defs.evidence · 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."        },
        "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

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.
document_refstring — pattern ^[A-Za-z][A-Za-z0-9._:-]*$RequiredDocument ref used by this schema object.
evidence_typeenum — "document_metadata", "source_text", "table_cell", "table_row", "image_region", "chart", …RequiredEvidence type used by this schema object.
pageOne Of (2)RequiredPrinted or electronic source page supporting the requirement.
page_labelstringOptionalPage label used by this schema object.
locatorEvidence locatorOptionalLocator used by this schema object.
raw_textstringOptionalRaw text used by this schema object.
asset_uristringOptionalAsset uri used by this schema object.
extractionExtractionRequiredExtraction used by this schema object.
notesarrayOptionalAdditional explanatory notes that do not replace the structured requirement.