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
This commit is contained in:
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.trans-former.fr/jules/moteurs/schemas/techniques_isolation.schema.json",
|
||||
"description": "Techniques de mise en œuvre par paroi (P1.3). Prix de pose entreprise en €/m² (ou €/unité pour la cheminée), R minimal réglementaire en zone H1 et R visé par les aides, isolants compatibles par code de la table isolants.",
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"code",
|
||||
"paroi",
|
||||
"technique",
|
||||
"pose_entreprise_eur_m2",
|
||||
"isolants_compatibles",
|
||||
"part_pro_obligatoire",
|
||||
"source",
|
||||
"source_date",
|
||||
"source_verifiee"
|
||||
],
|
||||
"properties": {
|
||||
"code": {
|
||||
"type": "string"
|
||||
},
|
||||
"paroi": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"toit",
|
||||
"murs",
|
||||
"sol",
|
||||
"cheminee"
|
||||
]
|
||||
},
|
||||
"technique": {
|
||||
"type": "string"
|
||||
},
|
||||
"r_min_reglementaire_h1": {
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"r_vise_aides": {
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"epaisseur_type_mm": {
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"pose_entreprise_eur_m2": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"min",
|
||||
"max"
|
||||
],
|
||||
"properties": {
|
||||
"min": {
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"max": {
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"pose_entreprise_eur_unite": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"min",
|
||||
"max"
|
||||
],
|
||||
"properties": {
|
||||
"min": {
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"max": {
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"heures_autoconstruction_m2": {
|
||||
"type": [
|
||||
"number",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"isolants_compatibles": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"part_pro_obligatoire": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"part_pro_detail": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"vigilance": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"source": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_date": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_verifiee": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"a_completer": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user