JSON-schema Enskilt krav
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://schemas.infopack.io/100gruppen/rexs.single-requirement.1.schema.json",
"title": "Single Requirement",
"description": "A schema representing a single requirement with its associated metadata, definition, and validation information.",
"type": "object",
"required": ["acceptanceCriterion"],
"properties": {
"motive": {
"description": "Statement of why a requirement is reasonable to use in a public procurement.",
"type": "string",
"minLength": 1
},
"requirementTypes": {
"description": "A list of requirement types.",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
},
"acceptanceCriterion": {
"description": "A reference to the identifier of the acceptance criterion that must be met in order for the requirement to be considered fulfilled.",
"$ref": "http://schemas.infopack.io/100gruppen/rexs.reference-designation.1.schema.json#/properties/identifier"
},
"controlAndVerificationInstruction": {
"description": "Instructions for controlling and verifying requirement compliance.",
"type": "string",
"minLength": 1
},
"controlMethodList": {
"description": "A list of methods used to control requirement compliance.",
"$ref": "http://schemas.infopack.io/100gruppen/rexs.control-method-list.1.schema.json"
},
"validationInstruction": {
"description": "Instructions for validating requirement compliance.",
"type": "string",
"minLength": 1
},
"validationMethodList": {
"description": "A list of methods used to validate requirement compliance.",
"$ref": "http://schemas.infopack.io/100gruppen/rexs.validation-method-list.1.schema.json"
},
"partOfRequirements": {
"description": "A list of other requirements that this requirement is a part of.",
"type": "array",
"items": {
"$ref": "http://schemas.infopack.io/100gruppen/rexs.reference-designation.1.schema.json#/properties/identifier"
}
}
},
"additionalProperties": false
}