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." },
"type": { "enum": [ "purchase_order",
"sales_order",
"customer_order",
"mill_order",
"work_order",
"job",
"project",
"requisition",
"bom_item",
"customer_item",
"supplier_item",
"line_item",
"delivery",
"shipment",
"invoice",
"drawing",
"equipment_item",
"commodity",
"other" ] },
"value": { "type": "string",
"minLength": 1 },
"line": { "type": "string" },
"description": { "type": "string" },
"issuer_party_ref": { "type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9._:-]*$" },
"date": { "type": "string",
"format": "date" },
"evidence_refs": { "type": "array",
"items": { "type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9._:-]*$" },
"minItems": 1,
"uniqueItems": true } },
"required": [ "id",
"type",
"value",
"evidence_refs" ]}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. |
type | enum — "purchase_order", "sales_order", "customer_order", "mill_order", "work_order", "job", … | Required | Controlled category used by consumers to determine how the value is interpreted. |
value | string | Required | The value supplied, required, reported, or compared at this location. |
line | string | Optional | Line used by this schema object. |
description | string | Optional | Human-readable explanation of the object, rule, input, or scope. |
issuer_party_ref | string — pattern ^[A-Za-z][A-Za-z0-9._:-]*$ | Optional | Issuer party ref used by this schema object. |
date | string | Optional | Date used by this schema object. |
evidence_refs | array — at least 1 item(s) | Required | Evidence refs used by this schema object. |