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": [ "input_ref",
"profile" ],
"properties": { "input_ref": { "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/local_id" },
"profile": { "enum": [ "matspec",
"matreq" ] },
"requirement_id": { "type": "string",
"minLength": 1 },
"json_pointer": { "type": "string",
"pattern": "^/" },
"grade_id": { "type": "string" },
"rule_id": { "type": "string" },
"source": { "$ref": "https://matjson.org/schema/core/0.1/schema.json#/$defs/standard_reference" },
"label": { "type": "string" } },
"anyOf": [ { "required": [ "requirement_id" ] },
{ "required": [ "json_pointer" ] },
{ "required": [ "rule_id" ] } ],
"description": "Stable reference to an atomic requirement. MatSpecJSON v0.2 commonly uses content hash plus JSON Pointer; MatReqJSON v0.2 normally uses rule_id."}Fields
| Field | Type | Status | Meaning |
|---|---|---|---|
input_ref | Local id | Required | Input ref used by this schema object. |
profile | enum — "matspec", "matreq" | Required | Profile used by this schema object. |
requirement_id | string | Optional | Requirement id used by this schema object. |
json_pointer | string — pattern ^/ | Optional | Json pointer used by this schema object. |
grade_id | string | Optional | Grade id used by this schema object. |
rule_id | string | Optional | Rule id used by this schema object. |
source | Standard reference | Optional | Reusable provenance for a requirement, value, evidence item, or result. |
label | string | Optional | Label used by this schema object. |