equipment/config.schema.json

39 lines
1.1 KiB
JSON

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