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.
Normes
| Norme | Titre | Statut | Version | Exigences |
|---|---|---|---|---|
| NRS-A1 | Les normes sous forme de code : normes, exigences et tests lisibles par machine | Preliminary work item, not yet reviewed | 0.1.1 | 37 |
Exigences
NRS-A1 Les normes en tant que code : normes, exigences et tests lisibles par machine
| Exigence | Clause | Formulaire | Texte | S'applique à | How it is checked |
|---|---|---|---|---|---|
| NRS-A1-R11 permalink | 4.11 | doit | 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 | doit | 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 | doit | 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 | doit | 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 | doit | 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 | doit | Les 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 | doit | Les 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 | doit | 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 | doit | 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 | doit | Les 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 | doit | Les 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 | doit | Les 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 | doit | Les 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 | doit | Les 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 | doit | Les 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 | doit | 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 |