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.
Standard
| Norma | Titolo | Stato | Versione | Requisiti |
|---|---|---|---|---|
| NRS-A2 | Standard nativi per le ontologie: l'ontologia del rischio Nexus, vocabolari e forme | Preliminary work item, not yet reviewed | 0.1.1 | 37 |
Requisiti
NRS-A2 Ontology-native standards: the Nexus risk ontology, vocabularies and shapes
| Requisito | Clausola | Forma | Testo | Si applica a | How it is checked |
|---|---|---|---|---|---|
| NRS-A2-R21 permalink | 8.1 | deve | 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 | deve | 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 | deve | 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 | deve | 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 | dovrebbe | 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 | deve | 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 |