début nouvelle config types ES

This commit is contained in:
Jean-Christophe Engel 2025-02-17 08:56:57 +01:00
parent b6de0c59c0
commit b19904b05b
10 changed files with 122 additions and 74 deletions

View file

@ -11,13 +11,9 @@
"type": "string",
"enum": ["input", "output"]
},
"input_nature": {
"description": "Nature de l'entrée",
"type": ["null", "string"]
},
"output_nature": {
"description": "Nature de la sortie",
"type": ["null", "string"]
"operation": {
"description": "clé de l'opération",
"type": "string"
},
"amount": {
"description": "Quantité ajoutée ou retirée",
@ -38,5 +34,5 @@
"type": ["null", "string"]
}
},
"required": ["type", "direction", "amount", "equipment", "date", "comment"]
"required": ["type", "direction", "operation", "amount", "equipment", "date", "comment"]
}