Applicability · Subject kind
standard record
Subject kind: standard record. 1 standard and 16 requirements of the register apply, read from the conformance target of each requirement in the register (registry/requirements.yaml target). Working drafts, not for implementation.
ستاندارد
| ستاندارد | ناونیشان | دۆخ | وەشان | Requirements |
|---|---|---|---|---|
| NRS-A1 | ستاندارد وەک کۆد: ستانداردە خوێندراوەکان بە ئامێر، داواکارییەکان و تاقیکردنەوەکان | Preliminary work item, not yet reviewed | 0.1.1 | 37 |
Requirements
NRS-A1 Standards as code: machine-readable standards, requirements and tests
| Requirement | Clause | فۆرم | دەق | Applies to | How it is checked |
|---|---|---|---|---|---|
| NRS-A1-R11 permalink | 4.11 | should | A standard record should list, in schemas, the path of each JSON Schema that the standard defines. | standard record | inspectionconformance/checklists/nrs-a1.yaml#NRS-A1-R11/1 |
| NRS-A1-R12 permalink | 5.1 | shall | Each conformance class of a standard record shall list only identifiers that are in the requirements of the record. | standard record | automatednode --test --test-name-pattern="^NRS-A1-R12:" test/nrs-a1.test.mjs |
| NRS-A1-R13 permalink | 5.2 | shall | Each requirement of a standard record that is not listed in withdrawn shall belong to at least one conformance class of the record. | standard record | automatednode --test --test-name-pattern="^NRS-A1-R13:" test/nrs-a1.test.mjs |
| NRS-A1-R14 permalink | 5.3 | shall | The conformance classes of a standard record shall be those that the conformance clause of the text states, with the same requirements. | standard record | inspectionconformance/checklists/nrs-a1.yaml#NRS-A1-R14/1 |
| NRS-A1-R2 permalink | 4.2 | shall | A standard record shall be valid against schemas/nrs-a1-standard-record.v1.json. | standard record | automatednode --test --test-name-pattern="^NRS-A1-R2:" test/nrs-a1.test.mjs |
| NRS-A1-R23 permalink | 7.1 | shall | ئەو version of a standard record shall have the form MAJOR.MINOR.PATCH of MNT-R1. | standard record | automatednode --test --test-name-pattern="^NRS-A1-R23:" test/nrs-a1.test.mjs |
| NRS-A1-R3 permalink | 4.3 | shall | ئەو uni of a standard record shall be the UNI on the first line of the text of the standard. | standard record | automatednode --test --test-name-pattern="^NRS-A1-R3:" test/nrs-a1.test.mjs |
| NRS-A1-R31 permalink | 8.1 | shall | A standard record that is published as JSON-LD shall name the Nexus JSON-LD context https://nexustandards.com/machine/context.jsonld in its @context. | standard record | automatednode --test --test-name-pattern="^NRS-A1-R31:" test/nrs-a1.test.mjs |
| NRS-A1-R32 permalink | 8.2 | shall | Each term of a standard record that is published as JSON-LD shall be defined by a context that its @context names. | standard record | automatednode --test --test-name-pattern="^NRS-A1-R32:" test/nrs-a1.test.mjs |
| NRS-A1-R37 permalink | 4.12 | shall | ئەو standard of a standard record shall be the code of the standard that the title of the text names. | standard record | automatednode --test --test-name-pattern="^NRS-A1-R37:" test/nrs-a1.test.mjs |
| NRS-A1-R4 permalink | 4.4 | shall | ئەو version of a standard record shall be the version stated in the header table of the text. | standard record | automatednode --test --test-name-pattern="^NRS-A1-R4:" test/nrs-a1.test.mjs |
| NRS-A1-R5 permalink | 4.5 | shall | ئەو textDigest of a standard record shall be the SHA-256 digest, in lower-case hexadecimal, of the bytes of the text file named in textPath. | standard record | automatednode --test --test-name-pattern="^NRS-A1-R5:" test/nrs-a1.test.mjs |
| NRS-A1-R6 permalink | 4.6 | shall | ئەو requirements of a standard record shall list exactly the requirement identifiers that the text writes in bold in the form of NS4-R29, in text order. | standard record | automatednode --test --test-name-pattern="^NRS-A1-R6:" test/nrs-a1.test.mjs |
| NRS-A1-R7 permalink | 4.7 | shall | ئەو requirements of a standard record shall list exactly the identifiers of the register rows whose path is the textPath of the record. | standard record | automatednode --test --test-name-pattern="^NRS-A1-R7:" test/nrs-a1.test.mjs |
| NRS-A1-R8 permalink | 4.8 | shall | ئەو reference of a standard record shall have the value text. | standard record | automatednode --test --test-name-pattern="^NRS-A1-R8:" test/nrs-a1.test.mjs |
| NRS-A1-R9 permalink | 4.9 | shall | A standard record shall name, in generatedBy, the path of the tool that produced it and the UNI that the tool carries in its header. | standard record | automatednode --test --test-name-pattern="^NRS-A1-R9:" test/nrs-a1.test.mjs |