B:BD[
3.763673] → [
3.763674:784814]
"use strict";export const SimulationCommunaute = validate10;const schema11 = {"$schema":"http://json-schema.org/draft-07/schema#","$ref":"#/definitions/Faisan.SimulationCommunaute","definitions":{"Faisan.SimulationCommunaute":{"type":"object","properties":{"puissance":{"type":"number"},"autoconso":{"type":"number"},"autoprod":{"type":"number"},"fraisDivers":{"type":"number"},"tarif":{"type":"number"},"apport":{"type":"number"},"interet":{"type":"number"},"echeances":{"type":"number"},"consoMoyenneFoyer":{"type":"number"},"productible":{"type":"number"},"degradation":{"type":"number"},"inflation":{"type":"number"},"ratio":{"type":"number"},"enedis":{"type":"number"},"tarifCRE":{"type":"object","properties":{"limites":{"type":"array","items":{"type":"number"}},"prix":{"type":"array","items":{"type":"number"}},"inflation":{"type":"number"}},"required":["limites","prix","inflation"],"additionalProperties":false},"coutElec":{"type":"number"},"inflationElec":{"type":"number"},"maintenance":{"type":"number"},"turpe":{"type":"number"},"turpeInjection":{"type":"number"},"provisionOnduleurs":{"type":"number"},"assurance":{"type":"number"},"divers":{"type":"number"},"ratioDcAc":{"type":"number"},"dureeAmortissement":{"type":"number"},"tauxIS":{"type":"number"},"tauxDSRA":{"type":"number"}},"required":["puissance","autoconso","autoprod","fraisDivers","tarif","apport","interet","echeances","consoMoyenneFoyer","productible","degradation","inflation","ratio","enedis","tarifCRE","coutElec","inflationElec","maintenance","turpe","turpeInjection","provisionOnduleurs","assurance","divers","ratioDcAc","dureeAmortissement","tauxIS","tauxDSRA"],"additionalProperties":false}},"$id":"#/definitions/SimulationCommunaute"};const schema12 = {"type":"object","properties":{"puissance":{"type":"number"},"autoconso":{"type":"number"},"autoprod":{"type":"number"},"fraisDivers":{"type":"number"},"tarif":{"type":"number"},"apport":{"type":"number"},"interet":{"type":"number"},"echeances":{"type":"number"},"consoMoyenneFoyer":{"type":"number"},"productible":{"type":"number"},"degradation":{"type":"number"},"inflation":{"type":"number"},"ratio":{"type":"number"},"enedis":{"type":"number"},"tarifCRE":{"type":"object","properties":{"limites":{"type":"array","items":{"type":"number"}},"prix":{"type":"array","items":{"type":"number"}},"inflation":{"type":"number"}},"required":["limites","prix","inflation"],"additionalProperties":false},"coutElec":{"type":"number"},"inflationElec":{"type":"number"},"maintenance":{"type":"number"},"turpe":{"type":"number"},"turpeInjection":{"type":"number"},"provisionOnduleurs":{"type":"number"},"assurance":{"type":"number"},"divers":{"type":"number"},"ratioDcAc":{"type":"number"},"dureeAmortissement":{"type":"number"},"tauxIS":{"type":"number"},"tauxDSRA":{"type":"number"}},"required":["puissance","autoconso","autoprod","fraisDivers","tarif","apport","interet","echeances","consoMoyenneFoyer","productible","degradation","inflation","ratio","enedis","tarifCRE","coutElec","inflationElec","maintenance","turpe","turpeInjection","provisionOnduleurs","assurance","divers","ratioDcAc","dureeAmortissement","tauxIS","tauxDSRA"],"additionalProperties":false};const func2 = Object.prototype.hasOwnProperty;function validate10(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){/*# sourceURL="#/definitions/SimulationCommunaute" */;let vErrors = null;let errors = 0;const _errs0 = errors;if(errors === _errs0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if((((((((((((((((((((((((((((data.puissance === undefined) && (missing0 = "puissance")) || ((data.autoconso === undefined) && (missing0 = "autoconso"))) || ((data.autoprod === undefined) && (missing0 = "autoprod"))) || ((data.fraisDivers === undefined) && (missing0 = "fraisDivers"))) || ((data.tarif === undefined) && (missing0 = "tarif"))) || ((data.apport === undefined) && (missing0 = "apport"))) || ((data.interet === undefined) && (missing0 = "interet"))) || ((data.echeances === undefined) && (missing0 = "echeances"))) || ((data.consoMoyenneFoyer === undefined) && (missing0 = "consoMoyenneFoyer"))) || ((data.productible === undefined) && (missing0 = "productible"))) || ((data.degradation === undefined) && (missing0 = "degradation"))) || ((data.inflation === undefined) && (missing0 = "inflation"))) || ((data.ratio === undefined) && (missing0 = "ratio"))) || ((data.enedis === undefined) && (missing0 = "enedis"))) || ((data.tarifCRE === undefined) && (missing0 = "tarifCRE"))) || ((data.coutElec === undefined) && (missing0 = "coutElec"))) || ((data.inflationElec === undefined) && (missing0 = "inflationElec"))) || ((data.maintenance === undefined) && (missing0 = "maintenance"))) || ((data.turpe === undefined) && (missing0 = "turpe"))) || ((data.turpeInjection === undefined) && (missing0 = "turpeInjection"))) || ((data.provisionOnduleurs === undefined) && (missing0 = "provisionOnduleurs"))) || ((data.assurance === undefined) && (missing0 = "assurance"))) || ((data.divers === undefined) && (missing0 = "divers"))) || ((data.ratioDcAc === undefined) && (missing0 = "ratioDcAc"))) || ((data.dureeAmortissement === undefined) && (missing0 = "dureeAmortissement"))) || ((data.tauxIS === undefined) && (missing0 = "tauxIS"))) || ((data.tauxDSRA === undefined) && (missing0 = "tauxDSRA"))){validate10.errors = [{instancePath,schemaPath:"#/definitions/Faisan.SimulationCommunaute/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'"}];return false;}else {const _errs2 = errors;for(const key0 in data){if(!(func2.call(schema12.properties, key0))){validate10.errors = [{instancePath,schemaPath:"#/definitions/Faisan.SimulationCommunaute/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties"}];return false;break;}}if(_errs2 === errors){if(data.puissance !== undefined){let data0 = data.puissance;const _errs3 = errors;if(!((typeof data0 == "number") && (isFinite(data0)))){validate10.errors = [{instancePath:instancePath+"/puissance",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/puissance/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs3 === errors;}else {var valid1 = true;}if(valid1){if(data.autoconso !== undefined){let data1 = data.autoconso;const _errs5 = errors;if(!((typeof data1 == "number") && (isFinite(data1)))){validate10.errors = [{instancePath:instancePath+"/autoconso",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/autoconso/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs5 === errors;}else {var valid1 = true;}if(valid1){if(data.autoprod !== undefined){let data2 = data.autoprod;const _errs7 = errors;if(!((typeof data2 == "number") && (isFinite(data2)))){validate10.errors = [{instancePath:instancePath+"/autoprod",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/autoprod/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs7 === errors;}else {var valid1 = true;}if(valid1){if(data.fraisDivers !== undefined){let data3 = data.fraisDivers;const _errs9 = errors;if(!((typeof data3 == "number") && (isFinite(data3)))){validate10.errors = [{instancePath:instancePath+"/fraisDivers",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/fraisDivers/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs9 === errors;}else {var valid1 = true;}if(valid1){if(data.tarif !== undefined){let data4 = data.tarif;const _errs11 = errors;if(!((typeof data4 == "number") && (isFinite(data4)))){validate10.errors = [{instancePath:instancePath+"/tarif",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tarif/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs11 === errors;}else {var valid1 = true;}if(valid1){if(data.apport !== undefined){let data5 = data.apport;const _errs13 = errors;if(!((typeof data5 == "number") && (isFinite(data5)))){validate10.errors = [{instancePath:instancePath+"/apport",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/apport/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs13 === errors;}else {var valid1 = true;}if(valid1){if(data.interet !== undefined){let data6 = data.interet;const _errs15 = errors;if(!((typeof data6 == "number") && (isFinite(data6)))){validate10.errors = [{instancePath:instancePath+"/interet",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/interet/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs15 === errors;}else {var valid1 = true;}if(valid1){if(data.echeances !== undefined){let data7 = data.echeances;const _errs17 = errors;if(!((typeof data7 == "number") && (isFinite(data7)))){validate10.errors = [{instancePath:instancePath+"/echeances",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/echeances/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs17 === errors;}else {var valid1 = true;}if(valid1){if(data.consoMoyenneFoyer !== undefined){let data8 = data.consoMoyenneFoyer;const _errs19 = errors;if(!((typeof data8 == "number") && (isFinite(data8)))){validate10.errors = [{instancePath:instancePath+"/consoMoyenneFoyer",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/consoMoyenneFoyer/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs19 === errors;}else {var valid1 = true;}if(valid1){if(data.productible !== undefined){let data9 = data.productible;const _errs21 = errors;if(!((typeof data9 == "number") && (isFinite(data9)))){validate10.errors = [{instancePath:instancePath+"/productible",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/productible/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs21 === errors;}else {var valid1 = true;}if(valid1){if(data.degradation !== undefined){let data10 = data.degradation;const _errs23 = errors;if(!((typeof data10 == "number") && (isFinite(data10)))){validate10.errors = [{instancePath:instancePath+"/degradation",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/degradation/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs23 === errors;}else {var valid1 = true;}if(valid1){if(data.inflation !== undefined){let data11 = data.inflation;const _errs25 = errors;if(!((typeof data11 == "number") && (isFinite(data11)))){validate10.errors = [{instancePath:instancePath+"/inflation",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/inflation/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs25 === errors;}else {var valid1 = true;}if(valid1){if(data.ratio !== undefined){let data12 = data.ratio;const _errs27 = errors;if(!((typeof data12 == "number") && (isFinite(data12)))){validate10.errors = [{instancePath:instancePath+"/ratio",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/ratio/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs27 === errors;}else {var valid1 = true;}if(valid1){if(data.enedis !== undefined){let data13 = data.enedis;const _errs29 = errors;if(!((typeof data13 == "number") && (isFinite(data13)))){validate10.errors = [{instancePath:instancePath+"/enedis",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/enedis/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs29 === errors;}else {var valid1 = true;}if(valid1){if(data.tarifCRE !== undefined){let data14 = data.tarifCRE;const _errs31 = errors;if(errors === _errs31){if(data14 && typeof data14 == "object" && !Array.isArray(data14)){let missing1;if((((data14.limites === undefined) && (missing1 = "limites")) || ((data14.prix === undefined) && (missing1 = "prix"))) || ((data14.inflation === undefined) && (missing1 = "inflation"))){validate10.errors = [{instancePath:instancePath+"/tarifCRE",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tarifCRE/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'"}];return false;}else {const _errs33 = errors;for(const key1 in data14){if(!(((key1 === "limites") || (key1 === "prix")) || (key1 === "inflation"))){validate10.errors = [{instancePath:instancePath+"/tarifCRE",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tarifCRE/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties"}];return false;break;}}if(_errs33 === errors){if(data14.limites !== undefined){let data15 = data14.limites;const _errs34 = errors;if(errors === _errs34){if(Array.isArray(data15)){var valid3 = true;const len0 = data15.length;for(let i0=0; i0<len0; i0++){let data16 = data15[i0];const _errs36 = errors;if(!((typeof data16 == "number") && (isFinite(data16)))){validate10.errors = [{instancePath:instancePath+"/tarifCRE/limites/" + i0,schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tarifCRE/properties/limites/items/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid3 = _errs36 === errors;if(!valid3){break;}}}else {validate10.errors = [{instancePath:instancePath+"/tarifCRE/limites",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tarifCRE/properties/limites/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid2 = _errs34 === errors;}else {var valid2 = true;}if(valid2){if(data14.prix !== undefined){let data17 = data14.prix;const _errs38 = errors;if(errors === _errs38){if(Array.isArray(data17)){var valid4 = true;const len1 = data17.length;for(let i1=0; i1<len1; i1++){let data18 = data17[i1];const _errs40 = errors;if(!((typeof data18 == "number") && (isFinite(data18)))){validate10.errors = [{instancePath:instancePath+"/tarifCRE/prix/" + i1,schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tarifCRE/properties/prix/items/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid4 = _errs40 === errors;if(!valid4){break;}}}else {validate10.errors = [{instancePath:instancePath+"/tarifCRE/prix",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tarifCRE/properties/prix/type",keyword:"type",params:{type: "array"},message:"must be array"}];return false;}}var valid2 = _errs38 === errors;}else {var valid2 = true;}if(valid2){if(data14.inflation !== undefined){let data19 = data14.inflation;const _errs42 = errors;if(!((typeof data19 == "number") && (isFinite(data19)))){validate10.errors = [{instancePath:instancePath+"/tarifCRE/inflation",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tarifCRE/properties/inflation/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid2 = _errs42 === errors;}else {var valid2 = true;}}}}}}else {validate10.errors = [{instancePath:instancePath+"/tarifCRE",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tarifCRE/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}var valid1 = _errs31 === errors;}else {var valid1 = true;}if(valid1){if(data.coutElec !== undefined){let data20 = data.coutElec;const _errs44 = errors;if(!((typeof data20 == "number") && (isFinite(data20)))){validate10.errors = [{instancePath:instancePath+"/coutElec",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/coutElec/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs44 === errors;}else {var valid1 = true;}if(valid1){if(data.inflationElec !== undefined){let data21 = data.inflationElec;const _errs46 = errors;if(!((typeof data21 == "number") && (isFinite(data21)))){validate10.errors = [{instancePath:instancePath+"/inflationElec",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/inflationElec/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs46 === errors;}else {var valid1 = true;}if(valid1){if(data.maintenance !== undefined){let data22 = data.maintenance;const _errs48 = errors;if(!((typeof data22 == "number") && (isFinite(data22)))){validate10.errors = [{instancePath:instancePath+"/maintenance",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/maintenance/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs48 === errors;}else {var valid1 = true;}if(valid1){if(data.turpe !== undefined){let data23 = data.turpe;const _errs50 = errors;if(!((typeof data23 == "number") && (isFinite(data23)))){validate10.errors = [{instancePath:instancePath+"/turpe",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/turpe/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs50 === errors;}else {var valid1 = true;}if(valid1){if(data.turpeInjection !== undefined){let data24 = data.turpeInjection;const _errs52 = errors;if(!((typeof data24 == "number") && (isFinite(data24)))){validate10.errors = [{instancePath:instancePath+"/turpeInjection",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/turpeInjection/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs52 === errors;}else {var valid1 = true;}if(valid1){if(data.provisionOnduleurs !== undefined){let data25 = data.provisionOnduleurs;const _errs54 = errors;if(!((typeof data25 == "number") && (isFinite(data25)))){validate10.errors = [{instancePath:instancePath+"/provisionOnduleurs",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/provisionOnduleurs/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs54 === errors;}else {var valid1 = true;}if(valid1){if(data.assurance !== undefined){let data26 = data.assurance;const _errs56 = errors;if(!((typeof data26 == "number") && (isFinite(data26)))){validate10.errors = [{instancePath:instancePath+"/assurance",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/assurance/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs56 === errors;}else {var valid1 = true;}if(valid1){if(data.divers !== undefined){let data27 = data.divers;const _errs58 = errors;if(!((typeof data27 == "number") && (isFinite(data27)))){validate10.errors = [{instancePath:instancePath+"/divers",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/divers/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs58 === errors;}else {var valid1 = true;}if(valid1){if(data.ratioDcAc !== undefined){let data28 = data.ratioDcAc;const _errs60 = errors;if(!((typeof data28 == "number") && (isFinite(data28)))){validate10.errors = [{instancePath:instancePath+"/ratioDcAc",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/ratioDcAc/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs60 === errors;}else {var valid1 = true;}if(valid1){if(data.dureeAmortissement !== undefined){let data29 = data.dureeAmortissement;const _errs62 = errors;if(!((typeof data29 == "number") && (isFinite(data29)))){validate10.errors = [{instancePath:instancePath+"/dureeAmortissement",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/dureeAmortissement/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs62 === errors;}else {var valid1 = true;}if(valid1){if(data.tauxIS !== undefined){let data30 = data.tauxIS;const _errs64 = errors;if(!((typeof data30 == "number") && (isFinite(data30)))){validate10.errors = [{instancePath:instancePath+"/tauxIS",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tauxIS/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs64 === errors;}else {var valid1 = true;}if(valid1){if(data.tauxDSRA !== undefined){let data31 = data.tauxDSRA;const _errs66 = errors;if(!((typeof data31 == "number") && (isFinite(data31)))){validate10.errors = [{instancePath:instancePath+"/tauxDSRA",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tauxDSRA/type",keyword:"type",params:{type: "number"},message:"must be number"}];return false;}var valid1 = _errs66 === errors;}else {var valid1 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}else {validate10.errors = [{instancePath,schemaPath:"#/definitions/Faisan.SimulationCommunaute/type",keyword:"type",params:{type: "object"},message:"must be object"}];return false;}}validate10.errors = vErrors;return errors === 0;}
"use strict";export const SimulationCommunaute = validate10;const schema11 = {"$schema":"http://json-schema.org/draft-07/schema#","$ref":"#/definitions/Faisan.SimulationCommunaute","definitions":{"Faisan.SimulationCommunaute":{"type":"object","properties":{"puissance":{"type":"number"},"autoconso":{"type":"number"},"autoprod":{"type":"number"},"fraisDivers":{"type":"number"},"prix":{"type":"number"},"prixAllo":{"type":"number"},"apport":{"type":"number"},"interet":{"type":"number"},"echeances":{"type":"number"},"consoMoyenneFoyer":{"type":"number"},"productible":{"type":"number"},"degradation":{"type":"number"},"inflation":{"type":"number"},"ratio":{"type":"number"},"enedis":{"type":"number"},"tarifCRE":{"type":"object","properties":{"limites":{"type":"array","items":{"type":"number"}},"prix":{"type":"array","items":{"type":"number"}},"inflation":{"type":"number"}},"required":["limites","prix","inflation"],"additionalProperties":false},"coutElec":{"type":"number"},"inflationElec":{"type":"number"},"maintenance":{"type":"number"},"turpe":{"type":"number"},"turpeInjection":{"type":"number"},"provisionOnduleurs":{"type":"number"},"assurance":{"type":"number"},"divers":{"type":"number"},"ratioDcAc":{"type":"number"},"dureeAmortissement":{"type":"number"},"tauxIS":{"type":"number"},"tauxDSRA":{"type":"number"}},"required":["puissance","autoconso","autoprod","fraisDivers","prix","prixAllo","apport","interet","echeances","consoMoyenneFoyer","productible","degradation","inflation","ratio","enedis","tarifCRE","coutElec","inflationElec","maintenance","turpe","turpeInjection","provisionOnduleurs","assurance","divers","ratioDcAc","dureeAmortissement","tauxIS","tauxDSRA"],"additionalProperties":false}},"$id":"#/definitions/SimulationCommunaute"};const schema12 = {"type":"object","properties":{"puissance":{"type":"number"},"autoconso":{"type":"number"},"autoprod":{"type":"number"},"fraisDivers":{"type":"number"},"prix":{"type":"number"},"prixAllo":{"type":"number"},"apport":{"type":"number"},"interet":{"type":"number"},"echeances":{"type":"number"},"consoMoyenneFoyer":{"type":"number"},"productible":{"type":"number"},"degradation":{"type":"number"},"inflation":{"type":"number"},"ratio":{"type":"number"},"enedis":{"type":"number"},"tarifCRE":{"type":"object","properties":{"limites":{"type":"array","items":{"type":"number"}},"prix":{"type":"array","items":{"type":"number"}},"inflation":{"type":"number"}},"required":["limites","prix","inflation"],"additionalProperties":false},"coutElec":{"type":"number"},"inflationElec":{"type":"number"},"maintenance":{"type":"number"},"turpe":{"type":"number"},"turpeInjection":{"type":"number"},"provisionOnduleurs":{"type":"number"},"assurance":{"type":"number"},"divers":{"type":"number"},"ratioDcAc":{"type":"number"},"dureeAmortissement":{"type":"number"},"tauxIS":{"type":"number"},"tauxDSRA":{"type":"number"}},"required":["puissance","autoconso","autoprod","fraisDivers","prix","prixAllo","apport","interet","echeances","consoMoyenneFoyer","productible","degradation","inflation","ratio","enedis","tarifCRE","coutElec","inflationElec","maintenance","turpe","turpeInjection","provisionOnduleurs","assurance","divers","ratioDcAc","dureeAmortissement","tauxIS","tauxDSRA"],"additionalProperties":false};const func2 = Object.prototype.hasOwnProperty;function validate10(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){/*# sourceURL="#/definitions/SimulationCommunaute" */;let vErrors = null;let errors = 0;const _errs0 = errors;if(errors === _errs0){if(data && typeof data == "object" && !Array.isArray(data)){let missing0;if(((((((((((((((((((((((((((((data.puissance === undefined) && (missing0 = "puissance")) || ((data.autoconso === undefined) && (missing0 = "autoconso"))) || ((data.autoprod === undefined) && (missing0 = "autoprod"))) || ((data.fraisDivers === undefined) && (missing0 = "fraisDivers"))) || ((data.prix === undefined) && (missing0 = "prix"))) || ((data.prixAllo === undefined) && (missing0 = "prixAllo"))) || ((data.apport === undefined) && (missing0 = "apport"))) || ((data.interet === undefined) && (missing0 = "interet"))) || ((data.echeances === undefined) && (missing0 = "echeances"))) || ((data.consoMoyenneFoyer === undefined) && (missing0 = "consoMoyenneFoyer"))) || ((data.productible === undefined) && (missing0 = "productible"))) || ((data.degradation === undefined) && (missing0 = "degradation"))) || ((data.inflation === undefined) && (missing0 = "inflation"))) || ((data.ratio === undefined) && (missing0 = "ratio"))) || ((data.enedis === undefined) && (missing0 = "enedis"))) || ((data.tarifCRE === undefined) && (missing0 = "tarifCRE"))) || ((data.coutElec === undefined) && (missing0 = "coutElec"))) || ((data.inflationElec === undefined) && (missing0 = "inflationElec"))) || ((data.maintenance === undefined) && (missing0 = "maintenance"))) || ((data.turpe === undefined) && (missing0 = "turpe"))) || ((data.turpeInjection === undefined) && (missing0 = "turpeInjection"))) || ((data.provisionOnduleurs === undefined) && (missing0 = "provisionOnduleurs"))) || ((data.assurance === undefined) && (missing0 = "assurance"))) || ((data.divers === undefined) && (missing0 = "divers"))) || ((data.ratioDcAc === undefined) && (missing0 = "ratioDcAc"))) || ((data.dureeAmortissement === undefined) && (missing0 = "dureeAmortissement"))) || ((data.tauxIS === undefined) && (missing0 = "tauxIS"))) || ((data.tauxDSRA === undefined) && (missing0 = "tauxDSRA"))){validate10.errors = [{instancePath,schemaPath:"#/definitions/Faisan.SimulationCommunaute/required",keyword:"required",params:{missingProperty: missing0},message:"must have required property '"+missing0+"'",schema:schema12.required,parentSchema:schema12,data}];return false;}else {const _errs2 = errors;for(const key0 in data){if(!(func2.call(schema12.properties, key0))){validate10.errors = [{instancePath,schemaPath:"#/definitions/Faisan.SimulationCommunaute/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key0},message:"must NOT have additional properties",schema:false,parentSchema:schema12,data}];return false;break;}}if(_errs2 === errors){if(data.puissance !== undefined){let data0 = data.puissance;const _errs3 = errors;if(!((typeof data0 == "number") && (isFinite(data0)))){validate10.errors = [{instancePath:instancePath+"/puissance",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/puissance/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.puissance.type,parentSchema:schema12.properties.puissance,data:data0}];return false;}var valid1 = _errs3 === errors;}else {var valid1 = true;}if(valid1){if(data.autoconso !== undefined){let data1 = data.autoconso;const _errs5 = errors;if(!((typeof data1 == "number") && (isFinite(data1)))){validate10.errors = [{instancePath:instancePath+"/autoconso",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/autoconso/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.autoconso.type,parentSchema:schema12.properties.autoconso,data:data1}];return false;}var valid1 = _errs5 === errors;}else {var valid1 = true;}if(valid1){if(data.autoprod !== undefined){let data2 = data.autoprod;const _errs7 = errors;if(!((typeof data2 == "number") && (isFinite(data2)))){validate10.errors = [{instancePath:instancePath+"/autoprod",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/autoprod/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.autoprod.type,parentSchema:schema12.properties.autoprod,data:data2}];return false;}var valid1 = _errs7 === errors;}else {var valid1 = true;}if(valid1){if(data.fraisDivers !== undefined){let data3 = data.fraisDivers;const _errs9 = errors;if(!((typeof data3 == "number") && (isFinite(data3)))){validate10.errors = [{instancePath:instancePath+"/fraisDivers",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/fraisDivers/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.fraisDivers.type,parentSchema:schema12.properties.fraisDivers,data:data3}];return false;}var valid1 = _errs9 === errors;}else {var valid1 = true;}if(valid1){if(data.prix !== undefined){let data4 = data.prix;const _errs11 = errors;if(!((typeof data4 == "number") && (isFinite(data4)))){validate10.errors = [{instancePath:instancePath+"/prix",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/prix/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.prix.type,parentSchema:schema12.properties.prix,data:data4}];return false;}var valid1 = _errs11 === errors;}else {var valid1 = true;}if(valid1){if(data.prixAllo !== undefined){let data5 = data.prixAllo;const _errs13 = errors;if(!((typeof data5 == "number") && (isFinite(data5)))){validate10.errors = [{instancePath:instancePath+"/prixAllo",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/prixAllo/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.prixAllo.type,parentSchema:schema12.properties.prixAllo,data:data5}];return false;}var valid1 = _errs13 === errors;}else {var valid1 = true;}if(valid1){if(data.apport !== undefined){let data6 = data.apport;const _errs15 = errors;if(!((typeof data6 == "number") && (isFinite(data6)))){validate10.errors = [{instancePath:instancePath+"/apport",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/apport/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.apport.type,parentSchema:schema12.properties.apport,data:data6}];return false;}var valid1 = _errs15 === errors;}else {var valid1 = true;}if(valid1){if(data.interet !== undefined){let data7 = data.interet;const _errs17 = errors;if(!((typeof data7 == "number") && (isFinite(data7)))){validate10.errors = [{instancePath:instancePath+"/interet",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/interet/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.interet.type,parentSchema:schema12.properties.interet,data:data7}];return false;}var valid1 = _errs17 === errors;}else {var valid1 = true;}if(valid1){if(data.echeances !== undefined){let data8 = data.echeances;const _errs19 = errors;if(!((typeof data8 == "number") && (isFinite(data8)))){validate10.errors = [{instancePath:instancePath+"/echeances",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/echeances/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.echeances.type,parentSchema:schema12.properties.echeances,data:data8}];return false;}var valid1 = _errs19 === errors;}else {var valid1 = true;}if(valid1){if(data.consoMoyenneFoyer !== undefined){let data9 = data.consoMoyenneFoyer;const _errs21 = errors;if(!((typeof data9 == "number") && (isFinite(data9)))){validate10.errors = [{instancePath:instancePath+"/consoMoyenneFoyer",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/consoMoyenneFoyer/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.consoMoyenneFoyer.type,parentSchema:schema12.properties.consoMoyenneFoyer,data:data9}];return false;}var valid1 = _errs21 === errors;}else {var valid1 = true;}if(valid1){if(data.productible !== undefined){let data10 = data.productible;const _errs23 = errors;if(!((typeof data10 == "number") && (isFinite(data10)))){validate10.errors = [{instancePath:instancePath+"/productible",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/productible/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.productible.type,parentSchema:schema12.properties.productible,data:data10}];return false;}var valid1 = _errs23 === errors;}else {var valid1 = true;}if(valid1){if(data.degradation !== undefined){let data11 = data.degradation;const _errs25 = errors;if(!((typeof data11 == "number") && (isFinite(data11)))){validate10.errors = [{instancePath:instancePath+"/degradation",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/degradation/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.degradation.type,parentSchema:schema12.properties.degradation,data:data11}];return false;}var valid1 = _errs25 === errors;}else {var valid1 = true;}if(valid1){if(data.inflation !== undefined){let data12 = data.inflation;const _errs27 = errors;if(!((typeof data12 == "number") && (isFinite(data12)))){validate10.errors = [{instancePath:instancePath+"/inflation",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/inflation/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.inflation.type,parentSchema:schema12.properties.inflation,data:data12}];return false;}var valid1 = _errs27 === errors;}else {var valid1 = true;}if(valid1){if(data.ratio !== undefined){let data13 = data.ratio;const _errs29 = errors;if(!((typeof data13 == "number") && (isFinite(data13)))){validate10.errors = [{instancePath:instancePath+"/ratio",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/ratio/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.ratio.type,parentSchema:schema12.properties.ratio,data:data13}];return false;}var valid1 = _errs29 === errors;}else {var valid1 = true;}if(valid1){if(data.enedis !== undefined){let data14 = data.enedis;const _errs31 = errors;if(!((typeof data14 == "number") && (isFinite(data14)))){validate10.errors = [{instancePath:instancePath+"/enedis",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/enedis/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.enedis.type,parentSchema:schema12.properties.enedis,data:data14}];return false;}var valid1 = _errs31 === errors;}else {var valid1 = true;}if(valid1){if(data.tarifCRE !== undefined){let data15 = data.tarifCRE;const _errs33 = errors;if(errors === _errs33){if(data15 && typeof data15 == "object" && !Array.isArray(data15)){let missing1;if((((data15.limites === undefined) && (missing1 = "limites")) || ((data15.prix === undefined) && (missing1 = "prix"))) || ((data15.inflation === undefined) && (missing1 = "inflation"))){validate10.errors = [{instancePath:instancePath+"/tarifCRE",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tarifCRE/required",keyword:"required",params:{missingProperty: missing1},message:"must have required property '"+missing1+"'",schema:schema12.properties.tarifCRE.required,parentSchema:schema12.properties.tarifCRE,data:data15}];return false;}else {const _errs35 = errors;for(const key1 in data15){if(!(((key1 === "limites") || (key1 === "prix")) || (key1 === "inflation"))){validate10.errors = [{instancePath:instancePath+"/tarifCRE",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tarifCRE/additionalProperties",keyword:"additionalProperties",params:{additionalProperty: key1},message:"must NOT have additional properties",schema:false,parentSchema:schema12.properties.tarifCRE,data:data15}];return false;break;}}if(_errs35 === errors){if(data15.limites !== undefined){let data16 = data15.limites;const _errs36 = errors;if(errors === _errs36){if(Array.isArray(data16)){var valid3 = true;const len0 = data16.length;for(let i0=0; i0<len0; i0++){let data17 = data16[i0];const _errs38 = errors;if(!((typeof data17 == "number") && (isFinite(data17)))){validate10.errors = [{instancePath:instancePath+"/tarifCRE/limites/" + i0,schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tarifCRE/properties/limites/items/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.tarifCRE.properties.limites.items.type,parentSchema:schema12.properties.tarifCRE.properties.limites.items,data:data17}];return false;}var valid3 = _errs38 === errors;if(!valid3){break;}}}else {validate10.errors = [{instancePath:instancePath+"/tarifCRE/limites",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tarifCRE/properties/limites/type",keyword:"type",params:{type: "array"},message:"must be array",schema:schema12.properties.tarifCRE.properties.limites.type,parentSchema:schema12.properties.tarifCRE.properties.limites,data:data16}];return false;}}var valid2 = _errs36 === errors;}else {var valid2 = true;}if(valid2){if(data15.prix !== undefined){let data18 = data15.prix;const _errs40 = errors;if(errors === _errs40){if(Array.isArray(data18)){var valid4 = true;const len1 = data18.length;for(let i1=0; i1<len1; i1++){let data19 = data18[i1];const _errs42 = errors;if(!((typeof data19 == "number") && (isFinite(data19)))){validate10.errors = [{instancePath:instancePath+"/tarifCRE/prix/" + i1,schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tarifCRE/properties/prix/items/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.tarifCRE.properties.prix.items.type,parentSchema:schema12.properties.tarifCRE.properties.prix.items,data:data19}];return false;}var valid4 = _errs42 === errors;if(!valid4){break;}}}else {validate10.errors = [{instancePath:instancePath+"/tarifCRE/prix",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tarifCRE/properties/prix/type",keyword:"type",params:{type: "array"},message:"must be array",schema:schema12.properties.tarifCRE.properties.prix.type,parentSchema:schema12.properties.tarifCRE.properties.prix,data:data18}];return false;}}var valid2 = _errs40 === errors;}else {var valid2 = true;}if(valid2){if(data15.inflation !== undefined){let data20 = data15.inflation;const _errs44 = errors;if(!((typeof data20 == "number") && (isFinite(data20)))){validate10.errors = [{instancePath:instancePath+"/tarifCRE/inflation",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tarifCRE/properties/inflation/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.tarifCRE.properties.inflation.type,parentSchema:schema12.properties.tarifCRE.properties.inflation,data:data20}];return false;}var valid2 = _errs44 === errors;}else {var valid2 = true;}}}}}}else {validate10.errors = [{instancePath:instancePath+"/tarifCRE",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tarifCRE/type",keyword:"type",params:{type: "object"},message:"must be object",schema:schema12.properties.tarifCRE.type,parentSchema:schema12.properties.tarifCRE,data:data15}];return false;}}var valid1 = _errs33 === errors;}else {var valid1 = true;}if(valid1){if(data.coutElec !== undefined){let data21 = data.coutElec;const _errs46 = errors;if(!((typeof data21 == "number") && (isFinite(data21)))){validate10.errors = [{instancePath:instancePath+"/coutElec",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/coutElec/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.coutElec.type,parentSchema:schema12.properties.coutElec,data:data21}];return false;}var valid1 = _errs46 === errors;}else {var valid1 = true;}if(valid1){if(data.inflationElec !== undefined){let data22 = data.inflationElec;const _errs48 = errors;if(!((typeof data22 == "number") && (isFinite(data22)))){validate10.errors = [{instancePath:instancePath+"/inflationElec",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/inflationElec/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.inflationElec.type,parentSchema:schema12.properties.inflationElec,data:data22}];return false;}var valid1 = _errs48 === errors;}else {var valid1 = true;}if(valid1){if(data.maintenance !== undefined){let data23 = data.maintenance;const _errs50 = errors;if(!((typeof data23 == "number") && (isFinite(data23)))){validate10.errors = [{instancePath:instancePath+"/maintenance",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/maintenance/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.maintenance.type,parentSchema:schema12.properties.maintenance,data:data23}];return false;}var valid1 = _errs50 === errors;}else {var valid1 = true;}if(valid1){if(data.turpe !== undefined){let data24 = data.turpe;const _errs52 = errors;if(!((typeof data24 == "number") && (isFinite(data24)))){validate10.errors = [{instancePath:instancePath+"/turpe",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/turpe/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.turpe.type,parentSchema:schema12.properties.turpe,data:data24}];return false;}var valid1 = _errs52 === errors;}else {var valid1 = true;}if(valid1){if(data.turpeInjection !== undefined){let data25 = data.turpeInjection;const _errs54 = errors;if(!((typeof data25 == "number") && (isFinite(data25)))){validate10.errors = [{instancePath:instancePath+"/turpeInjection",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/turpeInjection/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.turpeInjection.type,parentSchema:schema12.properties.turpeInjection,data:data25}];return false;}var valid1 = _errs54 === errors;}else {var valid1 = true;}if(valid1){if(data.provisionOnduleurs !== undefined){let data26 = data.provisionOnduleurs;const _errs56 = errors;if(!((typeof data26 == "number") && (isFinite(data26)))){validate10.errors = [{instancePath:instancePath+"/provisionOnduleurs",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/provisionOnduleurs/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.provisionOnduleurs.type,parentSchema:schema12.properties.provisionOnduleurs,data:data26}];return false;}var valid1 = _errs56 === errors;}else {var valid1 = true;}if(valid1){if(data.assurance !== undefined){let data27 = data.assurance;const _errs58 = errors;if(!((typeof data27 == "number") && (isFinite(data27)))){validate10.errors = [{instancePath:instancePath+"/assurance",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/assurance/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.assurance.type,parentSchema:schema12.properties.assurance,data:data27}];return false;}var valid1 = _errs58 === errors;}else {var valid1 = true;}if(valid1){if(data.divers !== undefined){let data28 = data.divers;const _errs60 = errors;if(!((typeof data28 == "number") && (isFinite(data28)))){validate10.errors = [{instancePath:instancePath+"/divers",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/divers/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.divers.type,parentSchema:schema12.properties.divers,data:data28}];return false;}var valid1 = _errs60 === errors;}else {var valid1 = true;}if(valid1){if(data.ratioDcAc !== undefined){let data29 = data.ratioDcAc;const _errs62 = errors;if(!((typeof data29 == "number") && (isFinite(data29)))){validate10.errors = [{instancePath:instancePath+"/ratioDcAc",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/ratioDcAc/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.ratioDcAc.type,parentSchema:schema12.properties.ratioDcAc,data:data29}];return false;}var valid1 = _errs62 === errors;}else {var valid1 = true;}if(valid1){if(data.dureeAmortissement !== undefined){let data30 = data.dureeAmortissement;const _errs64 = errors;if(!((typeof data30 == "number") && (isFinite(data30)))){validate10.errors = [{instancePath:instancePath+"/dureeAmortissement",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/dureeAmortissement/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.dureeAmortissement.type,parentSchema:schema12.properties.dureeAmortissement,data:data30}];return false;}var valid1 = _errs64 === errors;}else {var valid1 = true;}if(valid1){if(data.tauxIS !== undefined){let data31 = data.tauxIS;const _errs66 = errors;if(!((typeof data31 == "number") && (isFinite(data31)))){validate10.errors = [{instancePath:instancePath+"/tauxIS",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tauxIS/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.tauxIS.type,parentSchema:schema12.properties.tauxIS,data:data31}];return false;}var valid1 = _errs66 === errors;}else {var valid1 = true;}if(valid1){if(data.tauxDSRA !== undefined){let data32 = data.tauxDSRA;const _errs68 = errors;if(!((typeof data32 == "number") && (isFinite(data32)))){validate10.errors = [{instancePath:instancePath+"/tauxDSRA",schemaPath:"#/definitions/Faisan.SimulationCommunaute/properties/tauxDSRA/type",keyword:"type",params:{type: "number"},message:"must be number",schema:schema12.properties.tauxDSRA.type,parentSchema:schema12.properties.tauxDSRA,data:data32}];return false;}var valid1 = _errs68 === errors;}else {var valid1 = true;}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}else {validate10.errors = [{instancePath,schemaPath:"#/definitions/Faisan.SimulationCommunaute/type",keyword:"type",params:{type: "object"},message:"must be object",schema:schema12.type,parentSchema:schema12,data}];return false;}}validate10.errors = vErrors;return errors === 0;}