Applicability · Subject kind
shapes file
Subject kind: shapes file. 1 standard and 6 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.
Normen
| Norm | Titel | Status | Version | Anforderungen |
|---|---|---|---|---|
| NRS-A2 | Ontologie-native Standards: die Nexus-Risikoontologie, Vokabulare und Shapes | Preliminary work item, not yet reviewed | 0.1.1 | 37 |
Anforderungen
NRS-A2 Ontology-native standards: the Nexus risk ontology, vocabularies and shapes
| Anforderung | Klausel | Formular | Text | Gilt für | How it is checked |
|---|---|---|---|---|---|
| NRS-A2-R21 permalink | 8.1 | muss | Each node shape of the shapes file shall target a class of the ontology. | shapes file | automatednode --test --test-name-pattern="^NRS-A2-R21:" test/nrs-a2.test.mjs |
| NRS-A2-R22 permalink | 8.2 | muss | Each property path of a node shape that is an IRI in the namespace https://nexustandards.com/ns/risk# shall be a property of the ontology. | shapes file | automatednode --test --test-name-pattern="^NRS-A2-R22:" test/nrs-a2.test.mjs |
| NRS-A2-R23 permalink | 8.3 | muss | Each node shape shall name, in an rdfs:comment, at least one requirement identifier. | shapes file | automatednode --test --test-name-pattern="^NRS-A2-R23:" test/nrs-a2.test.mjs |
| NRS-A2-R24 permalink | 8.4 | muss | Each requirement identifier that a node shape names shall be registered in registry/requirements.yaml with the test method automated. | shapes file | automatednode --test --test-name-pattern="^NRS-A2-R24:" test/nrs-a2.test.mjs |
| NRS-A2-R25 permalink | 8.5 | sollte | Each record kind for which a Nexus Risk Standard publishes a JSON Schema should have a node shape that requires the fields that the schema requires. | shapes file | inspectionconformance/checklists/nrs-a2.yaml#NRS-A2-R25/1 |
| NRS-A2-R35 permalink | 8.3 | muss | The requirement identifiers that a node shape names shall be exactly those of the requirements that it decides. | shapes file | inspectionconformance/checklists/nrs-a2.yaml#NRS-A2-R35/1 |