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