Déplacement fichiers json

This commit is contained in:
Jean-Christophe Engel 2023-10-12 14:56:29 +02:00
parent f211ce0450
commit 79dfac08ca
2 changed files with 0 additions and 49 deletions

View File

@ -1,10 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": ["name"]
}

View File

@ -1,39 +0,0 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"direction" : {
"description": "Entrée ou sortie",
"type": "string",
"enum": ["entrée", "sortie"]
},
"inputNature": {
"description": "Nature de l'entrée",
"type": "string",
"enum": ["Achat", "Don", "Récupération", "Location / Prêt"]
},
"outputNature": {
"description": "Nature de la sortie",
"type": "string",
"enum": ["Vente", "Don", "Besoin", "Autre (perte, vol, ...)", "Location / Prêt"]
},
"amount": {
"description": "Quantité ajoutée ou retirée",
"type": "integer",
"minimum": 1
}
"equipment": {
"type": "string"
}
"date" : {
"description": "Date de l'opération",
"type": "string",
"format": "datetime"
}
"comment": {
"description": "Commentaire additionnel",
"type": "string"
}
},
"required": ["direction", "inputNature", "outputNature", "amount", "equipment", "date", "comment"]
}