JSON-schema Kontrollmetod
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://schemas.infopack.io/100gruppen/rexs.control-method.1.schema.json",
"title": "Control Method",
"description": "Schema for a control method.",
"type": "object",
"required": ["controlMethodType", "definition"],
"properties": {
"controlMethodType": {
"description": "Type of the control method.",
"type": "string",
"minLength": 1
},
"definition": {
"description": "Description of the control method.",
"type": "string",
"minLength": 1
},
"attachments": {
"description": "A list of attachments with additional information about the control method.",
"type": "array",
"items": {
"type": "string",
"format": "uri",
"minLength": 1
}
}
},
"additionalProperties": false
}