Enregistrement quantités avec matériel

This commit is contained in:
Jean-Christophe Engel 2025-03-24 20:47:49 +01:00
parent bea3a2f0e8
commit c10ff02403
11 changed files with 291 additions and 201 deletions

View file

@ -18,7 +18,22 @@
"description": "État du matériel",
"type": "string",
"enum": ["available", "archived"]
},
"stock": {
"description": "Quantité en stock",
"type" : "integer",
"minimum": 0
},
"out": {
"description": "Quantité sortie temporairement",
"type" : "integer",
"minimum": 0
},
"notowned": {
"description": "Quantité présente temporairement",
"type" : "integer",
"minimum": 0
}
},
"required": ["type", "category", "name", "status"]
"required": ["type", "category", "name", "status", "stock", "out", "notowned"]
}