equipment/config.schema.json

39 lines
731 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"input_nature": {
"description": "Nature des entrées",
"type": ["array", "null"],
"items": {
"type": "object",
"properties": {
"label" : {
"type" : "string"
},
"type" : {
"type" : "string",
"enum" : ["définitif", "temporaire", "retour"]
}
}
}
},
"output_nature": {
"description": "Nature des sorties",
"type": ["array", "null"],
"items": {
"type": "object",
"properties": {
"label" : {
"type" : "string"
},
"type" : {
"type" : "string",
"enum" : ["définitif", "temporaire", "retour"]
}
}
}
}
}
}