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,
"required": [ "id",
"matrecord_input_ref",
"material_refs" ],
"properties": { "id": { "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/local_id" },
"matrecord_input_ref": { "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/local_id" },
"material_refs": { "type": "array",
"minItems": 1,
"uniqueItems": true,
"items": { "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/local_id" } },
"description": { "type": "string" },
"role": { "enum": [ "primary",
"related",
"source_material",
"finished_product",
"coupon",
"specimen" ] },
"selector_context": { "$ref": "#/$defs/selector_context" },
"notes": { "type": "array",
"items": { "type": "string" } } }}Fields
| Field | Type | Status | Meaning |
|---|---|---|---|
id | Local id | Required | Stable identifier for this object within its containing MatJSON document. |
matrecord_input_ref | Local id | Required | Matrecord input ref used by this schema object. |
material_refs | array — at least 1 item(s) | Required | Material refs used by this schema object. |
description | string | Optional | Human-readable explanation of the object, rule, input, or scope. |
role | enum — "primary", "related", "source_material", "finished_product", "coupon", "specimen" | Optional | Role used by this schema object. |
selector_context | Selector context | Optional | Selector context used by this schema object. |
notes | array | Optional | Additional explanatory notes that do not replace the structured requirement. |