JSON-schema Kravmängd
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://schemas.infopack.io/100gruppen/rexs.set-of-requirements.1.schema.json",
"title": "Set of Requirements",
"description": "A schema representing a set of requirements, containing a list of part of requirements and a list of sub requirements.",
"type": "object",
"properties": {
"partOfRequirements": {
"description": "A list of requirements this requirement is part of, each referencing the 'identifier' property in the 'reference designation' schema file.",
"type": "array",
"items": {
"$ref": "http://schemas.infopack.io/100gruppen/rexs.reference-designation.1.schema.json#/properties/identifier"
}
},
"subRequirements": {
"description": "A list of sub requirements, each referencing the 'identifier' property in the 'reference designation' schema file.",
"type": "array",
"items": {
"$ref": "http://schemas.infopack.io/100gruppen/rexs.reference-designation.1.schema.json#/properties/identifier"
}
}
},
"additionalProperties": false
}