JSON-schema Efterlevnadsdeklaration
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://schemas.infopack.io/100gruppen/rexs.compliance-declaration.1.schema.json",
"title": "Compliance Declaration",
"description": "A schema representing a compliance declaration, which is a statement in which a supplier declares that one or more objects are compliant with specified requirements.",
"type": "object",
"required": ["metadata", "singleRequirement", "objects", "controlResult"],
"properties": {
"metadata": {
"description": "A reference to the metadata schema file, which is mandatory.",
"$ref": "http://schemas.infopack.io/100gruppen/rexs.metadata.1.schema.json"
},
"singleRequirement": {
"description": "A reference to a requirement using the 'identifier' property in the 'reference designation' schema file.",
"$ref": "http://schemas.infopack.io/100gruppen/rexs.reference-designation.1.schema.json#/properties/identifier"
},
"objects": {
"description": "An list of objects for which compliance is declared, using the 'identifier' property in the 'reference designation' schema file.",
"type": "array",
"minItems": 1,
"items": {
"$ref": "http://schemas.infopack.io/100gruppen/rexs.reference-designation.1.schema.json#/properties/identifier"
}
},
"controlResult": {
"type": "string",
"enum": ["compliant", "not compliant", "not applicable"]
},
"verifications": {
"description": "List of verification attachments.",
"type": "array",
"items": {
"type": "string",
"format": "uri",
"minLength": 1
}
}
},
"additionalProperties": false
}
Relaterad information
Detaljer om Efterlevnadsdeklaration