Files
moteurs/schemas/options.schema.json
T
JulesandClaude Opus 5.5 d9acc2e87b P1.3-données : schémas des tables isolants, techniques_isolation, aides, pret, tarifs_accompagnement
Cinq schémas dans src/commun/schemas.ts (source de vérité, schemas/*.json réécrits
par npm run build) ; options reçoit entretien_h_mois, entretien_fondement,
reparabilite et source_verifiee, facultatifs jusqu'à leur publication par NocoDB.
Aucun moteur touché, aucune étiquette : v0.2.0 viendra avec P1.3-moteurs.
50/50 tests verts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VyW8ty2Ejp84FwCeN75oiT
2026-10-09 03:24:17 +02:00

214 lines
3.8 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://git.trans-former.fr/jules/moteurs/schemas/options.schema.json",
"description": "Typologies (options) du simulateur autonomie. Les prix y sont des DONNÉES publiées par calculs, jamais des constantes du paquet. parametre_dim, couplages_requis et couplages_exclus arrivent en JSON sérialisé (NocoDB) ou déjà parsés.",
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": [
"Id",
"poste_id",
"code",
"nom"
],
"properties": {
"Id": {
"type": "integer"
},
"poste_id": {
"type": "integer"
},
"code": {
"type": "string"
},
"nom": {
"type": "string"
},
"typologie": {
"type": [
"string",
"null"
]
},
"actif": {
"type": [
"boolean",
"null"
]
},
"prix_mat_min": {
"type": [
"number",
"null"
]
},
"prix_mat_max": {
"type": [
"number",
"null"
]
},
"prix_pro_min": {
"type": [
"number",
"null"
]
},
"prix_pro_max": {
"type": [
"number",
"null"
]
},
"prix_par_unite": {
"type": [
"number",
"null"
]
},
"prix_fixe": {
"type": [
"number",
"null"
]
},
"unite": {
"type": [
"string",
"null"
]
},
"quantite_default": {
"type": [
"number",
"null"
]
},
"parametre_dim": {
"type": [
"string",
"object",
"null"
]
},
"couplages_requis": {
"type": [
"string",
"array",
"null"
]
},
"couplages_exclus": {
"type": [
"string",
"array",
"null"
]
},
"flag_diy": {
"type": [
"boolean",
"null"
]
},
"complexite_pose": {
"type": [
"number",
"null"
]
},
"accessible_fr": {
"type": [
"boolean",
"null"
]
},
"filiere_agreee": {
"type": [
"boolean",
"null"
]
},
"surface_min_m2": {
"type": [
"number",
"null"
]
},
"surface_optimale_m2": {
"type": [
"number",
"null"
]
},
"tags": {
"type": [
"array",
"null"
]
},
"source": {
"type": [
"string",
"null"
]
},
"source_date": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"description_pedago": {
"type": [
"string",
"null"
]
},
"notes_techniques": {
"type": [
"string",
"null"
]
},
"entretien_h_mois": {
"type": [
"number",
"null"
]
},
"entretien_fondement": {
"type": [
"string",
"null"
]
},
"reparabilite": {
"type": [
"string",
"null"
],
"enum": [
"artisan_local",
"artisan_forme",
"technicien_specialise",
null
]
},
"source_verifiee": {
"type": [
"boolean",
"null"
]
}
}
}
}