JSON-schema Kontrollmetodlista
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://schemas.infopack.io/100gruppen/rexs.control-method-list.1.schema.json",
"title": "Control Method List",
"description": "A list of control methods.",
"type": "object",
"required": ["controlMethodRows", "complianceRule"],
"properties": {
"controlMethodRows": {
"description": "A schema representing a list of objects, each representing a row in the control method list.",
"type": "array",
"items": {
"type": "object",
"properties": {
"controlMethod": {
"description": "A reference to the identifier of the control method.",
"$ref": "http://schemas.infopack.io/100gruppen/rexs.reference-designation.1.schema.json#/properties/identifier"
},
"complianceRule": {
"description": "The compliance rule for the control method.",
"type": "string",
"enum": [
"see instruction",
"mandatory",
"optional"
]
},
"verificationMethodList": {
"description": "A reference to another schema that describes a list of verification methods.",
"$ref": "http://schemas.infopack.io/100gruppen/rexs.verification-method-list.1.schema.json"
}
},
"anyOf": [{
"required": ["controlMethod"]
},
{
"not": {
"required": ["verificationMethodList"]
}
}
]
}
}
},
"additionalProperties": false
}
Relaterad information
Detaljer om Kontrollmetodlista