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." },
"subject_material_ref": { "type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9._:-]*$" },
"relation": { "enum": [ "derived_from",
"cut_from",
"formed_from",
"bent_from",
"forged_from",
"machined_from",
"welded_from",
"sampled_from",
"specimen_of",
"coupon_for",
"part_of",
"split_from",
"combined_from",
"traceable_to",
"retest_of",
"heat_treated_from",
"represented_by",
"other" ] },
"object_material_ref": { "type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9._:-]*$" },
"note": { "type": "string" },
"evidence_refs": { "type": "array",
"items": { "type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9._:-]*$" },
"minItems": 1,
"uniqueItems": true } },
"required": [ "id",
"subject_material_ref",
"relation",
"object_material_ref",
"evidence_refs" ],
"description": "A directed traceability statement: subject relation object. Example: a U-bend derived_from a straight tube."}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. |
subject_material_ref | string — pattern ^[A-Za-z][A-Za-z0-9._:-]*$ | Required | Subject material ref used by this schema object. |
relation | enum — "derived_from", "cut_from", "formed_from", "bent_from", "forged_from", "machined_from", … | Required | Relation used by this schema object. |
object_material_ref | string — pattern ^[A-Za-z][A-Za-z0-9._:-]*$ | Required | Object material ref used by this schema object. |
note | string | Optional | Note used by this schema object. |
evidence_refs | array — at least 1 item(s) | Required | Evidence refs used by this schema object. |