{ "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "properties": { "type": { "type": "string", "enum": ["immo"] }, "line" : { "description": "id ligne écriture de l'immobilisation", "type": "integer" }, "duration" : { "description": "durée de l'amortissement en années", "type": "integer" }, "amort" : { "description": "id lignes écritures amortissements", "type": ["array", "null"], "items": { "type": "integer" } } }, "required": ["type", "line", "duration"] }