diff --git a/categories/category.schema.json b/categories/category.schema.json index 4884ae8..7ac0daf 100644 --- a/categories/category.schema.json +++ b/categories/category.schema.json @@ -10,5 +10,5 @@ "type": "string" } }, - "required": ["name"] + "required": ["type", "name"] } diff --git a/equipment.schema.json b/equipment.schema.json index 0df6ed6..76b61d0 100644 --- a/equipment.schema.json +++ b/equipment.schema.json @@ -14,5 +14,5 @@ "type": "string" } }, - "required": ["category", "designation"] + "required": ["type", "category", "designation"] } diff --git a/mouvements/movement.schema.json b/mouvements/movement.schema.json index bd579f1..72958bc 100644 --- a/mouvements/movement.schema.json +++ b/mouvements/movement.schema.json @@ -39,5 +39,5 @@ "type": "string" } }, - "required": ["direction", "inputNature", "outputNature", "amount", "equipment", "date", "comment"] + "required": ["type", "direction", "inputNature", "outputNature", "amount", "equipment", "date", "comment"] }