{"openapi":"3.1.0","info":{"title":"Argile API","summary":"Renovating Buildings at scale","description":"\nArgile's API helps you to retrofit accomodations!\n","termsOfService":"https://www.argile.ai/politique-de-confidentialite","contact":{"name":"Pierre-Louis Guhur","url":"https://calendly.com/mavisite-guhur/30min","email":"pierre-louis.guhur@argile.ai"},"version":"0.5.1"},"paths":{"/health":{"get":{"summary":"Startup Event","description":"Send an OK message when checking for the API health","operationId":"startup_event_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Startup Event Health Get"}}}}}}},"/companies/{company_id}":{"get":{"tags":["Companies"],"summary":"Get Company","operationId":"get_company_companies__company_id__get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/public":{"get":{"tags":["Companies"],"summary":"Get Company Public Details","operationId":"get_company_public_details_companies__company_id__public_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyPublicRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies":{"patch":{"tags":["Companies"],"summary":"Update Company","operationId":"update_company_companies_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/bulk":{"post":{"tags":["Companies"],"summary":"Get Companies Bulk","description":"Get multiple companies by their IDs with permission filtering.","operationId":"get_companies_bulk_companies_bulk_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"string","format":"uuid"},"title":"Company Ids"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CompanyRead"},"title":"Response Get Companies Bulk Companies Bulk Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/branches":{"get":{"tags":["Companies"],"summary":"Get Company Branches","operationId":"get_company_branches_companies__company_id__branches_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BranchRead"},"title":"Response Get Company Branches Companies  Company Id  Branches Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/users":{"get":{"tags":["Companies"],"summary":"Get Company Users","operationId":"get_company_users_companies__company_id__users_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserRead"},"title":"Response Get Company Users Companies  Company Id  Users Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/configs/cee":{"get":{"tags":["Companies"],"summary":"Get Company Cee Config","operationId":"get_company_cee_config_companies__company_id__configs_cee_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CEEConfigResponse"},{"type":"null"}],"title":"Response Get Company Cee Config Companies  Company Id  Configs Cee Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Companies"],"summary":"Create And Assign Company Cee Config","operationId":"create_and_assign_company_cee_config_companies__company_id__configs_cee_post","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEConfigCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEConfigResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Companies"],"summary":"Update Company Cee Config","operationId":"update_company_cee_config_companies__company_id__configs_cee_patch","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEConfigUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEConfigResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Companies"],"summary":"Remove Company Cee Config","operationId":"remove_company_cee_config_companies__company_id__configs_cee_delete","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/configs/cee/branch-usage":{"get":{"tags":["Companies"],"summary":"Get Company Cee Config Branch Usage","description":"Branches of the company, and those without a config of their own.","operationId":"get_company_cee_config_branch_usage_companies__company_id__configs_cee_branch_usage_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEConfigBranchUsage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/configs/cee/attribution-rules":{"get":{"tags":["Companies"],"summary":"List Company Attribution Rules","description":"List CEE attribution rules for the company's CEE config, ordered by position.","operationId":"list_company_attribution_rules_companies__company_id__configs_cee_attribution_rules_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CEEAttributionRuleResponse"},"title":"Response List Company Attribution Rules Companies  Company Id  Configs Cee Attribution Rules Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Companies"],"summary":"Create Company Attribution Rule","description":"Create a new CEE attribution rule for the company's CEE config.","operationId":"create_company_attribution_rule_companies__company_id__configs_cee_attribution_rules_post","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEAttributionRuleCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEAttributionRuleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/configs/cee/attribution-rules/{rule_id}":{"patch":{"tags":["Companies"],"summary":"Update Company Attribution Rule","description":"Update an existing CEE attribution rule for the company.","operationId":"update_company_attribution_rule_companies__company_id__configs_cee_attribution_rules__rule_id__patch","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"rule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rule Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEAttributionRuleUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEAttributionRuleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Companies"],"summary":"Delete Company Attribution Rule","description":"Delete a CEE attribution rule and re-index positions for the company.","operationId":"delete_company_attribution_rule_companies__company_id__configs_cee_attribution_rules__rule_id__delete","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"rule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rule Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/configs/cee/attribution-rules/reorder":{"put":{"tags":["Companies"],"summary":"Reorder Company Attribution Rules","description":"Reorder CEE attribution rules for the company.","operationId":"reorder_company_attribution_rules_companies__company_id__configs_cee_attribution_rules_reorder_put","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReorderRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CEEAttributionRuleResponse"},"title":"Response Reorder Company Attribution Rules Companies  Company Id  Configs Cee Attribution Rules Reorder Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/configs/cee/fournisseurs/{fournisseur_id}/contracts":{"get":{"tags":["Companies"],"summary":"List Company Cee Contracts","description":"List the contracts of a fournisseur of the company, oldest first.","operationId":"list_company_cee_contracts_companies__company_id__configs_cee_fournisseurs__fournisseur_id__contracts_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"fournisseur_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Fournisseur Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CEEContractResponse"},"title":"Response List Company Cee Contracts Companies  Company Id  Configs Cee Fournisseurs  Fournisseur Id  Contracts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Companies"],"summary":"Create Company Cee Contract","description":"Create a contract of a fournisseur of the company.","operationId":"create_company_cee_contract_companies__company_id__configs_cee_fournisseurs__fournisseur_id__contracts_post","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"fournisseur_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Fournisseur Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEContractCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEContractResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/configs/cee/fournisseurs/{fournisseur_id}/contracts/{contract_id}":{"patch":{"tags":["Companies"],"summary":"Update Company Cee Contract","description":"Update a contract of a fournisseur of the company.","operationId":"update_company_cee_contract_companies__company_id__configs_cee_fournisseurs__fournisseur_id__contracts__contract_id__patch","parameters":[{"name":"contract_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contract Id"}},{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"fournisseur_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Fournisseur Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEContractUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEContractResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Companies"],"summary":"Delete Company Cee Contract","description":"Delete a contract of a fournisseur of the company.","operationId":"delete_company_cee_contract_companies__company_id__configs_cee_fournisseurs__fournisseur_id__contracts__contract_id__delete","parameters":[{"name":"contract_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contract Id"}},{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"fournisseur_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Fournisseur Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/configs/cee/fournisseurs":{"get":{"tags":["Companies"],"summary":"List Company Cee Fournisseurs","description":"List CEE fournisseurs linked to the company's CEEConfig.","operationId":"list_company_cee_fournisseurs_companies__company_id__configs_cee_fournisseurs_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CEEFournisseurResponse"},"title":"Response List Company Cee Fournisseurs Companies  Company Id  Configs Cee Fournisseurs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Companies"],"summary":"Create Company Cee Fournisseur","description":"Create a new CEE fournisseur and link it to the company's CEEConfig.\n\nUpsert on `company_name`: a replayed POST updates instead of duplicating.","operationId":"create_company_cee_fournisseur_companies__company_id__configs_cee_fournisseurs_post","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEFournisseurCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEFournisseurResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/configs/cee/fournisseurs/{fournisseur_id}":{"get":{"tags":["Companies"],"summary":"Get Company Cee Fournisseur","description":"Get a specific CEE fournisseur linked to the company.","operationId":"get_company_cee_fournisseur_companies__company_id__configs_cee_fournisseurs__fournisseur_id__get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"fournisseur_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Fournisseur Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEFournisseurResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Companies"],"summary":"Update Company Cee Fournisseur","description":"Update a CEE fournisseur linked to the company.","operationId":"update_company_cee_fournisseur_companies__company_id__configs_cee_fournisseurs__fournisseur_id__patch","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"fournisseur_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Fournisseur Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEFournisseurUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEFournisseurResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Companies"],"summary":"Delete Company Cee Fournisseur","description":"Delete a CEE fournisseur linked to the company.","operationId":"delete_company_cee_fournisseur_companies__company_id__configs_cee_fournisseurs__fournisseur_id__delete","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"fournisseur_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Fournisseur Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/configs/cee/fournisseurs/from-template":{"post":{"tags":["Companies"],"summary":"Create Company Cee Fournisseur From Template","description":"Create a CEE fournisseur on the company's CEEConfig from a template.","operationId":"create_company_cee_fournisseur_from_template_companies__company_id__configs_cee_fournisseurs_from_template_post","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEFournisseurCreateFromTemplate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEFournisseurResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/configs/cee/mandataire":{"get":{"tags":["Companies"],"summary":"Get Company Cee Mandataire","description":"Get the CEE mandataire linked to the company's CEEConfig.","operationId":"get_company_cee_mandataire_companies__company_id__configs_cee_mandataire_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEMandataireResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Companies"],"summary":"Create Company Cee Mandataire","description":"Create a new CEE mandataire and link it to the company's CEEConfig.","operationId":"create_company_cee_mandataire_companies__company_id__configs_cee_mandataire_post","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEMandataireCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEMandataireResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Companies"],"summary":"Update Company Cee Mandataire","description":"Update the CEE mandataire linked to the company.","operationId":"update_company_cee_mandataire_companies__company_id__configs_cee_mandataire_patch","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEMandataireUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEMandataireResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Companies"],"summary":"Delete Company Cee Mandataire","description":"Delete the CEE mandataire linked to the company.","operationId":"delete_company_cee_mandataire_companies__company_id__configs_cee_mandataire_delete","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/templates":{"get":{"tags":["Companies","Templates","Companies"],"summary":"Get Company Templates","operationId":"get_company_templates_companies__company_id__templates_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Template"},"title":"Response Get Company Templates Companies  Company Id  Templates Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/scenario-templates":{"get":{"tags":["Companies"],"summary":"Get Scenario Templates For Company","description":"Get all scenario templates for a given company","operationId":"get_scenario_templates_for_company_companies__company_id__scenario_templates_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ScenarioTemplateRead"},"title":"Response Get Scenario Templates For Company Companies  Company Id  Scenario Templates Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/configs/cee/contract-volumes":{"get":{"tags":["Companies"],"summary":"List Company Cee Contract Volumes","description":"Volume each contract of the company config reached, all its branches included.","operationId":"list_company_cee_contract_volumes_companies__company_id__configs_cee_contract_volumes_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CEEContractVolume"},"title":"Response List Company Cee Contract Volumes Companies  Company Id  Configs Cee Contract Volumes Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/suppliers":{"get":{"tags":["Companies","Suppliers"],"summary":"Get Company Suppliers","description":"List the suppliers of a company with their article counts","operationId":"get_company_suppliers_companies__company_id__suppliers_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SupplierListRead"},"title":"Response Get Company Suppliers Companies  Company Id  Suppliers Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Companies","Suppliers"],"summary":"Create Company Supplier","description":"Create a supplier for a company","operationId":"create_company_supplier_companies__company_id__suppliers_post","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierBase"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/suppliers/{supplier_id}":{"patch":{"tags":["Companies","Suppliers"],"summary":"Update Company Supplier","description":"Update a supplier of a company","operationId":"update_company_supplier_companies__company_id__suppliers__supplier_id__patch","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"supplier_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Supplier Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Companies","Suppliers"],"summary":"Delete Company Supplier","description":"Delete a supplier without attached articles","operationId":"delete_company_supplier_companies__company_id__suppliers__supplier_id__delete","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"supplier_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Supplier Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Company Supplier Companies  Company Id  Suppliers  Supplier Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/consents":{"get":{"tags":["Companies","Companies","GPDR"],"summary":"Get Company Consents","description":"Retrieve the GPDR consents of a company.","operationId":"get_company_consents_companies__company_id__consents_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Consent"},"title":"Response Get Company Consents Companies  Company Id  Consents Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/accounting-config":{"get":{"tags":["Companies","Companies","Accounting Config"],"summary":"Get Accounting Config","description":"Get the accounting plan of a company, reserved to enterprise admins: it exposes every subsidiary. Defaults are returned when unconfigured.","operationId":"get_accounting_config_companies__company_id__accounting_config_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountingConfigRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Companies","Companies","Accounting Config"],"summary":"Put Accounting Config","description":"Create or replace the accounting plan of a company. The plan is replaced as a whole; a subsidiary absent from the body keeps its analytic code.","operationId":"put_accounting_config_companies__company_id__accounting_config_put","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountingConfigWrite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountingConfigRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/loan-providers":{"get":{"tags":["Companies"],"summary":"Get Company Loan Providers","description":"List the loan providers linked to a company (company users and leads).","operationId":"get_company_loan_providers_companies__company_id__loan_providers_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LoanProviderRead"},"title":"Response Get Company Loan Providers Companies  Company Id  Loan Providers Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Companies"],"summary":"Set Company Loan Providers","description":"Replace the loan providers linked to a company (Argile staff only).","operationId":"set_company_loan_providers_companies__company_id__loan_providers_put","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyLoanProvidersUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LoanProviderRead"},"title":"Response Set Company Loan Providers Companies  Company Id  Loan Providers Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/insurance-providers":{"post":{"tags":["Companies","InsuranceProviders"],"summary":"Create Company Insurance Provider","description":"Create a company-level insurance provider.","operationId":"create_company_insurance_provider_companies__company_id__insurance_providers_post","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsuranceProviderCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsuranceProviderRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Companies","InsuranceProviders"],"summary":"Get Company Insurance Providers","description":"List the company-level insurance providers (branch-owned rows excluded).","operationId":"get_company_insurance_providers_companies__company_id__insurance_providers_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InsuranceProviderRead"},"title":"Response Get Company Insurance Providers Companies  Company Id  Insurance Providers Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/insurance-providers/{insurance_provider_id}":{"put":{"tags":["Companies","InsuranceProviders"],"summary":"Update Company Insurance Provider","description":"Update an insurance provider, 404 unless it is company-level of this company.","operationId":"update_company_insurance_provider_companies__company_id__insurance_providers__insurance_provider_id__put","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"insurance_provider_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Insurance Provider Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsuranceProviderUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsuranceProviderRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Companies","InsuranceProviders"],"summary":"Delete Company Insurance Provider","description":"Delete an insurance provider, 404 unless it is company-level of this company.","operationId":"delete_company_insurance_provider_companies__company_id__insurance_providers__insurance_provider_id__delete","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"insurance_provider_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Insurance Provider Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Company Insurance Provider Companies  Company Id  Insurance Providers  Insurance Provider Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/api-keys":{"get":{"tags":["Companies","ApiKeys"],"summary":"List Company Api Keys","description":"List the company's valid partner API keys, without their secrets.","operationId":"list_company_api_keys_companies__company_id__api_keys_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Companies","ApiKeys"],"summary":"Create Company Api Key","description":"Issue a partner API key; its secret is returned here and never again.","operationId":"create_company_api_key_companies__company_id__api_keys_post","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyCreated"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/api-keys/{key_id}":{"delete":{"tags":["Companies","ApiKeys"],"summary":"Revoke Company Api Key","description":"Revoke a key of this company; a key of any other organization answers 404.","operationId":"revoke_company_api_key_companies__company_id__api_keys__key_id__delete","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"key_id","in":"path","required":true,"schema":{"type":"string","maxLength":64,"pattern":"^[A-Za-z0-9_]+$","title":"Key Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/catalogs":{"get":{"tags":["Companies"],"summary":"Get Company Catalogs","description":"Get all catalogs the user has access to","operationId":"get_company_catalogs_companies__company_id__catalogs_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CatalogRead"},"title":"Response Get Company Catalogs Companies  Company Id  Catalogs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companies/{company_id}/landing-pages":{"get":{"tags":["Companies"],"summary":"List Company Landing Pages","description":"List all landing pages for a company.","operationId":"list_company_landing_pages_companies__company_id__landing_pages_get","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LandingPageRead"},"title":"Response List Company Landing Pages Companies  Company Id  Landing Pages Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Companies"],"summary":"Create Landing Page","description":"Create a new landing page entry for a company.","operationId":"create_landing_page_companies__company_id__landing_pages_post","parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Company Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LandingPageCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LandingPageRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches":{"post":{"tags":["Branches"],"summary":"Create Branch","operationId":"create_branch_branches_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Branches"],"summary":"Update Branch","operationId":"update_branch_branches_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}":{"get":{"tags":["Branches"],"summary":"Get Branch","operationId":"get_branch_branches__branch_id__get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Branches"],"summary":"Delete Branch","operationId":"delete_branch_branches__branch_id__delete","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Branch Branches  Branch Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/public":{"get":{"tags":["Branches"],"summary":"Get Branch Public Details","operationId":"get_branch_public_details_branches__branch_id__public_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchPublicRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/bulk":{"post":{"tags":["Branches"],"summary":"Get Branches Bulk","description":"Get multiple branches by their IDs with permission filtering.","operationId":"get_branches_bulk_branches_bulk_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"string","format":"uuid"},"title":"Branch Ids"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BranchRead"},"title":"Response Get Branches Bulk Branches Bulk Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/documents":{"post":{"tags":["Branches"],"summary":"Create Branch Document","description":"Add a document to a branch (subcontractor).","operationId":"create_branch_document_branches__branch_id__documents_post","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchDocumentCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchDocumentRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Branches"],"summary":"Get Branch Documents","description":"Get all documents for a branch.","operationId":"get_branch_documents_branches__branch_id__documents_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BranchDocumentRead"},"title":"Response Get Branch Documents Branches  Branch Id  Documents Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/documents/{document_id}":{"delete":{"tags":["Branches"],"summary":"Delete Branch Document","description":"Delete a document from a branch.","operationId":"delete_branch_document_branches__branch_id__documents__document_id__delete","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Branch Document Branches  Branch Id  Documents  Document Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/subcontractors/{subcontractor_id}":{"post":{"tags":["Branches"],"summary":"Create Branch Subcontractor","description":"Affiliate a subcontractor to a branch.","operationId":"create_branch_subcontractor_branches__branch_id__subcontractors__subcontractor_id__post","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"subcontractor_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subcontractor Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Branch Subcontractor Branches  Branch Id  Subcontractors  Subcontractor Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Branches"],"summary":"Delete Branch Subcontractor","description":"Remove the affiliation between a branch and a subcontractor.","operationId":"delete_branch_subcontractor_branches__branch_id__subcontractors__subcontractor_id__delete","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"subcontractor_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Subcontractor Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Branch Subcontractor Branches  Branch Id  Subcontractors  Subcontractor Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/billing-config":{"get":{"tags":["Branches","Branches","Billing Config"],"summary":"Get Billing Config","description":"Get billing configuration for a branch","operationId":"get_billing_config_branches__branch_id__billing_config_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingConfigRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Branches","Branches","Billing Config"],"summary":"Put Billing Config","description":"Create or replace billing configuration for a branch","operationId":"put_billing_config_branches__branch_id__billing_config_put","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingConfigWrite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingConfigRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Branches","Branches","Billing Config"],"summary":"Patch Billing Config","description":"Partially update billing configuration for a branch","operationId":"patch_billing_config_branches__branch_id__billing_config_patch","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingConfigWrite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingConfigRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Branches","Branches","Billing Config"],"summary":"Delete Billing Config","description":"Delete billing configuration for a branch (resets to defaults)","operationId":"delete_billing_config_branches__branch_id__billing_config_delete","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingConfigRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/report-config":{"get":{"tags":["Branches","Branches","Report Config"],"summary":"Get Report Config","description":"Get report rendering configuration for a branch","operationId":"get_report_config_branches__branch_id__report_config_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchReportConfigRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Branches","Branches","Report Config"],"summary":"Put Report Config","description":"Create or replace report configuration for a branch","operationId":"put_report_config_branches__branch_id__report_config_put","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchReportConfigWrite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchReportConfigRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Branches","Branches","Report Config"],"summary":"Patch Report Config","description":"Partially update report configuration for a branch","operationId":"patch_report_config_branches__branch_id__report_config_patch","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchReportConfigWrite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchReportConfigRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Branches","Branches","Report Config"],"summary":"Delete Report Config","description":"Delete report configuration for a branch (resets to defaults)","operationId":"delete_report_config_branches__branch_id__report_config_delete","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchReportConfigRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/leads":{"get":{"tags":["Branches"],"summary":"Get Leads By Branch","description":"Get all leads for a branch","operationId":"get_leads_by_branch_branches__branch_id__leads_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Lead"},"title":"Response Get Leads By Branch Branches  Branch Id  Leads Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/external-identity-providers":{"get":{"tags":["Branches","Branches","External Identity Providers"],"summary":"Get Branch External Identity Providers","description":"Get all external identity providers of a branch","operationId":"get_branch_external_identity_providers_branches__branch_id__external_identity_providers_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExternalIdentityProviderRead"},"title":"Response Get Branch External Identity Providers Branches  Branch Id  External Identity Providers Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/lead-origins":{"get":{"tags":["Branches"],"summary":"Get Branch Lead Origins","description":"Get all lead origins for a branch.","operationId":"get_branch_lead_origins_branches__branch_id__lead_origins_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LeadOriginRead"},"title":"Response Get Branch Lead Origins Branches  Branch Id  Lead Origins Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Branches"],"summary":"Create Lead Origin","description":"Create a new lead origin for a branch.","operationId":"create_lead_origin_branches__branch_id__lead_origins_post","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadOriginCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadOriginRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/configs/cee":{"get":{"tags":["Branches"],"summary":"Get Branch Cee Config","operationId":"get_branch_cee_config_branches__branch_id__configs_cee_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CEEConfigResponse"},{"type":"null"}],"title":"Response Get Branch Cee Config Branches  Branch Id  Configs Cee Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Branches"],"summary":"Create And Assign Cee Config","operationId":"create_and_assign_cee_config_branches__branch_id__configs_cee_post","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEConfigCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEConfigResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Branches"],"summary":"Update Branch Cee Config","operationId":"update_branch_cee_config_branches__branch_id__configs_cee_patch","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEConfigUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEConfigResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Branches"],"summary":"Remove Branch Cee Config","operationId":"remove_branch_cee_config_branches__branch_id__configs_cee_delete","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/configs/cee/clone-from-company":{"post":{"tags":["Branches"],"summary":"Clone Company Cee Config To Branch","operationId":"clone_company_cee_config_to_branch_branches__branch_id__configs_cee_clone_from_company_post","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEConfigResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/configs/cee/attribution-rules":{"get":{"tags":["Branches"],"summary":"List Attribution Rules","description":"List CEE attribution rules for the branch's CEE config, ordered by position.","operationId":"list_attribution_rules_branches__branch_id__configs_cee_attribution_rules_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CEEAttributionRuleResponse"},"title":"Response List Attribution Rules Branches  Branch Id  Configs Cee Attribution Rules Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Branches"],"summary":"Create Attribution Rule","description":"Create a new CEE attribution rule for the branch's CEE config.","operationId":"create_attribution_rule_branches__branch_id__configs_cee_attribution_rules_post","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEAttributionRuleCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEAttributionRuleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/configs/cee/attribution-rules/{rule_id}":{"patch":{"tags":["Branches"],"summary":"Update Attribution Rule","description":"Update an existing CEE attribution rule.","operationId":"update_attribution_rule_branches__branch_id__configs_cee_attribution_rules__rule_id__patch","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"rule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rule Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEAttributionRuleUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEAttributionRuleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Branches"],"summary":"Delete Attribution Rule","description":"Delete a CEE attribution rule and re-index positions.","operationId":"delete_attribution_rule_branches__branch_id__configs_cee_attribution_rules__rule_id__delete","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"rule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rule Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/configs/cee/attribution-rules/reorder":{"put":{"tags":["Branches"],"summary":"Reorder Attribution Rules","description":"Reorder CEE attribution rules.","operationId":"reorder_attribution_rules_branches__branch_id__configs_cee_attribution_rules_reorder_put","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReorderRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CEEAttributionRuleResponse"},"title":"Response Reorder Attribution Rules Branches  Branch Id  Configs Cee Attribution Rules Reorder Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/configs/cee/fournisseurs/{fournisseur_id}/contracts":{"get":{"tags":["Branches"],"summary":"List Cee Contracts","description":"List the contracts of a fournisseur of the branch, oldest first.","operationId":"list_cee_contracts_branches__branch_id__configs_cee_fournisseurs__fournisseur_id__contracts_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"fournisseur_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Fournisseur Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CEEContractResponse"},"title":"Response List Cee Contracts Branches  Branch Id  Configs Cee Fournisseurs  Fournisseur Id  Contracts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Branches"],"summary":"Create Cee Contract","description":"Create a contract; the one running on its first day stops the day before.","operationId":"create_cee_contract_branches__branch_id__configs_cee_fournisseurs__fournisseur_id__contracts_post","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"fournisseur_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Fournisseur Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEContractCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEContractResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/configs/cee/fournisseurs/{fournisseur_id}/contracts/{contract_id}":{"patch":{"tags":["Branches"],"summary":"Update Cee Contract","description":"Update a contract of a fournisseur of the branch.","operationId":"update_cee_contract_branches__branch_id__configs_cee_fournisseurs__fournisseur_id__contracts__contract_id__patch","parameters":[{"name":"contract_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contract Id"}},{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"fournisseur_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Fournisseur Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEContractUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEContractResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Branches"],"summary":"Delete Cee Contract","description":"Delete a contract of a fournisseur of the branch.","operationId":"delete_cee_contract_branches__branch_id__configs_cee_fournisseurs__fournisseur_id__contracts__contract_id__delete","parameters":[{"name":"contract_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Contract Id"}},{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"fournisseur_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Fournisseur Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/configs/cee/fournisseurs":{"get":{"tags":["Branches"],"summary":"List Cee Fournisseurs","description":"List CEE fournisseurs linked to the branch's CEEConfig.","operationId":"list_cee_fournisseurs_branches__branch_id__configs_cee_fournisseurs_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CEEFournisseurResponse"},"title":"Response List Cee Fournisseurs Branches  Branch Id  Configs Cee Fournisseurs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Branches"],"summary":"Create Cee Fournisseur","description":"Create a new CEE fournisseur and link it to the branch's CEEConfig.\n\nUpsert on `company_name`: a replayed POST updates instead of duplicating.","operationId":"create_cee_fournisseur_branches__branch_id__configs_cee_fournisseurs_post","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEFournisseurCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEFournisseurResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/configs/cee/fournisseurs/{fournisseur_id}":{"get":{"tags":["Branches"],"summary":"Get Cee Fournisseur","description":"Get a specific CEE fournisseur linked to the branch.","operationId":"get_cee_fournisseur_branches__branch_id__configs_cee_fournisseurs__fournisseur_id__get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"fournisseur_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Fournisseur Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEFournisseurResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Branches"],"summary":"Update Cee Fournisseur","description":"Update a CEE fournisseur linked to the branch.","operationId":"update_cee_fournisseur_branches__branch_id__configs_cee_fournisseurs__fournisseur_id__patch","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"fournisseur_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Fournisseur Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEFournisseurUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEFournisseurResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Branches"],"summary":"Delete Cee Fournisseur","description":"Delete a CEE fournisseur linked to the branch.","operationId":"delete_cee_fournisseur_branches__branch_id__configs_cee_fournisseurs__fournisseur_id__delete","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"fournisseur_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Fournisseur Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/configs/cee/fournisseurs/from-template":{"post":{"tags":["Branches"],"summary":"Create Cee Fournisseur From Template","description":"Create a CEE fournisseur on the branch's CEEConfig from a template.","operationId":"create_cee_fournisseur_from_template_branches__branch_id__configs_cee_fournisseurs_from_template_post","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEFournisseurCreateFromTemplate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEFournisseurResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/configs/cee/mandataire":{"get":{"tags":["Branches"],"summary":"Get Cee Mandataire","description":"Get the CEE mandataire linked to the branch's CEEConfig.","operationId":"get_cee_mandataire_branches__branch_id__configs_cee_mandataire_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEMandataireResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Branches"],"summary":"Create Cee Mandataire","description":"Create a new CEE mandataire and link it to the branch's CEEConfig.","operationId":"create_cee_mandataire_branches__branch_id__configs_cee_mandataire_post","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEMandataireCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEMandataireResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Branches"],"summary":"Update Cee Mandataire","description":"Update the CEE mandataire linked to the branch.","operationId":"update_cee_mandataire_branches__branch_id__configs_cee_mandataire_patch","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEMandataireUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CEEMandataireResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Branches"],"summary":"Delete Cee Mandataire","description":"Delete the CEE mandataire linked to the branch.","operationId":"delete_cee_mandataire_branches__branch_id__configs_cee_mandataire_delete","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/projects":{"get":{"tags":["Branches","Branches","Projects"],"summary":"Get Projects For Branch","description":"Get the projects related to a branch (paginated, max 100 per page)","operationId":"get_projects_for_branch_branches__branch_id__projects_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectRead"},"title":"Response Get Projects For Branch Branches  Branch Id  Projects Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/scenario-templates":{"get":{"tags":["Branches"],"summary":"Get Scenario Templates For Branch","description":"Get all scenario templates for a given branch","operationId":"get_scenario_templates_for_branch_branches__branch_id__scenario_templates_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ScenarioTemplateRead"},"title":"Response Get Scenario Templates For Branch Branches  Branch Id  Scenario Templates Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/quotes":{"get":{"tags":["Branches","Branches","Quotes"],"summary":"Get Quotes For Branch","description":"Get the quotes related to a branch with simplified lead details","operationId":"get_quotes_for_branch_branches__branch_id__quotes_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of items to skip for pagination","default":0,"title":"Offset"},"description":"Number of items to skip for pagination"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"description":"Number of items to return per page","default":10,"title":"Limit"},"description":"Number of items to return per page"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"enum":["draft","pending","completed","sent","accepted","paid","delayed","error","to_emit","to_pay","partially_paid","abandoned"],"type":"string"}},{"type":"null"}],"description":"Filter by quote status (repeatable)","title":"Status"},"description":"Filter by quote status (repeatable)"},{"name":"include_abandoned","in":"query","required":false,"schema":{"type":"boolean","description":"Also return abandoned quotes when no status filter is given","default":false,"title":"Include Abandoned"},"description":"Also return abandoned quotes when no status filter is given"},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Keep quotes created on or after this date","title":"Start Date"},"description":"Keep quotes created on or after this date"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Keep quotes created on or before this date","title":"End Date"},"description":"Keep quotes created on or before this date"},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Free-text search on the lead name or quote reference","title":"Search"},"description":"Free-text search on the lead name or quote reference"},{"name":"user_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"description":"Keep the quotes these users are responsible for","title":"User Ids"},"description":"Keep the quotes these users are responsible for"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/QuoteRead"},"title":"Response Get Quotes For Branch Branches  Branch Id  Quotes Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/configs/cee/contract-volumes":{"get":{"tags":["Branches"],"summary":"List Branch Cee Contract Volumes","description":"Volume each contract of the branch's own config reached; empty if it inherits.","operationId":"list_branch_cee_contract_volumes_branches__branch_id__configs_cee_contract_volumes_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CEEContractVolume"},"title":"Response List Branch Cee Contract Volumes Branches  Branch Id  Configs Cee Contract Volumes Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/commercial-plans":{"get":{"tags":["Branches","Branches","Commercial Plans"],"summary":"Get Commercial Plans For Branch","description":"Get the commercial plans related to a branch","operationId":"get_commercial_plans_for_branch_branches__branch_id__commercial_plans_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of items to skip for pagination","default":0,"title":"Offset"},"description":"Number of items to skip for pagination"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"description":"Number of items to return per page","default":10,"title":"Limit"},"description":"Number of items to return per page"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommercialPlanRead"},"title":"Response Get Commercial Plans For Branch Branches  Branch Id  Commercial Plans Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/commercial-plans/count":{"get":{"tags":["Branches","Branches","Commercial Plans"],"summary":"Get Commercial Plans Count For Branch","description":"Get the count of commercial plans related to a branch","operationId":"get_commercial_plans_count_for_branch_branches__branch_id__commercial_plans_count_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"integer","title":"Response Get Commercial Plans Count For Branch Branches  Branch Id  Commercial Plans Count Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/invoices":{"get":{"tags":["Branches","Branches","Invoices"],"summary":"Get Invoices For Branch","description":"Get the invoices related to a branch with simplified lead details","operationId":"get_invoices_for_branch_branches__branch_id__invoices_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of items to skip for pagination","default":0,"title":"Offset"},"description":"Number of items to skip for pagination"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"description":"Number of items to return per page","default":10,"title":"Limit"},"description":"Number of items to return per page"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"enum":["draft","pending","completed","sent","accepted","paid","delayed","error","to_emit","to_pay","partially_paid","abandoned"],"type":"string"}},{"type":"null"}],"description":"Filter by document status (repeatable)","title":"Status"},"description":"Filter by document status (repeatable)"},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Keep documents created on or after this date","title":"Start Date"},"description":"Keep documents created on or after this date"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Keep documents created on or before this date","title":"End Date"},"description":"Keep documents created on or before this date"},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Free-text search on the lead name or document reference","title":"Search"},"description":"Free-text search on the lead name or document reference"},{"name":"user_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"description":"Keep the documents of the leads these users own","title":"User Ids"},"description":"Keep the documents of the leads these users own"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceWithLeadRead"},"title":"Response Get Invoices For Branch Branches  Branch Id  Invoices Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/credit-notes":{"get":{"tags":["Branches","Branches","Credit Notes"],"summary":"Get Credit Notes For Branch","description":"Get the credit notes issued by a branch with simplified lead details","operationId":"get_credit_notes_for_branch_branches__branch_id__credit_notes_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of items to skip for pagination","default":0,"title":"Offset"},"description":"Number of items to skip for pagination"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"minimum":1,"description":"Number of items to return per page","default":10,"title":"Limit"},"description":"Number of items to return per page"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"enum":["draft","pending","completed","sent","accepted","paid","delayed","error","to_emit","to_pay","partially_paid","abandoned"],"type":"string"}},{"type":"null"}],"description":"Filter by document status (repeatable)","title":"Status"},"description":"Filter by document status (repeatable)"},{"name":"start_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Keep documents created on or after this date","title":"Start Date"},"description":"Keep documents created on or after this date"},{"name":"end_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Keep documents created on or before this date","title":"End Date"},"description":"Keep documents created on or before this date"},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Free-text search on the lead name or document reference","title":"Search"},"description":"Free-text search on the lead name or document reference"},{"name":"user_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string","format":"uuid"}},{"type":"null"}],"description":"Keep the documents of the leads these users own","title":"User Ids"},"description":"Keep the documents of the leads these users own"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CreditNoteWithLeadRead"},"title":"Response Get Credit Notes For Branch Branches  Branch Id  Credit Notes Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/document-templates":{"get":{"tags":["Branches","Branches","Documents Templates"],"summary":"Get Branch Documents Templates","description":"Get all document templates of a branch","operationId":"get_branch_documents_templates_branches__branch_id__document_templates_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DocumentTemplateRead"},"title":"Response Get Branch Documents Templates Branches  Branch Id  Document Templates Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/document-instances":{"get":{"tags":["Branches","Branches","Documents Instances"],"summary":"Get Branch Documents Instances","description":"Get all documents generated for a branch","operationId":"get_branch_documents_instances_branches__branch_id__document_instances_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DocumentInstanceRead"},"title":"Response Get Branch Documents Instances Branches  Branch Id  Document Instances Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/signatures/services":{"get":{"tags":["Branches"],"summary":"Get Branch Signature Services","description":"Get all signature services for a branch","operationId":"get_branch_signature_services_branches__branch_id__signatures_services_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SignatureServiceRead"},"title":"Response Get Branch Signature Services Branches  Branch Id  Signatures Services Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/signatures":{"get":{"tags":["Branches"],"summary":"Get Branch Signature Requests","description":"Get paginated signature requests for branch documents","operationId":"get_branch_signature_requests_branches__branch_id__signatures_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of items to skip for pagination","default":0,"title":"Offset"},"description":"Number of items to skip for pagination"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"description":"Number of items to return per page","default":10,"title":"Limit"},"description":"Number of items to return per page"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SignatureRequestRead"},"title":"Response Get Branch Signature Requests Branches  Branch Id  Signatures Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/work-statuses":{"get":{"tags":["Branches"],"summary":"Get Branch Work Statuses","description":"Get all work statuses for a branch","operationId":"get_branch_work_statuses_branches__branch_id__work_statuses_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Branch ID","title":"Branch Id"},"description":"Branch ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WorkStatusRead"},"title":"Response Get Branch Work Statuses Branches  Branch Id  Work Statuses Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/webhooks":{"get":{"tags":["Branches"],"summary":"List Branch Webhooks","description":"List webhooks for a specific branch","operationId":"list_branch_webhooks_branches__branch_id__webhooks_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"event_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Event"},{"type":"null"}],"title":"Event Type"}},{"name":"is_active","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/insurance-providers":{"get":{"tags":["Branches","InsuranceProviders"],"summary":"Get Branch Insurance Providers","description":"List the insurance providers owned by a branch (company-level rows excluded).","operationId":"get_branch_insurance_providers_branches__branch_id__insurance_providers_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InsuranceProviderRead"},"title":"Response Get Branch Insurance Providers Branches  Branch Id  Insurance Providers Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Branches","InsuranceProviders"],"summary":"Create Branch Insurance Provider","description":"Create an insurance provider owned by a branch.","operationId":"create_branch_insurance_provider_branches__branch_id__insurance_providers_post","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsuranceProviderCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsuranceProviderRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/insurance-providers/{insurance_provider_id}":{"put":{"tags":["Branches","InsuranceProviders"],"summary":"Update Branch Insurance Provider","description":"Update an insurance provider, 404 unless the branch owns it.","operationId":"update_branch_insurance_provider_branches__branch_id__insurance_providers__insurance_provider_id__put","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"insurance_provider_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Insurance Provider Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsuranceProviderUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsuranceProviderRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Branches","InsuranceProviders"],"summary":"Delete Branch Insurance Provider","description":"Delete an insurance provider, 404 unless the branch owns it.","operationId":"delete_branch_insurance_provider_branches__branch_id__insurance_providers__insurance_provider_id__delete","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"insurance_provider_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Insurance Provider Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Branch Insurance Provider Branches  Branch Id  Insurance Providers  Insurance Provider Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/catalogs":{"get":{"tags":["Branches"],"summary":"Get Branch Catalogs","description":"Get all catalogs assigned to a branch","operationId":"get_branch_catalogs_branches__branch_id__catalogs_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CatalogRead"},"title":"Response Get Branch Catalogs Branches  Branch Id  Catalogs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/calendly-service":{"get":{"tags":["Branches"],"summary":"Get Calendly Service For Branch","description":"Get Calendly URL for a branch (a member of the branch or one of its leads).","operationId":"get_calendly_service_for_branch_branches__branch_id__calendly_service_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendlyServicePublicRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/integrations":{"get":{"tags":["Branches"],"summary":"Get Branch Integrations","description":"The integrations enabled for a branch, by itself or through its company.","operationId":"get_branch_integrations_branches__branch_id__integrations_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IntegrationType"},"title":"Response Get Branch Integrations Branches  Branch Id  Integrations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/{branch_id}/integrations/aap":{"get":{"tags":["Branches"],"summary":"Get Branch Aap Settings","description":"The settings of the branch's AAP flow, none when it has no AAP flow.","operationId":"get_branch_aap_settings_branches__branch_id__integrations_aap_get","parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AapSettings"},{"type":"null"}],"title":"Response Get Branch Aap Settings Branches  Branch Id  Integrations Aap Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/demandes":{"post":{"tags":["Branches"],"summary":"Create Branch Demand","description":"Enregistre une demande de contact venue du site d'une entreprise.","operationId":"create_branch_demand_branches_demandes_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BranchDemandCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactDemandCreated"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/branches/demandes/{token}/confirmer":{"post":{"tags":["Branches"],"summary":"Confirm Branch Demand","description":"Confirme une demande, ce qui la transforme en lead de la branche.","operationId":"confirm_branch_demand_branches_demandes__token__confirmer_post","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmationResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads":{"post":{"tags":["Leads"],"summary":"Create Lead","operationId":"create_lead_leads_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadWithToken"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Leads"],"summary":"Update Lead","operationId":"update_lead_leads_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Fields"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadWithUsers"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/count/user":{"get":{"tags":["Leads"],"summary":"Count Leads For User","description":"Count the number of leads for a user","operationId":"count_leads_for_user_leads_count_user_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"integer","title":"Response Count Leads For User Leads Count User Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/count":{"post":{"tags":["Leads"],"summary":"Count Leads With Filters","description":"Count leads based on search filters (including tag filters)","operationId":"count_leads_with_filters_leads_count_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadSearchFilters"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"integer","title":"Response Count Leads With Filters Leads Count Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/statuses/count":{"post":{"tags":["Leads"],"summary":"Count Leads By Status","description":"Count leads grouped by status in a single optimized query.\nAccepts the same filters as POST /leads/count, but the `statuses` field is ignored.\nReturns a dictionary mapping each status to its count.","operationId":"count_leads_by_status_leads_statuses_count_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadSearchFilters"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusCountsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/count-per-origin":{"post":{"tags":["Leads"],"summary":"Count Leads Per Lead Origin","description":"Count leads grouped by lead_origin_id for the given origin IDs.","operationId":"count_leads_per_lead_origin_leads_count_per_origin_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"type":"string","format":"uuid"},"title":"Origin Ids"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"},"title":"Response Count Leads Per Lead Origin Leads Count Per Origin Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}":{"get":{"tags":["Leads"],"summary":"Get Lead","operationId":"get_lead_leads__lead_id__get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadWithToken"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/users/{role}":{"put":{"tags":["Leads"],"summary":"Set Lead Users","description":"Replace the lead's sales or works users; the first sales user is principal.","operationId":"set_lead_users_leads__lead_id__users__role__put","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"role","in":"path","required":true,"schema":{"$ref":"#/components/schemas/LeadUserRole"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadUsersUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadWithUsers"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/bulk":{"patch":{"tags":["Leads"],"summary":"Bulk Update Leads","description":"Update several leads in a single call, with the same fields as PATCH /leads. Partial success: always 200, the ids left untouched are listed in `errors`. A lead listed twice only keeps the last payload.","operationId":"bulk_update_leads_leads_bulk_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadBulkUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadBulkUpdateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/search":{"post":{"tags":["Leads"],"summary":"Search Leads","description":"Search leads given a set of optional filters (company, branch, user, email, etc.).\nOnly users with appropriate permissions can search.","operationId":"search_leads_leads_search_post","parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of items to return per page","default":100,"title":"Limit"},"description":"Number of items to return per page"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadSearchFilters"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LeadWithTokenAndTags"},"title":"Response Search Leads Leads Search Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/search/page":{"post":{"tags":["Leads"],"summary":"Search Leads Page","description":"Same leads as POST /leads/search, with the total count of matching leads.","operationId":"search_leads_page_leads_search_page_post","parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of items to return per page","default":20,"title":"Limit"},"description":"Number of items to return per page"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadSearchFilters"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadSearchPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/search/columns":{"post":{"tags":["Leads"],"summary":"Search Leads Columns","description":"First page of POST /leads/search/page for each status, in one call (kanban).","operationId":"search_leads_columns_leads_search_columns_post","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of items to return per page","default":20,"title":"Limit"},"description":"Number of items to return per page"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadSearchColumnsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadSearchColumns"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/export/csv":{"post":{"tags":["Leads"],"summary":"Export Leads Csv","description":"Start an async CSV export of leads matching the given filters.\nReturns a workflow ID to poll for the result.","operationId":"export_leads_csv_leads_export_csv_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadExportRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadExportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/export/csv/{workflow_id}":{"get":{"tags":["Leads"],"summary":"Get Export Leads Status","description":"Poll for the status of a leads CSV export.","operationId":"get_export_leads_status_leads_export_csv__workflow_id__get","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadExportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/export/csv/{workflow_id}/download":{"get":{"tags":["Leads"],"summary":"Download Export Leads","description":"Get a presigned download URL for a completed leads export (expires in 1h).","operationId":"download_export_leads_leads_export_csv__workflow_id__download_get","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadExportDownloadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/map-aggregation":{"post":{"tags":["Leads"],"summary":"Aggregate Leads For Map","description":"Aggregate leads by geographic location using H3 hexagonal indexing.\nReturns clusters of leads for efficient map visualization.","operationId":"aggregate_leads_for_map_leads_map_aggregation_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MapAggregationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MapAggregationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/answer":{"get":{"tags":["Leads","Answers"],"summary":"Get Answer For Lead","description":"Get the answer for a lead","operationId":"get_answer_for_lead_leads__lead_id__answer_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AnswerRead"},{"type":"null"}],"title":"Response Get Answer For Lead Leads  Lead Id  Answer Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/activities":{"get":{"tags":["Leads"],"summary":"List Lead Activities","description":"User activities on the lead, newest first.","operationId":"list_lead_activities_leads__lead_id__activities_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Opaque cursor returned by the previous page","title":"Cursor"},"description":"Opaque cursor returned by the previous page"},{"name":"raw","in":"query","required":false,"schema":{"type":"boolean","description":"One item per row, without grouping close updates","default":false,"title":"Raw"},"description":"One item per row, without grouping close updates"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/duplicate-with-projects":{"post":{"tags":["Leads"],"summary":"Duplicate Lead And Project","operationId":"duplicate_lead_and_project_leads__lead_id__duplicate_with_projects_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Lead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/project":{"get":{"tags":["Leads","Leads","Projects"],"summary":"Get Project For Lead","description":"Get the project related to a lead","operationId":"get_project_for_lead_leads__lead_id__project_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ProjectRead"},{"type":"null"}],"title":"Response Get Project For Lead Leads  Lead Id  Project Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/sizing":{"post":{"tags":["Leads","Leads","Projects"],"summary":"Sizing For Lead","description":"Size an unsaved diagnosis of the lead, honoring the deperdition override of the lead's project","operationId":"sizing_for_lead_leads__lead_id__sizing_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlashDiagnosis"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseDimensionnement"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/projects/{project_id}/xml":{"get":{"tags":["Leads","Leads","Projects"],"summary":"Get Xml For Project","description":"Export the XML for a project","operationId":"get_xml_for_project_leads__lead_id__projects__project_id__xml_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/notifications":{"get":{"tags":["Leads"],"summary":"Get Lead Notifications","description":"Get all messages for an lead","operationId":"get_lead_notifications_leads__lead_id__notifications_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of items to skip for pagination","default":0,"title":"Offset"},"description":"Number of items to skip for pagination"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"description":"Number of items to return per page","default":100,"title":"Limit"},"description":"Number of items to return per page"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NotificationLead"},"title":"Response Get Lead Notifications Leads  Lead Id  Notifications Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/scenario-templates":{"get":{"tags":["Leads"],"summary":"Get Scenario Templates For Lead","description":"Get all scenario templates for a given lead","operationId":"get_scenario_templates_for_lead_leads__lead_id__scenario_templates_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ScenarioTemplateRead"},"title":"Response Get Scenario Templates For Lead Leads  Lead Id  Scenario Templates Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/scenarios":{"get":{"tags":["Leads","Leads","Scenarios"],"summary":"Get Scenarios For Lead","description":"Get the scenarios related to a lead","operationId":"get_scenarios_for_lead_leads__lead_id__scenarios_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ScenarioRead"},"title":"Response Get Scenarios For Lead Leads  Lead Id  Scenarios Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/quotes":{"get":{"tags":["Leads","Leads","Quotes"],"summary":"Get Quotes For Lead","description":"Get the quotes related to a lead with detailed information","operationId":"get_quotes_for_lead_leads__lead_id__quotes_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of items to skip for pagination","default":0,"title":"Offset"},"description":"Number of items to skip for pagination"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":10,"description":"Number of items to return per page","default":10,"title":"Limit"},"description":"Number of items to return per page"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/QuoteRead"},"title":"Response Get Quotes For Lead Leads  Lead Id  Quotes Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/commercial-plans":{"get":{"tags":["Leads","Leads","Commercial Plans"],"summary":"Get Commercial Plans For Lead","description":"Get the commercial plans related to a lead","operationId":"get_commercial_plans_for_lead_leads__lead_id__commercial_plans_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of items to skip for pagination","default":0,"title":"Offset"},"description":"Number of items to skip for pagination"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":10,"description":"Number of items to return per page","default":10,"title":"Limit"},"description":"Number of items to return per page"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommercialPlanRead"},"title":"Response Get Commercial Plans For Lead Leads  Lead Id  Commercial Plans Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/worksites":{"get":{"tags":["Leads"],"summary":"List Worksites For Lead","description":"List the worksites attached to a lead.","operationId":"list_worksites_for_lead_leads__lead_id__worksites_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorksiteListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Leads"],"summary":"Create Worksite","description":"Create a worksite for a lead.","operationId":"create_worksite_leads__lead_id__worksites_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorksiteCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorksiteRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/invoices":{"get":{"tags":["Leads","Leads","Invoices"],"summary":"Get Invoices For Lead","description":"Get the invoices related to a lead","operationId":"get_invoices_for_lead_leads__lead_id__invoices_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceRead"},"title":"Response Get Invoices For Lead Leads  Lead Id  Invoices Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/credit-notes":{"get":{"tags":["Leads","Leads","Credit Notes"],"summary":"Get Credit Notes For Lead","description":"Get all credit notes for a lead","operationId":"get_credit_notes_for_lead_leads__lead_id__credit_notes_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CreditNoteRead"},"title":"Response Get Credit Notes For Lead Leads  Lead Id  Credit Notes Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/comments":{"post":{"tags":["Leads"],"summary":"Create Lead Comment","description":"Add a comment to a lead","operationId":"create_lead_comment_leads__lead_id__comments_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadCommentCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadCommentRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Leads"],"summary":"Get Lead Comments","description":"Get comments for a lead","operationId":"get_lead_comments_leads__lead_id__comments_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"description":"Number of comments to return","default":50,"title":"Limit"},"description":"Number of comments to return"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of comments to skip","default":0,"title":"Offset"},"description":"Number of comments to skip"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LeadCommentRead"},"title":"Response Get Lead Comments Leads  Lead Id  Comments Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/comments/bulk":{"post":{"tags":["Leads"],"summary":"Create Lead Comments Bulk","description":"Add multiple comments to a lead in a single request","operationId":"create_lead_comments_bulk_leads__lead_id__comments_bulk_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadCommentBulkCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LeadCommentRead"},"title":"Response Create Lead Comments Bulk Leads  Lead Id  Comments Bulk Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/comments/{comment_id}":{"patch":{"tags":["Leads"],"summary":"Update Lead Comment","description":"Update a comment on a lead","operationId":"update_lead_comment_leads__lead_id__comments__comment_id__patch","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"comment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadCommentUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadCommentRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Leads"],"summary":"Delete Lead Comment","description":"Delete a comment from a lead","operationId":"delete_lead_comment_leads__lead_id__comments__comment_id__delete","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"comment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Comment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Lead Comment Leads  Lead Id  Comments  Comment Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/consents":{"get":{"tags":["Leads","Leads","GPDR"],"summary":"Get Lead Consents","description":"Retrieve the GPDR consents of a lead.","operationId":"get_lead_consents_leads__lead_id__consents_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Consent"},"title":"Response Get Lead Consents Leads  Lead Id  Consents Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/tags":{"post":{"tags":["Leads"],"summary":"Add Tag To Lead","description":"Add a tag to a lead.","operationId":"add_tag_to_lead_leads__lead_id__tags_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadTagCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadTagRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Leads"],"summary":"Get Lead Tags","description":"Get all tags for a lead.\n\nAccepts either a user token or a lead token. Lead tokens are scoped\nto their own lead via ``crm.check_lead_permission`` (LEAD_READ), which\nlets the oneClick acquisition flow check the lead's current tags.","operationId":"get_lead_tags_leads__lead_id__tags_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LeadTagRead"},"title":"Response Get Lead Tags Leads  Lead Id  Tags Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/tags/{lead_tag_id}":{"delete":{"tags":["Leads"],"summary":"Remove Tag From Lead","description":"Remove a tag from a lead.\n\nAccepts either a user token or a lead token. Lead tokens are scoped\nto their own lead via ``crm.check_lead_permission`` (LEAD_READ), which\nlets the oneClick acquisition flow remove a tag (e.g. the auto-applied\n\"AlloAgent\" tag) once the lead self-books a Calendly slot.","operationId":"remove_tag_from_lead_leads_tags__lead_tag_id__delete","parameters":[{"name":"lead_tag_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Tag Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Remove Tag From Lead Leads Tags  Lead Tag Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/document-instances/{document_id}/messages":{"post":{"tags":["Leads","Leads","Documents Instances"],"summary":"Send Document Message","description":"Send a document by email to its lead with the PDF attached (async via Temporal)","operationId":"send_document_message_leads_document_instances__document_id__messages_post","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendDocumentByEmailRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/document-instances/{document_id}/email-sender":{"get":{"tags":["Leads","Leads","Documents Instances"],"summary":"Get Document Email Sender","description":"Who the document's email will be sent from, shown before the click","operationId":"get_document_email_sender_leads_document_instances__document_id__email_sender_get","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendingPreview"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/document-instances":{"get":{"tags":["Leads","Branches","Documents Instances"],"summary":"Get Lead Documents Instances","description":"Get all documents generated for a lead","operationId":"get_lead_documents_instances_leads__lead_id__document_instances_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DocumentInstanceRead"},"title":"Response Get Lead Documents Instances Leads  Lead Id  Document Instances Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/notifications/messages":{"get":{"tags":["Leads"],"summary":"List Lead Notification Messages","description":"List messages (email/SMS) sent from a lead or with its documents, newest first. Optionally scope to a single document with `document_instance_id`.","operationId":"list_lead_notification_messages_leads__lead_id__notifications_messages_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"document_instance_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Restrict to messages attached to this document","title":"Document Instance Id"},"description":"Restrict to messages attached to this document"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of items to skip for pagination","default":0,"title":"Offset"},"description":"Number of items to skip for pagination"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of items to return per page","default":50,"title":"Limit"},"description":"Number of items to return per page"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LeadNotificationMessageRead"},"title":"Response List Lead Notification Messages Leads  Lead Id  Notifications Messages Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/messages":{"post":{"tags":["Leads","Leads","Mail"],"summary":"Send Lead Email","description":"Send a mail written on the lead's page, from the user's mailbox","operationId":"send_lead_email_leads__lead_id__messages_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadEmailCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadEmailRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/document-bundles":{"get":{"tags":["Leads"],"summary":"Get Document Bundles","description":"Get all document bundles for a lead","operationId":"get_document_bundles_leads__lead_id__document_bundles_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DocumentBundleRead"},"title":"Response Get Document Bundles Leads  Lead Id  Document Bundles Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/signatures":{"get":{"tags":["Leads"],"summary":"Get Lead Signature Requests","description":"Get paginated signature requests for lead documents","operationId":"get_lead_signature_requests_leads__lead_id__signatures_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of items to skip for pagination","default":0,"title":"Offset"},"description":"Number of items to skip for pagination"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"description":"Number of items to return per page","default":10,"title":"Limit"},"description":"Number of items to return per page"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SignatureRequestRead"},"title":"Response Get Lead Signature Requests Leads  Lead Id  Signatures Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/reception-summary":{"get":{"tags":["Leads"],"summary":"Get Reception Summary","description":"The finished gestes of the lead, with their dates and subcontractors.","operationId":"get_reception_summary_leads__lead_id__reception_summary_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceptionSummary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/reception-file":{"post":{"tags":["Leads"],"summary":"Start Reception File Generation","description":"Refresh the lead's dossier and merge it; poll the bundle's result route.","operationId":"start_reception_file_generation_leads__lead_id__reception_file_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceptionFileGeneration"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/maintenance/equipments":{"get":{"tags":["Leads"],"summary":"List Equipments For Lead","description":"List the equipments under maintenance follow-up for a lead.","operationId":"list_equipments_for_lead_leads__lead_id__maintenance_equipments_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipmentListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Leads"],"summary":"Create Equipment","description":"Put a piece of equipment under maintenance follow-up.","operationId":"create_equipment_leads__lead_id__maintenance_equipments_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipmentCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipmentRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/maintenance/summary":{"get":{"tags":["Leads"],"summary":"Get Lead Summary","description":"KPI row of the lead's Maintenance tab.","operationId":"get_lead_summary_leads__lead_id__maintenance_summary_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaintenanceSummary"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/reports":{"get":{"tags":["Leads"],"summary":"List Lead Reports","description":"List available reports for a lead based on its workflow","operationId":"list_lead_reports_leads__lead_id__reports_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportsListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/tasks":{"get":{"tags":["Leads"],"summary":"List Lead Tasks","description":"Tasks of a lead, earliest due first, undated last.","operationId":"list_lead_tasks_leads__lead_id__tasks_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"open","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Open"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LeadTaskRead"},"title":"Response List Lead Tasks Leads  Lead Id  Tasks Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Leads"],"summary":"Create Lead Task","description":"Without an explicit assignee the task goes to the lead's owner when they can\nreceive it, and stays unassigned otherwise.","operationId":"create_lead_task_leads__lead_id__tasks_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadTaskCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadTaskRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/call-reports":{"post":{"tags":["Leads"],"summary":"Create Lead Call Report","description":"Record a call in one transaction: the called task closes, the note, the next\ntask and the status change land together or not at all.","operationId":"create_lead_call_report_leads__lead_id__call_reports_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadCallReportCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadCallReportRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/tasks/{task_id}":{"patch":{"tags":["Leads"],"summary":"Update Lead Task","description":"Apply the sent fields; `completed` ticks or reopens the task.","operationId":"update_lead_task_leads__lead_id__tasks__task_id__patch","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadTaskUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadTaskRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Leads"],"summary":"Delete Lead Task","description":"Delete a manual task for good; a generated one is set aside as not\napplicable, or the engine would bring it back.","operationId":"delete_lead_task_leads__lead_id__tasks__task_id__delete","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"task_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Task Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/assignable-users":{"get":{"tags":["Leads"],"summary":"List Lead Assignable Users","description":"Active members of the lead's company who can see the lead, sorted by name.","operationId":"list_lead_assignable_users_leads__lead_id__assignable_users_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AssignableUserRead"},"title":"Response List Lead Assignable Users Leads  Lead Id  Assignable Users Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/aap/upload":{"post":{"tags":["Leads","AAP"],"summary":"Upload Aap File","description":"Link an uploaded document instance (POST /document-instances with an external_* type) as one of the three AAP documents of the lead: the AAPFile starts pending and the processing pipeline (transcription, then the type's checks) is triggered. Re-linking a type replaces the previous document and recomputes everything.","operationId":"upload_aap_file_leads__lead_id__aap_upload_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AAPUploadRequest"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AAPFileUploaded"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/aap":{"get":{"tags":["Leads","AAP"],"summary":"Get Aap State","description":"Aggregate of the lead's AAP tab: the deposited files with their statuses and declined reasons, plus the manually entered energy bills","operationId":"get_aap_state_leads__lead_id__aap_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AAPStateRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/aap/report":{"get":{"tags":["Leads","AAP"],"summary":"Get Aap Report","description":"Content of the AAP synthesis sheet: the housing as Argile reconstituted it, its conventional heating cost, and the heat pump project with its financing. Readable with the lead token the PDF renderer carries.","operationId":"get_aap_report_leads__lead_id__aap_report_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AAPReportRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/aap/check":{"post":{"tags":["Leads","AAP"],"summary":"Check Aap Files","description":"Rerun the ordered conformity checks of the lead's documents. The stored extracted_data is reused, so no document is transcribed again. Does nothing until the required documents are deposited and transcribed.","operationId":"check_aap_files_leads__lead_id__aap_check_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AAPCheckResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/aap/sync":{"post":{"tags":["Leads","AAP"],"summary":"Sync Aap Files","description":"Fill the quote, sizing note and survey of the lead's AAP folder from Argile's own documents (the AAP scenario's quote and sizing note, the thermal report and the answer), then run the conformity checks. No partner webhook is sent for such a folder.","operationId":"sync_aap_files_leads__lead_id__aap_sync_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AAPCheckResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/insights":{"get":{"tags":["Leads","Leads","Projects"],"summary":"Get Lead Insights","description":"What stands out in the lead's housing, its bills, its heat-loss entry and its Linky curve against the survey, as keys and figures for the front to word","operationId":"get_lead_insights_leads__lead_id__insights_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HousingInsights"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/calendly-booking":{"post":{"tags":["Leads"],"summary":"Process Calendly Booking","description":"Process a Calendly booking: fetch invitee details and update the lead.","operationId":"process_calendly_booking_leads__lead_id__calendly_booking_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendlyBookingRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeadRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/gas-consumption":{"get":{"tags":["Leads","Leads","GRDF"],"summary":"Get Lead Gas Consumption","description":"Gas readings of the lead at GRDF, null without an active access","operationId":"get_lead_gas_consumption_leads__lead_id__gas_consumption_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/GasConsumption"},{"type":"null"}],"title":"Response Get Lead Gas Consumption Leads  Lead Id  Gas Consumption Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/gas-access":{"delete":{"tags":["Leads","Leads","GRDF"],"summary":"Revoke Lead Gas Access","description":"Revoke the lead's right of access at GRDF and their gas consent","operationId":"revoke_lead_gas_access_leads__lead_id__gas_access_delete","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Leads","Leads","GRDF"],"summary":"Request Lead Gas Access","description":"Ask GRDF for the lead's gas data: GRDF e-mails the holder to validate","operationId":"request_lead_gas_access_leads__lead_id__gas_access_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasAccessCreate"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasAccessStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Leads","Leads","GRDF"],"summary":"Get Lead Gas Access","description":"Where the lead's latest request at GRDF stands, null if none","operationId":"get_lead_gas_access_leads__lead_id__gas_access_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/GasAccessStatus"},{"type":"null"}],"title":"Response Get Lead Gas Access Leads  Lead Id  Gas Access Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/electricity-consumption":{"get":{"tags":["Leads","Leads","ENEDIS"],"summary":"Get Lead Electricity Consumption","description":"Monthly electricity of the lead at ENEDIS: the daily energies once the consent is signed, the load curve once delivered; null before","operationId":"get_lead_electricity_consumption_leads__lead_id__electricity_consumption_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/PowerConsumption"},{"type":"null"}],"title":"Response Get Lead Electricity Consumption Leads  Lead Id  Electricity Consumption Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/electricity-uses":{"get":{"tags":["Leads","Leads","ENEDIS"],"summary":"Get Lead Electricity Uses","description":"The lead's ENEDIS load curve split into standby, off-peak water heater, heating, cooling and the rest; null until delivered","operationId":"get_lead_electricity_uses_leads__lead_id__electricity_uses_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ElectricityUses"},{"type":"null"}],"title":"Response Get Lead Electricity Uses Leads  Lead Id  Electricity Uses Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/electricity-access":{"post":{"tags":["Leads","Leads","ENEDIS"],"summary":"Request Lead Electricity Access","description":"Open the consent form the customer signs for their ENEDIS data","operationId":"request_lead_electricity_access_leads__lead_id__electricity_access_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PowerAccessCreate"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PowerAccessStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Leads","Leads","ENEDIS"],"summary":"Get Lead Electricity Access","description":"Where the lead's latest ENEDIS request stands, null if none; the consent link only for a caller allowed to change the lead","operationId":"get_lead_electricity_access_leads__lead_id__electricity_access_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/PowerAccessStatus"},{"type":"null"}],"title":"Response Get Lead Electricity Access Leads  Lead Id  Electricity Access Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Leads","Leads","ENEDIS"],"summary":"Revoke Lead Electricity Access","description":"Withdraw the lead's electricity consent and erase their data","operationId":"revoke_lead_electricity_access_leads__lead_id__electricity_access_delete","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/electricity-access/link":{"post":{"tags":["Leads","Leads","ENEDIS"],"summary":"Send Lead Electricity Consent Link","description":"Send the consent link to the contract holder by SMS or e-mail, again to resend it; 409 unless the request awaits the customer's consent","operationId":"send_lead_electricity_consent_link_leads__lead_id__electricity_access_link_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PowerConsentLinkSend"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PowerAccessStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/electricity-prm-search":{"post":{"tags":["Leads","Leads","ENEDIS"],"summary":"Search Lead Electricity Prm","description":"The PRM ENEDIS knows at the lead's address under the holder's name, when exactly one; null otherwise","operationId":"search_lead_electricity_prm_leads__lead_id__electricity_prm_search_post","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrmSearch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrmSearchResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/mails":{"get":{"tags":["Leads"],"summary":"List Lead Mails","description":"The mails exchanged with a lead, newest first.","operationId":"list_lead_mails_leads__lead_id__mails_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The `next_cursor` of the previous page","title":"Cursor"},"description":"The `next_cursor` of the previous page"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MailPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/mails/{mail_id}":{"get":{"tags":["Leads"],"summary":"Get Lead Mail","description":"One mail exchanged with a lead, with its bodies and attachments.","operationId":"get_lead_mail_leads__lead_id__mails__mail_id__get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"mail_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mail Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MailRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Leads"],"summary":"Withdraw Lead Mail","description":"The holder of a mailbox the mail was stored from withdraws it: erased from every lead with its files, and never stored again. The copy of a send made from Argile is never withdrawn (403 `MAIL_WITHDRAWAL_ARGILE_SEND`).","operationId":"withdraw_lead_mail_leads__lead_id__mails__mail_id__delete","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"mail_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mail Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/leads/{lead_id}/mails/{mail_id}/attachments/{attachment_id}/download":{"get":{"tags":["Leads"],"summary":"Download Lead Mail Attachment","description":"A short-lived link to the stored copy of a mail's attachment; 404 without one, as for a send made from Argile, whose document opens through `doc_instance_id`.","operationId":"download_lead_mail_attachment_leads__lead_id__mails__mail_id__attachments__attachment_id__download_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"mail_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Mail Id"}},{"name":"attachment_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Attachment Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MailAttachmentDownload"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers":{"put":{"tags":["Answers"],"summary":"Update Answer","operationId":"update_answer_answers_put","parameters":[{"name":"if-match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnswerUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnswerRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Answers"],"summary":"Create Answer","operationId":"create_answer_answers_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnswerCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnswerRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/batch":{"post":{"tags":["Answers"],"summary":"Get Answers Batch","description":"Get several answers at once. `ids` is deduplicated; unreadable, inactive and unknown ids all land in `missing`, without distinction. `answers` comes in database order. The shape of `data` is not contractual.","operationId":"get_answers_batch_answers_batch_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnswerBatchRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnswerBatchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}":{"get":{"tags":["Answers"],"summary":"Get Answer","operationId":"get_answer_answers__answer_id__get","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnswerRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/lead-id":{"get":{"tags":["Answers","Answers"],"summary":"Get Lead For Answer","description":"Get the lead id related to an answer","operationId":"get_lead_for_answer_answers__answer_id__lead_id_get","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Response Get Lead For Answer Answers  Answer Id  Lead Id Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/history":{"get":{"tags":["Answers","Answers"],"summary":"Get Answer History","description":"Get the full patch history for an answer","operationId":"get_answer_history_answers__answer_id__history_get","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/argile__organization__crm__answers__schemas__PatchHistoryRead"},"title":"Response Get Answer History Answers  Answer Id  History Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/field-history":{"get":{"tags":["Answers","Answers"],"summary":"Get Field History","description":"Get the history of changes for a specific field","operationId":"get_field_history_answers__answer_id__field_history_get","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"field_path","in":"query","required":true,"schema":{"type":"string","title":"Field Path"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Get Field History Answers  Answer Id  Field History Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/rollback":{"post":{"tags":["Answers","Answers"],"summary":"Rollback Answer","description":"Rollback an answer to a specific version","operationId":"rollback_answer_answers__answer_id__rollback_post","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"target_version","in":"query","required":true,"schema":{"type":"integer","title":"Target Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnswerRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/confirm-field":{"post":{"tags":["Answers","Answers"],"summary":"Confirm Field Value","description":"Confirm a field value by creating a user-sourced patch entry","operationId":"confirm_field_value_answers__answer_id__confirm_field_post","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"field_path","in":"query","required":true,"schema":{"type":"string","title":"Field Path"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnswerPatchHistory"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/version/{version}":{"get":{"tags":["Answers","Answers"],"summary":"Get Answer At Version","description":"Get the answer data at a specific version","operationId":"get_answer_at_version_answers__answer_id__version__version__get","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"version","in":"path","required":true,"schema":{"type":"integer","title":"Version"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Answer At Version Answers  Answer Id  Version  Version  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/project":{"get":{"tags":["Answers","Projects"],"summary":"Get Project For Answer","description":"Get a project for an answer","operationId":"get_project_for_answer_answers__answer_id__project_get","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Answers","Projects"],"summary":"Upsert Project For Answer","description":"Create or update a project for an answer (idempotent upsert)","operationId":"upsert_project_for_answer_answers__answer_id__project_put","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/sizing":{"post":{"tags":["Answers","Answers","Projects"],"summary":"Sizing From Answer","description":"Size the saved diagnosis of an answer, honoring the deperdition override of its lead's project","operationId":"sizing_from_answer_answers__answer_id__sizing_post","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseDimensionnement"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/uncertainty":{"get":{"tags":["Answers"],"summary":"Answer Uncertainty","description":"How uncertain the answer's imported data is (DPE or open data), and which sections the user should validate","operationId":"answer_uncertainty_answers__answer_id__uncertainty_get","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UncertaintyReport"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/floor-plans":{"post":{"tags":["Answers","Floor plans"],"summary":"Create Floor Plan Reading","description":"Upload a house's plans (PDF pages or photos) and start reading them into a 3D survey: walls, openings, rooms, objects and stairs, one survey per level.","operationId":"create_floor_plan_reading_answers__answer_id__floor_plans_post","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_floor_plan_reading_answers__answer_id__floor_plans_post"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FloorPlanReadingStarted"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Answers","Floor plans"],"summary":"List Floor Plan Readings","description":"The diagnosis's plan readings, latest first, with their progress","operationId":"list_floor_plan_readings_answers__answer_id__floor_plans_get","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FloorPlanReadingRead"},"title":"Response List Floor Plan Readings Answers  Answer Id  Floor Plans Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/floor-plans/{reading_id}":{"get":{"tags":["Answers","Floor plans"],"summary":"Get Floor Plan Reading","description":"One plan reading with its surveys once it has completed","operationId":"get_floor_plan_reading_answers__answer_id__floor_plans__reading_id__get","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"reading_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reading Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FloorPlanReadingDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/floor-plans/{reading_id}/import":{"post":{"tags":["Answers","Floor plans"],"summary":"Import Floor Plan Reading","description":"Bring a completed reading into the diagnosis: its levels, rooms with openings and emitters, and windows. Only empty fields are filled; what was entered is never replaced.","operationId":"import_floor_plan_reading_answers__answer_id__floor_plans__reading_id__import_post","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"reading_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reading Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FloorPlanImported"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/floor-plans/{reading_id}/sheets/{sheet_id}":{"get":{"tags":["Answers","Floor plans"],"summary":"Get Floor Plan Sheet","description":"The image a sheet of the reading was read on; its surveys' `source.plans` say where it lies in the building.","operationId":"get_floor_plan_sheet_answers__answer_id__floor_plans__reading_id__sheets__sheet_id__get","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"reading_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reading Id"}},{"name":"sheet_id","in":"path","required":true,"schema":{"type":"string","title":"Sheet Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"image/png":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/floor-plans/{reading_id}/diagnosis":{"get":{"tags":["Answers","Floor plans"],"summary":"Get Floor Plan Reading Diagnosis","description":"What a completed reading says in the diagnosis's terms (levels, rooms, windows, habitable surface, ceiling height), for a client that merges it into the diagnosis it is editing.","operationId":"get_floor_plan_reading_diagnosis_answers__answer_id__floor_plans__reading_id__diagnosis_get","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"reading_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Reading Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Floor Plan Reading Diagnosis Answers  Answer Id  Floor Plans  Reading Id  Diagnosis Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/floor-plan-versions":{"get":{"tags":["Answers","Floor plans"],"summary":"List Floor Plan Versions","description":"The versions of the diagnosis's plan, newest first. A reading completed after the last version becomes the next one (V1 for the first).","operationId":"list_floor_plan_versions_answers__answer_id__floor_plan_versions_get","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FloorPlanVersionRead"},"title":"Response List Floor Plan Versions Answers  Answer Id  Floor Plan Versions Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/floor-plan-versions/{version_id}":{"get":{"tags":["Answers","Floor plans"],"summary":"Get Floor Plan Version","description":"One version of the plan with its surveys","operationId":"get_floor_plan_version_answers__answer_id__floor_plan_versions__version_id__get","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"version_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Version Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FloorPlanVersionDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/floor-plan-versions/draft":{"put":{"tags":["Answers","Floor plans"],"summary":"Put Floor Plan Draft","description":"Create or replace the plan's draft. Refused (409) unless it was edited from the latest saved version.","operationId":"put_floor_plan_draft_answers__answer_id__floor_plan_versions_draft_put","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FloorPlanDraft"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FloorPlanVersionDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Answers","Floor plans"],"summary":"Delete Floor Plan Draft","description":"Discard the plan's draft","operationId":"delete_floor_plan_draft_answers__answer_id__floor_plan_versions_draft_delete","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/floor-plan-versions/draft/save":{"post":{"tags":["Answers","Floor plans"],"summary":"Save Floor Plan Draft","description":"Save the draft as the next version: its rooms are measured from the walls and replace the diagnosis's rooms; references to a merged room follow it, to a deleted room are dropped. Lists the rooms the save changed.","operationId":"save_floor_plan_draft_answers__answer_id__floor_plan_versions_draft_save_post","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FloorPlanSaved"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/floor-plan-versions/north":{"put":{"tags":["Answers","Floor plans"],"summary":"Put Floor Plan North","description":"Set where north lies on the plan. The saved version and the draft take it, and the plan's windows, room openings and rooms are oriented from it, replacing their orientation.","operationId":"put_floor_plan_north_answers__answer_id__floor_plan_versions_north_put","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FloorPlanNorth"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FloorPlanNorthSet"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/roof-sections":{"get":{"tags":["Answers","Diagnosis"],"summary":"Get Answer Roof Sections","description":"Roof sections of the answer's building, measured on its lidar CityJSON, else detected by Google Solar. Not saved: the caller stores the ones it keeps. Empty when neither source covers the building.","operationId":"get_answer_roof_sections_answers__answer_id__roof_sections_get","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RoofSection-Output"},"title":"Response Get Answer Roof Sections Answers  Answer Id  Roof Sections Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/solar":{"get":{"tags":["Answers","Diagnosis"],"summary":"Get Answer Solar","description":"Solar potential of the answer's building (Google Solar, Redis-cached by coordinates). Derived data, no longer carried in the answer blob — fetch it on demand. Returns null when the address has no solar data.","operationId":"get_answer_solar_answers__answer_id__solar_get","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Solar-Output"},{"type":"null"}],"title":"Response Get Answer Solar Answers  Answer Id  Solar Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/pv-metrics":{"post":{"tags":["Answers","PV"],"summary":"Compute Answer Pv Metrics Endpoint","description":"Compute PV self-consumption and savings KPIs from the solar work in the answer's hypothesis (mirror of the scenario endpoint for the VT flow).","operationId":"compute_answer_pv_metrics_endpoint_answers__answer_id__pv_metrics_post","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PvMetrics"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/pv-shading":{"post":{"tags":["Answers","PV"],"summary":"Compute Answer Pv Shading Endpoint","description":"Sun fractions per calepinage module (12 months × 24 hours) from the solar work in the answer's hypothesis (mirror of the scenario endpoint for the VT flow).","operationId":"compute_answer_pv_shading_endpoint_answers__answer_id__pv_shading_post","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PvShadingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/answers/{answer_id}/electricity-series":{"post":{"tags":["Answers","PV"],"summary":"Compute Electricity Series","description":"Compute the electricity consumption series (kWh and EUR) for the answer's lead, used by the PV electricity chart. The EUR series is always populated; missing subscription fields fall back to BE defaults so the FE EUR toggle is always usable.","operationId":"compute_electricity_series_answers__answer_id__electricity_series_post","parameters":[{"name":"answer_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Answer Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElectricitySeriesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElectricitySeriesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/{user_id}/beta-features":{"get":{"tags":["Users","Beta features"],"summary":"List User Beta Features","description":"List the beta features turned on for a user","operationId":"list_user_beta_features_users__user_id__beta_features_get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BetaFeature"},"title":"Response List User Beta Features Users  User Id  Beta Features Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/{user_id}/beta-features/{feature}":{"put":{"tags":["Users","Beta features"],"summary":"Enable User Beta Feature","description":"Turn a beta feature on for a user (idempotent)","operationId":"enable_user_beta_feature_users__user_id__beta_features__feature__put","parameters":[{"name":"feature","in":"path","required":true,"schema":{"$ref":"#/components/schemas/BetaFeature"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Users","Beta features"],"summary":"Disable User Beta Feature","description":"Turn a beta feature off for a user (idempotent)","operationId":"disable_user_beta_feature_users__user_id__beta_features__feature__delete","parameters":[{"name":"feature","in":"path","required":true,"schema":{"$ref":"#/components/schemas/BetaFeature"}},{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/license":{"get":{"tags":["Users","Subscription"],"summary":"Get My License","description":"Return the active license of the authenticated user, or null if none","operationId":"get_my_license_users_me_license_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SubscriptionLicenseRead"},{"type":"null"}],"title":"Response Get My License Users Me License Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/{user_id}/license":{"put":{"tags":["Users","Subscription"],"summary":"Assign User License","description":"Assign or change a user's active plan (idempotent)","operationId":"assign_user_license_users__user_id__license_put","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionLicenseAssignPayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionLicenseRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/permissions":{"get":{"tags":["Users"],"summary":"Get My Permissions","description":"The roles and effective permissions of the member, for the front's can().","operationId":"get_my_permissions_users_me_permissions_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MyPermissionsRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users":{"get":{"tags":["Users"],"summary":"Get Users","description":"Get all team members accessible to the authenticated user (scope-filtered).\n\n``feature_flags`` is populated only for the connected user's own entry,\nsourced from the active subscription plan. Other entries keep it ``None``;\nthe plan/license chain is loaded once (for the connected user only) to\navoid an N+1 across the team list.","operationId":"get_users_users_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserRead"},"title":"Response Get Users Users Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Users"],"summary":"Create User","operationId":"create_user_users_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCreatePayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Users"],"summary":"Update User","operationId":"update_user_users_patch","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdatePayload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/reachable":{"get":{"tags":["Users"],"summary":"Get Reachable Users","description":"Users of every branch the caller reaches, across all their companies,\nwhere `GET /users` stops at the active one.","operationId":"get_reachable_users_users_reachable_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReachableUserRead"},"title":"Response Get Reachable Users Users Reachable Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/check-token":{"post":{"tags":["Users"],"summary":"Check Token","description":"Check if a token is valid and return it if it is","operationId":"check_token_users_check_token_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/UserToken"},{"$ref":"#/components/schemas/LeadToken"}],"title":"Response Check Token Users Check Token Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/login":{"post":{"tags":["Users"],"summary":"Login","operationId":"login_users_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Login"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserToken"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/{user_id}":{"get":{"tags":["Users"],"summary":"Get User","description":"Get a user by ID (scope-filtered).","operationId":"get_user_users__user_id__get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Users"],"summary":"Delete User","description":"Delete a user. Admin-only, scope-filtered.","operationId":"delete_user_users__user_id__delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete User Users  User Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/{user_id}/activate":{"post":{"tags":["Users"],"summary":"Activate User","description":"Activate a user account. Admin-only, scope-filtered.","operationId":"activate_user_users__user_id__activate_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/{user_id}/deactivate":{"post":{"tags":["Users"],"summary":"Deactivate User","description":"Deactivate a user account. Admin-only, scope-filtered.","operationId":"deactivate_user_users__user_id__deactivate_post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/search":{"post":{"tags":["Users"],"summary":"Search Users","description":"Search users with scope-based filtering.","operationId":"search_users_users_search_post","parameters":[{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of items to skip for pagination","default":0,"title":"Offset"},"description":"Number of items to skip for pagination"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"description":"Number of items to return per page","default":1000,"title":"Limit"},"description":"Number of items to return per page"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSearchFilters"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserRead"},"title":"Response Search Users Users Search Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/{user_id}/branches":{"get":{"tags":["Users"],"summary":"Get User Branches","description":"Get all branches associated with a specific user.\n\nNot scope-filtered: callers must not feed the result back to PUT unfiltered.","operationId":"get_user_branches_users__user_id__branches_get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BranchRead"},"title":"Response Get User Branches Users  User Id  Branches Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Users"],"summary":"Set User Branches","description":"Replace a user's branches within the requester's scope. Admin-only.\n\nAttachments outside the requester's scope (other companies) are preserved.","operationId":"set_user_branches_users__user_id__branches_put","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkBranchAssociation"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Set User Branches Users  User Id  Branches Put"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/{user_id}/branches/{branch_id}":{"delete":{"tags":["Users"],"summary":"Delete User Branch Association","description":"Delete a user-branch association. Admin-only, scope-filtered.","operationId":"delete_user_branch_association_users__user_id__branches__branch_id__delete","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}},{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Delete User Branch Association Users  User Id  Branches  Branch Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Users"],"summary":"Create User Branch Association","description":"Create a new user-branch association. Admin-only, scope-filtered.","operationId":"create_user_branch_association_users__user_id__branches__branch_id__post","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}},{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create User Branch Association Users  User Id  Branches  Branch Id  Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/{user_id}/leads":{"get":{"tags":["Users"],"summary":"Get User Leads","description":"Get all leads accessible by a user (scope-filtered).","operationId":"get_user_leads_users__user_id__leads_get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of items to skip for pagination","default":0,"title":"Offset"},"description":"Number of items to skip for pagination"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"description":"Number of items to return per page","default":1000,"title":"Limit"},"description":"Number of items to return per page"},{"name":"statuses","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated list of status values to filter by","title":"Statuses"},"description":"Comma-separated list of status values to filter by"},{"name":"branch_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated list of branch IDs to filter by","title":"Branch Ids"},"description":"Comma-separated list of branch IDs to filter by"},{"name":"user_ids","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated list of user IDs (team members) to filter by","title":"User Ids"},"description":"Comma-separated list of user IDs (team members) to filter by"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LeadRead"},"title":"Response Get User Leads Users  User Id  Leads Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/me/platform-tour-seen":{"post":{"tags":["Users"],"summary":"Mark Platform Tour Seen","description":"Keeps the first close: replaying the tour from the menu changes nothing.","operationId":"mark_platform_tour_seen_users_me_platform_tour_seen_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/{user_id}/scenario-templates":{"get":{"tags":["Users"],"summary":"Get Scenario Templates For User","description":"Get all scenario templates for a given user ID","operationId":"get_scenario_templates_for_user_users__user_id__scenario_templates_get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ScenarioTemplateRead"},"title":"Response Get Scenario Templates For User Users  User Id  Scenario Templates Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/users/{user_id}/document-instances":{"get":{"tags":["Users","Branches","Documents Instances"],"summary":"Get User Documents Instances","description":"Get all documents generated for a user","operationId":"get_user_documents_instances_users__user_id__document_instances_get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"User Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DocumentInstanceRead"},"title":"Response Get User Documents Instances Users  User Id  Document Instances Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/diagnosis/general-characteristics":{"post":{"tags":["My Housing","Diagnosis"],"summary":"Dpe Estimation Caracteristique Generale","description":"Provide the general characteristics of the accomodation","operationId":"dpe_estimation_caracteristique_generale_diagnosis_general_characteristics_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlashDiagnosis"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaracteristiqueGenerale"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/diagnosis/weather":{"post":{"tags":["My Housing","Diagnosis"],"summary":"Dpe Estimation Meteo","description":"Provide the weather data","operationId":"dpe_estimation_meteo_diagnosis_weather_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlashDiagnosis"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Meteo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/diagnosis/roofs":{"post":{"tags":["My Housing","Diagnosis","Roofs"],"summary":"Evaluate Roofs","description":"Evaluate the roofs' performance","operationId":"evaluate_roofs_diagnosis_roofs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlashDiagnosis"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlancherHautCollection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/diagnosis/floors":{"post":{"tags":["My Housing","Diagnosis","Floors"],"summary":"Evaluate Floors","description":"Evaluate the floors' performance","operationId":"evaluate_floors_diagnosis_floors_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlashDiagnosis"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlancherBasCollection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/diagnosis/walls":{"post":{"tags":["My Housing","Diagnosis","Walls"],"summary":"Evaluate Walls","description":"Evaluate the walls' performance","operationId":"evaluate_walls_diagnosis_walls_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlashDiagnosis"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MurCollection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/diagnosis/emitter-power":{"post":{"tags":["My Housing","Diagnosis"],"summary":"Compute Emitter Power","description":"EN 442 power of a radiator and what it emits at a water temperature, for a radiator still being described","operationId":"compute_emitter_power_diagnosis_emitter_power_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmitterPowerRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmitterPower"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/diagnosis":{"post":{"tags":["My Housing","Diagnosis"],"summary":"Dpe Estimation","description":"Estimate DPE from simplified accomodation data with auto-completion","operationId":"dpe_estimation_diagnosis_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlashDiagnosis"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Logement"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/projects":{"post":{"tags":["Projects"],"summary":"Create Project","description":"Create a project to manage a building renovation","operationId":"create_project_projects_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Projects"],"summary":"Update Project","description":"Update a project","operationId":"update_project_projects_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/projects/{project_id}":{"get":{"tags":["Projects","Projects"],"summary":"Get Project","description":"Get a project by ID","operationId":"get_project_projects__project_id__get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/projects/{project_id}/illustrations/google-street":{"get":{"tags":["Projects","Projects"],"summary":"Get Google Street Illustration","description":"Get an illustration for a project using Google Street","operationId":"get_google_street_illustration_projects__project_id__illustrations_google_street_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"width","in":"query","required":false,"schema":{"type":"integer","default":600,"title":"Width"}},{"name":"height","in":"query","required":false,"schema":{"type":"integer","default":400,"title":"Height"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response Get Google Street Illustration Projects  Project Id  Illustrations Google Street Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/projects/{project_id}/energies":{"post":{"tags":["Projects","Projects"],"summary":"Preview Energies","description":"Each energy with the readings being entered, without saving them","operationId":"preview_energies_projects__project_id__energies_post","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnergiesPreviewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectEnergy"},"title":"Response Preview Energies Projects  Project Id  Energies Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/projects/{project_id}/report":{"get":{"tags":["Projects","Projects"],"summary":"Get Project Report","description":"Generate and return the URL for a project report PDF","operationId":"get_project_report_projects__project_id__report_get","parameters":[{"name":"project_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Project Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response Get Project Report Projects  Project Id  Report Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}":{"get":{"tags":["Scenarios"],"summary":"Get Scenario","description":"Get a scenario by id","operationId":"get_scenario_scenarios__scenario_id__get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"override_tax_bracket","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/TaxBracket"},{"type":"null"}],"title":"Override Tax Bracket"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Scenarios"],"summary":"Delete Scenario","description":"Delete a scenario","operationId":"delete_scenario_scenarios__scenario_id__delete","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Scenario Scenarios  Scenario Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios":{"put":{"tags":["Scenarios"],"summary":"Update Scenario","description":"Update a scenario","operationId":"update_scenario_scenarios_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Scenarios"],"summary":"Create Scenario","description":"Create a scenario of works to improve the energy efficiency of a building","operationId":"create_scenario_scenarios_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/has-quote":{"get":{"tags":["Scenarios"],"summary":"Scenario Has Quote","description":"Check whether a scenario has an associated quote","operationId":"scenario_has_quote_scenarios__scenario_id__has_quote_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"boolean"},"title":"Response Scenario Has Quote Scenarios  Scenario Id  Has Quote Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/watch-points":{"get":{"tags":["Scenarios"],"summary":"Get Scenario Watch Points Api","description":"Get the watch points of a scenario","operationId":"get_scenario_watch_points_api_scenarios__scenario_id__watch_points_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WatchPoint"},"title":"Response Get Scenario Watch Points Api Scenarios  Scenario Id  Watch Points Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/suggested-works":{"get":{"tags":["Scenarios"],"summary":"Get Scenario Suggested Works","description":"Get the suggested works for a scenario","operationId":"get_scenario_suggested_works_scenarios__scenario_id__suggested_works_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Travaux-Output"},"title":"Response Get Scenario Suggested Works Scenarios  Scenario Id  Suggested Works Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/loan-constraints/ecoptz":{"get":{"tags":["Scenarios"],"summary":"Get Ecoptz Loan Constraints","description":"Get the Éco-PTZ loan constraints for a scenario","operationId":"get_ecoptz_loan_constraints_scenarios__scenario_id__loan_constraints_ecoptz_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoanConstraints"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/aap-loan/preview":{"get":{"tags":["Scenarios"],"summary":"Preview Aap Loan","description":"The scenario's AAP loan over other terms, as the backend would set it","operationId":"preview_aap_loan_scenarios__scenario_id__aap_loan_preview_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"amount","in":"query","required":true,"schema":{"type":"number","exclusiveMinimum":0,"title":"Amount"}},{"name":"duration","in":"query","required":true,"schema":{"type":"integer","title":"Duration"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Loan-Output"},{"$ref":"#/components/schemas/EcairLoan-Output"}],"title":"Response Preview Aap Loan Scenarios  Scenario Id  Aap Loan Preview Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/heating-comparison":{"get":{"tags":["Scenarios"],"summary":"Get Heating Comparison","description":"Compare a heating type against alternatives","operationId":"get_heating_comparison_scenarios__scenario_id__heating_comparison_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"type_travaux","in":"query","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HeatingTypeResult"},"title":"Response Get Heating Comparison Scenarios  Scenario Id  Heating Comparison Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/heating-comparison/products":{"post":{"tags":["Scenarios"],"summary":"Get Heating Product Costs","description":"Whole-home bill of the selected heating bar for each catalog product","operationId":"get_heating_product_costs_scenarios__scenario_id__heating_comparison_products_post","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeatingProductCostsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HeatingProductCost"},"title":"Response Get Heating Product Costs Scenarios  Scenario Id  Heating Comparison Products Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/heat-pump-capacities":{"post":{"tags":["Scenarios"],"summary":"Get Heat Pump Capacities","description":"Power of catalog heat pumps at the scenario's base temperature","operationId":"get_heat_pump_capacities_scenarios__scenario_id__heat_pump_capacities_post","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeatPumpCapacitiesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HeatPumpCapacity"},"title":"Response Get Heat Pump Capacities Scenarios  Scenario Id  Heat Pump Capacities Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/pac-coverage":{"post":{"tags":["Scenarios"],"summary":"Get Pac Coverage","description":"Winter coverage of a PAC work under the sizing note's overrides","operationId":"get_pac_coverage_scenarios__scenario_id__pac_coverage_post","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PacCoverageRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SizingNoteCoverage"},{"type":"null"}],"title":"Response Get Pac Coverage Scenarios  Scenario Id  Pac Coverage Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/emitters-sizing":{"post":{"tags":["Scenarios"],"summary":"Get Live Emitters Sizing","description":"Emitters sizing of the scenario over the posted diagnosis rooms: each room's deperditions after the scenario's works, under the project's deperdition override, its emitters read at the circuit water temperature, and the water temperature these rooms call for. Follows the rooms as they are described, before any save.","operationId":"get_live_emitters_sizing_scenarios__scenario_id__emitters_sizing_post","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlashDiagnosis"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveEmittersSizing"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/dhw-comparison":{"get":{"tags":["Scenarios"],"summary":"Get Dhw Comparison","description":"Compare a domestic hot water (ECS) type against alternatives","operationId":"get_dhw_comparison_scenarios__scenario_id__dhw_comparison_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"type_travaux","in":"query","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DhwTypeResult"},"title":"Response Get Dhw Comparison Scenarios  Scenario Id  Dhw Comparison Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/works-impact":{"get":{"tags":["Scenarios"],"summary":"Get Works Impact","description":"DPE classes, primary energy and envelope heat loss each work of the plan brings when applied alone to the current home","operationId":"get_works_impact_scenarios__scenario_id__works_impact_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WorkImpact"},"title":"Response Get Works Impact Scenarios  Scenario Id  Works Impact Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/cee-fournisseur-staleness":{"get":{"tags":["Scenarios"],"summary":"Get Cee Fournisseur Staleness","description":"Detect whether automatic CEE attribution is stale for a scenario","operationId":"get_cee_fournisseur_staleness_scenarios__scenario_id__cee_fournisseur_staleness_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CeeFournisseurStalenessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/subsidy-eligibility":{"get":{"tags":["Scenarios"],"summary":"Get Scenario Subsidy Eligibility","description":"Typed reasons why a scenario carries less subsidy than expected","operationId":"get_scenario_subsidy_eligibility_scenarios__scenario_id__subsidy_eligibility_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubsidyEligibilityRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/quotes":{"post":{"tags":["Scenarios","Scenarios","Quotes"],"summary":"Create Quote From Scenario","description":"Create a quote from a scenario","operationId":"create_quote_from_scenario_scenarios__scenario_id__quotes_post","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"lines_in_blocks","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Lines In Blocks"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ScenarioQuoteCreate"},{"type":"null"}],"title":"Payload"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/commercial-plans":{"post":{"tags":["Scenarios","Scenarios","Commercial Plans"],"summary":"Create Commercial Plan From Scenario","description":"Create a commercial plan from a scenario","operationId":"create_commercial_plan_from_scenario_scenarios__scenario_id__commercial_plans_post","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommercialPlanRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/from-prompt":{"post":{"tags":["Scenarios"],"summary":"Create Scenario From Prompt","description":"Create a scenario from a text prompt","operationId":"create_scenario_from_prompt_scenarios_from_prompt_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioCreateFromPrompt"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/from-prompt/preview":{"post":{"tags":["Scenarios"],"summary":"Preview Scenario From Prompt","description":"Preview a scenario from a text prompt (works + before/after) without persisting it to the DB","operationId":"preview_scenario_from_prompt_scenarios_from_prompt_preview_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioCreateFromPrompt"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/preview":{"post":{"tags":["Scenarios"],"summary":"Preview Scenario","description":"Preview a scenario (works + before/after) without persisting it to the DB","operationId":"preview_scenario_scenarios_preview_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenarioRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/works":{"get":{"tags":["Scenarios"],"summary":"Get Scenario Works","description":"Retrieves the work items for a specific scenario with pagination","operationId":"get_scenario_works_scenarios__scenario_id__works_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Scenario ID","title":"Scenario Id"},"description":"Scenario ID"},{"name":"mode","in":"query","required":false,"schema":{"$ref":"#/components/schemas/WorkRetrievalMode","default":"latest"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/WorkItemRead"},"title":"Response Get Scenario Works Scenarios  Scenario Id  Works Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/comments":{"get":{"tags":["Scenarios"],"summary":"Get Scenario Comments","description":"Retrieves the comments for a specific scenario","operationId":"get_scenario_comments_scenarios__scenario_id__comments_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","description":"Scenario ID","title":"Scenario Id"},"description":"Scenario ID"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CommentRead"},"title":"Response Get Scenario Comments Scenarios  Scenario Id  Comments Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/pv-metrics":{"post":{"tags":["Scenarios","PV"],"summary":"Compute Pv Metrics Endpoint","description":"Compute PV self-consumption and savings KPIs for a scenario.","operationId":"compute_pv_metrics_endpoint_scenarios__scenario_id__pv_metrics_post","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PvMetrics"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/pv-shading":{"post":{"tags":["Scenarios","PV"],"summary":"Compute Pv Shading Endpoint","description":"Sun fractions per calepinage module (12 months × 24 hours), sampled from the Google Solar hourly shade rasters.","operationId":"compute_pv_shading_endpoint_scenarios__scenario_id__pv_shading_post","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PvShadingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/pv-series":{"post":{"tags":["Scenarios","PV"],"summary":"Compute Pv Series Endpoint","description":"Compute the PV production / self-consumption / grid-injection / consumption series for a scenario, aggregated per day, month or year.","operationId":"compute_pv_series_endpoint_scenarios__scenario_id__pv_series_post","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PvSeriesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PvSeriesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/catalog-items":{"get":{"tags":["Scenarios"],"summary":"Get Scenario Catalog Items","description":"List the catalog items available to a scenario for a given work type. Restricted read (no commercial data), accessible with a lead token — used by lead-facing flows to know which equipment can be proposed.","operationId":"get_scenario_catalog_items_scenarios__scenario_id__catalog_items_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"enum_type_travaux_id","in":"query","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CatalogItemLeadRead"},"title":"Response Get Scenario Catalog Items Scenarios  Scenario Id  Catalog Items Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/selection-preview":{"post":{"tags":["Scenarios"],"summary":"Preview Scenario Work Selection","description":"Dry-run of a work's material selection under a pending configuration change (phase, architecture, layout, usage). Runs the exact rebuild pipeline on a copy; nothing is persisted.","operationId":"preview_scenario_work_selection_scenarios__scenario_id__selection_preview_post","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"enum_type_travaux_id","in":"query","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkSelectionPreviewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Travaux-Output"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/selection-preview-with-backup":{"post":{"tags":["Scenarios"],"summary":"Preview Scenario Work Selection With Backup","description":"Preview selected PAC and gas boiler works without persisting them.","operationId":"preview_scenario_work_selection_with_backup_scenarios__scenario_id__selection_preview_with_backup_post","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"enum_type_travaux_id","in":"query","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkSelectionPreviewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkSelectionPreviewWithBackup"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/works/{enum_type_travaux_id}/accessory-suggestions":{"post":{"tags":["Scenarios"],"summary":"Suggest Scenario Accessories","description":"Accessory lines of a PAC work whose quantity no longer follows the work: the ducted network of an air/air work (units, served rooms, duct length), the bizone kits of a water-based one (one per heat pump feeding both a heated floor and radiators): lines to add, remove or update. Computed only; nothing is persisted.","operationId":"suggest_scenario_accessories_scenarios__scenario_id__works__enum_type_travaux_id__accessory_suggestions_post","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"enum_type_travaux_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessorySuggestions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/works/{enum_type_travaux_id}/buffer-tank-suggestion":{"post":{"tags":["Scenarios"],"summary":"Suggest Scenario Buffer Tank","description":"Water volume of a water-based PAC work's hydraulic circuit, the minimum its PAC requires, and the smallest catalog buffer tank strictly covering the deficit. Computed only; nothing is persisted.","operationId":"suggest_scenario_buffer_tank_scenarios__scenario_id__works__enum_type_travaux_id__buffer_tank_suggestion_post","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"enum_type_travaux_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BufferTankSuggestions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/works/{enum_type_travaux_id}/ducted-sizing-preview":{"post":{"tags":["Scenarios"],"summary":"Preview Scenario Ducted Sizing","description":"Aeraulic check (airflow per room, static pressure) of an air/air work's draft indoor units, priced by the work's current lines. Computed on a copy; nothing is persisted.","operationId":"preview_scenario_ducted_sizing_scenarios__scenario_id__works__enum_type_travaux_id__ducted_sizing_preview_post","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"enum_type_travaux_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuctedSizingPreviewRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuctedSizingPreview"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/dhw-tank-volumes":{"get":{"tags":["Scenarios"],"summary":"Get Scenario Dhw Tank Volumes","description":"Tank volumes a PAC work can end up with under its current settings: each catalog volume runs the selection preview and is kept only when the rebuild installs a tank of exactly that size. Nothing is persisted.","operationId":"get_scenario_dhw_tank_volumes_scenarios__scenario_id__dhw_tank_volumes_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"enum_type_travaux_id","in":"query","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DhwTankVolumes"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/indoor-unit-suggestion":{"get":{"tags":["Scenarios"],"summary":"Suggest Scenario Indoor Unit","description":"Indoor-unit line an air/air work should add for one more head, sized on the room it serves with the selection's own rule. Nothing is persisted; null when the work cannot take a separate indoor unit.","operationId":"suggest_scenario_indoor_unit_scenarios__scenario_id__indoor_unit_suggestion_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"enum_type_travaux_id","in":"query","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"room_reference","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Reference"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/CatalogItemSelected-Output"},{"type":"null"}],"title":"Response Suggest Scenario Indoor Unit Scenarios  Scenario Id  Indoor Unit Suggestion Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/works/{enum_type_travaux_id}/plenum-candidates":{"get":{"tags":["Scenarios"],"summary":"List Scenario Plenum Candidates","description":"Supply plenums of the scenario's catalog for a ducted unit of an air/air work, fitting ones first, each with what keeps it from fitting.","operationId":"list_scenario_plenum_candidates_scenarios__scenario_id__works__enum_type_travaux_id__plenum_candidates_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"enum_type_travaux_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"unit_reference","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit Reference"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PlenumCandidate"},"title":"Response List Scenario Plenum Candidates Scenarios  Scenario Id  Works  Enum Type Travaux Id  Plenum Candidates Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/works/{enum_type_travaux_id}/rule-trace":{"get":{"tags":["Scenarios"],"summary":"Get Scenario Work Rule Trace","description":"Why the work's selection holds its lines: each slot's ranked candidates, the rules that fired and the facts they read, as the catalog's published rules run today. Computed on a copy; nothing is persisted.","operationId":"get_scenario_work_rule_trace_scenarios__scenario_id__works__enum_type_travaux_id__rule_trace_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"enum_type_travaux_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleTrace"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/works/{enum_type_travaux_id}/selection-explanation":{"get":{"tags":["Scenarios"],"summary":"Get Scenario Work Selection Explanation","description":"How the selection narrows the catalog down to the work's products: what each filter keeps, what the catalog's rules set aside and the targets the products are compared with. Computed on a copy; nothing is persisted.","operationId":"get_scenario_work_selection_explanation_scenarios__scenario_id__works__enum_type_travaux_id__selection_explanation_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"enum_type_travaux_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelectionExplanation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/works/{enum_type_travaux_id}/heat-pump-suggestions":{"get":{"tags":["Scenarios"],"summary":"Get Scenario Heat Pump Suggestions","description":"The heat pumps (or declared cascades) to pick from, in the order the selection would install them, with their coverage. Nothing is persisted.","operationId":"get_scenario_heat_pump_suggestions_scenarios__scenario_id__works__enum_type_travaux_id__heat_pump_suggestions_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"enum_type_travaux_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":10,"minimum":1,"default":5,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeatPumpSuggestions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/stove-suggestions":{"get":{"tags":["Scenarios"],"summary":"Get Scenario Stove Suggestions","description":"The catalog's other stoves fitting the stove's answers, ranked on the need of the surface it heats. Nothing is persisted.","operationId":"get_scenario_stove_suggestions_scenarios__scenario_id__stove_suggestions_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":10,"minimum":1,"default":3,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoveSuggestions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/works/{enum_type_travaux_id}/group-outdoor-suggestions":{"get":{"tags":["Scenarios"],"summary":"Get Scenario Group Outdoor Suggestions","description":"The outdoor units and packs to pick for these air/air indoor units, in the selection's order, none with too few outlets. Nothing is persisted.","operationId":"get_scenario_group_outdoor_suggestions_scenarios__scenario_id__works__enum_type_travaux_id__group_outdoor_suggestions_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"enum_type_travaux_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"unit_references","in":"query","required":true,"schema":{"type":"array","items":{"type":"string"},"minItems":1,"title":"Unit References"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":10,"minimum":1,"default":5,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupOutdoorSuggestions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/works/{enum_type_travaux_id}/suggestions":{"get":{"tags":["Scenarios"],"summary":"Get Scenario Work Suggestions","description":"A selection slot's compatible models in the engine's order, the chosen one first, with the wishes each meets. Nothing is persisted.","operationId":"get_scenario_work_suggestions_scenarios__scenario_id__works__enum_type_travaux_id__suggestions_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"enum_type_travaux_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"slot","in":"query","required":true,"schema":{"$ref":"#/components/schemas/SelectionSlot"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":10,"minimum":1,"default":10,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlotSuggestions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/works/{enum_type_travaux_id}/rule-additions":{"post":{"tags":["Scenarios"],"summary":"Post Scenario Work Rule Additions","description":"Lines the catalog's rules add once these items join the work by hand (linked items, packages), with their quantity. Nothing is persisted.","operationId":"post_scenario_work_rule_additions_scenarios__scenario_id__works__enum_type_travaux_id__rule_additions_post","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"enum_type_travaux_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleAdditionsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CatalogItemSelected-Output"},"title":"Response Post Scenario Work Rule Additions Scenarios  Scenario Id  Works  Enum Type Travaux Id  Rule Additions Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/works/{enum_type_travaux_id}/rule-suggestions":{"post":{"tags":["Scenarios"],"summary":"Post Scenario Work Rule Suggestions","description":"Lines the catalog's rules add, remove or recount once the work went from `previous` to `current` by hand, and the defaults `current` lacks. Computed only; nothing is persisted.","operationId":"post_scenario_work_rule_suggestions_scenarios__scenario_id__works__enum_type_travaux_id__rule_suggestions_post","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"enum_type_travaux_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleSuggestionsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleSuggestions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/works/{type_travaux}/heating-year":{"get":{"tags":["Scenarios"],"summary":"Get Heating Year","description":"Hourly heating year of a heat pump work, by bins on a typical year","operationId":"get_heating_year_scenarios__scenario_id__works__type_travaux__heating_year_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"type_travaux","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeatingYearResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/scenarios/{scenario_id}/summer-comfort":{"get":{"tags":["Scenarios"],"summary":"Get Summer Comfort","description":"Indoor peak, hours over 28 °C and nights over 26 °C, before and after works","operationId":"get_summer_comfort_scenarios__scenario_id__summer_comfort_get","parameters":[{"name":"scenario_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Scenario Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SummerComfortResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes":{"post":{"tags":["Quotes"],"summary":"Create Quote","description":"Create a quote from scratch","operationId":"create_quote_quotes_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Quotes"],"summary":"Update Quote","description":"Update the quote files","operationId":"update_quote_quotes_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}":{"patch":{"tags":["Quotes"],"summary":"Patch Quote","description":"Change only the fields sent; an empty body changes nothing. A signed (accepted) quote never goes back before its signature.","operationId":"patch_quote_quotes__quote_id__patch","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Quotes"],"summary":"Get Quote","description":"Get the quote metadata with detailed information","operationId":"get_quote_quotes__quote_id__get","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Quotes"],"summary":"Delete Quote","description":"Delete a quote","operationId":"delete_quote_quotes__quote_id__delete","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Quote Quotes  Quote Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}/subsidy-estimations":{"post":{"tags":["Quotes"],"summary":"Estimate Subsidies","description":"Estimate subsidies for a quote","operationId":"estimate_subsidies_quotes__quote_id__subsidy_estimations_post","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubsidyEstimation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}/subsidy-eligibility":{"get":{"tags":["Quotes"],"summary":"Get Subsidy Eligibility","description":"Typed reasons why a quote carries less subsidy than expected","operationId":"get_subsidy_eligibility_quotes__quote_id__subsidy_eligibility_get","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubsidyEligibilityRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}/cee-fournisseur-comparison":{"get":{"tags":["Quotes"],"summary":"Compare Cee Fournisseurs","description":"Compare CEE fournisseurs to find if a better one exists","operationId":"compare_cee_fournisseurs_quotes__quote_id__cee_fournisseur_comparison_get","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CeeFournisseurComparisonResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}/duplicate":{"post":{"tags":["Quotes"],"summary":"Duplicate Quote","description":"Duplicate a quote's commercial content onto a lead","operationId":"duplicate_quote_quotes__quote_id__duplicate_post","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteDuplicate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}/margin":{"get":{"tags":["Quotes"],"summary":"Get Quote Margin","description":"Sold, planned cost and margin of each billed line of a quote, HT","operationId":"get_quote_margin_quotes__quote_id__margin_get","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteMargin"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}/margin/simulation":{"post":{"tags":["Quotes"],"summary":"Simulate Margin","description":"Margin of a quote at corrected prices, HT. Nothing is saved","operationId":"simulate_margin_quotes__quote_id__margin_simulation_post","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarginSimulationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarginSimulation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}/history":{"get":{"tags":["Quotes","Quotes"],"summary":"Get Quote History","description":"Get the full patch history for a quote","operationId":"get_quote_history_quotes__quote_id__history_get","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/argile__sales__quotes__schemas__PatchHistoryRead"},"title":"Response Get Quote History Quotes  Quote Id  History Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}/rollback":{"post":{"tags":["Quotes","Quotes"],"summary":"Rollback Quote","description":"Rollback a quote to a specific version","operationId":"rollback_quote_quotes__quote_id__rollback_post","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"target_version","in":"query","required":true,"schema":{"type":"integer","title":"Target Version"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}/blocks/{block_id}/lines":{"post":{"tags":["Quotes"],"summary":"Add Quote Line","description":"Add one line to a price block; returns the quote, totals recomputed","operationId":"add_quote_line_quotes__quote_id__blocks__block_id__lines_post","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"block_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Block Id"}},{"name":"position","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Index to insert at, from 0; the end when omitted","title":"Position"},"description":"Index to insert at, from 0; the end when omitted"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtraOptions-Input"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}/lines/{line_id}":{"patch":{"tags":["Quotes"],"summary":"Patch Quote Line","description":"Set the fields sent on one line, the others kept; returns the quote","operationId":"patch_quote_line_quotes__quote_id__lines__line_id__patch","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"line_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Line Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"description":"Fields of the line to set","examples":[{"quantity":3,"price_ht_per_unit":120.0}],"title":"Changes"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Quotes"],"summary":"Delete Quote Line","description":"Remove one line, its block kept; returns the quote","operationId":"delete_quote_line_quotes__quote_id__lines__line_id__delete","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"line_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Line Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}/blocks":{"post":{"tags":["Quotes"],"summary":"Add Quote Block","description":"Add one block (title, note, page break, priced work and its lines)","operationId":"add_quote_block_quotes__quote_id__blocks_post","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"position","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Index to insert at, from 0; the end when omitted","title":"Position"},"description":"Index to insert at, from 0; the end when omitted"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Block-Input"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}/blocks/{block_id}":{"delete":{"tags":["Quotes"],"summary":"Delete Quote Block","description":"Remove one block with its lines; returns the quote","operationId":"delete_quote_block_quotes__quote_id__blocks__block_id__delete","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"block_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Block Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}/unit-price-mode":{"put":{"tags":["Quotes"],"summary":"Switch Quote Unit Price Mode","description":"Switch the unit price mode the quote's lines are sold in: in TTC each line at its TTC unit price to the cent, in HT at its HT one; the same mode is a no-op. A signed quote or one a worksite budgets on keeps its own","operationId":"switch_quote_unit_price_mode_quotes__quote_id__unit_price_mode_put","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteUnitPriceModeUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}/purchase-orders":{"get":{"tags":["Quotes","Purchase orders"],"summary":"Get Quote Purchase Orders","description":"Get the bons de commande of a quote, seeding them on first open","operationId":"get_quote_purchase_orders_quotes__quote_id__purchase_orders_get","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderSetRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}/purchase-orders/resync":{"post":{"tags":["Quotes","Purchase orders"],"summary":"Resync Quote Purchase Orders","description":"Realign the bons on the quote's current articles: useful quantities refresh, new needs gain a line, gone needs lose theirs; custom lines, moves between bons and hand-edited quantities are preserved","operationId":"resync_quote_purchase_orders_quotes__quote_id__purchase_orders_resync_post","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderSetRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}/purchase-orders/generated":{"post":{"tags":["Quotes","Purchase orders"],"summary":"Mark Purchase Orders Generated","description":"Stamp bons whose PDF was downloaded as generated; regeneration re-stamps the date and never locks the bon","operationId":"mark_purchase_orders_generated_quotes__quote_id__purchase_orders_generated_post","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrdersGenerated"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurchaseOrderSetRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}/convert-to-invoice":{"post":{"tags":["Quotes","Quotes","Invoices"],"summary":"Convert Quote To Invoice","description":"Convert a quote to an invoice","operationId":"convert_quote_to_invoice_quotes__quote_id__convert_to_invoice_post","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConvertQuoteToInvoice"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}/signatures":{"get":{"tags":["Quotes"],"summary":"Get Quote Signatures","description":"Get all signature requests for quote documents","operationId":"get_quote_signatures_quotes__quote_id__signatures_get","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"description":"Number of items to skip for pagination","default":0,"title":"Offset"},"description":"Number of items to skip for pagination"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":50,"description":"Number of items to return per page","default":10,"title":"Limit"},"description":"Number of items to return per page"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SignatureRequestRead"},"title":"Response Get Quote Signatures Quotes  Quote Id  Signatures Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Quotes"],"summary":"Start Quote Signature","description":"Start async signature process for a quote","operationId":"start_quote_signature_quotes__quote_id__signatures_post","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignatureWorkflowStarted"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/quotes/{quote_id}/signatures/events":{"get":{"tags":["Quotes"],"summary":"Get Quote Signature Events","description":"Get all signature events for quote (newest first)","operationId":"get_quote_signature_events_quotes__quote_id__signatures_events_get","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SignatureEventRead"},"title":"Response Get Quote Signature Events Quotes  Quote Id  Signatures Events Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/document-instances":{"post":{"tags":["Documents Instances"],"summary":"Create Document","description":"Create a new document","operationId":"create_document_document_instances_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentInstanceCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentInstanceRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Documents Instances"],"summary":"Update Document","description":"Update a document instance","operationId":"update_document_document_instances_put","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentInstanceUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentInstanceRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/document-instances/files":{"post":{"tags":["Documents Instances"],"summary":"Upload Document File","description":"Upload a private document file","operationId":"upload_document_file_document_instances_files_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_document_file_document_instances_files_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentUploadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/document-instances/merge":{"post":{"tags":["Documents Instances"],"summary":"Start Documents Merge","description":"Start gathering documents in one PDF, pictures made pages","operationId":"start_documents_merge_document_instances_merge_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergeDocumentsRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/document-instances/merge/{workflow_id}":{"get":{"tags":["Documents Instances"],"summary":"Get Documents Merge","description":"Poll a documents merge. Once completed, returns a short-lived URL forcing an attachment download under `filename`.","operationId":"get_documents_merge_document_instances_merge__workflow_id__get","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}},{"name":"filename","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":255,"title":"Filename"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergedDocumentsStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/document-instances/{document_id}/sync":{"post":{"tags":["Documents Instances"],"summary":"Sync Document","description":"Sync a document instance in order to get its variables filled","operationId":"sync_document_document_instances__document_id__sync_post","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentInstanceRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/document-instances/{document_id}/generate":{"post":{"tags":["Documents Instances"],"summary":"Generate Document","description":"Generate the PDF of a document instance. A trame is filled synchronously (`generation.status` is `completed`); other documents render in a workflow to poll on `/generate/{workflow_id}/result`. An already rendered PDF is kept unless `force`; a signed PDF is always kept.","operationId":"generate_document_document_instances__document_id__generate_post","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"force","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Force"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentGenerateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/document-instances/{document_id}/generate/{workflow_id}/result":{"get":{"tags":["Documents Instances"],"summary":"Get Document Generation Result","description":"Poll a document render. Once completed, returns a short-lived download URL, forcing an attachment download under `filename` when given.","operationId":"get_document_generation_result_document_instances__document_id__generate__workflow_id__result_get","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}},{"name":"filename","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":255},{"type":"null"}],"title":"Filename"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentGenerationStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/document-instances/{document_id}":{"get":{"tags":["Documents Instances"],"summary":"Get Document","description":"Get a document","operationId":"get_document_document_instances__document_id__get","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentInstanceRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Documents Instances"],"summary":"Delete Document","description":"Delete a document instance","operationId":"delete_document_document_instances__document_id__delete","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentInstanceRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/document-instances/{document_id}/download":{"get":{"tags":["Documents Instances"],"summary":"Download Document","description":"Get a short-lived download URL for the document. The signed version wins over the generated one and its template. With `filename`, the URL forces an attachment download under that name (a browser can then navigate to it instead of fetching it cross-origin).","operationId":"download_document_document_instances__document_id__download_get","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"filename","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filename"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentDownloadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/document-instances/{document_id}/signatures":{"get":{"tags":["Documents Instances"],"summary":"Get Document Signatures","description":"Get all signature requests for a document","operationId":"get_document_signatures_document_instances__document_id__signatures_get","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SignatureRequestRead"},"title":"Response Get Document Signatures Document Instances  Document Id  Signatures Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Documents Instances"],"summary":"Start Document Signature","description":"Start async signature process for a document","operationId":"start_document_signature_document_instances__document_id__signatures_post","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignatureWorkflowStarted"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/document-instances/{document_id}/signatures/events":{"get":{"tags":["Documents Instances"],"summary":"Get Document Signature Events","description":"Get all signature events for document (newest first)","operationId":"get_document_signature_events_document_instances__document_id__signatures_events_get","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SignatureEventRead"},"title":"Response Get Document Signature Events Document Instances  Document Id  Signatures Events Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/document-instances":{"post":{"tags":["Partner"],"summary":"Create Partner Document","description":"Create a document on a lead of the key's company, ready to be generated: a `quote` names its `quote_id`, a `pac_sizing` its `answer_id` and `scenario_id`. A lead of another company answers 404; a quote, invoice, credit note, commercial plan, project, answer or scenario that is not on that lead answers 403 DOCUMENT_SALES_LEAD_MISMATCH. A document that could not be generated answers 400 DOCUMENT_NOT_GENERATABLE: its source is missing, or its type prints content only the app can fill (consuel, eco_ptz, mandat_mpr, cee_attest_honneur, cee_cadre_contrib).","operationId":"create_partner_document_partner_document_instances_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerDocumentCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerDocument"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/document-instances/{document_id}":{"get":{"tags":["Partner"],"summary":"Get Partner Document","description":"One of the key's company documents; any other answers 404.","operationId":"get_partner_document_partner_document_instances__document_id__get","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerDocument"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/document-instances/{document_id}/generate":{"post":{"tags":["Partner"],"summary":"Generate Partner Document","description":"Generate the document's PDF. A trame is filled synchronously (`generation.status` is `completed`); other documents render in a workflow to poll on `/generate/{workflow_id}/result`. An already rendered PDF is kept unless `force`; a signed PDF is always kept, and a render already running is joined rather than started again.","operationId":"generate_partner_document_partner_document_instances__document_id__generate_post","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"force","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Force"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerDocumentGenerateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/document-instances/{document_id}/generate/{workflow_id}/result":{"get":{"tags":["Partner"],"summary":"Get Partner Document Generation Result","description":"Poll a document render. Once completed, returns a short-lived download URL, forcing an attachment download under `filename` when given.","operationId":"get_partner_document_generation_result_partner_document_instances__document_id__generate__workflow_id__result_get","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}},{"name":"filename","in":"query","required":false,"schema":{"anyOf":[{"type":"string","minLength":1,"maxLength":255},{"type":"null"}],"title":"Filename"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentGenerationStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/document-instances/{document_id}/download":{"get":{"tags":["Partner"],"summary":"Download Partner Document","description":"A short-lived download URL for the document. The signed version wins over the generated one and its template. With `filename`, the URL forces an attachment download under that name.","operationId":"download_partner_document_partner_document_instances__document_id__download_get","parameters":[{"name":"document_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Document Id"}},{"name":"filename","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filename"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentDownloadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/document-bundles":{"post":{"tags":["Partner"],"summary":"Create Partner Document Bundle","description":"Gather quotes, invoices and documents of one lead of the key's company in a bundle. A lead of another company answers 404; a member that is not on that lead answers 403.","operationId":"create_partner_document_bundle_partner_document_bundles_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerDocumentBundleCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentBundleRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/document-bundles/{bundle_id}":{"get":{"tags":["Partner"],"summary":"Get Partner Document Bundle","description":"One of the key's company bundles; any other answers 404.","operationId":"get_partner_document_bundle_partner_document_bundles__bundle_id__get","parameters":[{"name":"bundle_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Bundle Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentBundleRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/document-bundles/{bundle_id}/generate-pdf":{"post":{"tags":["Partner"],"summary":"Start Partner Bundle Pdf Generation","description":"Start rebuilding the bundle's merged PDF, even when one is stored: poll `/generate-pdf/{workflow_id}/result`. An empty bundle answers 400.","operationId":"start_partner_bundle_pdf_generation_partner_document_bundles__bundle_id__generate_pdf_post","parameters":[{"name":"bundle_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Bundle Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/document-bundles/{bundle_id}/generate-pdf/{workflow_id}/result":{"get":{"tags":["Partner"],"summary":"Get Partner Bundle Pdf Generation Result","description":"Poll a merged PDF generation; once completed, a short-lived URL.","operationId":"get_partner_bundle_pdf_generation_result_partner_document_bundles__bundle_id__generate_pdf__workflow_id__result_get","parameters":[{"name":"bundle_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Bundle Id"}},{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BundlePdfStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/document-bundles/{bundle_id}/download":{"get":{"tags":["Partner"],"summary":"Download Partner Document Bundle","description":"A short-lived download URL for the bundle's merged PDF, as last generated. With `filename`, the URL forces an attachment download under that name.","operationId":"download_partner_document_bundle_partner_document_bundles__bundle_id__download_get","parameters":[{"name":"bundle_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Bundle Id"}},{"name":"filename","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filename"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentDownloadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/leads":{"get":{"tags":["Partner"],"summary":"List Partner Leads","description":"The leads of every branch of the key's company, oldest change first. To sync incrementally, pass the greatest `updated_at` already received as `updated_after`: the bound is inclusive, so the boundary leads come back once more. Paging with `offset` assumes the records do not change meanwhile: one changed during a sync shifts the following pages.","operationId":"list_partner_leads_partner_leads_get","parameters":[{"name":"updated_after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Keep records changed at or after this instant","title":"Updated After"},"description":"Keep records changed at or after this instant"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerLeadPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/leads/{lead_id}/answer":{"get":{"tags":["Partner"],"summary":"Get Partner Lead Answer","description":"The answer of one of the key's company leads, null when it has none yet. A lead of another company answers 404.","operationId":"get_partner_lead_answer_partner_leads__lead_id__answer_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AnswerRead"},{"type":"null"}],"title":"Response Get Partner Lead Answer Partner Leads  Lead Id  Answer Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Partner"],"summary":"Put Partner Lead Answer","description":"Create the answer of one of the key's company leads (201), or replace its whole `data` (200): fields left out are erased, so read it first and send `If-Match` with its `updated_at` to refuse overwriting a newer write (409). A `data` that does not fit the diagnosis answers 400, a lead of another company 404.","operationId":"put_partner_lead_answer_partner_leads__lead_id__answer_put","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"if-match","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"If-Match"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerAnswerWrite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnswerRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/leads/{lead_id}/project":{"get":{"tags":["Partner"],"summary":"Get Partner Lead Project","description":"The project of one of the key's company leads, null when none exists yet. A lead of another company answers 404.","operationId":"get_partner_lead_project_partner_leads__lead_id__project_get","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ProjectRead"},{"type":"null"}],"title":"Response Get Partner Lead Project Partner Leads  Lead Id  Project Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Partner"],"summary":"Put Partner Lead Project","description":"Create the project of one of the key's company leads from its answer (201), or return the existing one unchanged (200). A lead without an answer answers 404 ANSWER_NOT_FOUND, a lead of another company 404 LEAD_NOT_FOUND.","operationId":"put_partner_lead_project_partner_leads__lead_id__project_put","parameters":[{"name":"lead_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Lead Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/quotes":{"get":{"tags":["Partner"],"summary":"List Partner Quotes","description":"The quotes of every branch of the key's company, whatever their status, oldest change first. To sync incrementally, pass the greatest `updated_at` already received as `updated_after`: the bound is inclusive, so the boundary quotes come back once more. Paging with `offset` assumes the records do not change meanwhile: one changed during a sync shifts the following pages. A deleted quote no longer appears.","operationId":"list_partner_quotes_partner_quotes_get","parameters":[{"name":"updated_after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Keep records changed at or after this instant","title":"Updated After"},"description":"Keep records changed at or after this instant"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerQuotePage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/quotes/{quote_id}":{"patch":{"tags":["Partner"],"summary":"Patch Partner Quote","description":"Change only the fields sent on one of the key's company quotes; an empty body or the current status again changes nothing. A signed (accepted) quote never goes back to draft, pending, completed or sent: 400 QUOTE_LOCKED. A quote of another company answers 404.","operationId":"patch_partner_quote_partner_quotes__quote_id__patch","parameters":[{"name":"quote_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Quote Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuotePatch"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerQuote"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/invoices":{"get":{"tags":["Partner"],"summary":"List Partner Invoices","description":"The invoices of every branch of the key's company, whatever their status, oldest change first. To sync incrementally, pass the greatest `updated_at` already received as `updated_after`: the bound is inclusive, so the boundary invoices come back once more. Paging with `offset` assumes the records do not change meanwhile: one changed during a sync shifts the following pages.","operationId":"list_partner_invoices_partner_invoices_get","parameters":[{"name":"updated_after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"description":"Keep records changed at or after this instant","title":"Updated After"},"description":"Keep records changed at or after this instant"},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":50,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerInvoicePage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/webhooks":{"get":{"tags":["Partner"],"summary":"List Partner Webhooks","description":"The webhooks of every branch of the key's company, oldest first. A `branch_id` outside the company matches nothing.","operationId":"list_partner_webhooks_partner_webhooks_get","parameters":[{"name":"branch_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id"}},{"name":"event_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/Event"},{"type":"null"}],"title":"Event Type"}},{"name":"is_active","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookList"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Partner"],"summary":"Create Partner Webhook","description":"Create a webhook on a branch of the key's company. The signing secret is only returned here. A branch outside the company answers 403 BRANCH_NOT_IN_SCOPE, an unsupported event type 400.","operationId":"create_partner_webhook_partner_webhooks_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookReadWithSecret"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/webhooks/{webhook_id}":{"get":{"tags":["Partner"],"summary":"Get Partner Webhook","description":"One webhook of the key's company; another company's answers 404.","operationId":"get_partner_webhook_partner_webhooks__webhook_id__get","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Webhook Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Partner"],"summary":"Update Partner Webhook","description":"Change only the fields sent on a webhook of the key's company. `headers` merge by name: a blank value keeps the stored one, null removes the header. Another company's webhook answers 404.","operationId":"update_partner_webhook_partner_webhooks__webhook_id__put","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Webhook Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Partner"],"summary":"Delete Partner Webhook","description":"Delete a webhook of the key's company; another company's answers 404.","operationId":"delete_partner_webhook_partner_webhooks__webhook_id__delete","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Webhook Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Delete Partner Webhook Partner Webhooks  Webhook Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/partner/webhooks/{webhook_id}/regenerate-secret":{"post":{"tags":["Partner"],"summary":"Regenerate Partner Webhook Secret","description":"Replace the signing secret of a webhook of the key's company and return the new one; the old one stops being used at once. Another company's webhook answers 404.","operationId":"regenerate_partner_webhook_secret_partner_webhooks__webhook_id__regenerate_secret_post","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Webhook Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookReadWithSecret"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs":{"post":{"tags":["Catalogs"],"summary":"Create Catalog","description":"Create a new catalog for the company","operationId":"create_catalog_catalogs_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}":{"get":{"tags":["Catalogs"],"summary":"Get Catalog","description":"Get a specific catalog","operationId":"get_catalog_catalogs__catalog_id__get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Catalogs"],"summary":"Update Catalog","description":"Update a catalog","operationId":"update_catalog_catalogs__catalog_id__put","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Catalogs"],"summary":"Delete Catalog","description":"Delete a catalog","operationId":"delete_catalog_catalogs__catalog_id__delete","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"backup_catalog_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Backup Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Delete Catalog Catalogs  Catalog Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/branches":{"post":{"tags":["Catalogs"],"summary":"Assign Branches To Catalog","description":"Assign branches to a catalog","operationId":"assign_branches_to_catalog_catalogs__catalog_id__branches_post","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogBranchAssignment"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Assign Branches To Catalog Catalogs  Catalog Id  Branches Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/branches/{branch_id}":{"delete":{"tags":["Catalogs"],"summary":"Remove Branch From Catalog","description":"Remove a branch from a catalog","operationId":"remove_branch_from_catalog_catalogs__catalog_id__branches__branch_id__delete","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Remove Branch From Catalog Catalogs  Catalog Id  Branches  Branch Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/content":{"get":{"tags":["Catalogs"],"summary":"Get Catalog Content","description":"Get catalog content with all items and their articles","operationId":"get_catalog_content_catalogs__catalog_id__content_get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogContentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/duplicate":{"post":{"tags":["Catalogs"],"summary":"Duplicate Catalog Endpoint","description":"Duplicate a catalog with all its content","operationId":"duplicate_catalog_endpoint_catalogs__catalog_id__duplicate_post","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuplicateCatalog"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/scenario-templates/count":{"get":{"tags":["Catalogs"],"summary":"Count Scenario Templates For Catalog","description":"Count scenario templates using this catalog","operationId":"count_scenario_templates_for_catalog_catalogs__catalog_id__scenario_templates_count_get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"},"title":"Response Count Scenario Templates For Catalog Catalogs  Catalog Id  Scenario Templates Count Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/branches/{branch_id}/scenario-templates/count":{"get":{"tags":["Catalogs"],"summary":"Count Scenario Templates For Catalog Branch","description":"Count scenario templates using this catalog and branch combination","operationId":"count_scenario_templates_for_catalog_branch_catalogs__catalog_id__branches__branch_id__scenario_templates_count_get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"branch_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Branch Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"},"title":"Response Count Scenario Templates For Catalog Branch Catalogs  Catalog Id  Branches  Branch Id  Scenario Templates Count Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/type-travaux/{enum_type_travaux_id}/suggestions":{"get":{"tags":["Catalogs"],"summary":"Get Catalog Suggestions","description":"What the catalog lets the work type's selection size (layouts, power ranges, indoor forms, ducted network) and the data gaps that make it pick blindly. Empty for a work type without checks yet.","operationId":"get_catalog_suggestions_catalogs__catalog_id__type_travaux__enum_type_travaux_id__suggestions_get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"enum_type_travaux_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogSuggestions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/type-travaux/{enum_type_travaux_id}":{"delete":{"tags":["Catalogs"],"summary":"Delete Catalog Type Travaux","description":"Delete all items and their rules for a type travaux in a catalog","operationId":"delete_catalog_type_travaux_catalogs__catalog_id__type_travaux__enum_type_travaux_id__delete","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"enum_type_travaux_id","in":"path","required":true,"schema":{"type":"string","title":"Enum Type Travaux Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"integer"}]},"title":"Response Delete Catalog Type Travaux Catalogs  Catalog Id  Type Travaux  Enum Type Travaux Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/items/{item_id}/articles":{"get":{"tags":["Catalogs"],"summary":"Get Item Articles","description":"Page of BOM articles for a catalog item","operationId":"get_item_articles_catalogs_items__item_id__articles_get","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedArticlesWithQuantity"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Catalogs"],"summary":"Create Item Article","description":"Create a BOM article and link it to a catalog item","operationId":"create_item_article_catalogs_items__item_id__articles_post","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogArticleCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogArticleWithQuantity"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/items/{item_id}/articles/{article_id}":{"patch":{"tags":["Catalogs"],"summary":"Update Item Article","description":"Update a BOM article linked to a catalog item","operationId":"update_item_article_catalogs_items__item_id__articles__article_id__patch","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Article Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogArticleUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogArticleWithQuantity"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Catalogs"],"summary":"Delete Item Article","description":"Detach a BOM article from a catalog item (article stays in base)","operationId":"delete_item_article_catalogs_items__item_id__articles__article_id__delete","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Article Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Delete Item Article Catalogs Items  Item Id  Articles  Article Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Catalogs"],"summary":"Put Item Article Link","description":"Set the quantity for an item ↔ article link (creates it if missing)","operationId":"put_item_article_link_catalogs_items__item_id__articles__article_id__put","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Article Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogItemArticleLink"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogArticleWithQuantity"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/articles/bulk":{"post":{"tags":["Catalogs"],"summary":"Bulk Create Articles","description":"Bulk create catalog articles","operationId":"bulk_create_articles_catalogs__catalog_id__articles_bulk_post","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkArticleCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkArticleCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Catalogs"],"summary":"Bulk Update Articles","description":"Bulk update catalog articles","operationId":"bulk_update_articles_catalogs__catalog_id__articles_bulk_patch","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkArticleUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkArticleUpdateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Catalogs"],"summary":"Bulk Delete Articles","description":"Bulk delete catalog articles","operationId":"bulk_delete_articles_catalogs__catalog_id__articles_bulk_delete","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkArticleDeleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkArticleDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/articles":{"get":{"tags":["Catalogs"],"summary":"List Catalog Articles","description":"Page of articles in a catalog with their usage count","operationId":"list_catalog_articles_catalogs__catalog_id__articles_get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"disabled","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Disabled"}},{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search"}},{"name":"marque","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque"}},{"name":"supplier_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supplier Id"}},{"name":"unit","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}],"title":"Unit"}},{"name":"is_labor","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Labor"}},{"name":"orphans_only","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Orphans Only"}},{"name":"sort_by","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ArticleSortField"},{"type":"null"}],"title":"Sort By"}},{"name":"sort_dir","in":"query","required":false,"schema":{"$ref":"#/components/schemas/ArticleSortDirection","default":"asc"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedArticles"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Catalogs"],"summary":"Create Catalog Article","description":"Create a standalone article in a catalog's base","operationId":"create_catalog_article_catalogs__catalog_id__articles_post","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogArticleStandaloneCreate"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogArticleRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/articles/facets":{"get":{"tags":["Catalogs"],"summary":"Get Catalog Article Facets","description":"Brands and suppliers used by a catalog's articles","operationId":"get_catalog_article_facets_catalogs__catalog_id__articles_facets_get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogArticleFacets"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/articles/{article_id}":{"get":{"tags":["Catalogs"],"summary":"Get Catalog Article","description":"One article of a catalog with its usage count","operationId":"get_catalog_article_catalogs__catalog_id__articles__article_id__get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Article Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogArticleWithUsage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Catalogs"],"summary":"Update Catalog Article","description":"Update an article in a catalog's base (propagates to linked items)","operationId":"update_catalog_article_catalogs__catalog_id__articles__article_id__patch","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Article Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogArticleStandaloneUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogArticleRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Catalogs"],"summary":"Delete Catalog Article","description":"Delete an article from a catalog's base (only if unused)","operationId":"delete_catalog_article_catalogs__catalog_id__articles__article_id__delete","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Article Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Delete Catalog Article Catalogs  Catalog Id  Articles  Article Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/articles/{article_id}/items":{"get":{"tags":["Catalogs"],"summary":"List Article Linked Items","description":"Page of items linked to an article (with their quantities)","operationId":"list_article_linked_items_catalogs__catalog_id__articles__article_id__items_get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Article Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedLinkedItems"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/articles/{article_id}/items/bulk":{"post":{"tags":["Catalogs"],"summary":"Bulk Link Article Items","description":"Link an article to several items of its catalog","operationId":"bulk_link_article_items_catalogs__catalog_id__articles__article_id__items_bulk_post","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Article Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleItemsLinkRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleItemsLinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Catalogs"],"summary":"Bulk Unlink Article Items","description":"Detach an article from several items (article stays in base)","operationId":"bulk_unlink_article_items_catalogs__catalog_id__articles__article_id__items_bulk_delete","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Article Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleItemsUnlinkRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleItemsUnlinkResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/article-exports":{"post":{"tags":["Catalogs"],"summary":"Start Article Export","description":"Start a CSV export of a catalog's articles, one per user at a time","operationId":"start_article_export_catalogs__catalog_id__article_exports_post","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleExportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/article-exports/latest":{"get":{"tags":["Catalogs"],"summary":"Get Latest Article Export","description":"State of this user's last CSV export of a catalog's articles","operationId":"get_latest_article_export_catalogs__catalog_id__article_exports_latest_get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleExportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/article-exports/latest/download":{"get":{"tags":["Catalogs"],"summary":"Download Latest Article Export","description":"Presigned URL of this user's last finished export, valid for an hour","operationId":"download_latest_article_export_catalogs__catalog_id__article_exports_latest_download_get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleExportDownloadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/article-imports":{"post":{"tags":["Catalogs"],"summary":"Start Article Import","description":"Start a CSV import of articles; a catalog runs one import at a time","operationId":"start_article_import_catalogs__catalog_id__article_imports_post","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_start_article_import_catalogs__catalog_id__article_imports_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleImportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/article-imports/latest":{"get":{"tags":["Catalogs"],"summary":"Get Latest Article Import","description":"State of the last CSV import of articles into a catalog","operationId":"get_latest_article_import_catalogs__catalog_id__article_imports_latest_get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleImportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/compatibilities":{"put":{"tags":["Catalogs"],"summary":"Upsert Catalog Compatibility","description":"Create or update a compatibility link between two manufacturer references. The link is a global fact: write access to the catalog the user edits from is required, but the link applies to every catalog.","operationId":"upsert_catalog_compatibility_catalogs__catalog_id__compatibilities_put","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogCompatibilityWrite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogCompatibilityRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Catalogs"],"summary":"Delete Catalog Compatibility","description":"Remove the compatibility link between two manufacturer references.","operationId":"delete_catalog_compatibility_catalogs__catalog_id__compatibilities_delete","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"reference","in":"query","required":true,"schema":{"type":"string","title":"Reference"}},{"name":"compatible_reference","in":"query","required":true,"schema":{"type":"string","title":"Compatible Reference"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Delete Catalog Compatibility Catalogs  Catalog Id  Compatibilities Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/items":{"post":{"tags":["Catalogs"],"summary":"Create Catalog Item","description":"Create a catalog item in the specified catalog","operationId":"create_catalog_item_catalogs__catalog_id__items_post","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogItemCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogItemRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/items/bulk":{"post":{"tags":["Catalogs"],"summary":"Bulk Create Items","description":"Bulk create catalog items","operationId":"bulk_create_items_catalogs__catalog_id__items_bulk_post","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkCreateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkCreateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Catalogs"],"summary":"Bulk Update Items","description":"Bulk update catalog items","operationId":"bulk_update_items_catalogs__catalog_id__items_bulk_patch","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkUpdateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkUpdateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Catalogs"],"summary":"Bulk Upsert Items","description":"Bulk upsert catalog items: rows with an existing `id` are updated, others are created. Idempotent — designed for CSV re-imports. Returns counts only by default; pass `include_items=true` to echo the upserted rows (significantly slower on large imports).","operationId":"bulk_upsert_items_catalogs__catalog_id__items_bulk_put","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"include_items","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Items"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkUpsertRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkUpsertResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Catalogs"],"summary":"Bulk Delete Items","description":"Bulk delete catalog items","operationId":"bulk_delete_items_catalogs__catalog_id__items_bulk_delete","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkDeleteRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkDeleteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/items/{item_id}":{"patch":{"tags":["Catalogs"],"summary":"Update Catalog Item","description":"Update a catalog item","operationId":"update_catalog_item_catalogs_items__item_id__patch","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogItemUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogItemRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Catalogs"],"summary":"Delete Catalog Item","description":"Delete a catalog item","operationId":"delete_catalog_item_catalogs_items__item_id__delete","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"},"title":"Response Delete Catalog Item Catalogs Items  Item Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/items/{item_id}/duplicate":{"post":{"tags":["Catalogs"],"summary":"Duplicate Catalog Item Endpoint","description":"Duplicate a catalog item and its dependencies","operationId":"duplicate_catalog_item_endpoint_catalogs_items__item_id__duplicate_post","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogItemRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/items/move":{"post":{"tags":["Catalogs"],"summary":"Move Items To Catalog","description":"Move catalog items to another catalog of the same company. Ids, template links and client forks are left untouched — unlike deleting and recreating the items, which disconnects every fork.","operationId":"move_items_to_catalog_catalogs__catalog_id__items_move_post","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkMoveRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkMoveResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/templates/type-travaux/{enum_type_travaux_id}":{"get":{"tags":["Catalogs"],"summary":"List Template Brands Endpoint","description":"List available template brands for a work type","operationId":"list_template_brands_endpoint_catalogs_templates_type_travaux__enum_type_travaux_id__get","parameters":[{"name":"enum_type_travaux_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandTemplatesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/templates/type-travaux/{enum_type_travaux_id}/products":{"get":{"tags":["Catalogs"],"summary":"List Template Products Endpoint","description":"List all template products for a work type","operationId":"list_template_products_endpoint_catalogs_templates_type_travaux__enum_type_travaux_id__products_get","parameters":[{"name":"enum_type_travaux_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"brand","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateProductsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/templates/fork":{"post":{"tags":["Catalogs"],"summary":"Fork Templates","description":"Fork specific template items into a catalog","operationId":"fork_templates_catalogs__catalog_id__templates_fork_post","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForkTemplatesRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForkTemplatesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/templates/type-travaux/{enum_type_travaux_id}":{"post":{"tags":["Catalogs"],"summary":"Connect Brand","description":"Fork all template items of a brand into a catalog","operationId":"connect_brand_catalogs__catalog_id__templates_type_travaux__enum_type_travaux_id__post","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"enum_type_travaux_id","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectBrandRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConnectBrandResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/pricing-rules/{work_type}":{"get":{"tags":["Catalogs"],"summary":"Get Pricing Rules","description":"Discount/margin rules pricing the work type's imported articles","operationId":"get_pricing_rules_catalogs__catalog_id__pricing_rules__work_type__get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"work_type","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogPricingRulesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Catalogs"],"summary":"Put Pricing Rules","description":"Replace the work type's pricing rules and reprice its imported articles","operationId":"put_pricing_rules_catalogs__catalog_id__pricing_rules__work_type__put","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"work_type","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogPricingRulesReplace"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogPricingRulesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/articles/{article_id}/upcoming-price":{"get":{"tags":["Catalogs"],"summary":"Get Upcoming Price","description":"The public price a planned manufacturer tariff gives the article","operationId":"get_upcoming_price_catalogs__catalog_id__articles__article_id__upcoming_price_get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"article_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Article Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/UpcomingPrice"},{"type":"null"}],"title":"Response Get Upcoming Price Catalogs  Catalog Id  Articles  Article Id  Upcoming Price Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/rules":{"get":{"tags":["Catalogs"],"summary":"Get Catalog Rules","description":"The catalog's rules, in their order","operationId":"get_catalog_rules_catalogs__catalog_id__rules_get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RuleRead"},"title":"Response Get Catalog Rules Catalogs  Catalog Id  Rules Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/rules/facts":{"get":{"tags":["Catalogs"],"summary":"Get Rule Facts","description":"The facts a rule may read, the work types they mean something for","operationId":"get_rule_facts_catalogs__catalog_id__rules_facts_get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FactRead"},"title":"Response Get Rule Facts Catalogs  Catalog Id  Rules Facts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/rules/item-counts":{"get":{"tags":["Catalogs"],"summary":"Get Item Rule Counts","description":"Per product id, the rules its Rules tab lists: the ones it fires, its defaults and the ones adding it; a product without any is absent","operationId":"get_item_rule_counts_catalogs__catalog_id__rules_item_counts_get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"},"title":"Response Get Item Rule Counts Catalogs  Catalog Id  Rules Item Counts Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/rules/item-cost-summaries":{"post":{"tags":["Catalogs"],"summary":"Get Item Cost Summaries","description":"The price with every rule and the margin per hour of these products; one that is unknown here or has no work type is absent. Nothing is persisted.","operationId":"get_item_cost_summaries_catalogs__catalog_id__rules_item_cost_summaries_post","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCostSummariesQuery"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProductCostSummary"},"title":"Response Get Item Cost Summaries Catalogs  Catalog Id  Rules Item Cost Summaries Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/items/{item_id}/rules":{"get":{"tags":["Catalogs"],"summary":"Get Item Rules","description":"The rules read from one product: the ones it fires and the ones adding it, its links included, worded with « ce produit »","operationId":"get_item_rules_catalogs__catalog_id__items__item_id__rules_get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ItemRulesResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/items/{item_id}/rules/translate":{"post":{"tags":["Catalogs"],"summary":"Post Rule Translation","description":"Turn a sentence into a draft of this product's rule, for its editor. Nothing is persisted.","operationId":"post_rule_translation_catalogs__catalog_id__items__item_id__rules_translate_post","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleTranslationRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleTranslation"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/items/{item_id}/cost-estimate":{"get":{"tags":["Catalogs"],"summary":"Get Cost Estimate","description":"What the product costs with the catalog's rules, on a work described by its assumptions. Nothing is persisted.","operationId":"get_cost_estimate_catalogs__catalog_id__items__item_id__cost_estimate_get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCostEstimate"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/items/{item_id}/cost-assumptions/{fact}":{"put":{"tags":["Catalogs"],"summary":"Put Cost Assumption","description":"Change what this product's estimate assumes, for it alone","operationId":"put_cost_assumption_catalogs__catalog_id__items__item_id__cost_assumptions__fact__put","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}},{"name":"fact","in":"path","required":true,"schema":{"type":"string","title":"Fact"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostAssumptionWrite"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductCostEstimate"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/rules/published/rules":{"post":{"tags":["Catalogs"],"summary":"Post Published Rule","description":"Add a rule, refused with its issues while the rules would have any","operationId":"post_published_rule_catalogs__catalog_id__rules_published_rules_post","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleWrite-Input"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/rules/published/rules/{rule_id}":{"put":{"tags":["Catalogs"],"summary":"Put Published Rule","description":"Replace a rule in place: its id and position stay","operationId":"put_published_rule_catalogs__catalog_id__rules_published_rules__rule_id__put","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"rule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rule Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleWrite-Input"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Catalogs"],"summary":"Delete Published Rule","description":"Remove a rule; the others keep their ids","operationId":"delete_published_rule_catalogs__catalog_id__rules_published_rules__rule_id__delete","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"rule_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Rule Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/rules/favorite-brands/{work_type}":{"get":{"tags":["Catalogs"],"summary":"Get Favorite Brands","description":"The brands whose products the work type ranks first","operationId":"get_favorite_brands_catalogs__catalog_id__rules_favorite_brands__work_type__get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"work_type","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FavoriteBrands"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Catalogs"],"summary":"Put Favorite Brands","description":"Replace the work type's favorite brands, one rule preferring their products; an empty list removes it","operationId":"put_favorite_brands_catalogs__catalog_id__rules_favorite_brands__work_type__put","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"work_type","in":"path","required":true,"schema":{"$ref":"#/components/schemas/TypeTravaux"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FavoriteBrands"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FavoriteBrands"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/rules/links":{"get":{"tags":["Catalogs"],"summary":"Get Catalog Links","description":"The products each product brings along, from the link rules","operationId":"get_catalog_links_catalogs__catalog_id__rules_links_get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CatalogLink"},"title":"Response Get Catalog Links Catalogs  Catalog Id  Rules Links Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/extract":{"post":{"tags":["Catalogs"],"summary":"Start Catalog Extraction","description":"Start a catalog extraction workflow.\n\nAccepts a base64-encoded PDF, uploads it to S3, and starts a Temporal\nworkflow that calls Gemini to extract structured catalog items.","operationId":"start_catalog_extraction_catalogs_extract_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogExtractionRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/extract/{workflow_id}/result":{"get":{"tags":["Catalogs"],"summary":"Get Catalog Extraction Result","description":"Poll for the result of a catalog extraction workflow.","operationId":"get_catalog_extraction_result_catalogs_extract__workflow_id__result_get","parameters":[{"name":"workflow_id","in":"path","required":true,"schema":{"type":"string","title":"Workflow Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogExtractionStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/items/{item_id}/datasheet":{"get":{"tags":["Catalogs"],"summary":"Read Item Datasheet","description":"The item's datasheet as read page by page: its contents without `pages`, the text of the pages asked for with `pages` (at most 10).","operationId":"read_item_datasheet_catalogs_items__item_id__datasheet_get","parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Item Id"}},{"name":"pages","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Pages to read, e.g. '18,28' or '3-5'","title":"Pages"},"description":"Pages to read, e.g. '18,28' or '3-5'"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DatasheetRead"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/items/datasheets":{"get":{"tags":["Catalogs"],"summary":"List Item Datasheets","description":"For the items asked for that carry a datasheet, how far it was read: an item without one, deleted or out of reach is left out.","operationId":"list_item_datasheets_catalogs_items_datasheets_get","parameters":[{"name":"item_ids","in":"query","required":true,"schema":{"type":"array","items":{"type":"string","format":"uuid"},"maxItems":200,"description":"Catalog item ids","title":"Item Ids"},"description":"Catalog item ids"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ItemDatasheetRead"},"title":"Response List Item Datasheets Catalogs Items Datasheets Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/quote-suggestions":{"get":{"tags":["Catalogs"],"summary":"Get Quote Suggestions","description":"Rules, ouvrages and prices the company's sent and signed quotes call for, and the accessories the datasheets of the catalog's equipment ask for. Read only: the front writes what the user accepts with the catalog routes.","operationId":"get_quote_suggestions_catalogs__catalog_id__quote_suggestions_get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"First quote date read; two years back by default","title":"Since"},"description":"First quote date read; two years back by default"},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteSuggestions"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/quote-suggestions/dismissals":{"post":{"tags":["Catalogs"],"summary":"Dismiss Quote Suggestion","description":"Dismiss a suggestion for every user of the catalog.","operationId":"dismiss_quote_suggestion_catalogs__catalog_id__quote_suggestions_dismissals_post","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DismissalWrite"}}}},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Catalogs"],"summary":"Restore Quote Suggestion","description":"Show a dismissed suggestion again.","operationId":"restore_quote_suggestion_catalogs__catalog_id__quote_suggestions_dismissals_delete","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"key","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":500,"title":"Key"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/scenarios/count":{"get":{"tags":["Catalogs"],"summary":"Count Catalog Scenarios","description":"Count scenarios using this catalog","operationId":"count_catalog_scenarios_catalogs__catalog_id__scenarios_count_get","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"integer"},"title":"Response Count Catalog Scenarios Catalogs  Catalog Id  Scenarios Count Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/catalogs/{catalog_id}/rules/published/preview":{"post":{"tags":["Catalogs"],"summary":"Preview Catalog Rule Change","description":"What one rule, added or replacing another, would change on the catalog's latest scenarios, with its « si » and « alors » clauses and what blocks saving it. Nothing is persisted.","operationId":"preview_catalog_rule_change_catalogs__catalog_id__rules_published_preview_post","parameters":[{"name":"catalog_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Catalog Id"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":20,"title":"Limit"}},{"name":"authorization","in":"header","required":false,"schema":{"type":"string","title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleChange"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleChangePreview"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AAPArtifactType":{"type":"string","enum":["quote","scenario"],"title":"AAPArtifactType","description":"Kind of Argile object a processing job maintains from a document."},"AAPCheckResponse":{"properties":{"workflows":{"items":{"$ref":"#/components/schemas/WorkflowResponse"},"type":"array","title":"Workflows"}},"type":"object","required":["workflows"],"title":"AAPCheckResponse","description":"One restarted processing workflow per deposited document."},"AAPCostSource":{"type":"string","enum":["bill","conventional"],"title":"AAPCostSource","description":"Where the synthesis sheet reads the housing's current energy cost."},"AAPDeclinedReason":{"properties":{"check":{"type":"string","title":"Check"},"reason":{"type":"string","title":"Reason"}},"type":"object","required":["check","reason"],"title":"AAPDeclinedReason","description":"One check failure explaining a declined verdict."},"AAPEnergyBillEntry":{"properties":{"energy_type":{"$ref":"#/components/schemas/AAPEnergyType"},"annual_cost_eur":{"type":"number","minimum":0.0,"title":"Annual Cost Eur","description":"Annual amount of the bill, EUR TTC"}},"type":"object","required":["energy_type","annual_cost_eur"],"title":"AAPEnergyBillEntry"},"AAPEnergyType":{"type":"string","enum":["electricity","gas","fuel_oil","wood","other"],"title":"AAPEnergyType","description":"Energy carrier read off the bill the partner deposits."},"AAPFileRead":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"document_type":{"$ref":"#/components/schemas/DocumentInstanceType"},"document_instance_id":{"type":"string","format":"uuid","title":"Document Instance Id"},"source":{"$ref":"#/components/schemas/AAPFileSource"},"status":{"$ref":"#/components/schemas/AAPFileStatus"},"declined_reasons":{"anyOf":[{"items":{"$ref":"#/components/schemas/AAPDeclinedReason"},"type":"array"},{"type":"null"}],"title":"Declined Reasons"},"warnings":{"anyOf":[{"items":{"$ref":"#/components/schemas/AAPDeclinedReason"},"type":"array"},{"type":"null"}],"title":"Warnings"},"notes":{"anyOf":[{"items":{"$ref":"#/components/schemas/AAPDeclinedReason"},"type":"array"},{"type":"null"}],"title":"Notes"},"extracted_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Extracted Data"},"artifact_type":{"anyOf":[{"$ref":"#/components/schemas/AAPArtifactType"},{"type":"null"}]},"artifact_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Artifact Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","document_type","document_instance_id","source","status","declined_reasons","warnings","notes","extracted_data","artifact_type","artifact_id","created_at","updated_at"],"title":"AAPFileRead"},"AAPFileSource":{"type":"string","enum":["upload","argile"],"title":"AAPFileSource","description":"Where an AAP document's data comes from."},"AAPFileStatus":{"type":"string","enum":["pending","accepted","declined"],"title":"AAPFileStatus","description":"Pending until the checks conclude; a re-upload resets to pending."},"AAPFileUploaded":{"properties":{"file":{"$ref":"#/components/schemas/AAPFileRead"},"workflow":{"anyOf":[{"$ref":"#/components/schemas/WorkflowResponse"},{"type":"null"}],"description":"Processing pipeline, none for the CEE frame"}},"type":"object","required":["file","workflow"],"title":"AAPFileUploaded"},"AAPFolderStatus":{"type":"string","enum":["pending","ok","ko"],"title":"AAPFolderStatus","description":"The folder's single verdict, derived from its deposited documents."},"AAPReportHousing":{"properties":{"kind":{"anyOf":[{"$ref":"#/components/schemas/AccomodationType"},{"type":"null"}]},"construction_year":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Construction Year"},"construction_period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Construction Period"},"surface_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface M2"},"levels":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Levels"},"adjoining_walls":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Adjoining Walls"},"ceiling_height_m":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ceiling Height M"},"systems":{"items":{"$ref":"#/components/schemas/AAPReportSystem"},"type":"array","title":"Systems"},"energy_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Energy Class"},"energy_kwh_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Energy Kwh M2"},"ges_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ges Class"},"ges_kg_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ges Kg M2"},"annual_cost_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Annual Cost Eur","description":"Heating and hot water cost a year, at the market grid"},"monthly_cost_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthly Cost Eur","description":"That cost over twelve months, whole euros"},"cost_source":{"anyOf":[{"$ref":"#/components/schemas/AAPCostSource"},{"type":"null"}],"description":"The deposited bill, else the conventional 3CL consumption"},"prices_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prices Year","description":"Year of the market grid pricing the kWh, None on an amount"},"main_energy":{"anyOf":[{"$ref":"#/components/schemas/TypeEnergie"},{"type":"null"}],"description":"Energy weighing most in that cost; the sheet varies on it"},"annual_consumption_kwh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Annual Consumption Kwh","description":"Yearly kWh of the main energy, billed or conventional"},"heating_annual_cost_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heating Annual Cost Eur","description":"Heating's part of annual_cost_eur; on a bill, split as the 3CL method shares heating and hot water"},"heating_annual_consumption_kwh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heating Annual Consumption Kwh","description":"Heating's part of annual_consumption_kwh, split the same way"},"annual_consumption_liters":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Annual Consumption Liters","description":"That consumption in litres, on a fuel oil housing only"},"climate_zone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Climate Zone","description":"DPE climate zone, H1a to H3"},"heating_setpoint_c":{"type":"integer","title":"Heating Setpoint C","description":"Conventional 3CL heating setpoint"}},"type":"object","required":["kind","construction_year","construction_period","surface_m2","levels","adjoining_walls","ceiling_height_m","systems","energy_class","energy_kwh_m2","ges_class","ges_kg_m2","annual_cost_eur","monthly_cost_eur","cost_source","prices_year","main_energy","annual_consumption_kwh","annual_consumption_liters","climate_zone","heating_setpoint_c"],"title":"AAPReportHousing","description":"The housing the partner surveyed, and what it costs to heat it today."},"AAPReportProject":{"properties":{"heat_pump_brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heat Pump Brand"},"heat_pump_model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heat Pump Model"},"heat_pump_power_kw":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heat Pump Power Kw"},"heat_pump_scop":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heat Pump Scop","description":"SCOP the DPE engine retains for the heat pump of the works"},"quote_ttc_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quote Ttc Eur"},"subsidies_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Subsidies Eur"},"remaining_cost_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Remaining Cost Eur"},"pac_annual_kwh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pac Annual Kwh"},"electricity_monthly_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Electricity Monthly Eur"},"household_electricity_monthly_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Household Electricity Monthly Eur","description":"Monthly electricity bill of the whole home: the heat pump plus the other uses Octopus' table gives for the housing's surface, household and hot water, minus the pilot bonus"},"loan_amount_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Loan Amount Eur","description":"Amount Effy's loan finances, read from the scenario's funding"},"loan_monthly_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Loan Monthly Eur"},"loan_duration_months":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Loan Duration Months"},"loan_debit_rate_percent":{"type":"number","title":"Loan Debit Rate Percent","description":"Fixed yearly debit rate the monthly payment is computed with"},"loan_annual_percentage_rate_percent":{"type":"number","title":"Loan Annual Percentage Rate Percent","description":"TAEG of the loan Effy offers, no fee nor insurance in it"},"loan_total_due_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Loan Total Due Eur","description":"Every monthly payment of the loan added up, insurance excluded"},"maintenance_monthly_eur":{"type":"number","title":"Maintenance Monthly Eur","description":"Savelys subscription, fixed for the first three years"},"monthly_during_loan_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthly During Loan Eur","description":"Credit + electricity + maintenance while the loan runs, each part rounded to the euro as the sheet prints them"},"monthly_after_loan_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthly After Loan Eur","description":"Electricity + maintenance once the loan ends, whole euros"},"monthly_delta_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthly Delta Eur","description":"During-loan monthly bill minus today's conventional monthly cost; positive means dearer than today"},"heating_cut_percent":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Heating Cut Percent","description":"Cut of the heating bill with the Octo-Eco electricity vs today's conventional monthly cost; None when it does not drop"},"energy_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Energy Class"},"ges_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ges Class"},"electricity_eur_per_kwh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Electricity Eur Per Kwh","description":"Octo-Eco kWh price of the meter, weighted by the tariff periods"}},"type":"object","required":["heat_pump_brand","heat_pump_model","heat_pump_power_kw","heat_pump_scop","quote_ttc_eur","subsidies_eur","remaining_cost_eur","pac_annual_kwh","electricity_monthly_eur","household_electricity_monthly_eur","loan_amount_eur","loan_monthly_eur","loan_duration_months","loan_debit_rate_percent","loan_annual_percentage_rate_percent","loan_total_due_eur","maintenance_monthly_eur","monthly_during_loan_eur","monthly_after_loan_eur","monthly_delta_eur","heating_cut_percent","energy_class","ges_class","electricity_eur_per_kwh"],"title":"AAPReportProject","description":"The heat pump project: what it consumes, what it costs, what it is worth."},"AAPReportRead":{"properties":{"edited_on":{"type":"string","format":"date","title":"Edited On"},"beneficiary_name":{"type":"string","title":"Beneficiary Name"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"ban_x":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ban X"},"ban_y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ban Y"},"housing":{"$ref":"#/components/schemas/AAPReportHousing"},"project":{"$ref":"#/components/schemas/AAPReportProject"},"offer":{"anyOf":[{"type":"string","enum":["effy","sonepar"]},{"type":"null"}],"title":"Offer","description":"The AAP flow whose sheet the renderer prints, none unset"}},"type":"object","required":["edited_on","beneficiary_name","address","ban_x","ban_y","housing","project"],"title":"AAPReportRead","description":"Everything the AAP synthesis sheet prints, computed by the back."},"AAPReportSystem":{"properties":{"usage":{"$ref":"#/components/schemas/AAPSystemUsage"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label","description":"Equipment as the DPE engine names it"},"installed_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Installed Year"},"quality":{"anyOf":[{"$ref":"#/components/schemas/QualityType"},{"type":"null"}],"description":"1 very good to 4 very bad, from the SCOP or the yield"}},"type":"object","required":["usage","label","installed_year","quality"],"title":"AAPReportSystem","description":"One heating or hot water equipment of the housing, as it stands today."},"AAPStateRead":{"properties":{"status":{"$ref":"#/components/schemas/AAPFolderStatus"},"files":{"items":{"$ref":"#/components/schemas/AAPFileRead"},"type":"array","title":"Files"},"cee_cadre":{"anyOf":[{"$ref":"#/components/schemas/AAPFileRead"},{"type":"null"}],"description":"CEE contribution frame, kept for the partner unjudged"},"energy_bill_status":{"anyOf":[{"$ref":"#/components/schemas/AAPFileStatus"},{"type":"null"}],"description":"Reading of the bill; its entry only shows once accepted"},"energy_bill":{"anyOf":[{"$ref":"#/components/schemas/AAPEnergyBillEntry"},{"type":"null"}]},"report_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Report Url","description":"Synthesis sheet, rendered once the folder is conformant"},"report_document_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Report Document Id","description":"Document instance of that sheet, for the download endpoint"}},"type":"object","required":["status","files","energy_bill_status","energy_bill","report_url","report_document_id"],"title":"AAPStateRead","description":"Everything the AAP tab of a lead displays."},"AAPSystemUsage":{"type":"string","enum":["heating","heating_secondary","dhw"],"title":"AAPSystemUsage","description":"What an equipment of the housing serves, as the synthesis sheet lists it."},"AAPUploadRequest":{"properties":{"document_instance_id":{"type":"string","format":"uuid","title":"Document Instance Id"}},"type":"object","required":["document_instance_id"],"title":"AAPUploadRequest","description":"Link an uploaded document instance to the lead's AAP tab."},"AIPredictions":{"properties":{"surface_habitable":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Habitable"},"roof_surface_sloped":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Roof Surface Sloped"},"roof_surface_horizontal":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Roof Surface Horizontal"}},"type":"object","title":"AIPredictions","description":"Cached AI provider predictions.\n\nThe two roof-surface fields expose both geometry hypotheses, since the\nactual roof type is unknown at predict time: `roof_surface_sloped`\nassumes a rampant ceiling following the roof slope, `roof_surface_horizontal`\nassumes a horizontal ceiling or flat terrace roof."},"AapSettings":{"properties":{"offer":{"anyOf":[{"type":"string","enum":["effy","sonepar"]},{"type":"null"}],"title":"Offer","description":"The flow whose brand the advisers see, none unset"}},"type":"object","title":"AapSettings","description":"The flow the advisers run: Effy's financing is Effy's alone, any other offer\ngets the computed aids with Ecair's loan."},"AccessorySuggestion":{"properties":{"catalog_item_id":{"type":"string","format":"uuid","title":"Catalog Item Id"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/ItemType-Output"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"current_quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Quantity"},"expected_quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Expected Quantity"},"action":{"$ref":"#/components/schemas/AccessorySuggestionAction"},"reason":{"$ref":"#/components/schemas/AccessorySuggestionReason"},"quantity_overridden":{"type":"boolean","title":"Quantity Overridden"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"}},"type":"object","required":["catalog_item_id","current_quantity","expected_quantity","action","reason","quantity_overridden"],"title":"AccessorySuggestion","description":"One accessory line whose quantity no longer follows the ducted network,\nor the heat pumps mixing emitter families (bizone kit)."},"AccessorySuggestionAction":{"type":"string","enum":["add","remove","update"],"title":"AccessorySuggestionAction"},"AccessorySuggestionReason":{"type":"string","enum":["ducted_units","served_rooms","duct_length","ducted_returns","bizone_heat_pumps"],"title":"AccessorySuggestionReason"},"AccessorySuggestions":{"properties":{"suggestions":{"items":{"$ref":"#/components/schemas/AccessorySuggestion"},"type":"array","title":"Suggestions"}},"type":"object","required":["suggestions"],"title":"AccessorySuggestions","description":"Accessory changes Argile proposes; none is applied by the backend."},"AccomodationCoordinate":{"properties":{"x":{"type":"number","title":"X"},"y":{"type":"number","title":"Y"},"floor_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Floor Id"}},"type":"object","required":["x","y"],"title":"AccomodationCoordinate","description":"Where the asset is located in the house"},"AccomodationType":{"type":"string","enum":["house","flat","building"],"title":"AccomodationType"},"AccountingBranchAnalyticCode":{"properties":{"branch_id":{"type":"string","format":"uuid","title":"Branch Id"},"analytic_code":{"type":"string","pattern":"^[A-Za-z0-9]{0,5}$","title":"Analytic Code","description":"Analytic code of the branch, empty to derive it from its name"}},"type":"object","required":["branch_id","analytic_code"],"title":"AccountingBranchAnalyticCode","description":"Analytic code assigned to one branch."},"AccountingBranchRead":{"properties":{"branch_id":{"type":"string","format":"uuid","title":"Branch Id"},"name":{"type":"string","title":"Name"},"analytic_code":{"type":"string","title":"Analytic Code"}},"type":"object","required":["branch_id","name","analytic_code"],"title":"AccountingBranchRead","description":"Analytic code of a branch (possibly derived from its name), with its name."},"AccountingConfigRead":{"properties":{"journal_code":{"type":"string","pattern":"^[A-Za-z0-9]{1,4}$","title":"Journal Code","description":"Journal code","default":"VE"},"journal_lib":{"type":"string","minLength":1,"title":"Journal Lib","description":"Journal label","default":"Ventes"},"client_account_num":{"type":"string","pattern":"^[A-Za-z0-9]{1,13}$","title":"Client Account Num","description":"Client account number","default":"41100000"},"client_account_lib":{"type":"string","minLength":1,"title":"Client Account Lib","description":"Client account label","default":"Clients"},"deposit_account_num":{"type":"string","pattern":"^[A-Za-z0-9]{1,13}$","title":"Deposit Account Num","description":"Deposit account number","default":"41910000"},"deposit_account_lib":{"type":"string","minLength":1,"title":"Deposit Account Lib","description":"Deposit account label","default":"Clients - acomptes reçus"},"accounts_by_rate":{"patternProperties":{"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$":{"$ref":"#/components/schemas/FECRateAccounts"}},"type":"object","title":"Accounts By Rate","description":"Product and VAT accounts per supported VAT rate"},"company_id":{"type":"string","format":"uuid","title":"Company Id"},"branches":{"items":{"$ref":"#/components/schemas/AccountingBranchRead"},"type":"array","title":"Branches","description":"Analytic code of each branch"}},"type":"object","required":["company_id"],"title":"AccountingConfigRead","description":"Response schema of the per-company accounting config."},"AccountingConfigWrite":{"properties":{"journal_code":{"type":"string","pattern":"^[A-Za-z0-9]{1,4}$","title":"Journal Code"},"journal_lib":{"type":"string","minLength":1,"title":"Journal Lib"},"client_account_num":{"type":"string","pattern":"^[A-Za-z0-9]{1,13}$","title":"Client Account Num"},"client_account_lib":{"type":"string","minLength":1,"title":"Client Account Lib"},"deposit_account_num":{"type":"string","pattern":"^[A-Za-z0-9]{1,13}$","title":"Deposit Account Num"},"deposit_account_lib":{"type":"string","minLength":1,"title":"Deposit Account Lib"},"accounts_by_rate":{"additionalProperties":{"$ref":"#/components/schemas/FECRateAccounts"},"type":"object","title":"Accounts By Rate"},"branches":{"items":{"$ref":"#/components/schemas/AccountingBranchAnalyticCode"},"type":"array","title":"Branches","description":"Analytic code of each branch"}},"additionalProperties":false,"type":"object","required":["journal_code","journal_lib","client_account_num","client_account_lib","deposit_account_num","deposit_account_lib","accounts_by_rate"],"title":"AccountingConfigWrite","description":"Request schema of the per-company accounting config.\n\nEvery field of the plan is required: a partial body would silently reset the\nchart of accounts to the legacy constants."},"ActivityChange":{"properties":{"old":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Old"},"new":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"New"}},"type":"object","required":["old","new"],"title":"ActivityChange"},"ActivityOrigin":{"type":"string","enum":["user","client","integration","automation","argile"],"title":"ActivityOrigin","description":"Who caused an activity; only `user` rows are shown on the lead."},"ActivityPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ActivityRead"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["items","next_cursor"],"title":"ActivityPage"},"ActivityPayload":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"changes":{"additionalProperties":{"$ref":"#/components/schemas/ActivityChange"},"type":"object","title":"Changes"},"total_changes":{"type":"integer","title":"Total Changes"},"truncated":{"type":"boolean","title":"Truncated"},"fields":{"items":{"type":"string"},"type":"array","title":"Fields"}},"type":"object","required":["name"],"title":"ActivityPayload"},"ActivityRead":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"activity_type":{"$ref":"#/components/schemas/ActivityType"},"origin":{"$ref":"#/components/schemas/ActivityOrigin"},"actor_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Actor User Id"},"subject_type":{"$ref":"#/components/schemas/ActivitySubjectType"},"subject_id":{"type":"string","format":"uuid","title":"Subject Id"},"payload":{"$ref":"#/components/schemas/ActivityPayload"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["id","activity_type","origin","actor_user_id","subject_type","subject_id","payload","created_at","count"],"title":"ActivityRead","description":"One line of the feed: a single activity, or a group of close updates\ncarrying its last row's id and date and `count` rows."},"ActivitySubjectType":{"type":"string","enum":["lead","task","quote","scenario","note","answer","admin_folder","invoice","document","worksite","maintenance_equipment","maintenance_intervention","mail","message"],"title":"ActivitySubjectType","description":"The object an activity is about."},"ActivityType":{"type":"string","enum":["LEAD_STATUS_CHANGED","LEAD_ASSIGNED","LEAD_INFO_UPDATED","TASK_CREATED","TASK_UPDATED","TASK_RENAMED","TASK_ASSIGNED","TASK_COMPLETED","TASK_REOPENED","TASK_DELETED","QUOTE_CREATED","QUOTE_UPDATED","QUOTE_SENT","QUOTE_READY","QUOTE_SIGNED","QUOTE_DELETED","SCENARIO_ADDED","SCENARIO_CONTENT_UPDATED","SCENARIO_RENAMED","SCENARIO_DELETED","NOTE_ADDED","NOTE_UPDATED","NOTE_RENAMED","NOTE_DELETED","HOUSING_UPDATED","PROJECT_INFO_UPDATED","ADMIN_FOLDER_CREATED","INVOICE_CREATED","INVOICE_UPDATED","INVOICE_VALIDATED","DOCUMENT_IMPORTED","DOCUMENT_CREATED_FROM_TEMPLATE","DOCUMENT_UPDATED","WORKSITE_CREATED","WORKSITE_DELETED","MAINTENANCE_EQUIPMENT_ADDED","MAINTENANCE_EQUIPMENT_STATUS_CHANGED","MAINTENANCE_INTERVENTION_DONE","MAIL_SENT","MAIL_RECEIVED_FROM_CLIENT"],"title":"ActivityType","description":"The domain events written to the journal, with their `Event` values; any\nother event on the bus is ignored."},"AddItems-Input":{"properties":{"type":{"type":"string","const":"add_items","title":"Type","default":"add_items"},"target":{"oneOf":[{"$ref":"#/components/schemas/ItemRef"},{"$ref":"#/components/schemas/ItemQuery-Input"}],"title":"Target","discriminator":{"propertyName":"type","mapping":{"item_query":"#/components/schemas/ItemQuery-Input","item_ref":"#/components/schemas/ItemRef"}}},"quantity":{"oneOf":[{"$ref":"#/components/schemas/Constant"},{"$ref":"#/components/schemas/Driver"},{"$ref":"#/components/schemas/Product-Input"},{"$ref":"#/components/schemas/Ceil-Input"},{"$ref":"#/components/schemas/CatalogDefault"}],"title":"Quantity","default":{"type":"catalog_default"},"discriminator":{"propertyName":"type","mapping":{"catalog_default":"#/components/schemas/CatalogDefault","ceil":"#/components/schemas/Ceil-Input","constant":"#/components/schemas/Constant","driver":"#/components/schemas/Driver","product":"#/components/schemas/Product-Input"}}},"per":{"$ref":"#/components/schemas/RuleScope","default":"work"}},"additionalProperties":false,"type":"object","required":["target"],"title":"AddItems"},"AddItems-Output":{"properties":{"type":{"type":"string","const":"add_items","title":"Type","default":"add_items"},"target":{"oneOf":[{"$ref":"#/components/schemas/ItemRef"},{"$ref":"#/components/schemas/ItemQuery-Output"}],"title":"Target","discriminator":{"propertyName":"type","mapping":{"item_query":"#/components/schemas/ItemQuery-Output","item_ref":"#/components/schemas/ItemRef"}}},"quantity":{"oneOf":[{"$ref":"#/components/schemas/Constant"},{"$ref":"#/components/schemas/Driver"},{"$ref":"#/components/schemas/Product-Output"},{"$ref":"#/components/schemas/Ceil-Output"},{"$ref":"#/components/schemas/CatalogDefault"}],"title":"Quantity","default":{"type":"catalog_default"},"discriminator":{"propertyName":"type","mapping":{"catalog_default":"#/components/schemas/CatalogDefault","ceil":"#/components/schemas/Ceil-Output","constant":"#/components/schemas/Constant","driver":"#/components/schemas/Driver","product":"#/components/schemas/Product-Output"}}},"per":{"$ref":"#/components/schemas/RuleScope","default":"work"}},"additionalProperties":false,"type":"object","required":["target"],"title":"AddItems"},"AdditionalPage":{"properties":{"id":{"type":"string","title":"Id"},"url":{"type":"string","title":"Url"},"anchor_section_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Anchor Section Key"},"insert_mode":{"$ref":"#/components/schemas/InsertMode","default":"after"}},"type":"object","required":["id","url"],"title":"AdditionalPage","description":"A single additional page anchored to a report section."},"Advance":{"properties":{"amount":{"type":"number","title":"Amount","description":"Advance amount in euros"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"type":{"$ref":"#/components/schemas/AdvanceType"},"upper_bound":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Upper Bound","description":"Max amount that could be advanced"}},"type":"object","required":["amount","type"],"title":"Advance"},"AdvanceType":{"type":"string","enum":["avance_anah","avance_company"],"title":"AdvanceType"},"AerialImagerySource":{"type":"string","enum":["google_solar","ign"],"title":"AerialImagerySource","description":"Aerial photo behind the PV maps, picked when Google's predates the house."},"AirEntry":{"type":"string","enum":["concentric","existing","to_create"],"title":"AirEntry"},"AllOf-Input":{"properties":{"type":{"type":"string","const":"all","title":"Type","default":"all"},"conditions":{"items":{"oneOf":[{"$ref":"#/components/schemas/Predicate"},{"$ref":"#/components/schemas/AllOf-Input"},{"$ref":"#/components/schemas/AnyOf-Input"},{"$ref":"#/components/schemas/NotOf-Input"}],"discriminator":{"propertyName":"type","mapping":{"all":"#/components/schemas/AllOf-Input","any":"#/components/schemas/AnyOf-Input","not":"#/components/schemas/NotOf-Input","predicate":"#/components/schemas/Predicate"}}},"type":"array","title":"Conditions"}},"additionalProperties":false,"type":"object","required":["conditions"],"title":"AllOf"},"AllOf-Output":{"properties":{"type":{"type":"string","const":"all","title":"Type","default":"all"},"conditions":{"items":{"oneOf":[{"$ref":"#/components/schemas/Predicate"},{"$ref":"#/components/schemas/AllOf-Output"},{"$ref":"#/components/schemas/AnyOf-Output"},{"$ref":"#/components/schemas/NotOf-Output"}],"discriminator":{"propertyName":"type","mapping":{"all":"#/components/schemas/AllOf-Output","any":"#/components/schemas/AnyOf-Output","not":"#/components/schemas/NotOf-Output","predicate":"#/components/schemas/Predicate"}}},"type":"array","title":"Conditions"}},"additionalProperties":false,"type":"object","required":["conditions"],"title":"AllOf"},"AnnualHpHc":{"properties":{"peak_total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Peak Total","description":"Annual peak-hour consumption (kWh), HP/HC contracts"},"off_peak_total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Off Peak Total","description":"Annual off-peak consumption (kWh), HP/HC contracts"},"granularity":{"type":"string","const":"annual","title":"Granularity","default":"annual"}},"type":"object","title":"AnnualHpHc","description":"ANNUAL granularity: a single HP/HC split for the whole year."},"AnswerBatchRequest":{"properties":{"ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":100,"minItems":1,"title":"Ids"}},"type":"object","required":["ids"],"title":"AnswerBatchRequest"},"AnswerBatchResponse":{"properties":{"answers":{"items":{"$ref":"#/components/schemas/AnswerRead"},"type":"array","title":"Answers"},"missing":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Missing"}},"type":"object","required":["answers","missing"],"title":"AnswerBatchResponse","description":"`missing` never separates unknown id, inactive answer and out-of-scope lead."},"AnswerCreate":{"properties":{"data":{"additionalProperties":true,"type":"object","title":"Data","default":{}},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"lead_id":{"type":"string","format":"uuid","title":"Lead Id","description":"ID of the lead","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]}},"additionalProperties":false,"type":"object","required":["lead_id"],"title":"AnswerCreate"},"AnswerPatchHistory":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"answer_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Answer Id","description":"ID of the answer","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"patch":{"items":{},"type":"array","title":"Patch"},"inverse_patch":{"items":{},"type":"array","title":"Inverse Patch"},"sources":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","title":"Sources"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"version":{"type":"integer","title":"Version","default":1},"patch_size":{"type":"integer","title":"Patch Size","default":0}},"type":"object","required":["answer_id","patch","inverse_patch","sources"],"title":"AnswerPatchHistory","description":"Table for storing answer modification history with JSON patches."},"AnswerRead":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"data":{"additionalProperties":true,"type":"object","title":"Data","default":{}},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"lead":{"$ref":"#/components/schemas/LeadWithId"},"lead_id":{"type":"string","format":"uuid","title":"Lead Id","description":"ID of the lead","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]}},"type":"object","required":["created_at","updated_at","lead","lead_id"],"title":"AnswerRead","description":"Answer model for reading"},"AnswerUpdate":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"data":{"additionalProperties":true,"type":"object","title":"Data","default":{}},"lead_id":{"type":"string","format":"uuid","title":"Lead Id","description":"ID of the lead","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"source":{"anyOf":[{"type":"string","enum":["bdnb","geopf","lead","user","auto","import","rollback","system","urbs","opendata","salesforce","partner"]},{"type":"null"}],"title":"Source"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id"}},"type":"object","required":["lead_id"],"title":"AnswerUpdate"},"AnyOf-Input":{"properties":{"type":{"type":"string","const":"any","title":"Type","default":"any"},"conditions":{"items":{"oneOf":[{"$ref":"#/components/schemas/Predicate"},{"$ref":"#/components/schemas/AllOf-Input"},{"$ref":"#/components/schemas/AnyOf-Input"},{"$ref":"#/components/schemas/NotOf-Input"}],"discriminator":{"propertyName":"type","mapping":{"all":"#/components/schemas/AllOf-Input","any":"#/components/schemas/AnyOf-Input","not":"#/components/schemas/NotOf-Input","predicate":"#/components/schemas/Predicate"}}},"type":"array","title":"Conditions"}},"additionalProperties":false,"type":"object","required":["conditions"],"title":"AnyOf"},"AnyOf-Output":{"properties":{"type":{"type":"string","const":"any","title":"Type","default":"any"},"conditions":{"items":{"oneOf":[{"$ref":"#/components/schemas/Predicate"},{"$ref":"#/components/schemas/AllOf-Output"},{"$ref":"#/components/schemas/AnyOf-Output"},{"$ref":"#/components/schemas/NotOf-Output"}],"discriminator":{"propertyName":"type","mapping":{"all":"#/components/schemas/AllOf-Output","any":"#/components/schemas/AnyOf-Output","not":"#/components/schemas/NotOf-Output","predicate":"#/components/schemas/Predicate"}}},"type":"array","title":"Conditions"}},"additionalProperties":false,"type":"object","required":["conditions"],"title":"AnyOf"},"ApiKeyCreate":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name"},"expires_in_days":{"anyOf":[{"type":"integer","maximum":730.0,"minimum":1.0},{"type":"null"}],"title":"Expires In Days"}},"type":"object","required":["name"],"title":"ApiKeyCreate"},"ApiKeyCreated":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"secret":{"type":"string","title":"Secret"}},"type":"object","required":["id","name","created_at","expires_at","secret"],"title":"ApiKeyCreated","description":"A key just issued: the only response that ever carries its secret."},"ApiKeyList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ApiKeyRead"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"ApiKeyList"},"ApiKeyRead":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expires At"},"revoked":{"type":"boolean","title":"Revoked"},"created_by_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By Name"}},"type":"object","required":["id","name","created_at","expires_at","revoked","created_by_name"],"title":"ApiKeyRead"},"ApportEtBesoin":{"properties":{"surface_sud_equivalente":{"type":"number","minimum":0.0,"title":"Surface Sud Equivalente","description":"surface sud équivalente. Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble. Pour les DPE appartements, ces données sont à l'appartement","readOnly":true},"apport_solaire_fr":{"type":"number","title":"Apport Solaire Fr","description":"apports solaires totaux durant la saison de froid As (kWh). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble. Pour les DPE appartements, ces données sont à l'appartement","readOnly":true},"apport_interne_fr":{"type":"number","title":"Apport Interne Fr","description":"apports internes totaux durant la saison de froid Ai (kWh). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble. Pour les DPE appartements, ces données sont à l'appartement","readOnly":true},"apport_solaire_ch":{"type":"number","title":"Apport Solaire Ch","description":"apports solaires totaux durant la saison de chauffe As (kWh). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble. Pour les DPE appartements, ces données sont à l'appartement","readOnly":true},"apport_interne_ch":{"type":"number","title":"Apport Interne Ch","description":"apports internes totaux durant la saison de chauffe Ai (kWh). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble. Pour les DPE appartements, ces données sont à l'appartement","readOnly":true},"apport_solaire_depensier_ch":{"type":"number","title":"Apport Solaire Depensier Ch","description":"apports solaires totaux durant la saison de chauffe As (kWh). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble. Pour les DPE appartements, ces données sont à l'appartement","readOnly":true},"apport_interne_depensier_ch":{"type":"number","title":"Apport Interne Depensier Ch","description":"apports internes totaux durant la saison de chauffe Ai (kWh). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble. Pour les DPE appartements, ces données sont à l'appartement","readOnly":true},"fraction_apport_gratuit_ch":{"type":"number","title":"Fraction Apport Gratuit Ch","description":"fraction des apports gratuits sur la saison de chauffe F. Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble.","readOnly":true},"fraction_apport_gratuit_depensier_ch":{"type":"number","title":"Fraction Apport Gratuit Depensier Ch","description":"fraction des apports gratuits sur la saison de chauffe F pour le scénario dépensier (DH21). Pour les DPE immeubles et appartement à  partir de l'immeuble ces données sont à l'immeuble.","readOnly":true},"pertes_distribution_ecs_recup":{"type":"number","title":"Pertes Distribution Ecs Recup","description":"pertes de distribution d'ECS récupérées(kWh). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble.","readOnly":true},"pertes_distribution_ecs_recup_depensier":{"type":"number","title":"Pertes Distribution Ecs Recup Depensier","description":"pertes de distribution d'ECS récupérées(kWh) pour le scénario dépensier. Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble.","readOnly":true},"pertes_stockage_ecs_recup":{"type":"number","title":"Pertes Stockage Ecs Recup","description":"pertes de stockage d'ECS récupérées(kWh). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble.","readOnly":true},"pertes_stockage_ecs_recup_depensier":{"type":"number","title":"Pertes Stockage Ecs Recup Depensier","description":"pertes de stockage d'ECS récupérées(kWh). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble.","readOnly":true},"pertes_generateur_ch_recup":{"type":"number","title":"Pertes Generateur Ch Recup","description":"pertes des générateurs de chauffage récupérées(kWh). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble.","readOnly":true},"pertes_generateur_ch_recup_depensier":{"type":"number","title":"Pertes Generateur Ch Recup Depensier","description":"pertes des générateurs de chauffage récupérées(kWh) pour le scénario dépensier. Pour les DPE immeubles et appartement à  partir de l'immeuble ces données sont à l'immeuble.","readOnly":true},"nadeq":{"type":"number","title":"Nadeq","description":"nombre d'adulte équivalent calculés pour le besoin d'ECS. Pour les DPE immeubles ces données sont à l'immeuble. Pour les dpe appartements à partir de l'immeuble ces données sont à l'appartement","readOnly":true},"v40_ecs_journalier":{"type":"number","title":"V40 Ecs Journalier","description":"consommation en l d'ecs à 40°C sur une journée. Pour les DPE immeubles ces données sont à l'immeuble. Pour les dpe appartements à partir de l'immeuble ces données sont à l'appartement","readOnly":true},"v40_ecs_journalier_depensier":{"type":"number","title":"V40 Ecs Journalier Depensier","description":"consommation en l d'ecs à 40°C sur une journée scénario dépensier. Pour les DPE immeubles ces données sont à l'immeuble. Pour les dpe appartements à partir de l'immeuble ces données sont à l'appartement","readOnly":true},"besoin_ch":{"type":"number","title":"Besoin Ch","description":"besoin de chauffage annuel total du logement ou immeuble (kWh) . Pour les DPE immeubles ces données sont à l'immeuble. Pour les dpe appartements à partir de l'immeuble ces données sont à l'appartement","readOnly":true},"besoin_ch_depensier":{"type":"number","title":"Besoin Ch Depensier","description":"besoin de chauffage total du bâtiment pour le scénario dépensier (kWh) (DH21). Pour les DPE immeubles ces données sont à l'immeuble. Pour les dpe appartements à partir de l'immeuble ces données sont à l'appartement","readOnly":true},"besoin_ecs":{"type":"number","title":"Besoin Ecs","description":"besoin d'ecs annuel total du bâtiment (kWh). Pour les DPE immeubles ces données sont à l'immeuble. Pour les dpe appartements à partir de l'immeuble ces données sont à l'appartement","readOnly":true},"besoin_ecs_depensier":{"type":"number","title":"Besoin Ecs Depensier","description":"besoin d'ecs total du bâtiment pour le scénario dépensier (kWh). Pour les DPE immeubles ces données sont à l'immeuble. Pour les dpe appartements à partir de l'immeuble ces données sont à l'appartement","readOnly":true},"besoin_fr":{"type":"number","title":"Besoin Fr","description":"besoin de refroidissement annuel (kWh). Pour les DPE immeubles ces données sont à l'immeuble. Pour les dpe appartements à partir de l'immeuble ces données sont à l'appartement","readOnly":true},"besoin_fr_depensier":{"type":"number","title":"Besoin Fr Depensier","description":"besoin de refroidissement annuel pour le scénario dépensier (kWh). Pour les DPE immeubles ces données sont à l'immeuble. Pour les dpe appartements à partir de l'immeuble ces données sont à l'appartement","readOnly":true}},"type":"object","required":["surface_sud_equivalente","apport_solaire_fr","apport_interne_fr","apport_solaire_ch","apport_interne_ch","apport_solaire_depensier_ch","apport_interne_depensier_ch","fraction_apport_gratuit_ch","fraction_apport_gratuit_depensier_ch","pertes_distribution_ecs_recup","pertes_distribution_ecs_recup_depensier","pertes_stockage_ecs_recup","pertes_stockage_ecs_recup_depensier","pertes_generateur_ch_recup","pertes_generateur_ch_recup_depensier","nadeq","v40_ecs_journalier","v40_ecs_journalier_depensier","besoin_ch","besoin_ch_depensier","besoin_ecs","besoin_ecs_depensier","besoin_fr","besoin_fr_depensier"],"title":"ApportEtBesoin"},"ArgileBaseModel":{"properties":{},"type":"object","title":"ArgileBaseModel","description":"Base class for all our models."},"ArticleExportDownloadResponse":{"properties":{"download_url":{"type":"string","title":"Download Url"},"file_name":{"type":"string","title":"File Name"}},"type":"object","required":["download_url","file_name"],"title":"ArticleExportDownloadResponse"},"ArticleExportResponse":{"properties":{"status":{"type":"string","enum":["none","running","completed","failed"],"title":"Status"},"article_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Article Count"},"file_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Name"},"generated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Generated At"}},"type":"object","required":["status"],"title":"ArticleExportResponse"},"ArticleImportProgress":{"properties":{"total":{"type":"integer","title":"Total","default":0},"processed":{"type":"integer","title":"Processed","default":0},"created":{"type":"integer","title":"Created","default":0},"updated":{"type":"integer","title":"Updated","default":0}},"type":"object","title":"ArticleImportProgress"},"ArticleImportResponse":{"properties":{"status":{"type":"string","enum":["none","running","completed","failed"],"title":"Status"},"progress":{"anyOf":[{"$ref":"#/components/schemas/ArticleImportProgress"},{"type":"null"}]},"summary":{"anyOf":[{"$ref":"#/components/schemas/ArticleImportSummary"},{"type":"null"}]}},"type":"object","required":["status"],"title":"ArticleImportResponse"},"ArticleImportSummary":{"properties":{"total":{"type":"integer","title":"Total","default":0},"processed":{"type":"integer","title":"Processed","default":0},"created":{"type":"integer","title":"Created","default":0},"updated":{"type":"integer","title":"Updated","default":0},"outcome":{"type":"string","enum":["completed","rejected","interrupted"],"title":"Outcome"},"errors":{"items":{"$ref":"#/components/schemas/ImportRowError"},"type":"array","title":"Errors","default":[]},"error_count":{"type":"integer","title":"Error Count","default":0}},"type":"object","required":["outcome"],"title":"ArticleImportSummary","description":"What the import workflow returns. `interrupted` keeps the batches written."},"ArticleItemsLinkRequest":{"properties":{"item_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Item Ids"},"quantity":{"type":"number","title":"Quantity","default":1.0},"is_optional":{"type":"boolean","title":"Is Optional","default":false}},"type":"object","required":["item_ids"],"title":"ArticleItemsLinkRequest","description":"Link one article to several items of its catalog.\n\nItems already linked keep their quantity and optional flag."},"ArticleItemsLinkResponse":{"properties":{"linked_count":{"type":"integer","title":"Linked Count"}},"type":"object","required":["linked_count"],"title":"ArticleItemsLinkResponse","description":"Response after linking an article to items."},"ArticleItemsUnlinkRequest":{"properties":{"item_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Item Ids"}},"type":"object","required":["item_ids"],"title":"ArticleItemsUnlinkRequest","description":"Detach one article from several items (the article stays in the base)."},"ArticleItemsUnlinkResponse":{"properties":{"unlinked_count":{"type":"integer","title":"Unlinked Count"}},"type":"object","required":["unlinked_count"],"title":"ArticleItemsUnlinkResponse","description":"Response after detaching an article from items."},"ArticleSortDirection":{"type":"string","enum":["asc","desc"],"title":"ArticleSortDirection"},"ArticleSortField":{"type":"string","enum":["title","marque","supply_mode","supplier","cout_achat","price_ht_per_unit","tax_rate","unit","usage_count"],"title":"ArticleSortField"},"ArticleSupplyMode":{"type":"string","enum":["stock","to_order"],"title":"ArticleSupplyMode","description":"How an article is procured."},"Asset":{"properties":{"type":{"type":"string","enum":["video","sound","image","segmentation","marker","no_lidar_available","reconstruction_3d"],"title":"Type"},"coordinate":{"anyOf":[{"$ref":"#/components/schemas/AccomodationCoordinate"},{"type":"null"}]},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"attributes":{"items":{"$ref":"#/components/schemas/Attribute"},"type":"array","title":"Attributes","description":"A very broad field to store any relevant data related to this asset","default":[]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]}},"additionalProperties":false,"type":"object","required":["type"],"title":"Asset"},"AssignableUserRead":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"email":{"type":"string","title":"Email"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"}},"type":"object","required":["id","first_name","last_name","email","photo_url"],"title":"AssignableUserRead"},"AtticAccess-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"kind":{"anyOf":[{"$ref":"#/components/schemas/AtticAccessKind"},{"type":"null"}]},"height_cm":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Height Cm"},"width_cm":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Width Cm"},"assets":{"anyOf":[{"items":{"$ref":"#/components/schemas/Asset"},"type":"array"},{"type":"null"}],"title":"Assets"}},"type":"object","title":"AtticAccess","description":"Opening giving access to the attic, measured during the technical visit."},"AtticAccess-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"kind":{"anyOf":[{"$ref":"#/components/schemas/AtticAccessKind"},{"type":"null"}]},"height_cm":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Height Cm"},"width_cm":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Width Cm"},"assets":{"anyOf":[{"items":{"$ref":"#/components/schemas/Asset"},"type":"array"},{"type":"null"}],"title":"Assets"}},"type":"object","title":"AtticAccess","description":"Opening giving access to the attic, measured during the technical visit."},"AtticAccessKind":{"type":"string","enum":["door","hatch"],"title":"AtticAccessKind","description":"Kind of opening giving access to the attic."},"Attribute":{"properties":{"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"},"data":{"anyOf":[{},{"type":"null"}],"title":"Data"},"anchors":{"anyOf":[{"items":{"prefixItems":[{"type":"number"},{"type":"number"}],"type":"array","maxItems":2,"minItems":2},"type":"array"},{"type":"null"}],"title":"Anchors"}},"type":"object","title":"Attribute"},"AutoElectricityConsumption":{"properties":{"profile":{"anyOf":[{"$ref":"#/components/schemas/ElectricityConsumptionProfile"},{"type":"null"}]},"electric_appliances":{"anyOf":[{"items":{"$ref":"#/components/schemas/ElectricAppliance"},"type":"array"},{"type":"null"}],"title":"Electric Appliances","description":"Declared electric appliances with their count (e.g. [{'type': 'dryer', 'count': 1}]). Each type appears at most once; omit the entry instead of storing count=0."},"mode":{"type":"string","const":"auto","title":"Mode","default":"auto"}},"type":"object","title":"AutoElectricityConsumption","description":"AUTO mode: no stored total, value derived from DPE + appliances."},"BDNBBuildingData":{"properties":{"nb_niveau":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Niveau","description":"Nombre de niveaux du bâtiment (source ffo)"},"nb_log":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Log","description":"Nombre de logements du bâtiment (source registre national des copropriétés)"},"annee_construction":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Annee Construction","description":"Année de construction du bâtiment"},"hauteur_mean":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Hauteur Mean","description":"Hauteur moyenne du bâtiment"},"altitude_sol_mean":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Altitude Sol Mean","description":"Altitude moyenne du sol du bâtiment"},"mat_mur_txt":{"anyOf":[{"type":"string","enum":["AGGLOMERE","AGGLOMERE - AUTRES","AGGLOMERE - BETON","AGGLOMERE - BOIS","AGGLOMERE - BRIQUES","AGGLOMERE - MEULIERE","AGGLOMERE - PIERRE","AUTRES","BETON","BETON - AUTRES","BETON - BOIS","BETON - BRIQUES","BETON - MEULIERE","BETON - PIERRE","BOIS","BOIS - AUTRES","BOIS - BRIQUES","BOIS - MEULIERE","BOIS - PIERRE","BRIQUES","BRIQUES - AUTRES","BRIQUES - MEULIERE","BRIQUES - PIERRE","INDETERMINE","MEULIERE","MEULIERE - PIERRE","MEULIERE - AUTRES","PIERRE","PIERRE - AUTRES"]},{"type":"null"}],"title":"Mat Mur Txt","description":"Matériau des murs extérieurs du bâtiment (source ffo)"},"mat_toit_txt":{"anyOf":[{"type":"string","enum":["ARDOISES","AUTRES","ZINC ALUMINIUM","INDETERMINE","ARDOISES - ZINC ALUMINIUM","ARDOISES - AUTRES","ZINC ALUMINIUM - AUTRES","TUILES","BETON","ARDOISES - TUILES","BETON - ZINC ALUMINIUM","ARDOISES - BETON","BETON - AUTRES","TUILES - ZINC ALUMINIUM","TUILES - AUTRES","BETON - TUILES"]},{"type":"null"}],"title":"Mat Toit Txt","description":"Matériau de la toiture du bâtiment (source ffo)"},"geom_groupe":{"anyOf":[{"$ref":"#/components/schemas/GeomGroup"},{"type":"null"}],"description":"Groupe géométrique du bâtiment"},"surface_emprise_sol":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Emprise Sol","description":"Surface d'emprise au sol du bâtiment"},"type_installation_chauffage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Installation Chauffage","description":"Type d'installation de chauffage"},"type_energie_chauffage":{"anyOf":[{"type":"string","enum":["electricite","gaz","fioul","fioul domestique","bois","bois buches","bois granules","bois plaquettes forestieres","bois plaquettes industrie","reseau de chaleur","propane","butane","gpl","gpl/butane/propane","autre combustible fossile","reseau de froid","solaire","charbon"]},{"type":"null"}],"title":"Type Energie Chauffage","description":"Type d'énergie de chauffage"},"type_generateur_chauffage":{"anyOf":[{"type":"string","enum":["poele ou insert charbon","poele ou insert bois","chaudiere charbon standard","generateur air chaud combustion","chauffage solaire","chaudiere energie indetermine condensation","chaudiere electrique","chaudiere gpl/butane/propane basse temperature","chaudiere gaz condensation","chaudiere gpl/butane/propane condensation","chaudiere gaz basse temperature","chaudiere fioul condensation","chauffage autre indetermine","chaudiere bois","generateurs a effet joule","chauffage bois indetermine","reseau de chaleur","chaudiere fioul standard","poele ou insert gpl/butane/propane","chaudiere energie indetermine indetermine","radiateurs gaz","pac eau/eau","poele ou insert fioul","pac air/eau","pac air/air","chaudiere energie indetermine standard","chaudiere gpl/butane/propane standard","pac indetermine","chaudiere fioul basse temperature","chaudiere energie indetermine basse temperature","pac geothermique","chaudiere gaz standard","chaudiere charbon condensation","chaudiere charbon basse temperature","ecs bois indetermine","poele bouilleur bois","chauffe-eau gpl/butane/propane independant","chauffe-eau fioul independant","poele ou insert indetermine","pac gaz","chaudiere gaz indetermine"]},{"type":"null"}],"title":"Type Generateur Chauffage","description":"Type de générateur de chauffage"},"type_installation_ecs":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Installation Ecs","description":"Type d'installation d'eau chaude sanitaire"},"type_generateur_ecs":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Generateur Ecs","description":"Type de générateur d'eau chaude sanitaire"},"nb_pdl_pro_dle_gaz_2020":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Nb Pdl Pro Dle Gaz 2020","description":"Nombre de points de livraison de gaz professionnels"},"nb_pdl_res_dle_gaz_2020":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Nb Pdl Res Dle Gaz 2020","description":"Nombre de points de livraison de gaz résidentiels"},"nb_pdl_pro_dle_elec_2020":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Nb Pdl Pro Dle Elec 2020","description":"Nombre de points de livraison d'électricité professionnels"},"nb_pdl_res_dle_elec_2020":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Nb Pdl Res Dle Elec 2020","description":"Nombre de points de livraison d'électricité résidentiels"},"conso_pro_dle_gaz_2020":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Conso Pro Dle Gaz 2020","description":"Consommation de gaz professionnelle"},"conso_res_dle_gaz_2020":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Conso Res Dle Gaz 2020","description":"Consommation de gaz résidentielle"},"conso_pro_dle_elec_2020":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Conso Pro Dle Elec 2020","description":"Consommation d'électricité professionnelle"},"conso_res_dle_elec_2020":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Conso Res Dle Elec 2020","description":"Consommation d'électricité résidentielle"},"nb_classe_bilan_dpe_a":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Classe Bilan Dpe A","description":"Nombre de classe A du bilan DPE"},"nb_classe_bilan_dpe_b":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Classe Bilan Dpe B","description":"Nombre de classe B du bilan DPE"},"nb_classe_bilan_dpe_c":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Classe Bilan Dpe C","description":"Nombre de classe C du bilan DPE"},"nb_classe_bilan_dpe_d":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Classe Bilan Dpe D","description":"Nombre de classe D du bilan DPE"},"nb_classe_bilan_dpe_e":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Classe Bilan Dpe E","description":"Nombre de classe E du bilan DPE"},"nb_classe_bilan_dpe_f":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Classe Bilan Dpe F","description":"Nombre de classe F du bilan DPE"},"nb_classe_bilan_dpe_g":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Classe Bilan Dpe G","description":"Nombre de classe G du bilan DPE"},"nb_classe_conso_energie_arrete_2012_a":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Classe Conso Energie Arrete 2012 A","description":"Nombre de classe A de la consommation d'énergie arrêté 2012"},"nb_classe_conso_energie_arrete_2012_b":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Classe Conso Energie Arrete 2012 B","description":"Nombre de classe B de la consommation d'énergie arrêté 2012"},"nb_classe_conso_energie_arrete_2012_c":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Classe Conso Energie Arrete 2012 C","description":"Nombre de classe C de la consommation d'énergie arrêté 2012"},"nb_classe_conso_energie_arrete_2012_d":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Classe Conso Energie Arrete 2012 D","description":"Nombre de classe D de la consommation d'énergie arrêté 2012"},"nb_classe_conso_energie_arrete_2012_e":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Classe Conso Energie Arrete 2012 E","description":"Nombre de classe E de la consommation d'énergie arrêté 2012"},"nb_classe_conso_energie_arrete_2012_f":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Classe Conso Energie Arrete 2012 F","description":"Nombre de classe F de la consommation d'énergie arrêté 2012"},"nb_classe_conso_energie_arrete_2012_g":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Classe Conso Energie Arrete 2012 G","description":"Nombre de classe G de la consommation d'énergie arrêté 2012"},"nb_classe_conso_energie_arrete_2012_nc":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Classe Conso Energie Arrete 2012 Nc","description":"Nombre de classe NC de la consommation d'énergie arrêté 2012"},"identifiant_dpe":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identifiant Dpe","description":"Identifiant du DPE"},"arrete_2021":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Arrete 2021","description":"DPE arrêté en 2021"},"date_reception_dpe":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Reception Dpe","description":"Date de réception du DPE"},"type_dpe":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Dpe","description":"Type de DPE"},"classe_bilan_dpe":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Classe Bilan Dpe","description":"Classe du bilan DPE"},"classe_conso_energie_arrete_2012":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Classe Conso Energie Arrete 2012","description":"Classe de la consommation d'énergie arrêté 2012"},"conso_5_usages_ep_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Conso 5 Usages Ep M2","description":"Consommation d'énergie primaire pour 5 usages par m²"},"emission_ges_5_usages_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Emission Ges 5 Usages M2","description":"Émission de gaz à effet de serre pour 5 usages par m²"},"conso_3_usages_ep_m2_arrete_2012":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Conso 3 Usages Ep M2 Arrete 2012","description":"Consommation d'énergie primaire pour 3 usages par m² arrêté 2012"},"emission_ges_3_usages_ep_m2_arrete_2012":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Emission Ges 3 Usages Ep M2 Arrete 2012","description":"Émission de gaz à effet de serre pour 3 usages par m² arrêté 2012"},"type_vitrage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Vitrage","description":"Type de vitrage","examples":["simple vitrage","double vitrage"]},"type_materiaux_menuiserie":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Materiaux Menuiserie","description":"Type de matériaux de menuiserie","examples":["métal sans rupture de pont thermique"]},"type_gaz_lame":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Gaz Lame","description":"Type de gaz lame","examples":["air sec"]},"type_fermeture":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Fermeture","description":"Type de fermeture","examples":["Volet roulant PVC ( e ≤ 12 mm)"]},"vitrage_vir":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Vitrage Vir","description":"Vitrage VIR"},"epaisseur_lame":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Epaisseur Lame","description":"Épaisseur de la lame"},"u_baie_vitree":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"U Baie Vitree","description":"U de la baie vitrée"},"facteur_solaire_baie_vitree":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Facteur Solaire Baie Vitree","description":"Facteur solaire de la baie vitrée"},"l_orientation_baie_vitree":{"anyOf":[{"items":{"type":"string","enum":["nord","est","sud","ouest","est ou ouest","indetermine","horizontale","horizontal"]},"type":"array"},{"type":"null"}],"title":"L Orientation Baie Vitree","description":"Orientation de la baie vitrée"},"pourcentage_surface_baie_vitree_exterieur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pourcentage Surface Baie Vitree Exterieur","description":"Pourcentage de surface de la baie vitrée à l'extérieur"},"traversant":{"anyOf":[{"type":"string","enum":["tout venant","traversant","non traversant","tout azimut","est ouest","nord sud","90°","tout venant (faible)","traversant (faible)","non traversant (faible)","tout azimut (faible)","est ouest (faible)","nord sud (faible)","90° (faible)"]},{"type":"null"}],"title":"Traversant","description":"Traversant"},"presence_balcon":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Presence Balcon","description":"Présence de balcon"},"u_mur_exterieur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"U Mur Exterieur","description":"U du mur extérieur"},"type_isolation_mur_exterieur":{"anyOf":[{"type":"string","enum":["ITE","ITI","ITR","inconnu","non isole","ITI+ITE","ITI+ITR","ITE+ITR","isole"]},{"type":"null"}],"title":"Type Isolation Mur Exterieur","description":"Type d'isolation du mur extérieur"},"materiaux_structure_mur_exterieur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Materiaux Structure Mur Exterieur","description":"Matériaux de structure du mur extérieur"},"type_isolation_plancher_bas":{"anyOf":[{"type":"string","enum":["ITE","ITI","ITR","inconnu","non isole","ITI+ITE","ITI+ITR","ITE+ITR","isole"]},{"type":"null"}],"title":"Type Isolation Plancher Bas","description":"Type d'isolation du plancher bas"},"type_plancher_bas_deperditif":{"anyOf":[{"type":"string","enum":["inconnu","plancher avec ou sans remplissage","plancher entre solives métalliques avec ou sans remplissage","plancher entre solives bois avec ou sans remplissage","plancher bois sur solives métalliques","bardeaux et remplissage","voutains sur solives métalliques","voutains en briques ou moellons","dalle béton","plancher bois sur solives bois","plancher lourd type entrevous terre-cuite, poutrelles béton","plancher à entrevous isolant","autre type de plancher non répertorié","plancher mitoyen non deperditif"]},{"type":"null"}],"title":"Type Plancher Bas Deperditif","description":"Type de plancher bas déperditif","examples":["dalle béton"]},"u_plancher_bas_final_deperditif":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"U Plancher Bas Final Deperditif","description":"U du plancher bas final déperditif"},"type_isolation_plancher_haut":{"anyOf":[{"type":"string","enum":["ITE","ITI","ITR","inconnu","non isole","ITI+ITE","ITI+ITR","ITE+ITR","isole"]},{"type":"null"}],"title":"Type Isolation Plancher Haut","description":"Type d'isolation du plancher haut"},"type_plancher_haut_deperditif":{"anyOf":[{"type":"string","enum":["inconnu","plafond avec ou sans remplissage","plafond entre solives métalliques avec ou sans remplissage","plafond avec ou sans remplissage sous combles","plafond entre solives bois avec ou sans remplissage","plafond bois sur solives métalliques","plafond bois sous solives métalliques","bardeaux et remplissage","dalle béton","plafond bois sur solives bois","plafond bois sous solives bois","plafond lourd type entrevous terre-cuite, poutrelles béton","combles aménagés sous rampant","toiture en chaume","plafond en plaque de plâtre","autre type de plafond non répertorié","toitures en bac acier","toitures en Bac acier","plafond mitoyen non deperditif"]},{"type":"null"}],"title":"Type Plancher Haut Deperditif","description":"Type de plancher haut déperditif","examples":["plafond en plaque de plâtre"]},"u_plancher_haut_deperditif":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"U Plancher Haut Deperditif","description":"U du plancher haut déperditif"},"classe_inertie":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Classe Inertie","description":"Classe d'inertie","examples":["Lourde"]},"type_generateur_chauffage_anciennete":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Generateur Chauffage Anciennete","description":"Ancienneté du type de générateur de chauffage"},"type_energie_chauffage_appoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Energie Chauffage Appoint","description":"Type d'énergie de chauffage d'appoint"},"type_generateur_chauffage_appoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Generateur Chauffage Appoint","description":"Type de générateur de chauffage d'appoint"},"type_generateur_chauffage_anciennete_appoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Generateur Chauffage Anciennete Appoint","description":"Ancienneté du type de générateur de chauffage d'appoint"},"chauffage_solaire":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Chauffage Solaire","description":"Chauffage solaire"},"type_generateur_climatisation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Generateur Climatisation","description":"Type de générateur de climatisation"},"type_generateur_climatisation_anciennete":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Generateur Climatisation Anciennete","description":"Ancienneté du type de générateur de climatisation"},"type_generateur_ecs_anciennete":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Generateur Ecs Anciennete","description":"Ancienneté du type de générateur d'eau chaude sanitaire"},"ecs_solaire":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ecs Solaire","description":"Eau chaude sanitaire solaire"},"type_ventilation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Ventilation","description":"Type de ventilation"},"type_production_energie_renouvelable":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Production Energie Renouvelable","description":"Type de production d'énergie renouvelable"},"annee_construction_dpe":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Annee Construction Dpe","description":"Année de construction du DPE"},"type_batiment_dpe":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Batiment Dpe","description":"Type de bâtiment du DPE"},"id_reseau":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id Reseau","description":"Identifiant du réseau"},"indicateur_distance_au_reseau":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Indicateur Distance Au Reseau","description":"Indicateur de distance au réseau"},"alea_radon":{"anyOf":[{"type":"string","enum":["Moyen","Faible","Fort"]},{"type":"null"}],"title":"Alea Radon","description":"Aléa radon"},"alea_argiles":{"anyOf":[{"type":"string","enum":["Moyen","Faible","Fort"]},{"type":"null"}],"title":"Alea Argiles","description":"Aléa argiles"},"nb_log_rnc":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Nb Log Rnc","description":"Nombre de logements du registre national des copropriétés"},"nb_lot_garpark_rnc":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Nb Lot Garpark Rnc","description":"Nombre de lots de garages du registre national des copropriétés"},"nb_lot_tertiaire_rnc":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Nb Lot Tertiaire Rnc","description":"Nombre de lots tertiaires du registre national des copropriétés"},"numero_immat_principal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Numero Immat Principal","description":"Numéro d'immatriculation principal"},"distance_batiment_historique_plus_proche":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Distance Batiment Historique Plus Proche","description":"Distance du bâtiment historique le plus proche"},"nom_batiment_historique_plus_proche":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nom Batiment Historique Plus Proche","description":"Nom du bâtiment historique le plus proche"},"perimetre_bat_historique":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Perimetre Bat Historique","description":"Périmètre du bâtiment historique"},"nom_quartier_qpv":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nom Quartier Qpv","description":"Nom du quartier QPV"},"fiabilite_cr_adr_niv_2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiabilite Cr Adr Niv 2","description":"Fiabilité du croisement à l'adresse niveau 2"},"fiabilite_cr_adr_niv_1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiabilite Cr Adr Niv 1","description":"Fiabilité du croisement à l'adresse niveau 1"},"fiabilite_emprise_sol":{"anyOf":[{"type":"string","enum":["BONNE","MOYENNE","FAIBLE"]},{"type":"null"}],"title":"Fiabilite Emprise Sol","description":"Fiabilité de l'emprise au sol"},"fiabilite_hauteur":{"anyOf":[{"type":"string","enum":["BONNE","MOYENNE","FAIBLE"]},{"type":"null"}],"title":"Fiabilite Hauteur","description":"Fiabilité de la hauteur"},"croisement_geospx_reussi":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Croisement Geospx Reussi","description":"Croisement géospatial réussi"},"uw":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Uw","description":"UW"},"nb_installation_chauffage":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Installation Chauffage","description":"Nombre d'installations de chauffage"},"nb_installation_ecs":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Installation Ecs","description":"Nombre d'installations d'eau chaude sanitaire"},"type_generateur_ecs_appoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Generateur Ecs Appoint","description":"Type de générateur d'eau chaude sanitaire d'appoint"},"type_generateur_ecs_anciennete_appoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Generateur Ecs Anciennete Appoint","description":"Ancienneté du type de générateur d'eau chaude sanitaire d'appoint"},"batiment_groupe_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Batiment Groupe Id","description":"Identifiant du groupe de bâtiments"},"cle_interop_adr_principale_ban":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cle Interop Adr Principale Ban","description":"Clé interopérabilité de l'adresse principale BAN"},"usage_principal_bdnb_open":{"anyOf":[{"$ref":"#/components/schemas/UsagePrincipal"},{"type":"null"}],"description":"Usage principal du bâtiment"}},"type":"object","title":"BDNBBuildingData"},"BaieEts":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/argile__engine__dpe__models__envelop__baie_ets__DonneeEntree"}},"type":"object","required":["donnee_entree"],"title":"BaieEts"},"BaieEtsCollection":{"properties":{"baie_ets":{"items":{"$ref":"#/components/schemas/BaieEts"},"type":"array","minItems":1,"title":"Baie Ets"}},"type":"object","required":["baie_ets"],"title":"BaieEtsCollection"},"BaieVitree":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/argile__engine__dpe__models__envelop__baie_vitree__DonneeEntree"},"donnee_intermediaire":{"$ref":"#/components/schemas/argile__engine__dpe__models__envelop__baie_vitree__DonneeIntermediaire"},"baie_vitree_double_fenetre":{"anyOf":[{"$ref":"#/components/schemas/BaieVitreeDoubleFenetre"},{"type":"null"}]}},"type":"object","required":["donnee_entree"],"title":"BaieVitree"},"BaieVitreeCollection":{"properties":{"baie_vitree":{"items":{"$ref":"#/components/schemas/BaieVitree"},"type":"array","title":"Baie Vitree","description":"Liste des baies vitrées"}},"type":"object","title":"BaieVitreeCollection"},"BaieVitreeDoubleFenetre":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/argile__engine__dpe__models__envelop__baie_vitree_double_fenetre__DonneeEntree"},"donnee_intermediaire":{"$ref":"#/components/schemas/argile__engine__dpe__models__envelop__baie_vitree_double_fenetre__DonneeIntermediaire"}},"type":"object","required":["donnee_entree"],"title":"BaieVitreeDoubleFenetre"},"BaseDimensionnement":{"properties":{"min_class_for_pac_air_air":{"type":"string","enum":["A","B","C","D","E","F","G"],"title":"Min Class For Pac Air Air","description":"Minimum class for PAC air-air","default":"G"},"t_base_decrement_water_water_heat_pump":{"type":"number","title":"T Base Decrement Water Water Heat Pump","description":"Deprecated: kept only for frontend schema back-compat. No longer used in sizing (see #2961).","default":5.0},"solar_panel_surface_unit":{"type":"number","title":"Solar Panel Surface Unit","description":"Surface unitaire d'un panneau photovoltaïque (m²)","default":1.0},"solar_panel_power_unit":{"type":"number","title":"Solar Panel Power Unit","description":"Puissance unitaire crête d'un panneau photovoltaïque (kWc)","default":0.45},"t_base":{"type":"number","title":"T Base","description":"Compute the temperature base (°C)","readOnly":true},"scop_air_water":{"type":"number","title":"Scop Air Water","description":"Default SCOP for air-water heat pump, based on target water temperature.\nLinearly interpolates between the historical reference points\n(35°C → 4.0, 55°C → 3.5, 75°C → 3.0): -0.025 SCOP per °C.","readOnly":true},"ventilation":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}],"description":"Compute the ventilation type of the logement","readOnly":true},"type_cet":{"anyOf":[{"$ref":"#/components/schemas/SourceCET"},{"type":"null"}],"description":"Predict the CET heat source type from the user's technical-visit\nanswers, falling back to the room-volume heuristic.\n\nPriority:\n- an explicit `source_cet` always wins;\n- SPLIT is by construction AIR_EXTERIEUR (regardless of room volume);\n- MONOBLOC draws ambient air (the exterior rejection only concerns the\n  cooled-air exhaust, not the intake) → AIR_AMBIANT;\n- GAINABLE depends on its connection: VMC recovers extracted air\n  (AIR_EXTRAIT), a dedicated network draws outside air (AIR_EXTERIEUR);\n- otherwise fall back to the room-volume heuristic.","readOnly":true},"scop_air_air":{"type":"number","title":"Scop Air Air","description":"Compute the heating power of the air-air heat pump\n3-CL values are too low. We use values from Atlantic technical sheets.\nThese are likely lower bounds.","readOnly":true},"deperdition_override_scale":{"type":"number","title":"Deperdition Override Scale","description":"Scale factor applied to the envelope deperdition to honor a\nuser override (Project.deperdition_override). Mirrors the frontend\nhelper `getDeperditionOverrideScale` so frontend and backend agree\non the effective déperdition used for PAC sizing.\n\nDefaults to 1.0 when no override is set, the method is 'auto',\nor the auto total is missing/zero.","readOnly":true},"classe_inertie":{"anyOf":[{"$ref":"#/components/schemas/ClasseInertie"},{"type":"null"}],"description":"Classe d'inertie 3CL retenue (1 Très lourde … 4 Légère)","readOnly":true},"air_water_heat_pump_sizing_ratio":{"type":"number","title":"Air Water Heat Pump Sizing Ratio","description":"The same floor whatever the inertia class, light or unknown included.","readOnly":true},"power_heat":{"type":"number","title":"Power Heat","description":"Compute the recommended heating power once the works are done.","readOnly":true},"power_heat_air_air":{"type":"number","title":"Power Heat Air Air","description":"Recommended heating power for an Air-Air heat pump (oversized vs Air-Eau).","readOnly":true},"t_base_ete":{"type":"number","title":"T Base Ete","description":"Summer design outdoor temperature: the hypothesis override when set,\notherwise the climate-zone design value.","readOnly":true},"power_cool_air_air":{"type":"number","title":"Power Cool Air Air","description":"Recommended cooling power for a reversible Air-Air heat pump.","readOnly":true},"total_deperditions":{"type":"number","title":"Total Deperditions","description":"Compute the total deperditions once the works are done.","readOnly":true},"recommended_temperature_pac":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Recommended Temperature Pac","description":"Température d'eau conseillée (°C) : la plus basse à laquelle aucune pièce équipée de radiateurs ne reste sous-couverte après travaux. None si même l'eau la plus chaude n'y suffit pas.","readOnly":true},"temperature_pac":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Temperature Pac","description":"The declared water temperature, else the circuits', else the recommended.","readOnly":true},"emitters_sizing":{"$ref":"#/components/schemas/EmittersSizing","description":"Déperditions de chaque pièce après travaux et puissance de ses émetteurs à la température d'eau de la PAC","readOnly":true},"emitters_power_by_water_temperature":{"items":{"$ref":"#/components/schemas/WaterTemperaturePower"},"type":"array","title":"Emitters Power By Water Temperature","description":"Puissance des émetteurs à chaque température d'eau","readOnly":true},"uninsulated_outside_wall_surface":{"type":"number","title":"Uninsulated Outside Wall Surface","description":"Walls below the quality threshold: their zones `to_isolate` net of\nopenings when the VT zoned them, otherwise their opaque surface.","readOnly":true},"uninsulated_inside_wall_surface":{"type":"number","title":"Uninsulated Inside Wall Surface","description":"Compute the surface of uninsulated inside walls.\n\nA single renovation (inside or outside) is enough to reach the quality\nthreshold. Hence, we do not care if there is already an insulation.","readOnly":true},"uninsulated_roof_slopes_surface":{"type":"number","title":"Uninsulated Roof Slopes Surface","description":"Compute the surface of uninsulated roof slopes (exterior)","readOnly":true},"uninsulated_converted_attic_surface":{"type":"number","title":"Uninsulated Converted Attic Surface","description":"Compute the surface of uninsulated roof slopes (interior)","readOnly":true},"uninsulated_lost_attic_surface":{"type":"number","title":"Uninsulated Lost Attic Surface","description":"Compute the surface of uninsulated inside floors","readOnly":true},"uninsulated_floor_surface":{"type":"number","title":"Uninsulated Floor Surface","description":"Compute the surface of uninsulated inside floors","readOnly":true},"uninsulated_windows":{"type":"number","title":"Uninsulated Windows","description":"Compute the number of uninsulated windows","readOnly":true},"storage_volume":{"type":"number","title":"Storage Volume","description":"Compute the volume of the storage for domestic hot water\nThis is a gross estimation, the real volume will be computed by the user.\n56 comes from Section 11.1","readOnly":true},"thermal_resistance_floor":{"type":"number","title":"Thermal Resistance Floor","description":"Compute the thermal resistance of the floor","readOnly":true},"thermal_resistance_inside_wall":{"type":"number","title":"Thermal Resistance Inside Wall","description":"Résistance thermique des isolants d'un ITI (m².K/W)","readOnly":true},"thermal_resistance_wall":{"type":"number","title":"Thermal Resistance Wall","description":"Résistance thermique des isolants d'un mur (m².K/W)","readOnly":true},"thermal_resistance_roof":{"type":"number","title":"Thermal Resistance Roof","description":"Résistance thermique des isolants d'un plancher bas (m².K/W)","readOnly":true},"uw_max":{"type":"number","title":"Uw Max","description":"Compute the maximum thermal transmission coefficient for windows","readOnly":true},"sw_min":{"type":"number","title":"Sw Min","description":"Compute the minimum solar factor for windows","readOnly":true},"num_splits":{"type":"integer","title":"Num Splits","description":"Compute the heating power of the air-air heat pump","readOnly":true},"thermostatic_3_way_mixing_valve":{"type":"boolean","title":"Thermostatic 3 Way Mixing Valve","description":"Check if a thermostatic 3-way mixing valve is needed for low temperature heating","readOnly":true},"has_bizone_emitters":{"type":"boolean","title":"Has Bizone Emitters","description":"Check if the building needs a bizone kit (mixed hydraulic emitter types).","readOnly":true},"future_electricity_consumption":{"type":"number","title":"Future Electricity Consumption","description":"Projected annual electricity consumption of the futur logement (kWh/an). When `project_electricity_consumption` is provided, it serves as baseline and the DPE delta (futur_conso_5_usages − current_conso_5_usages) is added to capture the scenario's electrical impact (e.g. PAC in electric heating mode). Otherwise, falls back to the futur_logement DPE electricity sum. Clamped to 0 if a large negative delta (e.g. scenario removing electric heating) would otherwise drive the result below zero.","readOnly":true},"target_annual_solar_production_kwh":{"type":"number","title":"Target Annual Solar Production Kwh","description":"Production photovoltaïque annuelle cible (kWh/an) — couvre SOLAR_COVERAGE_RATIO de la consommation électrique du futur logement. C'est cette valeur — et non un nombre de panneaux — qui pilote la sélection catalogue.","readOnly":true},"num_solar_panels":{"type":"integer","title":"Num Solar Panels","description":"Compute the number of photovoltaic panels so that their annual\nproduction covers at least SOLAR_COVERAGE_RATIO of the future\nlogement's annual electricity consumption.\n\nThis is a default sizing — selection/solar/selection.py recomputes the\npanel count per catalog candidate using its real puissance_nominale.\n\nUses Google Solar API pre-computed configs when available,\nfalls back to a generic yield estimate otherwise.","readOnly":true},"num_solar_panels_dhw":{"type":"integer","title":"Num Solar Panels Dhw","description":"Number of thermal solar panels sized for DHW only (CESI).","readOnly":true},"surface_solar_panels":{"type":"number","title":"Surface Solar Panels","description":"Compute the surface of the photovoltaic panels","readOnly":true},"phase":{"type":"string","enum":["mono","tri"],"title":"Phase","description":"Compute the electrical phase based on heating power sizing.\nReturns 'tri' if power exceeds 15 kW, otherwise uses the logement's\nelectricite phase or defaults to 'mono'.","readOnly":true}},"type":"object","required":["t_base","scop_air_water","ventilation","type_cet","scop_air_air","deperdition_override_scale","classe_inertie","air_water_heat_pump_sizing_ratio","power_heat","power_heat_air_air","t_base_ete","power_cool_air_air","total_deperditions","recommended_temperature_pac","temperature_pac","emitters_sizing","emitters_power_by_water_temperature","uninsulated_outside_wall_surface","uninsulated_inside_wall_surface","uninsulated_roof_slopes_surface","uninsulated_converted_attic_surface","uninsulated_lost_attic_surface","uninsulated_floor_surface","uninsulated_windows","storage_volume","thermal_resistance_floor","thermal_resistance_inside_wall","thermal_resistance_wall","thermal_resistance_roof","uw_max","sw_min","num_splits","thermostatic_3_way_mixing_valve","has_bizone_emitters","future_electricity_consumption","target_annual_solar_production_kwh","num_solar_panels","num_solar_panels_dhw","surface_solar_panels","phase"],"title":"BaseDimensionnement"},"BaseOptions-Input":{"properties":{"is_required":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Required","description":"Whether the work is required or not"},"pretax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pretax"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Title of the work to be displayed in the interface"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description of the work to be displayed in the interface"},"assets":{"anyOf":[{"items":{"$ref":"#/components/schemas/TaggedAsset_str_"},"type":"array"},{"type":"null"}],"title":"Assets","description":"Assets associated with the work"},"selected_item_references":{"anyOf":[{"items":{"$ref":"#/components/schemas/SelectedItem"},"type":"array"},{"type":"null"}],"title":"Selected Item References","description":"Housing entities (mur, baie_vitree, plancher_bas, plancher_haut) targeted by this work, each with an optional per-work surface."}},"additionalProperties":true,"type":"object","title":"BaseOptions"},"BaseOptions-Output":{"properties":{"is_required":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Required","description":"Whether the work is required or not"},"pretax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pretax"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Title of the work to be displayed in the interface"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description of the work to be displayed in the interface"},"assets":{"anyOf":[{"items":{"$ref":"#/components/schemas/TaggedAsset_str_"},"type":"array"},{"type":"null"}],"title":"Assets","description":"Assets associated with the work"},"selected_item_references":{"anyOf":[{"items":{"$ref":"#/components/schemas/SelectedItem"},"type":"array"},{"type":"null"}],"title":"Selected Item References","description":"Housing entities (mur, baie_vitree, plancher_bas, plancher_haut) targeted by this work, each with an optional per-work surface."}},"additionalProperties":true,"type":"object","title":"BaseOptions"},"BatteryCapacityInputMode":{"type":"string","enum":["useful","nominal"],"title":"BatteryCapacityInputMode","description":"Whether the battery capacity was entered as useful or nominal capacity."},"BatteryKind":{"type":"string","enum":["physical","virtual"],"title":"BatteryKind","description":"Kind of battery backing a PV installation."},"BetaFeature":{"type":"string","enum":["worksites","agent","quote_wizard","messaging","maintenance","pac_work_config","scenario_page","vt_menuiserie","catalog_list_view","lead_infos_tab","mail_integration","mail_calendar_integration","task_home","stove_work_config","cet_work_config","ballon_work_config","walls_work_config","floors_work_config","vmc_work_config","prospects_page","aid_document_checks"],"title":"BetaFeature"},"BillingAttachment":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"url":{"type":"string","title":"Url"},"order":{"type":"integer","title":"Order"}},"type":"object","required":["id","name","url","order"],"title":"BillingAttachment","description":"Attachment associated with billing documents."},"BillingConfigRead":{"properties":{"display_unit_price":{"anyOf":[{"$ref":"#/components/schemas/DisplayUnitPrice"},{"type":"null"}]},"attachments":{"anyOf":[{"items":{"$ref":"#/components/schemas/BillingAttachment"},"type":"array"},{"type":"null"}],"title":"Attachments"},"mentions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mentions"},"regulatory_mention":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Regulatory Mention"},"invoices_payment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoices Payment"},"financing_mentions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Financing Mentions"},"payment_methods":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Payment Methods"},"margin_rates":{"anyOf":[{"items":{"$ref":"#/components/schemas/MarginRate"},"type":"array"},{"type":"null"}],"title":"Margin Rates"},"should_margin_rate_block_preview":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Margin Rate Block Preview"},"should_exclude_services_from_margin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Exclude Services From Margin"},"should_hide_margin_for_regular_users":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Hide Margin For Regular Users"},"should_block_price_decrease":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Block Price Decrease"},"should_purchase_price_be_mandatory":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Purchase Price Be Mandatory"},"reference_scope":{"anyOf":[{"$ref":"#/components/schemas/ReferenceScope"},{"type":"null"}]},"should_numerotation_include_branch_initials":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Numerotation Include Branch Initials"},"should_hide_section_titles_and_numbering":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Hide Section Titles And Numbering"},"should_display_labor_and_material_amounts":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Display Labor And Material Amounts"},"should_display_photos":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Display Photos"},"should_display_branch_address":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Display Branch Address"},"should_hide_cee_details":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Hide Cee Details"},"should_display_eco_contribution":{"type":"boolean","title":"Should Display Eco Contribution","default":true},"branch_initials":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Branch Initials"},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Url"},"quote_validity_duration":{"anyOf":[{"$ref":"#/components/schemas/QuoteValidityDuration"},{"type":"null"}]},"default_works_start_delay":{"anyOf":[{"$ref":"#/components/schemas/DefaultWorksStartDelay"},{"type":"null"}]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"branch_id":{"type":"string","format":"uuid","title":"Branch Id"},"reference_entity_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Entity Code"},"max_discount_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Discount Rate"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["branch_id"],"title":"BillingConfigRead","description":"Response schema for reading a billing config."},"BillingConfigWrite":{"properties":{"display_unit_price":{"anyOf":[{"$ref":"#/components/schemas/DisplayUnitPrice"},{"type":"null"}]},"attachments":{"anyOf":[{"items":{"$ref":"#/components/schemas/BillingAttachment"},"type":"array"},{"type":"null"}],"title":"Attachments"},"mentions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mentions"},"regulatory_mention":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Regulatory Mention"},"invoices_payment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoices Payment"},"financing_mentions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Financing Mentions"},"payment_methods":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Payment Methods"},"margin_rates":{"anyOf":[{"items":{"$ref":"#/components/schemas/MarginRate"},"type":"array"},{"type":"null"}],"title":"Margin Rates"},"should_margin_rate_block_preview":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Margin Rate Block Preview"},"should_exclude_services_from_margin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Exclude Services From Margin"},"should_hide_margin_for_regular_users":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Hide Margin For Regular Users"},"should_block_price_decrease":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Block Price Decrease"},"should_purchase_price_be_mandatory":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Purchase Price Be Mandatory"},"reference_scope":{"anyOf":[{"$ref":"#/components/schemas/ReferenceScope"},{"type":"null"}]},"should_numerotation_include_branch_initials":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Numerotation Include Branch Initials"},"should_hide_section_titles_and_numbering":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Hide Section Titles And Numbering"},"should_display_labor_and_material_amounts":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Display Labor And Material Amounts"},"should_display_photos":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Display Photos"},"should_display_branch_address":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Display Branch Address"},"should_hide_cee_details":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Hide Cee Details"},"should_display_eco_contribution":{"type":"boolean","title":"Should Display Eco Contribution","default":true},"branch_initials":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Branch Initials"},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Url"},"quote_validity_duration":{"anyOf":[{"$ref":"#/components/schemas/QuoteValidityDuration"},{"type":"null"}]},"default_works_start_delay":{"anyOf":[{"$ref":"#/components/schemas/DefaultWorksStartDelay"},{"type":"null"}]},"max_discount_rate":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Max Discount Rate"}},"type":"object","title":"BillingConfigWrite","description":"Request schema for creating/updating a billing config."},"Block-Input":{"properties":{"type":{"$ref":"#/components/schemas/BlockType"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Heading of a title block, work title of a price block"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content","description":"Body of a note block"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}],"description":"Work type of a price block, read by the subsidy calculators"},"assets":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Assets","description":"Technical visit media of a price block"},"subcontractor_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Subcontractor Ids","description":"Subcontractors of a price block"},"subcontracting_scope":{"anyOf":[{"$ref":"#/components/schemas/SubcontractingScope"},{"type":"null"}],"description":"What the subcontractors do; null follows the work type"},"data":{"anyOf":[{"$ref":"#/components/schemas/BaseOptions-Input"},{"type":"null"}],"description":"Geste-level technical values the CEE box edits (surface, ETAS…)"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"lines":{"items":{"$ref":"#/components/schemas/ExtraOptions-Input"},"type":"array","title":"Lines","default":[]}},"additionalProperties":false,"type":"object","required":["type"],"title":"Block","description":"One block of a document: a title, a note, a page break or a priced work."},"Block-Output":{"properties":{"type":{"$ref":"#/components/schemas/BlockType"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Heading of a title block, work title of a price block"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content","description":"Body of a note block"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}],"description":"Work type of a price block, read by the subsidy calculators"},"assets":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Assets","description":"Technical visit media of a price block"},"subcontractor_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Subcontractor Ids","description":"Subcontractors of a price block"},"subcontracting_scope":{"anyOf":[{"$ref":"#/components/schemas/SubcontractingScope"},{"type":"null"}],"description":"What the subcontractors do; null follows the work type"},"data":{"anyOf":[{"$ref":"#/components/schemas/BaseOptions-Output"},{"type":"null"}],"description":"Geste-level technical values the CEE box edits (surface, ETAS…)"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"lines":{"items":{"$ref":"#/components/schemas/ExtraOptions-Output"},"type":"array","title":"Lines","default":[]}},"additionalProperties":false,"type":"object","required":["type"],"title":"Block","description":"One block of a document: a title, a note, a page break or a priced work."},"BlockType":{"type":"string","enum":["title","note","page_break","price"],"title":"BlockType","description":"Kind of block: a heading, a free note, a page break or a priced work."},"Body_create_floor_plan_reading_answers__answer_id__floor_plans_post":{"properties":{"files":{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array","title":"Files"}},"type":"object","required":["files"],"title":"Body_create_floor_plan_reading_answers__answer_id__floor_plans_post"},"Body_start_article_import_catalogs__catalog_id__article_imports_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_start_article_import_catalogs__catalog_id__article_imports_post"},"Body_upload_document_file_document_instances_files_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_document_file_document_instances_files_post"},"BoilerBackupContext":{"properties":{"status":{"type":"string","enum":["ready","invalid","unavailable","disabled"],"title":"Status"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"existing_generator_references":{"items":{"type":"string"},"type":"array","title":"Existing Generator References"},"new_gas_boiler_available":{"type":"boolean","title":"New Gas Boiler Available","default":false},"source":{"anyOf":[{"$ref":"#/components/schemas/BoilerBackupSource"},{"type":"null"}]},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"enum_type_energie_id":{"anyOf":[{"$ref":"#/components/schemas/TypeEnergie"},{"type":"null"}]},"power_kw":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Power Kw"},"efficiency":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Efficiency"},"efficiency_is_default":{"type":"boolean","title":"Efficiency Is Default","default":true},"energy_basis":{"type":"string","const":"pci","title":"Energy Basis","default":"pci"}},"type":"object","required":["status"],"title":"BoilerBackupContext"},"BoilerBackupSource":{"type":"string","enum":["existing","new"],"title":"BoilerBackupSource","description":"The boiler backing up a PAC: the one in place or a new gas one."},"BoilerRoom":{"properties":{"height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Height","description":"Height in meters/ centimeters"},"width":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Width","description":"Width in meters/ centimeters"},"length":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Length","description":"Length in meters/ centimeters"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/BoilerRoomAsset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"is_large_enough":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Large Enough","description":"Is the boiler room accessible?"},"is_high_enough":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is High Enough","description":"Is the boiler room high enough?"},"type":{"anyOf":[{"$ref":"#/components/schemas/argile__survey__diag__models__utils__ItemType"},{"type":"null"}],"description":"Is the boiler room a future or current boiler room?"},"is_heated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Heated","description":"Is the boiler room heated?"}},"type":"object","title":"BoilerRoom"},"BoilerRoomAsset":{"properties":{"type":{"type":"string","enum":["video","sound","image","segmentation","marker","no_lidar_available","reconstruction_3d"],"title":"Type"},"coordinate":{"anyOf":[{"$ref":"#/components/schemas/AccomodationCoordinate"},{"type":"null"}]},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"attributes":{"items":{"$ref":"#/components/schemas/Attribute"},"type":"array","title":"Attributes","description":"A very broad field to store any relevant data related to this asset","default":[]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"tag":{"anyOf":[{"$ref":"#/components/schemas/BoilerRoomAttributeTag"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["type"],"title":"BoilerRoomAsset"},"BoilerRoomAttributeTag":{"type":"string","enum":["access","wide","wide_access","hydro_start","evacuation"],"title":"BoilerRoomAttributeTag","description":"Tag d'attribut d'un asset (photo) de chaufferie."},"BouclageReseauEcs":{"type":"integer","enum":[1,2,3],"title":"BouclageReseauEcs"},"BranchCreate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Name of the branch","examples":["Branch 1"]},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Input"},{"type":"null"}],"description":"Address of the branch"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"Website URL","examples":["https://example.com"]},"front_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Front Url","description":"The front URL of the branch. Where the lead is generated.","examples":["https://example.com"]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo","description":"Logo of the branch","examples":["https://branch.com/logo.png"]},"legal_notices":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Notices"},"legal_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Form"},"share_capital":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share Capital","description":"Share capital, free text used in legal notices","examples":["10 000 €"]},"ape_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ape Code","description":"APE/NAF activity code of the branch","examples":["43.22A"]},"siren":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Siren"},"siret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Siret"},"business_registry_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Registry Number","description":"Business registry number of the branch","examples":["123456789"]},"vat_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vat Number","description":"VAT number of the branch","examples":["123456789"]},"contact_first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact First Name","description":"First name of the contact person for this branch"},"contact_last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Last Name","description":"Last name of the contact person for this branch"},"pro_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pro Url","description":"Where the pro users are going to","examples":["https://example.com"]},"invoice_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoice Code","description":"Invoice code of the branch","examples":["ARG"]},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id","description":"Code identifying the branch at a partner (e.g. SSO claim)","examples":["9999"]},"subcontractor_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subcontractor Score","description":"Score of the subcontractor (higher score is higher priority)"},"type":{"type":"string","enum":["subsidiary","subcontractor"],"title":"Type","description":"Type of the branch (subsidiary or subcontractor)","default":"subsidiary"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description of the branch","examples":["Description of branch 1"]},"certification":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Certification","description":"[DEPRECATED] Description of the certification. It is displayed in the footer of the quote. \n are accepted."},"certifications":{"anyOf":[{"items":{"$ref":"#/components/schemas/Certification"},"type":"array"},{"type":"null"}],"title":"Certifications","description":"List of certifications"},"waste_management":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Waste Management","description":"Description of waste management procedures and policies for the branch\n are accepted."},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"Numéro de téléphone","examples":["+33612345678"]},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Adresse email","examples":["john.doe@gmail.com"]},"enum_type_travaux_ids":{"anyOf":[{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array"},{"type":"null"}],"title":"Enum Type Travaux Ids","description":"List of work types (TypeTravaux enum values) that this branch can perform"},"ecretement":{"anyOf":[{"type":"string","enum":["mpr","cee"]},{"type":"null"}],"title":"Ecretement","description":"Priority for subsidy reduction: 'cee' reduces CEE first, 'mpr' reduces MPR first"},"subsidy_deduction_mode":{"$ref":"#/components/schemas/SubsidyDeductionMode","description":"How subsidies are deducted across the project's installments.","default":"EACH_INVOICE"},"last_invoice_min_amount":{"type":"number","exclusiveMinimum":0.0,"title":"Last Invoice Min Amount","description":"LAST_INVOICE: TTC the last installment keeps so the invoice carrying the aides is never empty; earlier installments shrink to leave it.","default":200.0},"deposit_taken_into_account":{"type":"boolean","title":"Deposit Taken Into Account","description":"True: acompte pris en compte, non re-cumulé sur la 1re situation (vue standalone). False: comportement cumulatif legacy. Polarité inversée vs la propriété interne `cumulative`.","default":true},"show_prices_by_default":{"type":"boolean","title":"Show Prices By Default","description":"False hides the prices of every branch scenario whose prices_display is BRANCH_DEFAULT.","default":true},"technical_visit_enabled":{"type":"boolean","title":"Technical Visit Enabled","description":"False hides the technical visit from this branch's users, even when the tenant enables the module.","default":true},"default_installments":{"anyOf":[{"items":{"$ref":"#/components/schemas/Installment"},"type":"array"},{"type":"null"}],"title":"Default Installments","description":"Default installments for quotes created from this branch."},"default_moe_config":{"anyOf":[{"$ref":"#/components/schemas/DefaultMoeConfig"},{"type":"null"}],"description":"Default MOE configuration for quotes created from this branch."},"company_id":{"type":"string","format":"uuid","title":"Company Id","description":"ID of the company","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"insurance_provider_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Insurance Provider Id","description":"ID of the insurance_provider","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"default_catalog_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Default Catalog Id","description":"ID of the catalog","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]}},"additionalProperties":false,"type":"object","required":["company_id"],"title":"BranchCreate"},"BranchDemandCreate":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"consent_text":{"type":"string","maxLength":1000,"minLength":1,"title":"Consent Text"},"first_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Last Name"},"phone":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Phone"},"address_label":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Address Label"},"project":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project"},"turnstile_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turnstile Token"},"branch_id":{"type":"string","format":"uuid","title":"Branch Id"}},"type":"object","required":["email","consent_text","branch_id"],"title":"BranchDemandCreate","description":"What a company's own form posts."},"BranchDocumentCreate":{"properties":{"document_type":{"type":"string","enum":["urssaf","rge_insurance_notification","subcontracting_contract","kbis","decennale_insurance","other"],"title":"Document Type","description":"Type of the document"},"file_url":{"type":"string","title":"File Url","description":"URL of the uploaded file"},"file_name":{"type":"string","title":"File Name","description":"Original filename of the uploaded file"}},"type":"object","required":["document_type","file_url","file_name"],"title":"BranchDocumentCreate","description":"Schema for creating a new branch document."},"BranchDocumentRead":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"document_type":{"type":"string","enum":["urssaf","rge_insurance_notification","subcontracting_contract","kbis","decennale_insurance","other"],"title":"Document Type","description":"Type of the document"},"file_url":{"type":"string","title":"File Url","description":"URL of the uploaded file"},"file_name":{"type":"string","title":"File Name","description":"Original filename of the uploaded file"},"branch_id":{"type":"string","format":"uuid","title":"Branch Id"},"uploaded_by_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Uploaded By User Id"}},"type":"object","required":["document_type","file_url","file_name","branch_id","uploaded_by_user_id"],"title":"BranchDocumentRead","description":"Schema for reading a branch document."},"BranchPublicRead":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Name of the branch","examples":["Branch 1"]},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Output"},{"type":"null"}],"description":"Address of the branch"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"Website URL","examples":["https://example.com"]},"front_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Front Url","description":"The front URL of the branch. Where the lead is generated.","examples":["https://example.com"]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo","description":"Logo of the branch","examples":["https://branch.com/logo.png"]},"legal_notices":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Notices"},"legal_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Form"},"share_capital":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share Capital","description":"Share capital, free text used in legal notices","examples":["10 000 €"]},"ape_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ape Code","description":"APE/NAF activity code of the branch","examples":["43.22A"]},"siren":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Siren"},"siret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Siret"},"business_registry_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Registry Number","description":"Business registry number of the branch","examples":["123456789"]},"vat_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vat Number","description":"VAT number of the branch","examples":["123456789"]},"company_id":{"type":"string","format":"uuid","title":"Company Id"},"insurance_provider_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Insurance Provider Id"},"insurance_provider":{"anyOf":[{"$ref":"#/components/schemas/InsuranceProvider"},{"type":"null"}]}},"type":"object","required":["company_id"],"title":"BranchPublicRead"},"BranchRead":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Name of the branch","examples":["Branch 1"]},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Output"},{"type":"null"}],"description":"Address of the branch"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"Website URL","examples":["https://example.com"]},"front_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Front Url","description":"The front URL of the branch. Where the lead is generated.","examples":["https://example.com"]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo","description":"Logo of the branch","examples":["https://branch.com/logo.png"]},"legal_notices":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Notices"},"legal_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Form"},"share_capital":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share Capital","description":"Share capital, free text used in legal notices","examples":["10 000 €"]},"ape_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ape Code","description":"APE/NAF activity code of the branch","examples":["43.22A"]},"siren":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Siren"},"siret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Siret"},"business_registry_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Registry Number","description":"Business registry number of the branch","examples":["123456789"]},"vat_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vat Number","description":"VAT number of the branch","examples":["123456789"]},"contact_first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact First Name","description":"First name of the contact person for this branch"},"contact_last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Last Name","description":"Last name of the contact person for this branch"},"pro_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pro Url","description":"Where the pro users are going to","examples":["https://example.com"]},"invoice_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoice Code","description":"Invoice code of the branch","examples":["ARG"]},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id","description":"Code identifying the branch at a partner (e.g. SSO claim)","examples":["9999"]},"subcontractor_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subcontractor Score","description":"Score of the subcontractor (higher score is higher priority)"},"type":{"type":"string","enum":["subsidiary","subcontractor"],"title":"Type","description":"Type of the branch (subsidiary or subcontractor)","default":"subsidiary"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description of the branch","examples":["Description of branch 1"]},"certification":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Certification","description":"[DEPRECATED] Description of the certification. It is displayed in the footer of the quote. \n are accepted."},"certifications":{"anyOf":[{"items":{"$ref":"#/components/schemas/Certification"},"type":"array"},{"type":"null"}],"title":"Certifications","description":"List of certifications"},"waste_management":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Waste Management","description":"Description of waste management procedures and policies for the branch\n are accepted."},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"Numéro de téléphone","examples":["+33612345678"]},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Adresse email","examples":["john.doe@gmail.com"]},"enum_type_travaux_ids":{"anyOf":[{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array"},{"type":"null"}],"title":"Enum Type Travaux Ids","description":"List of work types (TypeTravaux enum values) that this branch can perform"},"ecretement":{"anyOf":[{"type":"string","enum":["mpr","cee"]},{"type":"null"}],"title":"Ecretement","description":"Priority for subsidy reduction: 'cee' reduces CEE first, 'mpr' reduces MPR first"},"subsidy_deduction_mode":{"$ref":"#/components/schemas/SubsidyDeductionMode","description":"How subsidies are deducted across the project's installments.","default":"EACH_INVOICE"},"last_invoice_min_amount":{"type":"number","exclusiveMinimum":0.0,"title":"Last Invoice Min Amount","description":"LAST_INVOICE: TTC the last installment keeps so the invoice carrying the aides is never empty; earlier installments shrink to leave it.","default":200.0},"deposit_taken_into_account":{"type":"boolean","title":"Deposit Taken Into Account","description":"True: acompte pris en compte, non re-cumulé sur la 1re situation (vue standalone). False: comportement cumulatif legacy. Polarité inversée vs la propriété interne `cumulative`.","default":true},"show_prices_by_default":{"type":"boolean","title":"Show Prices By Default","description":"False hides the prices of every branch scenario whose prices_display is BRANCH_DEFAULT.","default":true},"technical_visit_enabled":{"type":"boolean","title":"Technical Visit Enabled","description":"False hides the technical visit from this branch's users, even when the tenant enables the module.","default":true},"default_installments":{"anyOf":[{"items":{"$ref":"#/components/schemas/Installment"},"type":"array"},{"type":"null"}],"title":"Default Installments","description":"Default installments for quotes created from this branch."},"default_moe_config":{"anyOf":[{"$ref":"#/components/schemas/DefaultMoeConfig"},{"type":"null"}],"description":"Default MOE configuration for quotes created from this branch."},"company_id":{"type":"string","format":"uuid","title":"Company Id"},"analytic_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Analytic Code"},"default_catalog_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Default Catalog Id"},"insurance_provider_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Insurance Provider Id"},"insurance_provider":{"anyOf":[{"$ref":"#/components/schemas/InsuranceProvider"},{"type":"null"}]},"branch_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Branch Ids"}},"type":"object","required":["company_id"],"title":"BranchRead"},"BranchReportConfigRead":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"branch_id":{"type":"string","format":"uuid","title":"Branch Id"},"top_right_banner":{"anyOf":[{"$ref":"#/components/schemas/TopRightBanner"},{"type":"null"}]},"additional_pages":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdditionalPage"},"type":"array"},{"type":"null"}],"title":"Additional Pages"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"}},"type":"object","required":["branch_id"],"title":"BranchReportConfigRead","description":"Response schema for reading a branch report config."},"BranchReportConfigWrite":{"properties":{"top_right_banner":{"anyOf":[{"$ref":"#/components/schemas/TopRightBanner"},{"type":"null"}]},"additional_pages":{"anyOf":[{"items":{"$ref":"#/components/schemas/AdditionalPage"},"type":"array"},{"type":"null"}],"title":"Additional Pages"}},"type":"object","title":"BranchReportConfigWrite","description":"Request schema for creating/updating a branch report config."},"BranchUpdate":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Name of the branch","examples":["Branch 1"]},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Input"},{"type":"null"}],"description":"Address of the branch"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"Website URL","examples":["https://example.com"]},"front_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Front Url","description":"The front URL of the branch. Where the lead is generated.","examples":["https://example.com"]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo","description":"Logo of the branch","examples":["https://branch.com/logo.png"]},"legal_notices":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Notices"},"legal_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Form"},"share_capital":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share Capital","description":"Share capital, free text used in legal notices","examples":["10 000 €"]},"ape_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ape Code","description":"APE/NAF activity code of the branch","examples":["43.22A"]},"siren":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Siren"},"siret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Siret"},"business_registry_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Registry Number","description":"Business registry number of the branch","examples":["123456789"]},"vat_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vat Number","description":"VAT number of the branch","examples":["123456789"]},"contact_first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact First Name","description":"First name of the contact person for this branch"},"contact_last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Last Name","description":"Last name of the contact person for this branch"},"pro_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pro Url","description":"Where the pro users are going to","examples":["https://example.com"]},"invoice_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoice Code","description":"Invoice code of the branch","examples":["ARG"]},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id","description":"Code identifying the branch at a partner (e.g. SSO claim)","examples":["9999"]},"subcontractor_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Subcontractor Score","description":"Score of the subcontractor (higher score is higher priority)"},"type":{"type":"string","enum":["subsidiary","subcontractor"],"title":"Type","description":"Type of the branch (subsidiary or subcontractor)","default":"subsidiary"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description of the branch","examples":["Description of branch 1"]},"certification":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Certification","description":"[DEPRECATED] Description of the certification. It is displayed in the footer of the quote. \n are accepted."},"certifications":{"anyOf":[{"items":{"$ref":"#/components/schemas/Certification"},"type":"array"},{"type":"null"}],"title":"Certifications","description":"List of certifications"},"waste_management":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Waste Management","description":"Description of waste management procedures and policies for the branch\n are accepted."},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"Numéro de téléphone","examples":["+33612345678"]},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Adresse email","examples":["john.doe@gmail.com"]},"enum_type_travaux_ids":{"anyOf":[{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array"},{"type":"null"}],"title":"Enum Type Travaux Ids","description":"List of work types (TypeTravaux enum values) that this branch can perform"},"ecretement":{"anyOf":[{"type":"string","enum":["mpr","cee"]},{"type":"null"}],"title":"Ecretement","description":"Priority for subsidy reduction: 'cee' reduces CEE first, 'mpr' reduces MPR first"},"subsidy_deduction_mode":{"$ref":"#/components/schemas/SubsidyDeductionMode","description":"How subsidies are deducted across the project's installments.","default":"EACH_INVOICE"},"last_invoice_min_amount":{"type":"number","exclusiveMinimum":0.0,"title":"Last Invoice Min Amount","description":"LAST_INVOICE: TTC the last installment keeps so the invoice carrying the aides is never empty; earlier installments shrink to leave it.","default":200.0},"deposit_taken_into_account":{"type":"boolean","title":"Deposit Taken Into Account","description":"True: acompte pris en compte, non re-cumulé sur la 1re situation (vue standalone). False: comportement cumulatif legacy. Polarité inversée vs la propriété interne `cumulative`.","default":true},"show_prices_by_default":{"type":"boolean","title":"Show Prices By Default","description":"False hides the prices of every branch scenario whose prices_display is BRANCH_DEFAULT.","default":true},"technical_visit_enabled":{"type":"boolean","title":"Technical Visit Enabled","description":"False hides the technical visit from this branch's users, even when the tenant enables the module.","default":true},"default_installments":{"anyOf":[{"items":{"$ref":"#/components/schemas/Installment"},"type":"array"},{"type":"null"}],"title":"Default Installments","description":"Default installments for quotes created from this branch."},"default_moe_config":{"anyOf":[{"$ref":"#/components/schemas/DefaultMoeConfig"},{"type":"null"}],"description":"Default MOE configuration for quotes created from this branch."},"default_catalog_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Default Catalog Id"},"insurance_provider_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Insurance Provider Id"}},"type":"object","title":"BranchUpdate"},"BrandTemplateInfo":{"properties":{"brand_name":{"type":"string","title":"Brand Name"},"product_count":{"type":"integer","title":"Product Count"},"gamme_count":{"type":"integer","title":"Gamme Count","default":0}},"type":"object","required":["brand_name","product_count"],"title":"BrandTemplateInfo","description":"Info about a brand's available templates."},"BrandTemplatesResponse":{"properties":{"brands":{"items":{"$ref":"#/components/schemas/BrandTemplateInfo"},"type":"array","title":"Brands"}},"type":"object","required":["brands"],"title":"BrandTemplatesResponse","description":"Response for listing template brands."},"BufferTankSuggestion":{"properties":{"catalog_item_id":{"type":"string","format":"uuid","title":"Catalog Item Id"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/ItemType-Output"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"current_quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Quantity"},"expected_quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Expected Quantity"},"action":{"$ref":"#/components/schemas/AccessorySuggestionAction"},"reason":{"$ref":"#/components/schemas/BufferTankSuggestionReason"},"quantity_overridden":{"type":"boolean","title":"Quantity Overridden"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"volume":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Volume"}},"type":"object","required":["catalog_item_id","current_quantity","expected_quantity","action","reason","quantity_overridden"],"title":"BufferTankSuggestion","description":"The buffer tank line to add; same shape as AccessorySuggestion so the\nfront applies it through the same code path."},"BufferTankSuggestionReason":{"type":"string","enum":["insufficient_circuit_volume"],"title":"BufferTankSuggestionReason"},"BufferTankSuggestions":{"properties":{"circuit_volume":{"type":"number","title":"Circuit Volume"},"min_required_volume":{"type":"number","title":"Min Required Volume"},"volume_deficit":{"type":"number","title":"Volume Deficit"},"suggestions":{"items":{"$ref":"#/components/schemas/BufferTankSuggestion"},"type":"array","title":"Suggestions"},"no_tank_large_enough":{"type":"boolean","title":"No Tank Large Enough","default":false},"heat_emitters_missing":{"type":"boolean","title":"Heat Emitters Missing","default":false}},"type":"object","required":["circuit_volume","min_required_volume","volume_deficit","suggestions"],"title":"BufferTankSuggestions","description":"Water volumes of the work's hydraulic circuit and the buffer tank Argile\nproposes; none is applied by the backend."},"BulkArticleCreateItem":{"properties":{"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"code_commercial":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Commercial"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/argile__engine__dpe__models__catalog_article__ItemType"},{"type":"null"}]},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}]},"cout_achat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Achat"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"public_price_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Public Price Ht"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"ref_fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref Fournisseur"},"marque":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque"},"fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fournisseur"},"supplier_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supplier Id"},"supply_mode":{"anyOf":[{"$ref":"#/components/schemas/ArticleSupplyMode"},{"type":"null"}]},"purchase_multiple":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Purchase Multiple"},"title":{"type":"string","title":"Title"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"quantity":{"type":"number","title":"Quantity","default":1.0},"is_optional":{"type":"boolean","title":"Is Optional","default":false},"item_id":{"type":"string","format":"uuid","title":"Item Id"}},"type":"object","required":["title","item_id"],"title":"BulkArticleCreateItem","description":"Single article creation in a bulk request, with its item link."},"BulkArticleCreateRequest":{"properties":{"articles":{"items":{"$ref":"#/components/schemas/BulkArticleCreateItem"},"type":"array","title":"Articles"}},"type":"object","required":["articles"],"title":"BulkArticleCreateRequest","description":"Request for bulk creating catalog articles."},"BulkArticleCreateResponse":{"properties":{"created_count":{"type":"integer","title":"Created Count"},"articles":{"items":{"$ref":"#/components/schemas/CatalogArticleWithQuantity"},"type":"array","title":"Articles"}},"type":"object","required":["created_count","articles"],"title":"BulkArticleCreateResponse","description":"Response after bulk create."},"BulkArticleDeleteRequest":{"properties":{"article_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Article Ids"}},"type":"object","required":["article_ids"],"title":"BulkArticleDeleteRequest","description":"Request to bulk delete catalog articles."},"BulkArticleDeleteResponse":{"properties":{"deleted_count":{"type":"integer","title":"Deleted Count"}},"type":"object","required":["deleted_count"],"title":"BulkArticleDeleteResponse","description":"Response after bulk delete."},"BulkArticleUpdatePayload":{"properties":{"article_id":{"type":"string","format":"uuid","title":"Article Id"},"payload":{"$ref":"#/components/schemas/CatalogArticleStandaloneUpdate"}},"type":"object","required":["article_id","payload"],"title":"BulkArticleUpdatePayload","description":"Single article update in a bulk request: article fields only.\n\nAn entry names an article, never one of its links."},"BulkArticleUpdateRequest":{"properties":{"updates":{"items":{"$ref":"#/components/schemas/BulkArticleUpdatePayload"},"type":"array","title":"Updates"}},"type":"object","required":["updates"],"title":"BulkArticleUpdateRequest","description":"Request for bulk updating catalog articles with per-article payloads."},"BulkArticleUpdateResponse":{"properties":{"updated_count":{"type":"integer","title":"Updated Count"}},"type":"object","required":["updated_count"],"title":"BulkArticleUpdateResponse","description":"Response after bulk update."},"BulkBranchAssociation":{"properties":{"branch_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Branch Ids"}},"type":"object","required":["branch_ids"],"title":"BulkBranchAssociation","description":"Model for bulk branch association operations."},"BulkCreateRequest":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CatalogItemCreate"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"BulkCreateRequest","description":"Request for bulk creating catalog items."},"BulkCreateResponse":{"properties":{"created_count":{"type":"integer","title":"Created Count"},"items":{"items":{"$ref":"#/components/schemas/CatalogItem"},"type":"array","title":"Items"}},"type":"object","required":["created_count","items"],"title":"BulkCreateResponse","description":"Response after bulk create."},"BulkDeleteRequest":{"properties":{"item_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Item Ids"}},"type":"object","required":["item_ids"],"title":"BulkDeleteRequest","description":"Request to bulk delete catalog items."},"BulkDeleteResponse":{"properties":{"deleted_count":{"type":"integer","title":"Deleted Count"}},"type":"object","required":["deleted_count"],"title":"BulkDeleteResponse","description":"Response after bulk delete."},"BulkMoveRequest":{"properties":{"item_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Item Ids"},"target_catalog_id":{"type":"string","format":"uuid","title":"Target Catalog Id"}},"type":"object","required":["item_ids","target_catalog_id"],"title":"BulkMoveRequest","description":"Request to move catalog items to another catalog of the same company."},"BulkMoveResponse":{"properties":{"moved_count":{"type":"integer","title":"Moved Count"}},"type":"object","required":["moved_count"],"title":"BulkMoveResponse","description":"Response after moving catalog items."},"BulkUpdateItemPayload":{"properties":{"item_id":{"type":"string","format":"uuid","title":"Item Id"},"payload":{"$ref":"#/components/schemas/CatalogItemUpdate"}},"type":"object","required":["item_id","payload"],"title":"BulkUpdateItemPayload","description":"Single item update in a bulk request."},"BulkUpdateRequest":{"properties":{"updates":{"items":{"$ref":"#/components/schemas/BulkUpdateItemPayload"},"type":"array","title":"Updates"}},"type":"object","required":["updates"],"title":"BulkUpdateRequest","description":"Request for bulk updating catalog items with per-item payloads."},"BulkUpdateResponse":{"properties":{"updated_count":{"type":"integer","title":"Updated Count"}},"type":"object","required":["updated_count"],"title":"BulkUpdateResponse","description":"Response after bulk update."},"BulkUpsertRequest":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CatalogItemCreate"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"BulkUpsertRequest","description":"Request for bulk upserting catalog items.\n\nItems whose `id` already exists in the catalog are updated; items with no\n`id`, or an `id` not yet present, are created. Designed for idempotent\nimports (e.g. re-uploading the same CSV)."},"BulkUpsertResponse":{"properties":{"created_count":{"type":"integer","title":"Created Count"},"updated_count":{"type":"integer","title":"Updated Count"},"items":{"items":{"$ref":"#/components/schemas/CatalogItem"},"type":"array","title":"Items"}},"type":"object","required":["created_count","updated_count","items"],"title":"BulkUpsertResponse","description":"Response after bulk upsert."},"BundlePdfStatusResponse":{"properties":{"status":{"type":"string","title":"Status"},"merged_pdf_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Merged Pdf Url"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["status"],"title":"BundlePdfStatusResponse","description":"Response for bundle PDF generation status polling."},"CEEAttributionRuleCreate":{"properties":{"fournisseur_id":{"type":"string","format":"uuid","title":"Fournisseur Id"},"cee_types":{"anyOf":[{"items":{"$ref":"#/components/schemas/CEEType"},"type":"array"},{"type":"null"}],"title":"Cee Types"},"work_types":{"anyOf":[{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array"},{"type":"null"}],"title":"Work Types"}},"type":"object","required":["fournisseur_id"],"title":"CEEAttributionRuleCreate","description":"Schema for creating a new CEE attribution rule."},"CEEAttributionRuleResponse":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"cee_config_id":{"type":"string","format":"uuid","title":"Cee Config Id"},"fournisseur_id":{"type":"string","format":"uuid","title":"Fournisseur Id"},"position":{"type":"integer","title":"Position"},"cee_types":{"anyOf":[{"items":{"$ref":"#/components/schemas/CEEType"},"type":"array"},{"type":"null"}],"title":"Cee Types"},"work_types":{"anyOf":[{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array"},{"type":"null"}],"title":"Work Types"}},"type":"object","required":["cee_config_id","fournisseur_id","position"],"title":"CEEAttributionRuleResponse","description":"Schema for CEE attribution rule response."},"CEEAttributionRuleUpdate":{"properties":{"fournisseur_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Fournisseur Id"},"cee_types":{"anyOf":[{"items":{"$ref":"#/components/schemas/CEEType"},"type":"array"},{"type":"null"}],"title":"Cee Types"},"work_types":{"anyOf":[{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array"},{"type":"null"}],"title":"Work Types"}},"type":"object","title":"CEEAttributionRuleUpdate","description":"Schema for updating an existing CEE attribution rule."},"CEEConfigBranchUsage":{"properties":{"branch_count":{"type":"integer","title":"Branch Count"},"inheriting_count":{"type":"integer","title":"Inheriting Count"}},"type":"object","required":["branch_count","inheriting_count"],"title":"CEEConfigBranchUsage","description":"How many branches of a company follow its CEE config."},"CEEConfigCreate":{"properties":{"name":{"type":"string","title":"Name","description":"Configuration name","default":"Configuration CEE"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Configuration description"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","title":"CEEConfigCreate","description":"Schema for creating a new CEE configuration."},"CEEConfigResponse":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"name":{"type":"string","title":"Name","description":"Configuration name","default":"Configuration CEE"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Configuration description"},"attribution_mode":{"type":"string","enum":["manual","automatic"],"title":"Attribution Mode","default":"manual"},"fournisseurs":{"items":{"$ref":"#/components/schemas/CEEFournisseurResponse"},"type":"array","title":"Fournisseurs","default":[]},"mandataire":{"anyOf":[{"$ref":"#/components/schemas/CEEMandataireResponse"},{"type":"null"}]},"attribution_rules":{"items":{"$ref":"#/components/schemas/CEEAttributionRuleResponse"},"type":"array","title":"Attribution Rules","default":[]}},"type":"object","title":"CEEConfigResponse","description":"Schema for CEE configuration response."},"CEEConfigUpdate":{"properties":{"name":{"type":"string","title":"Name","description":"Configuration name","default":"Configuration CEE"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Configuration description"},"attribution_mode":{"anyOf":[{"type":"string","enum":["manual","automatic"]},{"type":"null"}],"title":"Attribution Mode"}},"type":"object","title":"CEEConfigUpdate","description":"Schema for updating an existing CEE configuration."},"CEEContractCreate":{"properties":{"starts_on":{"type":"string","format":"date","title":"Starts On"},"ends_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Ends On","description":"Last day covered, included; None for an open-ended contract"},"committed_kwhc_precarite":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Committed Kwhc Precarite","description":"Committed précarité volume in kWh cumac; None when not tracked"},"committed_kwhc_classique":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Committed Kwhc Classique","description":"Committed classique volume in kWh cumac; None when not tracked"},"cumac_pricing_by_bracket":{"anyOf":[{"additionalProperties":{"type":"number"},"propertyNames":{"$ref":"#/components/schemas/CEEType"},"type":"object"},{"type":"null"}],"title":"Cumac Pricing By Bracket","description":"Price paid by the obligé in €/MWh cumac; None follows the public tariff"},"cumac_pricing_by_volume":{"anyOf":[{"items":{"$ref":"#/components/schemas/CumacVolumeTranche"},"type":"array"},{"type":"null"}],"title":"Cumac Pricing By Volume","description":"Price paid by the obligé by operation volume tranche; replaces cumac_pricing_by_bracket when set"},"beneficiary_pricing_by_bracket":{"anyOf":[{"additionalProperties":{"type":"number"},"propertyNames":{"$ref":"#/components/schemas/CEEType"},"type":"object"},{"type":"null"}],"title":"Beneficiary Pricing By Bracket","description":"Price passed on to the client in €/MWh cumac; None passes the whole price on"},"fiche_cee_config":{"anyOf":[{"items":{"$ref":"#/components/schemas/CEESubsidyConfig-Input"},"type":"array"},{"type":"null"}],"title":"Fiche Cee Config","description":"Fiche-specific rules of the contract; None keeps the public ones"},"payment_delay_days":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Payment Delay Days","description":"Usual delay between validation for payment and payment"}},"type":"object","required":["starts_on"],"title":"CEEContractCreate","description":"Schema for creating a contract; the running one stops the day before."},"CEEContractResponse":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"starts_on":{"type":"string","format":"date","title":"Starts On"},"ends_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Ends On","description":"Last day covered, included; None for an open-ended contract"},"committed_kwhc_precarite":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Committed Kwhc Precarite","description":"Committed précarité volume in kWh cumac; None when not tracked"},"committed_kwhc_classique":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Committed Kwhc Classique","description":"Committed classique volume in kWh cumac; None when not tracked"},"cumac_pricing_by_bracket":{"anyOf":[{"additionalProperties":{"type":"number"},"propertyNames":{"$ref":"#/components/schemas/CEEType"},"type":"object"},{"type":"null"}],"title":"Cumac Pricing By Bracket","description":"Price paid by the obligé in €/MWh cumac; None follows the public tariff"},"cumac_pricing_by_volume":{"anyOf":[{"items":{"$ref":"#/components/schemas/CumacVolumeTranche"},"type":"array"},{"type":"null"}],"title":"Cumac Pricing By Volume","description":"Price paid by the obligé by operation volume tranche; replaces cumac_pricing_by_bracket when set"},"beneficiary_pricing_by_bracket":{"anyOf":[{"additionalProperties":{"type":"number"},"propertyNames":{"$ref":"#/components/schemas/CEEType"},"type":"object"},{"type":"null"}],"title":"Beneficiary Pricing By Bracket","description":"Price passed on to the client in €/MWh cumac; None passes the whole price on"},"fiche_cee_config":{"anyOf":[{"items":{"$ref":"#/components/schemas/CEESubsidyConfig-Output"},"type":"array"},{"type":"null"}],"title":"Fiche Cee Config","description":"Fiche-specific rules of the contract; None keeps the public ones"},"payment_delay_days":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Payment Delay Days","description":"Usual delay between validation for payment and payment"},"cee_fournisseur_id":{"type":"string","format":"uuid","title":"Cee Fournisseur Id"}},"type":"object","required":["starts_on","cee_fournisseur_id"],"title":"CEEContractResponse","description":"Schema for a contract response."},"CEEContractUpdate":{"properties":{"starts_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Starts On"},"ends_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Ends On"},"committed_kwhc_precarite":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Committed Kwhc Precarite"},"committed_kwhc_classique":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Committed Kwhc Classique"},"cumac_pricing_by_bracket":{"anyOf":[{"additionalProperties":{"type":"number"},"propertyNames":{"$ref":"#/components/schemas/CEEType"},"type":"object"},{"type":"null"}],"title":"Cumac Pricing By Bracket"},"cumac_pricing_by_volume":{"anyOf":[{"items":{"$ref":"#/components/schemas/CumacVolumeTranche"},"type":"array"},{"type":"null"}],"title":"Cumac Pricing By Volume"},"beneficiary_pricing_by_bracket":{"anyOf":[{"additionalProperties":{"type":"number"},"propertyNames":{"$ref":"#/components/schemas/CEEType"},"type":"object"},{"type":"null"}],"title":"Beneficiary Pricing By Bracket"},"fiche_cee_config":{"anyOf":[{"items":{"$ref":"#/components/schemas/CEESubsidyConfig-Input"},"type":"array"},{"type":"null"}],"title":"Fiche Cee Config"},"payment_delay_days":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Payment Delay Days"}},"type":"object","title":"CEEContractUpdate","description":"Schema for updating a contract; an explicit null clears the field."},"CEEContractVolume":{"properties":{"contract_id":{"type":"string","format":"uuid","title":"Contract Id"},"kwhc_precarite":{"type":"number","title":"Kwhc Precarite","default":0},"kwhc_classique":{"type":"number","title":"Kwhc Classique","default":0},"dossier_count":{"type":"integer","title":"Dossier Count","default":0},"dossiers_without_volume":{"type":"integer","title":"Dossiers Without Volume","description":"Dossiers counted whose CEE subsidies lack a kWh cumac","default":0}},"type":"object","required":["contract_id"],"title":"CEEContractVolume","description":"Volume a contract reached through the signed quotes dated within it."},"CEEFournisseurCreate":{"properties":{"company_name":{"type":"string","title":"Company Name","description":"CEE supplier company name (raison sociale)"},"siret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Siret","description":"CEE supplier SIRET number"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address","description":"CEE supplier address"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"CEE supplier phone number"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"CEE supplier email"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website","description":"CEE supplier website"},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Url","description":"CEE supplier logo URL"},"supplier_type":{"anyOf":[{"$ref":"#/components/schemas/FournisseurType"},{"type":"null"}],"description":"Type of supplier relationship (direct or indirect)"},"signature_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signature Url","description":"CEE supplier signature URL"},"signatory_first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signatory First Name","description":"First name of the signatory for attestations"},"signatory_last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signatory Last Name","description":"Last name of the signatory for attestations"},"signatory_role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signatory Role","description":"Role/function of the signatory for attestations"},"rai_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rai Text","description":"Custom RAI text for quotes/invoices"},"should_round_amount":{"type":"boolean","title":"Should Round Amount","default":false},"sizing_note_min_coverage":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Sizing Note Min Coverage","description":"Coverage floor (%) this supplier requires on the sizing note of an air/water heat pump; unset, the NF DTU 65.16 floor of the inertia"},"is_default":{"type":"boolean","title":"Is Default","default":false},"cumac_pricing_by_bracket":{"anyOf":[{"additionalProperties":{"type":"number"},"propertyNames":{"$ref":"#/components/schemas/CEEType"},"type":"object"},{"type":"null"}],"title":"Cumac Pricing By Bracket"},"cumac_pricing_by_volume":{"anyOf":[{"items":{"$ref":"#/components/schemas/CumacVolumeTranche"},"type":"array"},{"type":"null"}],"title":"Cumac Pricing By Volume"},"uses_mandataire":{"type":"boolean","title":"Uses Mandataire","default":false},"fiche_cee_config":{"anyOf":[{"items":{"$ref":"#/components/schemas/CEESubsidyConfig-Input"},"type":"array"},{"type":"null"}],"title":"Fiche Cee Config"}},"type":"object","required":["company_name"],"title":"CEEFournisseurCreate","description":"Schema for creating a new CEE Fournisseur."},"CEEFournisseurCreateFromTemplate":{"properties":{"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"siret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Siret","description":"CEE supplier SIRET number"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address","description":"CEE supplier address"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"CEE supplier phone number"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"CEE supplier email"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website","description":"CEE supplier website"},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Url","description":"CEE supplier logo URL"},"supplier_type":{"anyOf":[{"$ref":"#/components/schemas/FournisseurType"},{"type":"null"}],"description":"Type of supplier relationship (direct or indirect)"},"signature_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signature Url","description":"CEE supplier signature URL"},"signatory_first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signatory First Name","description":"First name of the signatory for attestations"},"signatory_last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signatory Last Name","description":"Last name of the signatory for attestations"},"signatory_role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signatory Role","description":"Role/function of the signatory for attestations"},"rai_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rai Text","description":"Custom RAI text for quotes/invoices"},"should_round_amount":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Round Amount"},"sizing_note_min_coverage":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Sizing Note Min Coverage","description":"Coverage floor (%) this supplier requires on the sizing note of an air/water heat pump; unset, the NF DTU 65.16 floor of the inertia"},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Default"},"cumac_pricing_by_bracket":{"anyOf":[{"additionalProperties":{"type":"number"},"propertyNames":{"$ref":"#/components/schemas/CEEType"},"type":"object"},{"type":"null"}],"title":"Cumac Pricing By Bracket"},"cumac_pricing_by_volume":{"anyOf":[{"items":{"$ref":"#/components/schemas/CumacVolumeTranche"},"type":"array"},{"type":"null"}],"title":"Cumac Pricing By Volume"},"uses_mandataire":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Uses Mandataire"},"fiche_cee_config":{"anyOf":[{"items":{"$ref":"#/components/schemas/CEESubsidyConfig-Input"},"type":"array"},{"type":"null"}],"title":"Fiche Cee Config"},"reset_fields":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Reset Fields"},"template_id":{"type":"string","format":"uuid","title":"Template Id"}},"type":"object","required":["template_id"],"title":"CEEFournisseurCreateFromTemplate","description":"Payload to instantiate a fournisseur from a template.\n\nEvery fournisseur field is optional and overrides the template value;\ncontract-specific fields (cumac pricing, default flag, mandataire usage)\nare set here since templates do not carry them."},"CEEFournisseurResponse":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"company_name":{"type":"string","title":"Company Name"},"siret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Siret","description":"CEE supplier SIRET number"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address","description":"CEE supplier address"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"CEE supplier phone number"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"CEE supplier email"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website","description":"CEE supplier website"},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Url","description":"CEE supplier logo URL"},"supplier_type":{"anyOf":[{"$ref":"#/components/schemas/FournisseurType"},{"type":"null"}],"description":"Type of supplier relationship (direct or indirect)"},"signature_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signature Url","description":"CEE supplier signature URL"},"signatory_first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signatory First Name","description":"First name of the signatory for attestations"},"signatory_last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signatory Last Name","description":"Last name of the signatory for attestations"},"signatory_role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signatory Role","description":"Role/function of the signatory for attestations"},"rai_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rai Text","description":"Custom RAI text for quotes/invoices"},"should_round_amount":{"type":"boolean","title":"Should Round Amount","default":false},"sizing_note_min_coverage":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Sizing Note Min Coverage","description":"Coverage floor (%) this supplier requires on the sizing note of an air/water heat pump; unset, the NF DTU 65.16 floor of the inertia"},"name":{"type":"string","title":"Name","default":""},"is_default":{"type":"boolean","title":"Is Default","default":false},"cumac_pricing_by_bracket":{"anyOf":[{"additionalProperties":{"type":"number"},"propertyNames":{"$ref":"#/components/schemas/CEEType"},"type":"object"},{"type":"null"}],"title":"Cumac Pricing By Bracket"},"cumac_pricing_by_volume":{"anyOf":[{"items":{"$ref":"#/components/schemas/CumacVolumeTranche"},"type":"array"},{"type":"null"}],"title":"Cumac Pricing By Volume"},"uses_mandataire":{"type":"boolean","title":"Uses Mandataire","default":false},"fiche_cee_config":{"anyOf":[{"items":{"$ref":"#/components/schemas/CEESubsidyConfig-Output"},"type":"array"},{"type":"null"}],"title":"Fiche Cee Config"},"template_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Template Id"},"overridden_fields":{"items":{"type":"string"},"type":"array","title":"Overridden Fields","default":[]},"contracts":{"items":{"$ref":"#/components/schemas/CEEContractResponse"},"type":"array","title":"Contracts","default":[]},"public_pricing":{"anyOf":[{"$ref":"#/components/schemas/CEEPublicPricingResponse"},{"type":"null"}]},"has_price":{"type":"boolean","title":"Has Price","default":false},"signatory_full_name":{"type":"string","title":"Signatory Full Name","description":"Full name of the signatory (first name + last name).","readOnly":true},"siren":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Siren","description":"SIREN number derived from the SIRET (first 9 digits).","readOnly":true}},"type":"object","required":["company_name","signatory_full_name","siren"],"title":"CEEFournisseurResponse","description":"Schema for CEE Fournisseur response."},"CEEFournisseurUpdate":{"properties":{"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"siret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Siret","description":"CEE supplier SIRET number"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address","description":"CEE supplier address"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"CEE supplier phone number"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"CEE supplier email"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website","description":"CEE supplier website"},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Url","description":"CEE supplier logo URL"},"supplier_type":{"anyOf":[{"$ref":"#/components/schemas/FournisseurType"},{"type":"null"}],"description":"Type of supplier relationship (direct or indirect)"},"signature_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signature Url","description":"CEE supplier signature URL"},"signatory_first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signatory First Name","description":"First name of the signatory for attestations"},"signatory_last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signatory Last Name","description":"Last name of the signatory for attestations"},"signatory_role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signatory Role","description":"Role/function of the signatory for attestations"},"rai_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rai Text","description":"Custom RAI text for quotes/invoices"},"should_round_amount":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Round Amount"},"sizing_note_min_coverage":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Sizing Note Min Coverage","description":"Coverage floor (%) this supplier requires on the sizing note of an air/water heat pump; unset, the NF DTU 65.16 floor of the inertia"},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Default"},"cumac_pricing_by_bracket":{"anyOf":[{"additionalProperties":{"type":"number"},"propertyNames":{"$ref":"#/components/schemas/CEEType"},"type":"object"},{"type":"null"}],"title":"Cumac Pricing By Bracket"},"cumac_pricing_by_volume":{"anyOf":[{"items":{"$ref":"#/components/schemas/CumacVolumeTranche"},"type":"array"},{"type":"null"}],"title":"Cumac Pricing By Volume"},"uses_mandataire":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Uses Mandataire"},"fiche_cee_config":{"anyOf":[{"items":{"$ref":"#/components/schemas/CEESubsidyConfig-Input"},"type":"array"},{"type":"null"}],"title":"Fiche Cee Config"},"reset_fields":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Reset Fields"}},"type":"object","title":"CEEFournisseurUpdate","description":"Schema for updating an existing CEE Fournisseur."},"CEEMandataireCreate":{"properties":{"raison_sociale":{"type":"string","title":"Raison Sociale","description":"Raison sociale du mandataire CEE"},"siret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Siret","description":"Numéro SIRET du mandataire CEE"},"adresse":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Input"},{"type":"null"}],"description":"Adresse du mandataire CEE"},"telephone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Telephone","description":"Téléphone du mandataire CEE"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Email du mandataire CEE"},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Url","description":"URL du logo du mandataire CEE"},"signature_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signature Url","description":"URL de la signature du mandataire CEE"},"prenom_signataire":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prenom Signataire","description":"Prénom du signataire du mandataire CEE"},"nom_signataire":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nom Signataire","description":"Nom du signataire du mandataire CEE"},"fonction_signataire":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fonction Signataire","description":"Fonction du signataire du mandataire CEE"}},"type":"object","required":["raison_sociale"],"title":"CEEMandataireCreate","description":"Schema for creating a CEE Mandataire."},"CEEMandataireResponse":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"raison_sociale":{"type":"string","title":"Raison Sociale","description":"Raison sociale du mandataire CEE"},"siret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Siret","description":"Numéro SIRET du mandataire CEE"},"adresse":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Output"},{"type":"null"}],"description":"Adresse du mandataire CEE"},"telephone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Telephone","description":"Téléphone du mandataire CEE"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Email du mandataire CEE"},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Url","description":"URL du logo du mandataire CEE"},"signature_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signature Url","description":"URL de la signature du mandataire CEE"},"prenom_signataire":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prenom Signataire","description":"Prénom du signataire du mandataire CEE"},"nom_signataire":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nom Signataire","description":"Nom du signataire du mandataire CEE"},"fonction_signataire":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fonction Signataire","description":"Fonction du signataire du mandataire CEE"},"signataire_full_name":{"type":"string","title":"Signataire Full Name","description":"Full name of the signatory (first name + last name).","readOnly":true}},"type":"object","required":["raison_sociale","signataire_full_name"],"title":"CEEMandataireResponse","description":"Schema for CEE Mandataire API responses."},"CEEMandataireUpdate":{"properties":{"raison_sociale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Raison Sociale"},"siret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Siret"},"adresse":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Input"},{"type":"null"}]},"telephone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Telephone"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Url"},"signature_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signature Url"},"prenom_signataire":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prenom Signataire"},"nom_signataire":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nom Signataire"},"fonction_signataire":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fonction Signataire"}},"type":"object","title":"CEEMandataireUpdate","description":"Schema for updating a CEE Mandataire. All fields are optional."},"CEEPublicPricingResponse":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"starts_on":{"type":"string","format":"date","title":"Starts On"},"cumac_pricing_by_bracket":{"anyOf":[{"additionalProperties":{"type":"number"},"propertyNames":{"$ref":"#/components/schemas/CEEType"},"type":"object"},{"type":"null"}],"title":"Cumac Pricing By Bracket"},"cumac_pricing_by_volume":{"anyOf":[{"items":{"$ref":"#/components/schemas/CumacVolumeTranche"},"type":"array"},{"type":"null"}],"title":"Cumac Pricing By Volume"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"Where the grid comes from, for the history"},"template_id":{"type":"string","format":"uuid","title":"Template Id"}},"type":"object","required":["starts_on","template_id"],"title":"CEEPublicPricingResponse","description":"Schema for a public tariff version."},"CEESubsidyConfig-Input":{"properties":{"work_type":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"calculator_type":{"type":"string","enum":["item","m2","fenetre","heat","heat_wood","bar_th_101","bar_th_111","bar_th_112","bar_th_113","bar_th_125","bar_th_127","bar_th_137","bar_th_129","bar_th_143","bar_th_148","bar_th_159","bar_th_162","bar_th_171","bar_th_172","bar_en_101","bar_en_102","bar_en_103","bar_en_104","bar_en_105","bar_se_108","bar_th_174"],"title":"Calculator Type","description":"Type of calculator to use"},"origin":{"type":"string","title":"Origin","description":"Origin identifier","default":"Prime CEE"},"with_dhw":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"With Dhw","description":"Usage the config applies to: None for any, True only when the work does the DHW, False only when it heats alone"},"is_covered":{"type":"boolean","title":"Is Covered","description":"Whether the fournisseur buys this fiche","default":true},"upper_bound_by_bracket":{"anyOf":[{"additionalProperties":{"additionalProperties":{"type":"number"},"propertyNames":{"$ref":"#/components/schemas/ZoneClimatiqueType"},"type":"object"},"propertyNames":{"$ref":"#/components/schemas/CEEType"},"type":"object"},{"type":"null"}],"title":"Upper Bound By Bracket","description":"Upper bounds for CEE amounts by tax bracket and climate zone"},"lower_bound_by_bracket":{"anyOf":[{"additionalProperties":{"type":"number"},"propertyNames":{"$ref":"#/components/schemas/CEEType"},"type":"object"},{"type":"null"}],"title":"Lower Bound By Bracket","description":"Lower bounds for CEE amounts by tax bracket"},"coup_de_pouce":{"type":"boolean","title":"Coup De Pouce","description":"Fournisseur is a signatory of the Coup de pouce charter","default":true},"engaged_before":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Engaged Before","description":"Operations engaged from this date on are out of the entry"},"requires_coal_replacement":{"type":"boolean","title":"Requires Coal Replacement","description":"Only applies when the replaced heating system runs on coal (Coup de pouce chauffage bois condition)","default":false},"requires_fossil_replacement":{"type":"boolean","title":"Requires Fossil Replacement","description":"Only applies when the replaced heating system runs on a fossil fuel (Coup de pouce chauffage condition); the entry then replaces the classic prime on the same fiche when higher","default":false},"mwh_cumac_pricing":{"anyOf":[{"additionalProperties":{"additionalProperties":{"type":"number"},"propertyNames":{"$ref":"#/components/schemas/CEEType"},"type":"object"},"type":"object"},{"type":"null"}],"title":"Mwh Cumac Pricing","description":"MWh cumac pricing by tax bracket"},"mwh_cumac_pricing_by_volume":{"anyOf":[{"items":{"$ref":"#/components/schemas/CumacVolumeTranche"},"type":"array"},{"type":"null"}],"title":"Mwh Cumac Pricing By Volume","description":"Fournisseur MWh cumac pricing by volume tranche"},"should_round_amount":{"type":"boolean","title":"Should Round Amount","description":"Whether CEE amounts should be rounded to the nearest euro instead of truncated","default":false}},"type":"object","required":["calculator_type"],"title":"CEESubsidyConfig","description":"Configuration for a specific CEE work type."},"CEESubsidyConfig-Output":{"properties":{"work_type":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"calculator_type":{"type":"string","enum":["item","m2","fenetre","heat","heat_wood","bar_th_101","bar_th_111","bar_th_112","bar_th_113","bar_th_125","bar_th_127","bar_th_137","bar_th_129","bar_th_143","bar_th_148","bar_th_159","bar_th_162","bar_th_171","bar_th_172","bar_en_101","bar_en_102","bar_en_103","bar_en_104","bar_en_105","bar_se_108","bar_th_174"],"title":"Calculator Type","description":"Type of calculator to use"},"origin":{"type":"string","title":"Origin","description":"Origin identifier","default":"Prime CEE"},"with_dhw":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"With Dhw","description":"Usage the config applies to: None for any, True only when the work does the DHW, False only when it heats alone"},"is_covered":{"type":"boolean","title":"Is Covered","description":"Whether the fournisseur buys this fiche","default":true},"upper_bound_by_bracket":{"anyOf":[{"additionalProperties":{"additionalProperties":{"type":"number"},"propertyNames":{"$ref":"#/components/schemas/ZoneClimatiqueType"},"type":"object"},"propertyNames":{"$ref":"#/components/schemas/CEEType"},"type":"object"},{"type":"null"}],"title":"Upper Bound By Bracket","description":"Upper bounds for CEE amounts by tax bracket and climate zone"},"lower_bound_by_bracket":{"anyOf":[{"additionalProperties":{"type":"number"},"propertyNames":{"$ref":"#/components/schemas/CEEType"},"type":"object"},{"type":"null"}],"title":"Lower Bound By Bracket","description":"Lower bounds for CEE amounts by tax bracket"},"coup_de_pouce":{"type":"boolean","title":"Coup De Pouce","description":"Fournisseur is a signatory of the Coup de pouce charter","default":true},"engaged_before":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Engaged Before","description":"Operations engaged from this date on are out of the entry"},"requires_coal_replacement":{"type":"boolean","title":"Requires Coal Replacement","description":"Only applies when the replaced heating system runs on coal (Coup de pouce chauffage bois condition)","default":false},"requires_fossil_replacement":{"type":"boolean","title":"Requires Fossil Replacement","description":"Only applies when the replaced heating system runs on a fossil fuel (Coup de pouce chauffage condition); the entry then replaces the classic prime on the same fiche when higher","default":false},"mwh_cumac_pricing":{"anyOf":[{"additionalProperties":{"additionalProperties":{"type":"number"},"propertyNames":{"$ref":"#/components/schemas/CEEType"},"type":"object"},"type":"object"},{"type":"null"}],"title":"Mwh Cumac Pricing","description":"MWh cumac pricing by tax bracket"},"should_round_amount":{"type":"boolean","title":"Should Round Amount","description":"Whether CEE amounts should be rounded to the nearest euro instead of truncated","default":false}},"type":"object","required":["calculator_type"],"title":"CEESubsidyConfig","description":"Configuration for a specific CEE work type."},"CEEType":{"type":"integer","enum":[1,2,3,4],"title":"CEEType"},"CalculEchantillonnage":{"type":"integer","enum":[1,2,3],"title":"CalculEchantillonnage"},"CalendarPushOutcome":{"type":"string","enum":["pushed","no_calendar","needs_reconnect"],"title":"CalendarPushOutcome","description":"Whether an event pushed for a user will reach their calendar, known on save."},"CalendlyBookingRequest":{"properties":{"event_uri":{"type":"string","title":"Event Uri","description":"Calendly scheduled event URI"},"invitee_uri":{"type":"string","title":"Invitee Uri","description":"Calendly invitee URI"}},"type":"object","required":["event_uri","invitee_uri"],"title":"CalendlyBookingRequest","description":"Request body for processing a Calendly booking."},"CalendlyServicePublicRead":{"properties":{"calendly_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Calendly Url"}},"type":"object","title":"CalendlyServicePublicRead","description":"Public response — only the URL, no token info."},"CalibrationAlert":{"properties":{"type_energie":{"$ref":"#/components/schemas/TypeEnergie"},"kind":{"$ref":"#/components/schemas/CalibrationAlertKind"},"estimate":{"type":"number","title":"Estimate"},"uncovered":{"type":"number","title":"Uncovered"}},"type":"object","required":["type_energie","kind","estimate","uncovered"],"title":"CalibrationAlert","description":"A bill short of its estimate (€/year): the unmodeled uses go unpaid first; one\nwhose consumption is a sliver of the simulated one; or one far above it."},"CalibrationAlertKind":{"type":"string","enum":["bill_below_estimate","consumption_far_below_simulation","bill_far_above_estimate"],"title":"CalibrationAlertKind"},"CallOutcome":{"type":"string","enum":["no_answer","abandoned","favorable"],"title":"CallOutcome"},"CallReportNextTask":{"properties":{"kind":{"type":"string","enum":["call","schedule_appointment"],"title":"Kind"},"due_on":{"type":"string","format":"date","title":"Due On"},"assignee_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Assignee User Id"}},"type":"object","required":["kind","due_on"],"title":"CallReportNextTask"},"CandidateEval":{"properties":{"catalog_item_id":{"type":"string","format":"uuid","title":"Catalog Item Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"rank":{"type":"integer","title":"Rank"},"price_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht"},"met":{"items":{"type":"string"},"type":"array","title":"Met","description":"Wishes the candidate meets"},"unmet":{"items":{"type":"string"},"type":"array","title":"Unmet"}},"type":"object","required":["catalog_item_id","title","rank","price_ht","met","unmet"],"title":"CandidateEval"},"CaptorType":{"type":"string","enum":["horizontal","vertical","flat_plate","evacuated_tube"],"title":"CaptorType","description":"Type of captor for heat pumps and solar thermal systems."},"CaracteristiqueGenerale":{"properties":{"adresse":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Output"},{"type":"null"}],"description":"adresse du bien","export_to_dpe":false},"origin":{"$ref":"#/components/schemas/OriginType","description":"Origine du DPE","default":"unknown","export_to_dpe":false},"bdnb_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bdnb Id","description":"Identifiant BDNB","export_to_dpe":false},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Output"},{"type":"null"}],"description":"Polygon representing the building footprint","export_to_dpe":false},"t_cons":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Cons","description":"Température de consigne de chauffage du dossier (°C), θint des déperditions NF EN 12831.","export_to_dpe":false},"date_creation_projet":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date Creation Projet","description":"Création du projet, qui fixe la version des déperditions.","export_to_dpe":false},"zone_littorale":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Zone Littorale","description":"Site en zone littorale au sens du tableau D.1b de la NF P 52-612/CN, déclaré par l'installateur.","export_to_dpe":false},"annee_construction":{"anyOf":[{"type":"string","pattern":"[0-9]{4}"},{"type":"null"}],"title":"Annee Construction","description":"Année de construction","examples":["1945"],"__compute_if_none":"compute_annee_construction"},"enum_periode_construction_id":{"$ref":"#/components/schemas/PeriodeConstruction","description":"Période de construction","examples":[1],"ge":1,"le":10},"enum_methode_application_dpe_log_id":{"$ref":"#/components/schemas/MethodeApplicationDpeLog","description":"Méthode d'application du DPE logement","examples":[1]},"enum_calcul_echantillonnage_id":{"anyOf":[{"$ref":"#/components/schemas/CalculEchantillonnage"},{"type":"null"}],"description":"Type d'échantillonnage","examples":[1]},"surface_habitable_logement":{"type":"number","title":"Surface Habitable Logement","description":"Surface habitable du logement (m2)","examples":[100.0],"gt":0},"nombre_niveau_immeuble":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Nombre Niveau Immeuble","description":"Nombre de niveaux total de l'immeuble","examples":[1]},"nombre_niveau_logement":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Nombre Niveau Logement","description":"Nombre de niveaux du logement (maison ou appartement)","examples":[1]},"hsp":{"type":"number","title":"Hsp","description":"Hauteur sous plafond moyenne du logement/de l'immeuble","examples":[2.5],"gt":0},"surface_habitable_immeuble":{"anyOf":[{"type":"number","gt":0},{"type":"null"}],"title":"Surface Habitable Immeuble","description":"Surface habitable totale de l'immeuble dans le cas d'un DPE appartement avec usage collectif ou d'un DPE immeuble (m2).","examples":[100.0]},"surface_tertiaire_immeuble":{"anyOf":[{"type":"number","gt":0},{"type":"null"}],"title":"Surface Tertiaire Immeuble","description":"Surface tertiaire totale de l'immeuble dans le cas d'un DPE immeuble. La surface tertiaire est prise en compte pour le calcul des besoins dans le cas d'une installation collective mixte tertiaire/residentiel (m2)","examples":[100.0]},"nombre_appartement":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Nombre Appartement","description":"Nombre d'appartements de l'immeuble dans le cas d'un DPE appartement avec usage collectif ou d'un DPE immeuble.","examples":[1]},"appartement_non_visite":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Appartement Non Visite","description":"Est ce que l'appartement est un appartement non visité dans le cas d'un DPE appartement généré à partir d'un immeuble. (application de système individuel les moins performants de l'immeuble)","examples":[false]},"enum_scenario_id":{"anyOf":[{"$ref":"#/components/schemas/ScenarioId"},{"type":"null"}],"description":"Indique le type de scénario de rénovation","examples":[1]},"enum_etape_id":{"anyOf":[{"$ref":"#/components/schemas/Etape"},{"type":"null"}],"description":"Indique l'étape de rénovation au sein d'un scénario","examples":[1]},"num_rooms":{"anyOf":[{"type":"integer","maximum":100.0,"minimum":1.0},{"type":"null"}],"title":"Num Rooms","description":"Nombre de pièces principales","examples":[3]},"version_logiciel":{"anyOf":[{"type":"string","enum":["liciel","liciel-v4","liciel-v5","windpe","windpe-v3","caprenov","pleiades","argos","dpewin","dpewin-v5"]},{"type":"null"}],"title":"Version Logiciel","description":"Version du logiciel DPE"},"date_etablissement_dpe_or_audit":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date Etablissement Dpe Or Audit","description":"Date d'établissement du DPE ou de l'audit source","export_to_dpe":false},"numero_dpe_audit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Numero Dpe Audit","description":"Audit/DPE numéro d'identification de l'ADEME"},"url_dpe":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url Dpe","description":"URL for downloading the DPE XML","export_to_dpe":false},"type_accomodation":{"$ref":"#/components/schemas/AccomodationType","readOnly":true}},"type":"object","required":["enum_periode_construction_id","enum_methode_application_dpe_log_id","surface_habitable_logement","hsp","type_accomodation"],"title":"CaracteristiqueGenerale"},"Carottage-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]}},"type":"object","title":"Carottage","description":"Carottage positionné sur le cadastre (position en asset marker)."},"Carottage-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Output"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Output"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]}},"type":"object","title":"Carottage","description":"Carottage positionné sur le cadastre (position en asset marker)."},"CascadeRole":{"type":"string","enum":["pilote","suiveuse","pack"],"title":"CascadeRole","description":"Place of a PAC in a cascade; no role means it always runs alone."},"CatalogArticleContentRow":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"code_commercial":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Commercial"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/ItemType-Output"},{"type":"null"}]},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}]},"cout_achat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Achat"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"public_price_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Public Price Ht"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"ref_fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref Fournisseur"},"marque":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque"},"fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fournisseur"},"supplier_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supplier Id"},"supply_mode":{"anyOf":[{"$ref":"#/components/schemas/ArticleSupplyMode"},{"type":"null"}]},"purchase_multiple":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Purchase Multiple"},"title":{"type":"string","title":"Title"},"catalog_id":{"type":"string","format":"uuid","title":"Catalog Id"},"disabled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Disabled At"},"quantity":{"type":"number","title":"Quantity","default":1.0},"is_optional":{"type":"boolean","title":"Is Optional","default":false},"is_quantity_linked":{"type":"boolean","title":"Is Quantity Linked","default":true},"is_visible_on_quote":{"type":"boolean","title":"Is Visible On Quote","default":false},"margin_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Margin Rate"},"default_margin_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Default Margin Rate"},"item_price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Item Price Ht Per Unit"},"item_id":{"type":"string","format":"uuid","title":"Item Id"}},"type":"object","required":["title","catalog_id","item_id"],"title":"CatalogArticleContentRow","description":"Article row for catalog content response, includes item_id for grouping."},"CatalogArticleCreate":{"properties":{"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"code_commercial":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Commercial"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/argile__engine__dpe__models__catalog_article__ItemType"},{"type":"null"}]},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}]},"cout_achat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Achat"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"public_price_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Public Price Ht"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"ref_fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref Fournisseur"},"marque":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque"},"fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fournisseur"},"supplier_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supplier Id"},"supply_mode":{"anyOf":[{"$ref":"#/components/schemas/ArticleSupplyMode"},{"type":"null"}]},"purchase_multiple":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Purchase Multiple"},"title":{"type":"string","title":"Title"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"quantity":{"type":"number","title":"Quantity","default":1.0},"is_optional":{"type":"boolean","title":"Is Optional","default":false}},"type":"object","required":["title"],"title":"CatalogArticleCreate","description":"Create an article and link it to an item with a quantity."},"CatalogArticleFacets":{"properties":{"marques":{"items":{"type":"string"},"type":"array","title":"Marques"},"supplier_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Supplier Ids"}},"type":"object","required":["marques","supplier_ids"],"title":"CatalogArticleFacets","description":"Values a catalog's article base can be filtered on."},"CatalogArticleRead":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"code_commercial":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Commercial"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/ItemType-Output"},{"type":"null"}]},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}]},"cout_achat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Achat"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"public_price_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Public Price Ht"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"ref_fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref Fournisseur"},"marque":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque"},"fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fournisseur"},"supplier_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supplier Id"},"supply_mode":{"anyOf":[{"$ref":"#/components/schemas/ArticleSupplyMode"},{"type":"null"}]},"purchase_multiple":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Purchase Multiple"},"title":{"type":"string","title":"Title"},"catalog_id":{"type":"string","format":"uuid","title":"Catalog Id"},"disabled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Disabled At"}},"type":"object","required":["title","catalog_id"],"title":"CatalogArticleRead","description":"Schema for reading a catalog article."},"CatalogArticleStandaloneCreate":{"properties":{"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"code_commercial":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Commercial"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/argile__engine__dpe__models__catalog_article__ItemType"},{"type":"null"}]},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}]},"cout_achat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Achat"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"public_price_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Public Price Ht"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"ref_fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref Fournisseur"},"marque":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque"},"fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fournisseur"},"supplier_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supplier Id"},"supply_mode":{"anyOf":[{"$ref":"#/components/schemas/ArticleSupplyMode"},{"type":"null"}]},"purchase_multiple":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Purchase Multiple"},"title":{"type":"string","title":"Title"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"}},"type":"object","required":["title"],"title":"CatalogArticleStandaloneCreate","description":"Create an article in a catalog's base, without linking it to an item.\n\n`id` is optional so the front can pre-generate a UUID for optimistic creates."},"CatalogArticleStandaloneUpdate":{"properties":{"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"code_commercial":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Commercial"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/argile__engine__dpe__models__catalog_article__ItemType"},{"type":"null"}]},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}]},"cout_achat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Achat"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"public_price_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Public Price Ht"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"ref_fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref Fournisseur"},"marque":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque"},"fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fournisseur"},"supplier_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supplier Id"},"supply_mode":{"anyOf":[{"$ref":"#/components/schemas/ArticleSupplyMode"},{"type":"null"}]},"purchase_multiple":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Purchase Multiple"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"disabled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Disabled At"}},"type":"object","title":"CatalogArticleStandaloneUpdate","description":"Update an article's properties (catalog-level, no quantity).\n\nEdits propagate to all items linked to the article."},"CatalogArticleUpdate":{"properties":{"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"code_commercial":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Commercial"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/argile__engine__dpe__models__catalog_article__ItemType"},{"type":"null"}]},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}]},"cout_achat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Achat"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"public_price_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Public Price Ht"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"ref_fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref Fournisseur"},"marque":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque"},"fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fournisseur"},"supplier_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supplier Id"},"supply_mode":{"anyOf":[{"$ref":"#/components/schemas/ArticleSupplyMode"},{"type":"null"}]},"purchase_multiple":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Purchase Multiple"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"disabled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Disabled At"},"quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quantity"},"is_optional":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Optional"},"is_quantity_linked":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Quantity Linked"},"is_visible_on_quote":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Visible On Quote"},"margin_rate":{"anyOf":[{"type":"number","exclusiveMinimum":-100.0},{"type":"null"}],"title":"Margin Rate"}},"type":"object","title":"CatalogArticleUpdate","description":"Update an item-linked article's properties and optionally its link."},"CatalogArticleWithQuantity":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"code_commercial":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Commercial"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/ItemType-Output"},{"type":"null"}]},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}]},"cout_achat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Achat"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"public_price_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Public Price Ht"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"ref_fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref Fournisseur"},"marque":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque"},"fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fournisseur"},"supplier_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supplier Id"},"supply_mode":{"anyOf":[{"$ref":"#/components/schemas/ArticleSupplyMode"},{"type":"null"}]},"purchase_multiple":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Purchase Multiple"},"title":{"type":"string","title":"Title"},"catalog_id":{"type":"string","format":"uuid","title":"Catalog Id"},"disabled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Disabled At"},"quantity":{"type":"number","title":"Quantity","default":1.0},"is_optional":{"type":"boolean","title":"Is Optional","default":false},"is_quantity_linked":{"type":"boolean","title":"Is Quantity Linked","default":true},"is_visible_on_quote":{"type":"boolean","title":"Is Visible On Quote","default":false},"margin_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Margin Rate"},"default_margin_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Default Margin Rate"},"item_price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Item Price Ht Per Unit"}},"type":"object","required":["title","catalog_id"],"title":"CatalogArticleWithQuantity","description":"Article read schema enriched with the join table's quantity and flags."},"CatalogArticleWithUsage":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"code_commercial":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Commercial"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/ItemType-Output"},{"type":"null"}]},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}]},"cout_achat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Achat"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"public_price_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Public Price Ht"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"ref_fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref Fournisseur"},"marque":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque"},"fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fournisseur"},"supplier_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supplier Id"},"supply_mode":{"anyOf":[{"$ref":"#/components/schemas/ArticleSupplyMode"},{"type":"null"}]},"purchase_multiple":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Purchase Multiple"},"title":{"type":"string","title":"Title"},"catalog_id":{"type":"string","format":"uuid","title":"Catalog Id"},"disabled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Disabled At"},"usage_count":{"type":"integer","title":"Usage Count","default":0}},"type":"object","required":["title","catalog_id"],"title":"CatalogArticleWithUsage","description":"Article read schema enriched with the count of items linking to it."},"CatalogBranchAssignment":{"properties":{"branch_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Branch Ids"}},"additionalProperties":false,"type":"object","title":"CatalogBranchAssignment","description":"Schema for assigning catalogs to branches or vice versa."},"CatalogCheck":{"properties":{"status":{"$ref":"#/components/schemas/CatalogCheckStatus"},"count":{"type":"integer","title":"Count"},"min_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Value"},"max_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Value"},"max_splits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Splits"},"item_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Item Ids","default":[]},"via_article_item_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Via Article Item Ids","default":[]},"item_groups":{"items":{"items":{"type":"string","format":"uuid"},"type":"array"},"type":"array","title":"Item Groups","default":[]},"key":{"$ref":"#/components/schemas/CatalogCheckKey"}},"type":"object","required":["status","count","key"],"title":"CatalogCheck","description":"A check's result under the key it was registered with."},"CatalogCheckKey":{"type":"string","enum":["outdoor_units","cooling","monosplit","multisplit","indoor_mural","indoor_console","indoor_au_sol","indoor_cassette","indoor_plafond","indoor_gainable","plenum","supply_outlet","return_grille","duct","heating_only","dhw_built_in_tank","dhw_remote_tank","regime_low","regime_medium","regime_high","bizone","split","monobloc","missing_power","missing_architecture","missing_form","missing_temperature_class","not_commercialised","labour","missing_reference","outdoor_without_compatibility","outdoor_without_compatible_head","indoor_without_compatibility","untagged_built_in_tank","default_equipment","power_range","peak_power_range","volume_range","resistance_range","uw_range","combustible_granules","combustible_buches","combustible_plaquettes","inverter","singular_points","missing_volume","missing_resistance","missing_uw","missing_combustible","missing_panel_count","duplicate_items"],"title":"CatalogCheckKey","description":"What a work type's selection can be asked for, checked against a catalog."},"CatalogCheckStatus":{"type":"string","enum":["ok","warning","missing"],"title":"CatalogCheckStatus"},"CatalogCompatibilityRead":{"properties":{"reference":{"type":"string","title":"Reference"},"compatible_reference":{"type":"string","title":"Compatible Reference"},"condition":{"anyOf":[{"$ref":"#/components/schemas/CompatibilityCondition"},{"type":"null"}]},"kind":{"$ref":"#/components/schemas/CompatibilityKind","default":"COMPATIBLE"}},"type":"object","required":["reference","compatible_reference"],"title":"CatalogCompatibilityRead"},"CatalogCompatibilityWrite":{"properties":{"reference":{"type":"string","title":"Reference"},"compatible_reference":{"type":"string","title":"Compatible Reference"},"condition":{"anyOf":[{"$ref":"#/components/schemas/CompatibilityCondition"},{"type":"null"}]},"kind":{"$ref":"#/components/schemas/CompatibilityKind","default":"COMPATIBLE"}},"type":"object","required":["reference","compatible_reference"],"title":"CatalogCompatibilityWrite"},"CatalogContentResponse":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"name":{"type":"string","title":"Name","description":"Name of the catalog","examples":["Default Catalog","Premium Services"]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description of the catalog","examples":["Standard catalog for all basic services"]},"company_id":{"type":"string","format":"uuid","title":"Company Id"},"version":{"type":"integer","title":"Version","default":0},"branch_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Branch Ids"},"items":{"items":{"$ref":"#/components/schemas/CatalogItemRead"},"type":"array","title":"Items"},"articles":{"items":{"$ref":"#/components/schemas/CatalogArticleContentRow"},"type":"array","title":"Articles","default":[]},"compatibilities":{"items":{"$ref":"#/components/schemas/CatalogCompatibilityRead"},"type":"array","title":"Compatibilities","default":[]}},"type":"object","required":["name","company_id","items"],"title":"CatalogContentResponse","description":"The catalog content: items and articles as flat lists, read in a few queries\nwhatever the catalog's size."},"CatalogCreate":{"properties":{"name":{"type":"string","title":"Name","description":"Name of the catalog","examples":["Default Catalog","Premium Services"]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description of the catalog","examples":["Standard catalog for all basic services"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"company_id":{"type":"string","format":"uuid","title":"Company Id"}},"additionalProperties":false,"type":"object","required":["name","company_id"],"title":"CatalogCreate"},"CatalogDefault":{"properties":{"type":{"type":"string","const":"catalog_default","title":"Type","default":"catalog_default"}},"additionalProperties":false,"type":"object","title":"CatalogDefault","description":"The item's own quantity: its `quantity_dependency`, else `default_quantity`."},"CatalogExtractionRequest":{"properties":{"file_base64":{"type":"string","title":"File Base64","description":"Base64-encoded PDF file content"},"mime_type":{"type":"string","title":"Mime Type","description":"MIME type of the file (e.g. application/pdf)"}},"type":"object","required":["file_base64","mime_type"],"title":"CatalogExtractionRequest"},"CatalogExtractionStatusResponse":{"properties":{"status":{"type":"string","title":"Status"},"items":{"anyOf":[{"items":{"$ref":"#/components/schemas/ExtractedCatalogItem"},"type":"array"},{"type":"null"}],"title":"Items"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["status"],"title":"CatalogExtractionStatusResponse"},"CatalogItem":{"properties":{"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At","description":"Date of deletion","examples":["2021-01-01T00:00:00"]},"version":{"type":"integer","title":"Version","description":"Version of the object","default":1,"examples":[1]},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"cout_achat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Achat"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"default_quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Default Quantity"},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}]},"quantity_dependency":{"anyOf":[{"type":"string","enum":["surface","num_windows","num_splits","num_modules","num_ducted_units","num_served_rooms","duct_length","num_ducted_returns","storage_volume","power_rating","power_total","combustible","ventilation"]},{"type":"null"}],"title":"Quantity Dependency","description":"Type of quantity dependency for the catalog item"},"enum_type_travaux_id":{"$ref":"#/components/schemas/TypeTravaux"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/ItemType-Output"},{"type":"null"}],"description":"Type of catalog item"},"properties":{"anyOf":[{"$ref":"#/components/schemas/TechnicalProperties-Output"},{"type":"null"}],"description":"Technical properties of the catalog item"},"is_template":{"type":"boolean","title":"Is Template","default":false},"is_outdated":{"type":"boolean","title":"Is Outdated","default":false},"position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Position","description":"Ordre de la ligne dans le devis, par geste (null = fin de liste)"},"selling_pricing_mode":{"anyOf":[{"$ref":"#/components/schemas/CatalogItemPricingMode"},{"type":"null"}]},"purchase_pricing_mode":{"anyOf":[{"$ref":"#/components/schemas/CatalogItemPricingMode"},{"type":"null"}]},"catalog_id":{"type":"string","format":"uuid","title":"Catalog Id","description":"ID of the catalog","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"template_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Template Id"},"disabled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Disabled At","description":"Set: kept in the catalog, never picked by Argile any more","examples":["2021-01-01T00:00:00"]},"cost_assumptions":{"anyOf":[{"additionalProperties":{"anyOf":[{"type":"number"},{"type":"string"}]},"type":"object"},{"type":"null"}],"title":"Cost Assumptions","description":"Per fact, what the cost estimate assumes instead of its default"},"default_subcontractor_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Default Subcontractor Id"},"default_subcontracting_scope":{"anyOf":[{"$ref":"#/components/schemas/SubcontractingScope"},{"type":"null"}],"description":"What the default subcontractor performs, copied to the quote"}},"type":"object","required":["enum_type_travaux_id","catalog_id"],"title":"CatalogItem","description":"A product of a catalog, or a template its forks copy; its defaults and links\nare the catalog's rules."},"CatalogItemArticleLink":{"properties":{"quantity":{"type":"number","title":"Quantity","default":1.0},"is_optional":{"type":"boolean","title":"Is Optional","default":false},"is_quantity_linked":{"type":"boolean","title":"Is Quantity Linked","default":true},"is_visible_on_quote":{"type":"boolean","title":"Is Visible On Quote","default":false},"margin_rate":{"anyOf":[{"type":"number","exclusiveMinimum":-100.0},{"type":"null"}],"title":"Margin Rate"}},"type":"object","title":"CatalogItemArticleLink","description":"Attach an existing catalog article to a catalog item."},"CatalogItemCreate":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"cout_achat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Achat"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"default_quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Default Quantity"},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}]},"quantity_dependency":{"anyOf":[{"type":"string","enum":["surface","num_windows","num_splits","num_modules","num_ducted_units","num_served_rooms","duct_length","num_ducted_returns","storage_volume","power_rating","power_total","combustible","ventilation"]},{"type":"null"}],"title":"Quantity Dependency","description":"Type of quantity dependency for the catalog item"},"enum_type_travaux_id":{"$ref":"#/components/schemas/TypeTravaux"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/argile__engine__dpe__models__catalog_article__ItemType"},{"type":"null"}],"description":"Type of catalog item"},"properties":{"anyOf":[{"$ref":"#/components/schemas/TechnicalProperties-Input"},{"type":"null"}],"description":"Technical properties of the catalog item"},"is_template":{"type":"boolean","title":"Is Template","default":false},"is_outdated":{"type":"boolean","title":"Is Outdated","default":false},"position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Position","description":"Ordre de la ligne dans le devis, par geste (null = fin de liste)"},"selling_pricing_mode":{"anyOf":[{"$ref":"#/components/schemas/CatalogItemPricingMode"},{"type":"null"}]},"purchase_pricing_mode":{"anyOf":[{"$ref":"#/components/schemas/CatalogItemPricingMode"},{"type":"null"}]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"is_default":{"type":"boolean","title":"Is Default","default":true},"default_subcontractor_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Default Subcontractor Id"},"default_subcontracting_scope":{"anyOf":[{"$ref":"#/components/schemas/SubcontractingScope"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["enum_type_travaux_id"],"title":"CatalogItemCreate"},"CatalogItemLeadRead":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/ItemType-Output"},{"type":"null"}]},"enum_type_travaux_id":{"type":"integer"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"default_quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Default Quantity"},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}]},"properties":{"anyOf":[{"$ref":"#/components/schemas/TechnicalProperties-Output"},{"type":"null"}]}},"type":"object","required":["enum_type_travaux_id"],"title":"CatalogItemLeadRead","description":"Restricted catalog item view for lead-facing flows.\n\nField whitelist: commercial data (cout_achat, subcontractors) and template\nmetadata must not be exposed to leads."},"CatalogItemPricingMode":{"type":"string","enum":["manual","from_articles"],"title":"CatalogItemPricingMode","description":"Whether a catalog item price is set manually or computed from its articles."},"CatalogItemRead":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"cout_achat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Achat"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"default_quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Default Quantity"},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}]},"quantity_dependency":{"anyOf":[{"type":"string","enum":["surface","num_windows","num_splits","num_modules","num_ducted_units","num_served_rooms","duct_length","num_ducted_returns","storage_volume","power_rating","power_total","combustible","ventilation"]},{"type":"null"}],"title":"Quantity Dependency","description":"Type of quantity dependency for the catalog item"},"enum_type_travaux_id":{"type":"integer"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/ItemType-Output"},{"type":"null"}],"description":"Type of catalog item"},"properties":{"anyOf":[{"$ref":"#/components/schemas/TechnicalProperties-Output"},{"type":"null"}],"description":"Technical properties of the catalog item"},"is_template":{"type":"boolean","title":"Is Template","default":false},"is_outdated":{"type":"boolean","title":"Is Outdated","default":false},"position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Position","description":"Ordre de la ligne dans le devis, par geste (null = fin de liste)"},"selling_pricing_mode":{"anyOf":[{"$ref":"#/components/schemas/CatalogItemPricingMode"},{"type":"null"}]},"purchase_pricing_mode":{"anyOf":[{"$ref":"#/components/schemas/CatalogItemPricingMode"},{"type":"null"}]},"catalog_id":{"type":"string","format":"uuid","title":"Catalog Id"},"default_subcontractor_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Default Subcontractor Id"},"default_subcontracting_scope":{"anyOf":[{"$ref":"#/components/schemas/SubcontractingScope"},{"type":"null"}]},"template_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Template Id"},"disabled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Disabled At"},"version":{"type":"integer","title":"Version"},"aap_financed":{"type":"boolean","title":"Aap Financed","description":"Whether an AAP scenario may offer it: false on a heat pump Effy refuses.","readOnly":true}},"type":"object","required":["enum_type_travaux_id","catalog_id","version","aap_financed"],"title":"CatalogItemRead"},"CatalogItemSelected-Input":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"cout_achat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Achat"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"default_quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Default Quantity"},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}]},"quantity_dependency":{"anyOf":[{"type":"string","enum":["surface","num_windows","num_splits","num_modules","num_ducted_units","num_served_rooms","duct_length","num_ducted_returns","storage_volume","power_rating","power_total","combustible","ventilation"]},{"type":"null"}],"title":"Quantity Dependency","description":"Type of quantity dependency for the catalog item"},"enum_type_travaux_id":{"$ref":"#/components/schemas/TypeTravaux"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/argile__engine__dpe__models__catalog_article__ItemType"},{"type":"null"}],"description":"Type of catalog item"},"properties":{"anyOf":[{"$ref":"#/components/schemas/TechnicalProperties-Input"},{"type":"null"}],"description":"Technical properties of the catalog item"},"is_template":{"type":"boolean","title":"Is Template","default":false},"is_outdated":{"type":"boolean","title":"Is Outdated","default":false},"position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Position","description":"Ordre de la ligne dans le devis, par geste (null = fin de liste)"},"selling_pricing_mode":{"anyOf":[{"$ref":"#/components/schemas/CatalogItemPricingMode"},{"type":"null"}]},"purchase_pricing_mode":{"anyOf":[{"$ref":"#/components/schemas/CatalogItemPricingMode"},{"type":"null"}]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"catalog_item_id":{"type":"string","format":"uuid","title":"Catalog Item Id","description":"Référence à l'item original en DB"},"is_default":{"type":"boolean","title":"Is Default","default":true},"quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quantity"},"modifier":{"anyOf":[{"$ref":"#/components/schemas/WindowConfiguration"},{"type":"null"}]},"cascade_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cascade Group Id","description":"Stable id shared by all catalog items of one PAC in a cascade "},"cascade_rank":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Cascade Rank","description":"Rang de la PAC dans la cascade : 0 pilote, puis ses suiveuses"},"linked_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linked Object Id","description":"Référence de l'objet physique que cette ligne facture"},"served_unit_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Served Unit Reference","description":"Référence de la gainable à laquelle cet accessoire est rattaché"},"quantity_overridden":{"type":"boolean","title":"Quantity Overridden","description":"Quantity edited by hand: never rewritten by a suggestion","default":false},"articles":{"anyOf":[{"items":{"$ref":"#/components/schemas/QuoteLineArticle-Input"},"type":"array"},{"type":"null"}],"title":"Articles","description":"Articles the line holds, edited in the work config; None follows the catalog item's default composition when the quote is built."},"excluded_free_articles":{"anyOf":[{"items":{"$ref":"#/components/schemas/QuoteLineArticle-Input"},"type":"array"},{"type":"null"}],"title":"Excluded Free Articles","description":"Free purchase lines unchecked in the work config, carried into the quote."},"origin":{"anyOf":[{"$ref":"#/components/schemas/LineOrigin"},{"type":"null"}],"description":"Selection slot or rule behind the line; None when added by hand"}},"type":"object","required":["enum_type_travaux_id","catalog_item_id"],"title":"CatalogItemSelected","description":"Instance d'un CatalogItem sélectionné pour un travail (non persisté en DB).\n\nNote: Similar fields to CatalogItemBase but standalone to avoid circular imports.\nAdds:\n- catalog_item_id: reference to original item in DB\n- quantity: instance-specific quantity (overrides default_quantity)\n- modifier: variant configuration (windows, etc.)"},"CatalogItemSelected-Output":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"cout_achat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Achat"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"default_quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Default Quantity"},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}]},"quantity_dependency":{"anyOf":[{"type":"string","enum":["surface","num_windows","num_splits","num_modules","num_ducted_units","num_served_rooms","duct_length","num_ducted_returns","storage_volume","power_rating","power_total","combustible","ventilation"]},{"type":"null"}],"title":"Quantity Dependency","description":"Type of quantity dependency for the catalog item"},"enum_type_travaux_id":{"$ref":"#/components/schemas/TypeTravaux"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/ItemType-Output"},{"type":"null"}],"description":"Type of catalog item"},"properties":{"anyOf":[{"$ref":"#/components/schemas/TechnicalProperties-Output"},{"type":"null"}],"description":"Technical properties of the catalog item"},"is_template":{"type":"boolean","title":"Is Template","default":false},"is_outdated":{"type":"boolean","title":"Is Outdated","default":false},"position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Position","description":"Ordre de la ligne dans le devis, par geste (null = fin de liste)"},"selling_pricing_mode":{"anyOf":[{"$ref":"#/components/schemas/CatalogItemPricingMode"},{"type":"null"}]},"purchase_pricing_mode":{"anyOf":[{"$ref":"#/components/schemas/CatalogItemPricingMode"},{"type":"null"}]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"catalog_item_id":{"type":"string","format":"uuid","title":"Catalog Item Id","description":"Référence à l'item original en DB"},"is_default":{"type":"boolean","title":"Is Default","default":true},"quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quantity"},"modifier":{"anyOf":[{"$ref":"#/components/schemas/WindowConfiguration"},{"type":"null"}]},"cascade_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cascade Group Id","description":"Stable id shared by all catalog items of one PAC in a cascade "},"cascade_rank":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Cascade Rank","description":"Rang de la PAC dans la cascade : 0 pilote, puis ses suiveuses"},"linked_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Linked Object Id","description":"Référence de l'objet physique que cette ligne facture"},"served_unit_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Served Unit Reference","description":"Référence de la gainable à laquelle cet accessoire est rattaché"},"quantity_overridden":{"type":"boolean","title":"Quantity Overridden","description":"Quantity edited by hand: never rewritten by a suggestion","default":false},"articles":{"anyOf":[{"items":{"$ref":"#/components/schemas/QuoteLineArticle-Output"},"type":"array"},{"type":"null"}],"title":"Articles","description":"Articles the line holds, edited in the work config; None follows the catalog item's default composition when the quote is built."},"excluded_free_articles":{"anyOf":[{"items":{"$ref":"#/components/schemas/QuoteLineArticle-Output"},"type":"array"},{"type":"null"}],"title":"Excluded Free Articles","description":"Free purchase lines unchecked in the work config, carried into the quote."},"origin":{"anyOf":[{"$ref":"#/components/schemas/LineOrigin"},{"type":"null"}],"description":"Selection slot or rule behind the line; None when added by hand"}},"type":"object","required":["enum_type_travaux_id","catalog_item_id"],"title":"CatalogItemSelected","description":"Instance d'un CatalogItem sélectionné pour un travail (non persisté en DB).\n\nNote: Similar fields to CatalogItemBase but standalone to avoid circular imports.\nAdds:\n- catalog_item_id: reference to original item in DB\n- quantity: instance-specific quantity (overrides default_quantity)\n- modifier: variant configuration (windows, etc.)"},"CatalogItemUpdate":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"cout_achat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Achat"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"default_quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Default Quantity"},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}]},"quantity_dependency":{"anyOf":[{"type":"string","enum":["surface","num_windows","num_splits","num_modules","num_ducted_units","num_served_rooms","duct_length","num_ducted_returns","storage_volume","power_rating","power_total","combustible","ventilation"]},{"type":"null"}],"title":"Quantity Dependency","description":"Type of quantity dependency for the catalog item"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"item_type":{"anyOf":[{"$ref":"#/components/schemas/argile__engine__dpe__models__catalog_article__ItemType"},{"type":"null"}],"description":"Type of catalog item"},"properties":{"anyOf":[{"$ref":"#/components/schemas/TechnicalProperties-Input"},{"type":"null"}],"description":"Technical properties of the catalog item"},"is_template":{"type":"boolean","title":"Is Template","default":false},"is_outdated":{"type":"boolean","title":"Is Outdated","default":false},"position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Position","description":"Ordre de la ligne dans le devis, par geste (null = fin de liste)"},"selling_pricing_mode":{"anyOf":[{"$ref":"#/components/schemas/CatalogItemPricingMode"},{"type":"null"}]},"purchase_pricing_mode":{"anyOf":[{"$ref":"#/components/schemas/CatalogItemPricingMode"},{"type":"null"}]},"is_default":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Default"},"default_subcontractor_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Default Subcontractor Id"},"default_subcontracting_scope":{"anyOf":[{"$ref":"#/components/schemas/SubcontractingScope"},{"type":"null"}]},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"disabled_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Disabled At"}},"additionalProperties":false,"type":"object","title":"CatalogItemUpdate"},"CatalogLink":{"properties":{"item_id":{"type":"string","format":"uuid","title":"Item Id"},"added_item_id":{"type":"string","format":"uuid","title":"Added Item Id"},"quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quantity","description":"The fixed quantity the rule adds; none when it is the added item's own or a computed one"}},"type":"object","required":["item_id","added_item_id"],"title":"CatalogLink","description":"`added_item_id` comes with `item_id`, as a link rule of the catalog says."},"CatalogPricingRuleRead":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"marque":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque","description":"Brand, any when null"},"famille_tarifaire":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Famille Tarifaire","description":"FAB-DIS discount family (FAM1), any when null"},"gamme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gamme","description":"Product line, any when null"},"discount_rate":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Discount Rate","description":"Percent off the public price, 0 when null"},"margin_rate":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Margin Rate","description":"Percent added to the purchase price; null keeps the public price"},"catalog_id":{"type":"string","format":"uuid","title":"Catalog Id"},"enum_type_travaux_id":{"$ref":"#/components/schemas/TypeTravaux"}},"type":"object","required":["catalog_id","enum_type_travaux_id"],"title":"CatalogPricingRuleRead"},"CatalogPricingRuleWrite":{"properties":{"marque":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque","description":"Brand, any when null"},"famille_tarifaire":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Famille Tarifaire","description":"FAB-DIS discount family (FAM1), any when null"},"gamme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gamme","description":"Product line, any when null"},"discount_rate":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Discount Rate","description":"Percent off the public price, 0 when null"},"margin_rate":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Margin Rate","description":"Percent added to the purchase price; null keeps the public price"}},"type":"object","title":"CatalogPricingRuleWrite","description":"One rule of the set replacing a work type's pricing rules."},"CatalogPricingRulesReplace":{"properties":{"rules":{"items":{"$ref":"#/components/schemas/CatalogPricingRuleWrite"},"type":"array","title":"Rules"}},"type":"object","required":["rules"],"title":"CatalogPricingRulesReplace","description":"The full rule set of a work type; rules left out are deleted."},"CatalogPricingRulesResponse":{"properties":{"rules":{"items":{"$ref":"#/components/schemas/CatalogPricingRuleRead"},"type":"array","title":"Rules"},"repriced_article_count":{"type":"integer","title":"Repriced Article Count","default":0}},"type":"object","required":["rules"],"title":"CatalogPricingRulesResponse"},"CatalogRead":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"name":{"type":"string","title":"Name","description":"Name of the catalog","examples":["Default Catalog","Premium Services"]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description of the catalog","examples":["Standard catalog for all basic services"]},"company_id":{"type":"string","format":"uuid","title":"Company Id"},"version":{"type":"integer","title":"Version","default":0},"branch_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Branch Ids"}},"type":"object","required":["name","company_id"],"title":"CatalogRead"},"CatalogSuggestions":{"properties":{"checks":{"items":{"$ref":"#/components/schemas/CatalogCheck"},"type":"array","title":"Checks"}},"type":"object","required":["checks"],"title":"CatalogSuggestions","description":"What a catalog lets the selection size for one work type; empty when the\nwork type has no check yet."},"CatalogUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"additionalProperties":false,"type":"object","title":"CatalogUpdate"},"CategorieCh":{"type":"string","enum":["PAC air/air","PAC air/eau","PAC eau/eau","PAC eau glycolée/eau","PAC géothermique","PAC hybride","Cuisinière","Cuisinière flamme verte","Insert","Insert flamme verte","Poêle à bûches","Poêle à bûches flamme verte","Poêle à granulés","Poêle à granulés flamme verte","Foyer fermé","Foyer fermé flamme verte","Poêle à bois bouilleur bûche","Poêle à bois bouilleur granulés","Poêle à combustion","Chaudière fioul classique","Chaudière fioul condensation","Chaudière fioul basse température","Générateur à air chaud","Radiateur autonome à gaz","Chaudière gaz classique","Chaudière gaz basse température","Chaudière gaz condensation","Chaudière bois à bûches","Chaudière bois à granulés","Chaudière bois à plaquette","Convecteur électrique","Radiateur électrique","Panneau rayonnant électrique","Autres générateurs électriques à effet joule","Plancher/plafond rayonnant électrique sans régulation","Plancher/plafond rayonnant électrique avec régulation","Radiateur électrique à accumulation","Convecteur électrique à bi-junction","Chaudière électrique","Réseau de chaleur non isolé","Réseau de chaleur isolé","Autres réseaux de chaleur","Chaudière charbon","Chaudière GPL/propane/butane classique","Chaudière GPL/propane/butane standard","Chaudière GPL/propane/butane basse température","Chaudière GPL/propane/butane à condensation","Système divers"],"title":"CategorieCh"},"CategorieEcs":{"type":"string","enum":["CET sur air ambiant","CET sur air extérieur","CET sur air extrait","PAC double service","Poêle à bûches","Poêle à granulés","Chaudière bois plaquette","Chaudière bois granulés","Chaudière bois bûche","Chaudière fioul classique","Chaudière fioul condensation","Chaudière fioul basse température","Chauffe-eau gaz à production instantanée","Chaudière gaz classique","Accumulateur gaz classique","Chaudière gaz basse température","Chaudière gaz condensation","Accumulateur gaz condensation","Chaudière électrique","Chaudière GPL/propane/butane classique","Accumulateur GPL/propane/butane","Chaudière GPL/propane/butane basse température","Chaudière GPL/propane/butane à condensation","Accumulateur GPL/propane/butane à condensation","Chauffe-eau GPL/propane/butane à production instantanée","Horizontale","Verticale inconnue","Verticale Catégorie B ou 2 étoiles","Verticale Catégorie C ou 3 étoiles","Chaudière charbon","Chauffe-eau électrique instantanée","Réseau de chaleur","Réseau de chaleur isolé","Réseau de chaleur non isolé","Système divers"],"title":"CategorieEcs"},"CategorieStockage":{"type":"string","enum":["HORIZONTAL","VERTICAL_CAT_B","VERTICAL_CAT_C","VERTICAL_AUTRES"],"title":"CategorieStockage","description":"Enumération des catégories de stockage d'ECS."},"CategoryType":{"type":"string","enum":["energie","aides","travaux","diagnostic","renovation","autre","aap"],"title":"CategoryType"},"CeeFicheNotBought":{"properties":{"fiche":{"type":"string","title":"Fiche"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"code":{"type":"string","const":"cee_fiche_not_bought","title":"Code","default":"cee_fiche_not_bought"}},"type":"object","required":["fiche"],"title":"CeeFicheNotBought","description":"The fournisseur declared it does not buy this fiche."},"CeeFournisseurComparisonResponse":{"properties":{"has_better_fournisseur":{"type":"boolean","title":"Has Better Fournisseur"},"current_fournisseur":{"anyOf":[{"$ref":"#/components/schemas/CeeFournisseurEntry"},{"type":"null"}]},"best_fournisseur":{"anyOf":[{"$ref":"#/components/schemas/CeeFournisseurEntry"},{"type":"null"}]},"difference":{"type":"number","title":"Difference"}},"type":"object","required":["has_better_fournisseur","difference"],"title":"CeeFournisseurComparisonResponse"},"CeeFournisseurEntry":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"total_cee_amount":{"type":"number","title":"Total Cee Amount"}},"type":"object","required":["id","name","total_cee_amount"],"title":"CeeFournisseurEntry"},"CeeFournisseurStalenessResponse":{"properties":{"is_stale":{"type":"boolean","title":"Is Stale"}},"type":"object","required":["is_stale"],"title":"CeeFournisseurStalenessResponse","description":"Whether re-running automatic attribution would assign another fournisseur."},"CeeHeatPumpDhwOnly":{"properties":{"fiche":{"type":"string","title":"Fiche"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"code":{"type":"string","const":"cee_heat_pump_dhw_only","title":"Code","default":"cee_heat_pump_dhw_only"}},"type":"object","required":["fiche"],"title":"CeeHeatPumpDhwOnly","description":"The PAC feeds no circuit, so it only heats the DHW: §2 of BAR-TH-159, 171\nand 172 exclude a PAC \"utilisée uniquement pour le chauffage de l'ECS\"."},"CeeHeatPumpModelNotApproved":{"properties":{"fiche":{"type":"string","title":"Fiche"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"code":{"type":"string","const":"cee_heat_pump_model_not_approved","title":"Code","default":"cee_heat_pump_model_not_approved"}},"type":"object","required":["fiche"],"title":"CeeHeatPumpModelNotApproved","description":"Coup de pouce PAC: the model holds the agrément at the engagement date\n(art. 3-6 IV 1° b) of the arrêté du 29/12/2014, engaged from 01/09/2026)."},"CeeNonCumulable":{"properties":{"fiche":{"type":"string","title":"Fiche"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"code":{"type":"string","const":"cee_non_cumulable","title":"Code","default":"cee_non_cumulable"},"conflicting_fiche":{"type":"string","title":"Conflicting Fiche"}},"type":"object","required":["fiche","conflicting_fiche"],"title":"CeeNonCumulable","description":"An arrêté forbids cumulating this fiche with one the plan already carries.\n\nThe engine keeps the higher of the two, so the fiche named here is the one\nthat won."},"CeePerformanceBelowMinimum":{"properties":{"fiche":{"type":"string","title":"Fiche"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"code":{"type":"string","const":"cee_performance_below_minimum","title":"Code","default":"cee_performance_below_minimum"},"criterion":{"type":"string","title":"Criterion"},"value":{"type":"number","title":"Value"},"minimum":{"type":"number","title":"Minimum"}},"type":"object","required":["fiche","criterion","value","minimum"],"title":"CeePerformanceBelowMinimum","description":"A declared performance is below the fiche's delivery condition."},"CeePowerAboveLimit":{"properties":{"fiche":{"type":"string","title":"Fiche"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"code":{"type":"string","const":"cee_power_above_limit","title":"Code","default":"cee_power_above_limit"},"power_kw":{"type":"number","title":"Power Kw"},"limit_kw":{"type":"number","title":"Limit Kw"}},"type":"object","required":["fiche","power_kw","limit_kw"],"title":"CeePowerAboveLimit","description":"The fiche caps the PAC nominal power, summed over the units installed."},"CeeRequiresCoalReplacement":{"properties":{"fiche":{"type":"string","title":"Fiche"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"code":{"type":"string","const":"cee_requires_coal_replacement","title":"Code","default":"cee_requires_coal_replacement"}},"type":"object","required":["fiche"],"title":"CeeRequiresCoalReplacement","description":"Coup de pouce bois: only when the replaced heating runs on coal."},"CeeRequiresFossilReplacement":{"properties":{"fiche":{"type":"string","title":"Fiche"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"code":{"type":"string","const":"cee_requires_fossil_replacement","title":"Code","default":"cee_requires_fossil_replacement"}},"type":"object","required":["fiche"],"title":"CeeRequiresFossilReplacement","description":"Coup de pouce chauffage: only when the replaced heating runs on fossil."},"CeeRequiresIndividualHouse":{"properties":{"fiche":{"type":"string","title":"Fiche"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"code":{"type":"string","const":"cee_requires_individual_house","title":"Code","default":"cee_requires_individual_house"}},"type":"object","required":["fiche"],"title":"CeeRequiresIndividualHouse","description":"Coup de pouce chauffage: only for individual houses."},"CeeRequiresLiquidOrGasBackup":{"properties":{"fiche":{"type":"string","title":"Fiche"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"code":{"type":"string","const":"cee_requires_liquid_or_gas_backup","title":"Code","default":"cee_requires_liquid_or_gas_backup"}},"type":"object","required":["fiche"],"title":"CeeRequiresLiquidOrGasBackup","description":"BAR-TH-159: the PAC's appoint burns a liquid or gaseous fuel, so a kept\ncoal or wood boiler in relève voids the fiche."},"CeeRequiresPrimaryResidence":{"properties":{"fiche":{"type":"string","title":"Fiche"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"code":{"type":"string","const":"cee_requires_primary_residence","title":"Code","default":"cee_requires_primary_residence"},"ownership":{"anyOf":[{"$ref":"#/components/schemas/Ownership"},{"type":"null"}],"description":"None when the fiche client states no occupancy status"}},"type":"object","required":["fiche"],"title":"CeeRequiresPrimaryResidence","description":"Coup de pouce chauffage: only for dwellings occupied as primary residence."},"CeeSupersededByOtherWork":{"properties":{"fiche":{"type":"string","title":"Fiche"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"code":{"type":"string","const":"cee_superseded_by_other_work","title":"Code","default":"cee_superseded_by_other_work"}},"type":"object","required":["fiche"],"title":"CeeSupersededByOtherWork","description":"Another geste in the plan takes priority over this fiche."},"CeeVentilationNotHygro":{"properties":{"fiche":{"type":"string","title":"Fiche"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"code":{"type":"string","const":"cee_ventilation_not_hygro","title":"Code","default":"cee_ventilation_not_hygro"}},"type":"object","required":["fiche"],"title":"CeeVentilationNotHygro","description":"The installer declared a non-humidity-controlled fan: BAR-TH-127 only\ncovers hygroréglable systems."},"CeeWindowPerformanceNotMet":{"properties":{"fiche":{"type":"string","title":"Fiche"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"code":{"type":"string","const":"cee_window_performance_not_met","title":"Code","default":"cee_window_performance_not_met"},"uw":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Uw"},"sw":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Sw"}},"type":"object","required":["fiche"],"title":"CeeWindowPerformanceNotMet","description":"The declared Uw/Sw pair satisfies none of BAR-EN-104's combinations."},"Ceil-Input":{"properties":{"type":{"type":"string","const":"ceil","title":"Type","default":"ceil"},"expr":{"oneOf":[{"$ref":"#/components/schemas/Constant"},{"$ref":"#/components/schemas/Driver"},{"$ref":"#/components/schemas/Product-Input"},{"$ref":"#/components/schemas/Ceil-Input"},{"$ref":"#/components/schemas/CatalogDefault"}],"title":"Expr","discriminator":{"propertyName":"type","mapping":{"catalog_default":"#/components/schemas/CatalogDefault","ceil":"#/components/schemas/Ceil-Input","constant":"#/components/schemas/Constant","driver":"#/components/schemas/Driver","product":"#/components/schemas/Product-Input"}}},"margin":{"type":"number","title":"Margin","default":0}},"additionalProperties":false,"type":"object","required":["expr"],"title":"Ceil","description":"Rounded up after adding `margin` (0.1 for 10 % of offcuts)."},"Ceil-Output":{"properties":{"type":{"type":"string","const":"ceil","title":"Type","default":"ceil"},"expr":{"oneOf":[{"$ref":"#/components/schemas/Constant"},{"$ref":"#/components/schemas/Driver"},{"$ref":"#/components/schemas/Product-Output"},{"$ref":"#/components/schemas/Ceil-Output"},{"$ref":"#/components/schemas/CatalogDefault"}],"title":"Expr","discriminator":{"propertyName":"type","mapping":{"catalog_default":"#/components/schemas/CatalogDefault","ceil":"#/components/schemas/Ceil-Output","constant":"#/components/schemas/Constant","driver":"#/components/schemas/Driver","product":"#/components/schemas/Product-Output"}}},"margin":{"type":"number","title":"Margin","default":0}},"additionalProperties":false,"type":"object","required":["expr"],"title":"Ceil","description":"Rounded up after adding `margin` (0.1 for 10 % of offcuts)."},"CeilingType":{"type":"string","enum":["beam","offset","none"],"title":"CeilingType"},"Certification":{"properties":{"type":{"type":"string","enum":["decennale","qualibat","qualisol","qualibois","qualipv","qualipac","chauffage_plus","opqibi","ventilation","rge_certibat","rge_certirenov","rge_etude","qualifelec","elec_plus","afnor","cofrac","mar","qualiforage","qualigaz","nf_habitat"],"title":"Type"},"start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Start At"},"end_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"End At"},"number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Number"}},"type":"object","required":["type"],"title":"Certification"},"CfgInstallationCh":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10,11],"title":"CfgInstallationCh"},"CfgInstallationEcs":{"type":"integer","enum":[1,2,3],"title":"CfgInstallationEcs"},"CfgIsolationLnc":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10,11],"title":"CfgIsolationLnc"},"CircuitBreaker":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"voltage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Voltage","description":"Voltage of the circuit breaker (V)"}},"type":"object","title":"CircuitBreaker"},"CircuitSizing":{"properties":{"reference":{"type":"string","title":"Reference"},"water_temperature":{"type":"number","title":"Water Temperature","description":"Température de départ d'eau du circuit (°C)"},"deperditions":{"type":"number","title":"Deperditions","description":"Déperditions des pièces du circuit après travaux, ou sa part de surface s'il n'en nomme aucune (kW)"},"emitters_power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Emitters Power","description":"None tant qu'aucun radiateur du circuit n'est connu"},"coverage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Coverage"},"coverage_level":{"anyOf":[{"$ref":"#/components/schemas/CoverageLevel"},{"type":"null"}]}},"type":"object","required":["reference","water_temperature","deperditions","emitters_power","coverage","coverage_level"],"title":"CircuitSizing"},"ClasseAltitudeEnum":{"type":"integer","enum":[1,2,3],"title":"ClasseAltitudeEnum"},"ClasseInertie":{"type":"integer","enum":[1,2,3,4],"title":"ClasseInertie"},"ClasseRegulateurPac":{"type":"string","enum":["I","II","III","IV","V","VI","VII","VIII"],"title":"ClasseRegulateurPac","description":"Classe I    + 1 point       Thermostat d'ambiance marche/arrêt (tout ou rien).\nClasse II   + 2 points      Régulation en fonction de la température extérieure avec\n   compensation, pour une utilisation avec les dispositifs de chauffage modulant.\nClasse III  + 1,5 points    Régulateur avec sonde extérieure et compensation, pour\n   une utilisation avec les dispositifs de chauffage dits tout ou rien.\nClasse IV   + 2 points      Thermostat d'ambiance tout ou rien qui optimise les périodes\n   d'arrêt de la chaudière.\nClasse V    + 3 points      Thermostat d'ambiance modulant.\nClasse VI   + 4 points      Régulation selon la température extérieure et avec une sonde\n   d'ambiance, utilisée avec une chaudière modulante.\nClasse VII  + 3,5 points    Régulation d'après la température extérieure et avec\n   sonde d'ambiance, pour une utilisation avec une chaudière non modulante.\nClasse VII  + 5 points      Régulation multi-zones avec des sondes de température,\n    couplée à une chaudière modulante."},"Climatisation-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"reference_heat_generator":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Heat Generator","description":"Reference of the related heating generator.","examples":["heat-pump-123"]},"surface_clim":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Clim","description":"Surface climatisée : si le logement n'est pas climatisé dans son ensemble la surface climatisée peut être inférieure à la surface totale du logement. Dans le cas spécifique d'un DPE immeuble avec installation individuelle échantillonée : saisir la surface climatisée par la totalité des logements représentés par le logement moyen surface_clim = Shmoy*Nblgt. Dans le cas d'un DPE immeuble ou d'un DPE appartement à partir de l'immeuble c'est la surface de l'installation à l'immeuble qu'il faut renseigner","examples":[100.0]},"tv_seer_id":{"anyOf":[{"type":"integer","maximum":6.0,"minimum":1.0},{"type":"null"}],"title":"Tv Seer Id","description":"ID de la ligne de la table utilisée pour le calcul du coefficient d'efficience énergétique du système de climatisation seer","examples":[1]},"eer":{"anyOf":[{"type":"number","maximum":15.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Eer","description":"Coefficient d'efficience énergétique justifié du système de climatisation (SEER * 0,95), quand il est saisi","examples":[6.5]},"nombre_logement_echantillon":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Nombre Logement Echantillon","description":"Nombre de logements représentés par le logement échantillon dans le cas d'un DPE immeuble avec installation de climatisation individuelle. (à ne renseigner que dans ce cas précis)","examples":[100.0]},"enum_methode_calcul_conso_id":{"$ref":"#/components/schemas/MethodeCalculConso","description":"Méthode de calcul de consommation de froid : simple, ou cas particuliers installation collective virtualisée ou installation individuelle échantilonnée (dpe immeuble)","default":1,"examples":[1]},"enum_periode_installation_fr_id":{"$ref":"#/components/schemas/PeriodeInstallationFr","description":"Période d'installation du système de refroidissement","default":3,"examples":[3]},"cle_repartition_clim":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Cle Repartition Clim","description":"Clé de répartition pour passer des consommations bâtiments au consommation logement dans le cas DPE appartement calculé à partir du DPE immeuble UNIQUEMENT. Voir section 8.5.4 du document guide pour plus de détail.","examples":[0.5]},"enum_type_generateur_fr_id":{"$ref":"#/components/schemas/TypeGenerateurFr","description":"Type de générateur de froid","default":3,"examples":[1],"ge":1,"le":23},"enum_type_energie_id":{"anyOf":[{"$ref":"#/components/schemas/TypeEnergie"},{"type":"null"}],"description":"Type d'énergie consommée par le générateur de froid","examples":[1]},"enum_methode_saisie_carac_sys_id":{"$ref":"#/components/schemas/MethodeSaisieCaracSys","description":"Méthode de saisie du seer : lecture de table forfaitaire ou saisie justifiée","default":1,"examples":[1]},"ref_produit_fr":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ref Produit Fr","description":"Référence produit et marque du générateur de froid","examples":["ref_produit_fr"]},"enum_etat_composant_id":{"anyOf":[{"$ref":"#/components/schemas/EtatComposant"},{"type":"null"}],"description":"Indique si le composant a été changé par rapport au logement initial","default":2,"examples":[2]}},"type":"object","title":"Climatisation"},"Climatisation-Output":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/argile__engine__dpe__models__cool__climatisation__DonneeEntree"},"donnee_intermediaire":{"$ref":"#/components/schemas/argile__engine__dpe__models__cool__climatisation__DonneeIntermediaire"}},"type":"object","required":["donnee_entree"],"title":"Climatisation"},"ClimatisationCollection":{"properties":{"climatisation":{"items":{"$ref":"#/components/schemas/Climatisation-Output"},"type":"array","title":"Climatisation"}},"type":"object","title":"ClimatisationCollection"},"ClosureHinge":{"type":"string","enum":["embedded_pintles","strap_hinges_on_frame","adjustable_pintles"],"title":"ClosureHinge"},"ClosureMaterial":{"type":"string","enum":["pvc","alu","wood","wood_alu","steel"],"title":"ClosureMaterial","description":"WindowMaterialEnum values, plus steel"},"ClosureStop":{"type":"string","enum":["none","shutter_dog","marseille_stop"],"title":"ClosureStop"},"ClosureType":{"type":"string","enum":["none","roller_shutter","hinged_shutter","louvered_shutter","jalousie","blind"],"title":"ClosureType"},"ColdSource":{"properties":{"source_type":{"anyOf":[{"$ref":"#/components/schemas/ColdSourceType"},{"type":"null"}],"description":"Type of cold source (geothermal, air, solar)"},"captor_type":{"anyOf":[{"$ref":"#/components/schemas/CaptorType"},{"type":"null"}],"description":"Type of captor (horizontal/vertical for geothermal, flat_plate/evacuated_tube for solar)"},"captor_area":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Captor Area","description":"Captor surface area in m²"}},"type":"object","title":"ColdSource","description":"Cold source configuration for heat pumps (PAC Eau-Eau, etc.)."},"ColdSourceType":{"type":"string","enum":["geothermal","air","solar"],"title":"ColdSourceType","description":"Type of cold source for heat pumps."},"ComblesType":{"type":"string","enum":["isolated","not_isolated","no_combles"],"title":"ComblesType"},"ComfortMetrics":{"properties":{"peak_c":{"type":"number","title":"Peak C"},"hours_over_28":{"type":"integer","title":"Hours Over 28"},"nights_over_26":{"type":"integer","title":"Nights Over 26"},"level":{"type":"string","enum":["excellent","good","medium","insufficient"],"title":"Level"}},"type":"object","required":["peak_c","hours_over_28","nights_over_26","level"],"title":"ComfortMetrics"},"Comment":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"},"data":{"anyOf":[{},{"type":"null"}],"title":"Data"},"assets":{"anyOf":[{"items":{"$ref":"#/components/schemas/Asset"},"type":"array"},{"type":"null"}],"title":"Assets"},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage du commentaire","examples":["PROJET-0001"]}},"type":"object","title":"Comment","description":"A comment object with assets and a reference"},"CommentRead":{"properties":{"content":{"type":"string","title":"Content"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"scenario_id":{"type":"string","format":"uuid","title":"Scenario Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["content","id","scenario_id","user_id","created_at","updated_at"],"title":"CommentRead","description":"Schema for comment response"},"CommercialPlanRead":{"properties":{"blocks":{"anyOf":[{"items":{"$ref":"#/components/schemas/Block-Output"},"type":"array"},{"type":"null"}],"title":"Blocks","description":"The lines of a block document; null on a legacy one"},"lines_in_blocks":{"type":"boolean","title":"Lines In Blocks","description":"True: the lines live in `blocks`; false: in `funding`","default":false},"tax_bracket":{"anyOf":[{"$ref":"#/components/schemas/TaxBracket"},{"type":"null"}],"description":"Tranche de revenu","examples":["modeste"]},"taxable_income":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taxable Income","description":"Revenu Fiscal de Référence (RFR)."},"tax_shares":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tax Shares","description":"Number of tax shares."},"region":{"anyOf":[{"$ref":"#/components/schemas/TaxRegion"},{"type":"null"}],"description":"Tax region of the tax payer: IDF (Île-de-France) or OTHER, as in the ANAH income thresholds.","examples":["IDF"]},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"project_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"ownership":{"anyOf":[{"$ref":"#/components/schemas/Ownership"},{"type":"null"}],"description":"Type d'occupation du logement."},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id","description":"ID of the quote in the external provider. ","examples":["1234"]},"num_mpr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Num Mpr","description":"Numéro MaPrimeRénov"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"status":{"type":"string","enum":["draft","completed","sent"],"title":"Status"},"expired_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expired At","description":"Date of expiration","examples":["2021-01-01T00:00:00"]},"works_start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Works Start At","description":"Date of works start","examples":["2021-01-01T00:00:00"]},"technical_visit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Technical Visit At","description":"Date of technical visit","examples":["2021-01-01T00:00:00"]},"general_info":{"$ref":"#/components/schemas/QuoteGeneralInfo-Output","description":"General information about the commercial plan"},"hypothesis":{"$ref":"#/components/schemas/Hypothesis-Output","description":"Hypothesis for the commercial plan"},"subsidy_deduction_mode":{"$ref":"#/components/schemas/SubsidyDeductionMode","description":"How subsidies are deducted across the project's installments.","default":"EACH_INVOICE"},"lead_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Id","description":"ID of the lead","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id","description":"ID of the user","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id","description":"ID of the scenario","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"cee_fournisseur_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cee Fournisseur Id","description":"ID of the cee_fournisseur","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"funding":{"anyOf":[{"$ref":"#/components/schemas/Funding-Output"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"html_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html Url"},"total_net_to_pay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Net To Pay"}},"type":"object","required":["status","created_at","updated_at"],"title":"CommercialPlanRead","description":"Commercial plan model for reading."},"CompanyLoanProvidersUpdate":{"properties":{"loan_provider_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Loan Provider Ids"}},"type":"object","required":["loan_provider_ids"],"title":"CompanyLoanProvidersUpdate","description":"Replace the loan providers linked to a company."},"CompanyOrganizationMode":{"type":"string","enum":["MONO","MULTI"],"title":"CompanyOrganizationMode","description":"Intent flag driving the settings view, never where a field is stored.\n\nMONO hides the branch layer and redirects legal-identity edits to the\ncompany; MULTI exposes branches. Switching modes moves zero rows."},"CompanyPublicRead":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"name":{"type":"string","title":"Name","description":"Name of the company","examples":["My Company"]},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"Numéro de téléphone","examples":["+33612345678"]},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Output"},{"type":"null"}],"description":"Address of the company"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"URL","examples":["https://example.com"]},"legal_notices":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Notices"},"siren":{"anyOf":[{"type":"string","maxLength":9},{"type":"null"}],"title":"Siren"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Adresse email","examples":["john.doe@gmail.com"]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo","description":"Logo of the company","examples":["https://my-company.com/logo.png"]},"nickname":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nickname","description":"Nickname of the company","examples":["company"]},"prospectus":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prospectus","description":"Prospectus of the company","examples":["https://my-company.com/prospectus.pdf"]}},"type":"object","required":["name"],"title":"CompanyPublicRead","description":"Company model for public reading"},"CompanyRead":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"organization_mode":{"$ref":"#/components/schemas/CompanyOrganizationMode","description":"Mono/multi-entity intent flag driving the settings view","default":"MULTI"},"ecretement":{"type":"string","enum":["mpr","cee"],"title":"Ecretement","description":"Priority for subsidy reduction: 'cee' reduces CEE first, 'mpr' reduces MPR first","default":"mpr"},"default_auto_advance":{"type":"boolean","title":"Default Auto Advance","description":"Seeds hypothesis.auto_advance on the company's new scenarios; existing scenarios keep their own value","default":true},"expert_title_uses_branch_name":{"type":"boolean","title":"Expert Title Uses Branch Name","description":"Titles the expert with the branch name instead of the company name on the documents of the company","default":false},"manual_selection_work_types":{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array","title":"Manual Selection Work Types","description":"Seeds hypothesis.manual_selection_work_types on the scenarios the company's users create; scenarios of the acquisition funnel keep their recommended products"},"work_day_minutes":{"type":"integer","maximum":1440.0,"minimum":60.0,"title":"Work Day Minutes","description":"Hours a worker spends on a worksite per day, in minutes; turns the hours sold on a quote into the planned days of its worksite lots","default":420},"required_lead_fields":{"items":{"$ref":"#/components/schemas/LeadField"},"type":"array","title":"Required Lead Fields","description":"Lead fields mandatory when a user creates a lead by hand in the app; checked by the front only, so OneClick, webhooks and imports keep creating leads without them"},"name":{"type":"string","title":"Name","description":"Name of the company","examples":["My Company"]},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"Numéro de téléphone","examples":["+33612345678"]},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Output"},{"type":"null"}],"description":"Address of the company"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"URL","examples":["https://example.com"]},"legal_notices":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Notices"},"siren":{"anyOf":[{"type":"string","maxLength":9},{"type":"null"}],"title":"Siren"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Adresse email","examples":["john.doe@gmail.com"]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo","description":"Logo of the company","examples":["https://my-company.com/logo.png"]},"nickname":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nickname","description":"Nickname of the company","examples":["company"]},"prospectus":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prospectus","description":"Prospectus of the company","examples":["https://my-company.com/prospectus.pdf"]},"onboarded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Onboarded At"},"onboarding_step":{"anyOf":[{"$ref":"#/components/schemas/OnboardingStep"},{"type":"null"}]}},"type":"object","required":["name"],"title":"CompanyRead","description":"Company model for reading"},"CompanyUpdate":{"properties":{"organization_mode":{"$ref":"#/components/schemas/CompanyOrganizationMode","description":"Mono/multi-entity intent flag driving the settings view","default":"MULTI"},"ecretement":{"type":"string","enum":["mpr","cee"],"title":"Ecretement","description":"Priority for subsidy reduction: 'cee' reduces CEE first, 'mpr' reduces MPR first","default":"mpr"},"default_auto_advance":{"type":"boolean","title":"Default Auto Advance","description":"Seeds hypothesis.auto_advance on the company's new scenarios; existing scenarios keep their own value","default":true},"expert_title_uses_branch_name":{"type":"boolean","title":"Expert Title Uses Branch Name","description":"Titles the expert with the branch name instead of the company name on the documents of the company","default":false},"manual_selection_work_types":{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array","title":"Manual Selection Work Types","description":"Seeds hypothesis.manual_selection_work_types on the scenarios the company's users create; scenarios of the acquisition funnel keep their recommended products"},"work_day_minutes":{"type":"integer","maximum":1440.0,"minimum":60.0,"title":"Work Day Minutes","description":"Hours a worker spends on a worksite per day, in minutes; turns the hours sold on a quote into the planned days of its worksite lots","default":420},"required_lead_fields":{"items":{"$ref":"#/components/schemas/LeadField"},"type":"array","title":"Required Lead Fields","description":"Lead fields mandatory when a user creates a lead by hand in the app; checked by the front only, so OneClick, webhooks and imports keep creating leads without them"},"name":{"type":"string","title":"Name","default":""},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"Numéro de téléphone","examples":["+33612345678"]},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Input"},{"type":"null"}],"description":"Address of the company"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"URL","examples":["https://example.com"]},"legal_notices":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Notices"},"siren":{"anyOf":[{"type":"string","maxLength":9},{"type":"null"}],"title":"Siren"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Adresse email","examples":["john.doe@gmail.com"]},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo","description":"Logo of the company","examples":["https://my-company.com/logo.png"]},"id":{"type":"string","format":"uuid","title":"Id"},"onboarding_step":{"anyOf":[{"$ref":"#/components/schemas/OnboardingStep"},{"type":"null"}]}},"type":"object","required":["id"],"title":"CompanyUpdate","description":"Writable company fields; the front sends the whole company, the rest is ignored.\n\nOnly the fields present in the payload are written (`exclude_unset`)."},"CompatibilityCondition":{"type":"string","enum":["BACKUP_BOILER_REQUIRED"],"title":"CompatibilityCondition"},"CompatibilityKind":{"type":"string","enum":["COMPATIBLE","CASCADE_FOLLOWER"],"title":"CompatibilityKind","description":"What the link says: an accessory or host the product takes, or the PAC\nthat follows it in a cascade."},"ConcreteSlabState":{"type":"string","enum":["existing","to_create","by_client"],"title":"ConcreteSlabState","description":"État de la dalle béton sur laquelle est installée l'unité extérieure.\n\n`existing` : déjà coulée — une photo de la dalle existante est demandée.\n`to_create` : à couler par l'installateur.\n`by_client` : à la charge du client avant intervention."},"CondensateEvacuationType":{"type":"string","enum":["gravity","lift_pump"],"title":"CondensateEvacuationType","description":"Mode d'évacuation des condensats d'une unité intérieure air/air."},"ConduitType":{"type":"string","enum":["exterior_inox","interior_inox","masonry"],"title":"ConduitType"},"ConfirmationResult":{"properties":{"status":{"$ref":"#/components/schemas/DemandStatus"},"artisan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Artisan"}},"type":"object","required":["status"],"title":"ConfirmationResult"},"ConfortEte":{"properties":{"brasseur_air":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Brasseur Air","description":"est-ce que le logement est équipé de brasseurs d'air ?"},"aspect_traversant":{"type":"boolean","title":"Aspect Traversant","description":"a-t-on une isolation de toiture ?","readOnly":true},"isolation_toiture":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Isolation Toiture","description":"a-t-on une isolation de toiture ?","readOnly":true},"protection_solaire_exterieure":{"type":"boolean","title":"Protection Solaire Exterieure","description":"a-t-on une protection solaire extérieure sur les facades vitrées (exception nord) ?","readOnly":true},"inertie_lourde":{"type":"boolean","title":"Inertie Lourde","description":"est-ce que le logement possède une inertie lourde ou très lourde ?","readOnly":true},"enum_indicateur_confort_ete_id":{"$ref":"#/components/schemas/QualityType","description":"indicateur confort été (bon moyen ou mauvais)","readOnly":true},"enum_indicateur_confort_ete_argile_id":{"$ref":"#/components/schemas/QualityType","description":"Modification du confort été avec prise en compte de la climatisation et de l'isolation des planchers hauts","readOnly":true}},"type":"object","required":["brasseur_air","aspect_traversant","isolation_toiture","protection_solaire_exterieure","inertie_lourde","enum_indicateur_confort_ete_id","enum_indicateur_confort_ete_argile_id"],"title":"ConfortEte"},"ConnectBrandRequest":{"properties":{"brand_name":{"type":"string","title":"Brand Name"}},"type":"object","required":["brand_name"],"title":"ConnectBrandRequest","description":"Request to fork all templates of a brand into a catalog."},"ConnectBrandResponse":{"properties":{"forked_count":{"type":"integer","title":"Forked Count"},"forked_items":{"items":{"$ref":"#/components/schemas/CatalogItemRead"},"type":"array","title":"Forked Items"}},"type":"object","required":["forked_count","forked_items"],"title":"ConnectBrandResponse","description":"Response after connecting a brand."},"Consent":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"status":{"anyOf":[{"$ref":"#/components/schemas/ConsentStatusEnum"},{"type":"null"}],"description":"Status of the consent"},"ip_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ip Address","description":"IP address of the user"},"scope":{"$ref":"#/components/schemas/ConsentScopeEnum","description":"What the consent covers (general GDPR or energy-data access)","default":"general"},"allow_electricity":{"type":"boolean","title":"Allow Electricity","description":"Consent to access ENEDIS electricity consumption data","default":false},"electricity_prm":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Electricity Prm","description":"ENEDIS PRM (14 digits)"},"allow_gas":{"type":"boolean","title":"Allow Gas","description":"Consent to access GRDF gas consumption data","default":false},"gas_pce":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gas Pce","description":"GRDF PCE (14 digits)"},"titulaire_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Titulaire Email","description":"Meter holder email (needed for the GRDF droit d'accès)"},"consent_text_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Consent Text Version","description":"Version of the consent text accepted"},"user_agent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Agent","description":"User agent at acceptance time"},"accepted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Accepted At","description":"When the customer accepted"},"lead_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Id","description":"ID of the lead","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]}},"additionalProperties":false,"type":"object","title":"Consent","description":"ORM Model for managing GPDR consent."},"ConsentScopeEnum":{"type":"string","enum":["general","energy_data"],"title":"ConsentScopeEnum","description":"What the consent covers."},"ConsentStatusEnum":{"type":"string","enum":["accepted","rejected","pending"],"title":"ConsentStatusEnum","description":"Enum for consent status."},"Constant":{"properties":{"type":{"type":"string","const":"constant","title":"Type","default":"constant"},"value":{"type":"number","title":"Value"}},"additionalProperties":false,"type":"object","required":["value"],"title":"Constant"},"ConsumptionPeriod":{"type":"string","enum":["day","month","year"],"title":"ConsumptionPeriod","description":"Aggregation window of the consumption series."},"ConsumptionPoint":{"properties":{"period_label":{"type":"string","title":"Period Label"},"kwh":{"type":"number","title":"Kwh"},"eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Eur"}},"type":"object","required":["period_label","kwh"],"title":"ConsumptionPoint","description":"A single point of the consumption series, optionally priced in EUR."},"ContactDemandCreated":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"ContactDemandCreated"},"ConvertQuoteToInvoice":{"properties":{"installment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Installment"}},"type":"object","title":"ConvertQuoteToInvoice","description":"Payload for creating an invoice from a quote."},"CostAssumption":{"properties":{"fact":{"type":"string","title":"Fact"},"type":{"$ref":"#/components/schemas/FactType"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"values":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Values","description":"The values it may take, for an enum"},"value":{"anyOf":[{"type":"number"},{"type":"string"}],"title":"Value"},"default_value":{"anyOf":[{"type":"number"},{"type":"string"}],"title":"Default Value"},"amount_ht":{"type":"number","title":"Amount Ht","description":"What the lines depending on this assumption add up to"},"planned_cost_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Planned Cost Ht","description":"Those lines' cost; None if one has none, or no line"},"minutes":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Minutes","description":"Those lines' labour time; None if one is untimed, or no line"}},"type":"object","required":["fact","type","unit","values","value","default_value","amount_ht","planned_cost_ht","minutes"],"title":"CostAssumption","description":"What the estimate assumes of a work; the front names the fact."},"CostAssumptionWrite":{"properties":{"value":{"anyOf":[{"type":"number"},{"type":"string"},{"type":"null"}],"title":"Value","description":"None goes back to the default"}},"type":"object","required":["value"],"title":"CostAssumptionWrite"},"CostLine":{"properties":{"catalog_item_id":{"type":"string","format":"uuid","title":"Catalog Item Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"quantity":{"type":"number","title":"Quantity"},"total_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Ht","description":"None: the product has no price"},"planned_cost_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Planned Cost Ht","description":"None: the product has no purchase cost"},"minutes":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Minutes","description":"Labour time; 0 without labour, None if nobody timed it"},"assumption_fact":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assumption Fact"}},"type":"object","required":["catalog_item_id","title","quantity","total_ht","planned_cost_ht","minutes","assumption_fact"],"title":"CostLine","description":"A line of the estimate, and the assumption its amount depends on, if any."},"CostOrigin":{"type":"string","enum":["reading","total_share","estimate"],"title":"CostOrigin"},"Cout":{"properties":{"cout_ch":{"type":"number","title":"Cout Ch","description":"coût de chauffage (déduit de la production pv autoconsommée) (€)","readOnly":true},"cout_ch_depensier":{"type":"number","title":"Cout Ch Depensier","description":"coût de chauffage pour le scénario dépensier (déduit de la production pv autoconsommée) (€)","readOnly":true},"cout_ecs":{"type":"number","title":"Cout Ecs","description":"coût de l'ECS (déduit de la production pv autoconsommée) (€)","readOnly":true},"cout_ecs_depensier":{"type":"number","title":"Cout Ecs Depensier","description":"coût de l'ECS pour le scénario dépensier (déduit de la production pv autoconsommée) (€)","readOnly":true},"cout_eclairage":{"type":"number","title":"Cout Eclairage","description":"coût des eclairage (déduit de la production pv autoconsommée) (€)","readOnly":true},"cout_auxiliaire_generation_ch":{"type":"number","title":"Cout Auxiliaire Generation Ch","description":"coût des auxiliaires de génération de chauffage (€)","readOnly":true},"cout_auxiliaire_generation_ch_depensier":{"type":"number","title":"Cout Auxiliaire Generation Ch Depensier","description":"coût des auxiliaires de génération de chauffage pour le scénario dépensier (€)","readOnly":true},"cout_auxiliaire_distribution_ch":{"type":"number","title":"Cout Auxiliaire Distribution Ch","description":"coût des auxiliaires de distribution de chauffage (€)","readOnly":true},"cout_auxiliaire_generation_ecs":{"type":"number","title":"Cout Auxiliaire Generation Ecs","description":"coût des auxiliaires de generation de l'ECS (€)","readOnly":true},"cout_auxiliaire_generation_ecs_depensier":{"type":"number","title":"Cout Auxiliaire Generation Ecs Depensier","description":"coût des auxiliaires de generation de l'ECS pour le scénario dépensier (€)","readOnly":true},"cout_auxiliaire_distribution_ecs":{"type":"number","title":"Cout Auxiliaire Distribution Ecs","description":"coût des auxiliaires de distribution de l'ECS (€)","readOnly":true},"cout_auxiliaire_distribution_fr":{"type":"number","title":"Cout Auxiliaire Distribution Fr","description":"coût des auxiliaires de distribution de froid (€) SUPPRIME","readOnly":true},"cout_auxiliaire_ventilation":{"type":"number","title":"Cout Auxiliaire Ventilation","description":"coût des auxiliaires de ventilation (€)","readOnly":true},"cout_total_auxiliaire":{"type":"number","title":"Cout Total Auxiliaire","description":"coût des auxiliaires de l'ensemble des auxiliaires (déduit de la production pv autoconsommée) (€)","readOnly":true},"cout_fr":{"type":"number","title":"Cout Fr","description":"coût de refroidissement annuel (déduit de la production pv autoconsommée) (€)","readOnly":true},"cout_fr_depensier":{"type":"number","title":"Cout Fr Depensier","description":"coût de refroidissement pour le scénario dépensier (déduit de la production pv autoconsommée) (€)","readOnly":true},"cout_5_usages":{"type":"number","title":"Cout 5 Usages","description":"coût total 5 usages (ecs/chauffage/climatisation/eclairage/auxiliaires) (déduit de la production pv autoconsommée) (€)","readOnly":true}},"type":"object","required":["cout_ch","cout_ch_depensier","cout_ecs","cout_ecs_depensier","cout_eclairage","cout_auxiliaire_generation_ch","cout_auxiliaire_generation_ch_depensier","cout_auxiliaire_distribution_ch","cout_auxiliaire_generation_ecs","cout_auxiliaire_generation_ecs_depensier","cout_auxiliaire_distribution_ecs","cout_auxiliaire_distribution_fr","cout_auxiliaire_ventilation","cout_total_auxiliaire","cout_fr","cout_fr_depensier","cout_5_usages"],"title":"Cout"},"CoverageBand":{"properties":{"floor":{"type":"integer","title":"Floor"},"ideal":{"type":"integer","title":"Ideal","description":"Green from here up to the ceiling"},"ceiling":{"type":"integer","title":"Ceiling"}},"type":"object","required":["floor","ideal","ceiling"],"title":"CoverageBand","description":"Bounds of a coverage rate, in % of the need: flagged outside floor–ceiling."},"CoverageLevel":{"type":"string","enum":["sufficient","medium","insufficient"],"title":"CoverageLevel"},"CreditNoteRead":{"properties":{"blocks":{"anyOf":[{"items":{"$ref":"#/components/schemas/Block-Output"},"type":"array"},{"type":"null"}],"title":"Blocks","description":"The lines of a block document; null on a legacy one"},"lines_in_blocks":{"type":"boolean","title":"Lines In Blocks","description":"True: the lines live in `blocks`; false: in `funding`","default":false},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference","description":"Reference of the credit note","examples":["A2602-0001"]},"credit_note_type":{"type":"string","enum":["full_cancellation","partial_correction"],"title":"Credit Note Type","description":"Type of credit note: full_cancellation or partial_correction","default":"partial_correction"},"general_info":{"$ref":"#/components/schemas/QuoteGeneralInfo-Output","description":"General information about the credit note"},"hypothesis":{"$ref":"#/components/schemas/Hypothesis-Output","description":"Hypothesis for the credit note"},"pdf_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdf Url","description":"URL","examples":["https://example.com"]},"submit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Submit At","description":"Date of credit note submission/validation","examples":["2021-01-01T00:00:00"]},"refunded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Refunded At","description":"Date of credit note refund","examples":["2021-01-01T00:00:00"]},"works_start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Works Start At","description":"Date of works start","examples":["2021-01-01T00:00:00"]},"works_end_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Works End At","description":"Date of works end","examples":["2021-01-01T00:00:00"]},"technical_visit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Technical Visit At","description":"Date of technical visit","examples":["2021-01-01T00:00:00"]},"subsidy_deduction_mode":{"$ref":"#/components/schemas/SubsidyDeductionMode","description":"How subsidies are deducted across the project's installments.","default":"EACH_INVOICE"},"funding":{"anyOf":[{"$ref":"#/components/schemas/Funding-Output"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"invoice_id":{"type":"string","format":"uuid","title":"Invoice Id","description":"ID of the invoice","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"invoice_reference":{"type":"string","title":"Invoice Reference"},"lead_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Id","description":"ID of the lead","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"status":{"type":"string","enum":["draft","pending","completed","sent","accepted","paid","delayed","error","to_emit","to_pay","partially_paid","abandoned"],"title":"Status"},"html_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html Url"},"cee_fournisseur_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cee Fournisseur Id","description":"ID of the cee_fournisseur","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"issuing_branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Issuing Branch Id","description":"ID of the issuing_branch","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"to_deduce_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"To Deduce Amount"},"total_net_to_pay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Net To Pay"},"invoice_created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Invoice Created At"}},"type":"object","required":["created_at","updated_at","invoice_id","invoice_reference","status"],"title":"CreditNoteRead","description":"Credit note model for reading."},"CreditNoteWithLeadRead":{"properties":{"blocks":{"anyOf":[{"items":{"$ref":"#/components/schemas/Block-Output"},"type":"array"},{"type":"null"}],"title":"Blocks","description":"The lines of a block document; null on a legacy one"},"lines_in_blocks":{"type":"boolean","title":"Lines In Blocks","description":"True: the lines live in `blocks`; false: in `funding`","default":false},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference","description":"Reference of the credit note","examples":["A2602-0001"]},"credit_note_type":{"type":"string","enum":["full_cancellation","partial_correction"],"title":"Credit Note Type","description":"Type of credit note: full_cancellation or partial_correction","default":"partial_correction"},"general_info":{"$ref":"#/components/schemas/QuoteGeneralInfo-Output","description":"General information about the credit note"},"hypothesis":{"$ref":"#/components/schemas/Hypothesis-Output","description":"Hypothesis for the credit note"},"pdf_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdf Url","description":"URL","examples":["https://example.com"]},"submit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Submit At","description":"Date of credit note submission/validation","examples":["2021-01-01T00:00:00"]},"refunded_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Refunded At","description":"Date of credit note refund","examples":["2021-01-01T00:00:00"]},"works_start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Works Start At","description":"Date of works start","examples":["2021-01-01T00:00:00"]},"works_end_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Works End At","description":"Date of works end","examples":["2021-01-01T00:00:00"]},"technical_visit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Technical Visit At","description":"Date of technical visit","examples":["2021-01-01T00:00:00"]},"subsidy_deduction_mode":{"$ref":"#/components/schemas/SubsidyDeductionMode","description":"How subsidies are deducted across the project's installments.","default":"EACH_INVOICE"},"funding":{"anyOf":[{"$ref":"#/components/schemas/Funding-Output"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"invoice_id":{"type":"string","format":"uuid","title":"Invoice Id","description":"ID of the invoice","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"invoice_reference":{"type":"string","title":"Invoice Reference"},"lead_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Id","description":"ID of the lead","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"status":{"type":"string","enum":["draft","pending","completed","sent","accepted","paid","delayed","error","to_emit","to_pay","partially_paid","abandoned"],"title":"Status"},"html_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html Url"},"cee_fournisseur_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cee Fournisseur Id","description":"ID of the cee_fournisseur","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"issuing_branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Issuing Branch Id","description":"ID of the issuing_branch","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"to_deduce_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"To Deduce Amount"},"total_net_to_pay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Net To Pay"},"invoice_created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Invoice Created At"},"lead":{"anyOf":[{"$ref":"#/components/schemas/LeadRead"},{"type":"null"}]}},"type":"object","required":["created_at","updated_at","invoice_id","invoice_reference","status"],"title":"CreditNoteWithLeadRead","description":"Credit note listing read model with the lead joined in, for the client column.\n\nKept apart from ``CreditNoteRead`` so the other endpoints do not expose the lead."},"CumacVolumeTranche":{"properties":{"min_mwh_cumac":{"type":"number","minimum":0.0,"title":"Min Mwh Cumac","description":"Lower bound of the tranche, included, in MWh cumac"},"pricing":{"additionalProperties":{"type":"number","minimum":0.0},"propertyNames":{"$ref":"#/components/schemas/CEEType"},"type":"object","title":"Pricing","description":"MWh cumac pricing by tax bracket"}},"type":"object","required":["min_mwh_cumac"],"title":"CumacVolumeTranche","description":"MWh cumac price grid applying from a volume of the operation."},"CumulativeInstallment":{"properties":{"payment_percentage":{"type":"number","title":"Payment Percentage"},"installment_ht":{"type":"number","title":"Installment Ht"},"installment_vat_breakdown":{"items":{"$ref":"#/components/schemas/VatBreakdownItem"},"type":"array","title":"Installment Vat Breakdown"},"installment_ttc":{"type":"number","title":"Installment Ttc"}},"type":"object","required":["payment_percentage","installment_ht","installment_vat_breakdown","installment_ttc"],"title":"CumulativeInstallment","description":"Cumulated installment (situation + acompte) shown on the first situation\ninvoice: the combined percentage and the HT / VAT / TTC breakdown of the\ncumulated TTC, computed with the same helpers as the per-invoice breakdown."},"CurrentCost":{"properties":{"cost":{"type":"number","title":"Cost"},"kwh":{"type":"number","title":"Kwh"},"origin":{"$ref":"#/components/schemas/CostOrigin"}},"type":"object","required":["cost","kwh","origin"],"title":"CurrentCost","description":"What the calibration retains for the current home (€/year TTC, kWh PCI/year)."},"CurrentRule":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"item_types":{"items":{"$ref":"#/components/schemas/ItemType-Output"},"type":"array","title":"Item Types","description":"Equipment types firing it"},"per":{"$ref":"#/components/schemas/RuleScope"}},"type":"object","required":["id","name","item_types","per"],"title":"CurrentRule","description":"A catalog rule a suggestion would replace, or that already covers it."},"DPEDeperditionsResponse":{"properties":{"method":{"$ref":"#/components/schemas/DeperditionsMethod","description":"Scope the calculation was run over","default":"envelope"},"theta_int":{"type":"number","title":"Theta Int","description":"Indoor design temperature"},"theta_e":{"type":"number","title":"Theta E","description":"Outdoor design temperature θ_e"},"delta_t":{"type":"number","title":"Delta T","description":"θ_int − θ_e"},"h_transmission":{"type":"number","title":"H Transmission","description":"ΣH_T"},"h_ventilation":{"type":"number","title":"H Ventilation","description":"H_V"},"n_air_change":{"type":"number","title":"N Air Change","description":"Air-change rate n used for H_V"},"volume":{"type":"number","title":"Volume","description":"Building heated volume V"},"transmission":{"$ref":"#/components/schemas/DeperditionsBreakdown","description":"Φ_T breakdown"},"ventilation":{"type":"number","title":"Ventilation","description":"Φ_V"},"ventilation_flows":{"anyOf":[{"$ref":"#/components/schemas/VentilationFlowsBreakdown"},{"type":"null"}],"description":"Flows behind H_V (§6.3.3.3). None when the DPE declares no ventilation system and the construction-year n applies."},"preheating":{"type":"number","title":"Preheating","description":"Φ_hu preheating power (§6.3.4). Reported separately, NOT part of the base déperdition, per NF P 52-612/CN D.6.","default":0.0},"total":{"type":"number","title":"Total","description":"Φ_HL,build = Σ Φ_T + Φ_V (Φ_hu excluded, see D.6)","readOnly":true},"infiltration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Infiltration","description":"Share of Φ_V entering through envelope leaks, ρ·c_p·q_inf_add·ΔT; all of Φ_V when the dwelling declares no ventilation system. None for a room, whose rate is a hygienic minimum rather than leaks","readOnly":true}},"type":"object","required":["theta_int","theta_e","delta_t","h_transmission","h_ventilation","n_air_change","volume","transmission","ventilation","total","infiltration"],"title":"DPEDeperditionsResponse","description":"Result of a NF EN 12831-1 calculation on a DPE Logement."},"DataSource":{"type":"string","enum":["dpe","open_data"],"title":"DataSource","description":"Where the answer's envelope and systems were imported from."},"DatasheetContentsEntry":{"properties":{"page":{"type":"integer","title":"Page"},"title":{"type":"string","title":"Title"}},"type":"object","required":["page","title"],"title":"DatasheetContentsEntry"},"DatasheetPageRead":{"properties":{"page":{"type":"integer","title":"Page"},"text":{"type":"string","title":"Text"}},"type":"object","required":["page","text"],"title":"DatasheetPageRead"},"DatasheetRead":{"properties":{"url":{"type":"string","title":"Url"},"status":{"anyOf":[{"$ref":"#/components/schemas/DatasheetStatus"},{"type":"null"}]},"page_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page Count"},"transcribed_pages":{"type":"integer","title":"Transcribed Pages"},"contents":{"anyOf":[{"items":{"$ref":"#/components/schemas/DatasheetContentsEntry"},"type":"array"},{"type":"null"}],"title":"Contents"},"pages":{"anyOf":[{"items":{"$ref":"#/components/schemas/DatasheetPageRead"},"type":"array"},{"type":"null"}],"title":"Pages"}},"type":"object","required":["url","status","page_count","transcribed_pages"],"title":"DatasheetRead","description":"What was read of an item's datasheet: contents, or the pages asked for."},"DatasheetStatus":{"type":"string","enum":["pending","transcribed","skipped"],"title":"DatasheetStatus","description":"Where a datasheet's transcription stands."},"DayProfile":{"properties":{"season":{"type":"string","enum":["winter","summer"],"title":"Season"},"standby_kw":{"items":{"type":"number"},"type":"array","title":"Standby Kw"},"water_heater_kw":{"items":{"type":"number"},"type":"array","title":"Water Heater Kw"},"heating_kw":{"items":{"type":"number"},"type":"array","title":"Heating Kw"},"cooling_kw":{"items":{"type":"number"},"type":"array","title":"Cooling Kw"},"steady_load_kw":{"items":{"type":"number"},"type":"array","title":"Steady Load Kw"},"other_kw":{"items":{"type":"number"},"type":"array","title":"Other Kw"}},"type":"object","required":["season","standby_kw","water_heater_kw","heating_kw","cooling_kw","steady_load_kw","other_kw"],"title":"DayProfile","description":"The mean day of a season, 48 half-hours from 00:00 local, in kW per use."},"DefaultMoeConfig":{"properties":{"pricing_mode":{"$ref":"#/components/schemas/PricingMode","default":"percentage_ht"},"percentage_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Percentage Rate"},"fixed_amount_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fixed Amount Ht"},"tax_rate":{"type":"number","title":"Tax Rate","default":0.2},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"enabled":{"type":"boolean","title":"Enabled","default":false}},"type":"object","title":"DefaultMoeConfig"},"DefaultWorksStartDelay":{"type":"string","enum":["within_3_months","within_6_months","within_12_months","exact_date","see_terms"],"title":"DefaultWorksStartDelay","description":"Works start mention of a branch's new quotes; None means within 6 months."},"DemandStatus":{"type":"string","enum":["pending","confirmed","expired"],"title":"DemandStatus","description":"Life of a contact demand, before any lead exists.\n\nA demand only becomes a lead once the visitor has proved the address, so\n``pending`` and ``expired`` are states in which nothing exists anywhere\nelse — which is what keeps robots out of the CRM."},"Deperdition":{"properties":{"hperm":{"type":"number","title":"Hperm","description":"deperditions (hperm) (W/K). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble. Pour les DPE appartements, ces données sont à l'appartement","readOnly":true},"hvent":{"type":"number","title":"Hvent","description":"deperditions  ( hvent)(W/K). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble. Pour les DPE appartements, ces données sont à l'appartement","readOnly":true},"deperdition_renouvellement_air":{"type":"number","title":"Deperdition Renouvellement Air","description":"deperditions par renouvellement d'air totale (hvent + hperm)(W/K). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble. Pour les DPE appartements, ces données sont à l'appartement","readOnly":true},"deperdition_mur":{"type":"number","title":"Deperdition Mur","description":"deperditions par les murs(W/K). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble. Pour les DPE appartements, ces données sont à l'appartement","readOnly":true},"deperdition_plancher_bas":{"type":"number","title":"Deperdition Plancher Bas","description":"deperditions par les planchers bas(W/K). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble. Pour les DPE appartements, ces données sont à l'appartement","readOnly":true},"deperdition_plancher_haut":{"type":"number","title":"Deperdition Plancher Haut","description":"deperditions par les planchers hauts(W/K). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble. Pour les DPE appartements, ces données sont à l'appartement","readOnly":true},"deperdition_baie_vitree":{"type":"number","title":"Deperdition Baie Vitree","description":"deperditions par les baies vitrées (W/K). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble. Pour les DPE appartements, ces données sont à l'appartement","readOnly":true},"deperdition_porte":{"type":"number","title":"Deperdition Porte","description":"deperditions par les ponts thermiques(W/K). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble. Pour les DPE appartements, ces données sont à l'appartement","readOnly":true},"deperdition_pont_thermique":{"type":"number","title":"Deperdition Pont Thermique","description":"deperditions par les ponts thermiques(W/K). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble. Pour les DPE appartements, ces données sont à l'appartement","readOnly":true},"deperdition_enveloppe":{"type":"number","title":"Deperdition Enveloppe","description":"deperditions par l'enveloppe (GV). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble. Pour les DPE appartements, ces données sont à l'appartement","readOnly":true},"deperdition_totale":{"type":"number","title":"Deperdition Totale","description":"Compute the total deperditions once the works are done","readOnly":true},"u_mur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"U Mur","readOnly":true},"u_plancher_haut":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"U Plancher Haut","readOnly":true},"u_plancher_bas":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"U Plancher Bas","readOnly":true}},"type":"object","required":["hperm","hvent","deperdition_renouvellement_air","deperdition_mur","deperdition_plancher_bas","deperdition_plancher_haut","deperdition_baie_vitree","deperdition_porte","deperdition_pont_thermique","deperdition_enveloppe","deperdition_totale","u_mur","u_plancher_haut","u_plancher_bas"],"title":"Deperdition"},"DeperditionOverride":{"properties":{"method":{"type":"string","enum":["auto","manual","coefG"],"title":"Method"},"total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total"},"coef_g":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Coef G"}},"type":"object","required":["method"],"title":"DeperditionOverride","description":"User override for the auto-computed NF EN 12831 déperditions.\n\nStored on `Project.deperdition_override` and consumed by both\nthe frontend (to scale displayed déperditions) and the backend\n`BaseDimensionnement` (to size the PAC against the forced value)."},"DeperditionsBreakdown":{"properties":{"murs":{"type":"number","title":"Murs","description":"Φ_T through opaque walls"},"plancher_bas":{"type":"number","title":"Plancher Bas","description":"Φ_T through ground-floor slabs"},"plancher_haut":{"type":"number","title":"Plancher Haut","description":"Φ_T through roof / top floor"},"baies_vitrees":{"type":"number","title":"Baies Vitrees","description":"Φ_T through windows / glass doors"},"portes":{"type":"number","title":"Portes","description":"Φ_T through opaque doors"},"ponts_thermiques":{"type":"number","title":"Ponts Thermiques","description":"Φ_T through linear thermal bridges"},"total":{"type":"number","title":"Total","description":"Sum of all transmission losses Φ_T","readOnly":true}},"type":"object","required":["murs","plancher_bas","plancher_haut","baies_vitrees","portes","ponts_thermiques","total"],"title":"DeperditionsBreakdown","description":"Heat losses split by envelope component (W)."},"DeperditionsMethod":{"type":"string","enum":["envelope","per_room","prorata"],"title":"DeperditionsMethod","description":"How a heat load was obtained — the number alone does not say."},"DeperditionsParPoste":{"properties":{"murs":{"type":"number","title":"Murs"},"plancher_bas":{"type":"number","title":"Plancher Bas"},"plancher_haut":{"type":"number","title":"Plancher Haut"},"baies_vitrees":{"type":"number","title":"Baies Vitrees"},"portes":{"type":"number","title":"Portes"},"ventilation":{"type":"number","title":"Ventilation"}},"type":"object","required":["murs","plancher_bas","plancher_haut","baies_vitrees","portes","ventilation"],"title":"DeperditionsParPoste","description":"What a room loses through each component, NF EN 12831-1 §6 (W/K)."},"DepositInfo":{"properties":{"invoice_number":{"type":"string","title":"Invoice Number"},"invoice_date":{"type":"string","format":"date-time","title":"Invoice Date"},"amount_ttc":{"type":"number","title":"Amount Ttc"},"percentage":{"type":"number","title":"Percentage"}},"type":"object","required":["invoice_number","invoice_date","amount_ttc","percentage"],"title":"DepositInfo","description":"Acompte (deposit) reference shown on the first situation invoice: the\nvalidated ACCEPTATION invoice's number, date, TTC amount and percentage."},"DescriptionTravaux":{"properties":{"description":{"type":"string","title":"Description","description":"Descriptif des critères de performances minimales à respecter vis-à-vis des dispositions législatives et règlementaires, et, le cas échéant, pour bénéficier des aides financières associées"},"enum_picto_travaux_id":{"$ref":"#/components/schemas/PictoTravaux","description":"Pictogrammes «point de vigilance» et «matériaux bio-sourcés» à cocher par l’auditeur si besoin pour accompagner la description du travaux (p.9 de la trame)"},"type":{"anyOf":[{"type":"string","enum":["title","description"]},{"type":"null"}],"title":"Type","description":"Type de description for formatting"}},"type":"object","required":["description","enum_picto_travaux_id"],"title":"DescriptionTravaux"},"DescriptionTravauxCollection-Input":{"properties":{"description_travaux":{"items":{"$ref":"#/components/schemas/DescriptionTravaux"},"type":"array","minItems":1,"title":"Description Travaux"}},"type":"object","title":"DescriptionTravauxCollection"},"DescriptionTravauxCollection-Output":{"properties":{"description_travaux":{"items":{"$ref":"#/components/schemas/DescriptionTravaux"},"type":"array","minItems":1,"title":"Description Travaux"}},"type":"object","title":"DescriptionTravauxCollection"},"Dhw":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"collective":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Collective"},"macro_categorie":{"anyOf":[{"$ref":"#/components/schemas/MacroCategorieEcs"},{"type":"null"}]},"categorie":{"anyOf":[{"$ref":"#/components/schemas/CategorieEcs"},{"type":"null"}]},"categorie_stockage":{"anyOf":[{"$ref":"#/components/schemas/CategorieStockage"},{"type":"null"}]},"enum_cfg_installation_ecs_id":{"anyOf":[{"$ref":"#/components/schemas/CfgInstallationEcs"},{"type":"null"}],"description":"Code de configuration de l'installation d'ECS (installation simple, avec solaire ou avec plusieurs systèmes d'ECS)","examples":[1,2,3]},"enum_type_installation_id":{"anyOf":[{"$ref":"#/components/schemas/TypeInstallation","ge":1,"le":4},{"type":"null"}],"description":"Code du type d'installation d'ECS (collective ou individuelle)","examples":[1,2,3,4]},"enum_methode_calcul_conso_id":{"anyOf":[{"type":"integer","maximum":6.0,"minimum":1.0},{"type":"null"}],"title":"Enum Methode Calcul Conso Id","description":"Méthode de calcul de consommation d'ECS : simple, ou cas particuliers installation collective virtualisée ou installation individuelle échantilonnée (dpe immeuble)","examples":[1,2,3,4,5,6]},"ratio_virtualisation":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Ratio Virtualisation","description":"Ratio de virtualisation de l'installation collective lorsque l'on rapporte des usages collectifs à un appartement (a = Shabappartement/Shabtotale)","examples":[0.5,0.6,0.7,0.8,0.9,1.0]},"cle_repartition_ecs":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Cle Repartition Ecs","description":"Clé de répartition pour passer des consommations bâtiments au consommation logement dans le cas DPE appartement calculé à partir du DPE immeuble UNIQUEMENT. Voir section 8.5.4 du document guide pour plus de détail","examples":[0.5,0.6,0.7,0.8,0.9,1.0]},"surface_habitable":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Habitable","description":"Surface habitable correspondant au(x) logement(x) desservi(s) par l'installation d'ECS.(surface habitable du logement ou de la totalité des logements de l'immeuble) Dans le cas spécifique d'un DPE immeuble avec installation individuelle échantillonée :saisir la surface de la totalité des logements représentés par le logement moyen surface_habitable= Shmoy*Nblgt. Dans le cas d'un DPE immeuble ou d'un DPE appartement à partir de l'immeuble c'est la surface de l'installation à l'immeuble qu'il faut renseigner","examples":[50.0,60.0,70.0,80.0,90.0,100.0]},"nombre_logement":{"type":"number","exclusiveMinimum":0.0,"title":"Nombre Logement","description":"Nombre de logements desservis par l'installation d'ECS. Dans le cas d'un DPE immeuble avec installation individuelle échantillonée : saisir le nombre de logements qui sont équipés de ce type d'installation d'ECS.","default":1.0,"examples":[1.0,2.0,3.0,4.0,5.0]},"rdim":{"type":"number","exclusiveMinimum":0.0,"title":"Rdim","description":"Nombre d'installations identiques. Ce paramètre est utilisé pour dénombrer les installations identiques considérées lors d'un calcul d'échantillonage. Ce nombre peut être non entier en cas d'application de la méthode d'échantillonage (pour une installation sans échantillonage rdim=1)","default":1.0,"examples":[1.0,2.0,3.0,4.0,5.0]},"nombre_niveau_installation_ecs":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Nombre Niveau Installation Ecs","description":"Nombre de niveaux desservis par l'installation d'ECS (très souvent égal au nombre de niveaux du bâtiment)","examples":[1,2,3,4,5]},"fecs_saisi":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Fecs Saisi","description":"Facteur de couverture solaire pour l'ECS saisi directement lorsque celui-ci peut être justifié","examples":[0.5,0.6,0.7,0.8,0.9,1.0]},"tv_facteur_couverture_solaire_id":{"anyOf":[{"type":"integer","maximum":48.0,"minimum":1.0},{"type":"null"}],"title":"Tv Facteur Couverture Solaire Id","description":"ID de la ligne de la table utilisée pour le calcul du facteur de couverture solaire","examples":[1,2,3,4,5]},"enum_methode_saisie_fact_couv_sol_id":{"anyOf":[{"$ref":"#/components/schemas/MethodeSaisieFactCouvSol","ge":1,"le":2},{"type":"null"}],"description":"Méthode de saisie du facteur de couverture solaire pour l'ECS (saisi en direct justifié ou calculé à partir de la table)","examples":[1,2]},"enum_type_installation_solaire_id":{"anyOf":[{"$ref":"#/components/schemas/TypeInstallationSolaire","ge":1,"le":4},{"type":"null"}],"description":"Type d'installation solaire (ECS+Chauffage , ECS solaire seule etc…)","examples":[1,2,3,4]},"tv_rendement_distribution_ecs_id":{"anyOf":[{"type":"integer","maximum":8.0,"minimum":1.0},{"type":"null"}],"title":"Tv Rendement Distribution Ecs Id","description":"ID de la ligne de la table utilisée pour le calcul du rendement de distribution de l'installation d'ECS","examples":[1,2,3,4,5]},"enum_bouclage_reseau_ecs_id":{"anyOf":[{"$ref":"#/components/schemas/BouclageReseauEcs"},{"type":"null"}],"description":"Type de bouclage du réseau d'ECS pour la prise en compte des consommations d'auxiliaires de distribution","examples":[1,2,3]},"reseau_distribution_isole":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reseau Distribution Isole","description":"Est-ce que le réseau de distribution est isolé ?","examples":[true,false]},"enum_etat_composant_id":{"anyOf":[{"$ref":"#/components/schemas/EtatComposant"},{"type":"null"}],"description":"Indique si le composant a été changé par rapport au logement initial","examples":[1,2]},"enum_type_generateur_ecs_id":{"anyOf":[{"$ref":"#/components/schemas/TypeGenerateurEcs"},{"type":"null"}],"description":"Type de générateur d'ECS","examples":[1]},"reference_generateur_mixte":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Generateur Mixte","description":"Référence commune pour un générateur mixte chauffage ECS. Cette référence est identique pour les deux parties du générateur (chauffage et ECS) et est utilisé pour faire le lien entre les deux","examples":["G1"]},"annee_installation":{"anyOf":[{"type":"integer","maximum":2050.0,"minimum":1900.0},{"type":"null"}],"title":"Annee Installation","description":"Année d'installation du générateur d'ECS","examples":[2020],"export_to_dpe":false},"ref_produit_generateur_ecs":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ref Produit Generateur Ecs","description":"Référence produit et marque du générateur d'ECS","examples":["ref_produit_generateur_ecs"]},"enum_usage_generateur_id":{"$ref":"#/components/schemas/UsageGenerateur","description":"Usages assurés par le générateur (chauffage/ecs/chauffage+ecs)","default":2,"examples":[1],"ge":1,"le":3},"enum_type_energie_id":{"anyOf":[{"$ref":"#/components/schemas/TypeEnergie","ge":1,"le":15},{"type":"null"}],"description":"Type d'énergie consommée par le générateur d'ECS","examples":[1]},"tv_generateur_combustion_id":{"anyOf":[{"type":"integer","maximum":103.0,"minimum":1.0},{"type":"null"}],"title":"Tv Generateur Combustion Id","description":"ID de la ligne de la table utilisée pour le calcul des paramètres du générateur à combustion Rpn,Rpint,Qp0,Pveil","examples":[1]},"enum_methode_saisie_carac_sys_id":{"$ref":"#/components/schemas/MethodeSaisieCaracSys","description":"Méthode de saisie des performances du système d'ECS","default":1,"examples":[1],"ge":1,"le":8},"tv_pertes_stockage_id":{"anyOf":[{"type":"integer","maximum":16.0,"minimum":1.0},{"type":"null"}],"title":"Tv Pertes Stockage Id","description":"ID de la ligne de la table utilisée pour le calcul des pertes de stockage pour les ballons électriques","examples":[1]},"tv_scop_id":{"anyOf":[{"type":"integer","maximum":88.0,"minimum":1.0},{"type":"null"}],"title":"Tv Scop Id","description":"ID de la ligne de la table utilisée pour le calcul du coefficient de performance du système thermodynamique (SCOP)","examples":[1]},"enum_periode_installation_ecs_thermo_id":{"anyOf":[{"type":"integer","maximum":3.0,"minimum":1.0},{"type":"null"}],"title":"Enum Periode Installation Ecs Thermo Id","description":"Période d'installation du système thermodynamique","examples":[1]},"identifiant_reseau_chaleur":{"anyOf":[{"type":"string","pattern":"[0-9]{4}[C-F]"},{"type":"null"}],"title":"Identifiant Reseau Chaleur","description":"","examples":["1234C"]},"date_arrete_reseau_chaleur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Arrete Reseau Chaleur","description":"","examples":["2020-01-01"]},"tv_reseau_chaleur_id":{"anyOf":[{"type":"integer","maximum":797.0,"minimum":1.0},{"type":"null"}],"title":"Tv Reseau Chaleur Id","description":"","examples":[1]},"enum_type_stockage_ecs_id":{"anyOf":[{"$ref":"#/components/schemas/TypeStockageEcs","ge":1,"le":3},{"type":"null"}],"description":"","examples":[1]},"position_volume_chauffe":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Position Volume Chauffe","description":"","examples":[true]},"position_volume_chauffe_stockage":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Position Volume Chauffe Stockage","description":"Est ce que le générateur est positionné dans le volume chauffé. (pour le calcul des pertes de génération récupérables)","examples":[true]},"volume_stockage":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Volume Stockage","description":"","examples":[1.0]},"presence_ventouse":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Presence Ventouse","description":"","examples":[true]},"heated_volume":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Heated Volume"},"heated_volume_storage":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Heated Volume Storage"},"install_period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Install Period"},"storage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Storage"},"pn":{"anyOf":[{"type":"number","gt":100},{"type":"null"}],"title":"Pn","description":"Puissance nominale du générateur à combustion. Dans le cas d'un générateur virtualisé pour DPE appartement avec ECS collective saisir Pe = a*Pn(collectif) (W)"},"qp0":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Qp0","description":"Pertes à l'arret du générateur à combustion. Dans le cas d'un générateur virtualisé pour DPE appartement avec ECS collective saisir Qp0 correspondant à Pe = a*Pn(collectif)"},"pveilleuse":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Pveilleuse","description":"Puissance de la veilleuse du générateur à combustion (W)"},"rpn":{"anyOf":[{"type":"number","maximum":1.5,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Rpn","description":"Rendement de génération à pleine charge du générateur à combustion (0-1,5)"},"cop":{"anyOf":[{"type":"number","maximum":8.0,"exclusiveMinimum":1.0},{"type":"null"}],"title":"Cop","description":"COP du chauffe-eau thermodynamique (inclus le rendement de stockage) (0-20)"},"rendement_generation":{"anyOf":[{"type":"number","maximum":1.5,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Rendement Generation","description":"Rg : rendement de génération du générateur d'ECS (0-1,5)"},"rendement_stockage":{"anyOf":[{"type":"number","maximum":1.5,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Rendement Stockage","description":"Rs : rendement de stockage dans le cas où il est séparé du rendement de génération (ballon électrique ou ballon séparé de la production) (0-1,5)"},"ratio_besoin_ecs":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Ratio Besoin Ecs","description":"Ratio du besoin ecs de l'installation affecté au générateur. Ce ratio est de 1 pour les installations classiques et de 0,5 pour les installations d'ECS avec deux générateurs"}},"type":"object","title":"Dhw"},"DhwTankVolumes":{"properties":{"volumes":{"items":{"type":"number"},"type":"array","title":"Volumes"}},"type":"object","required":["volumes"],"title":"DhwTankVolumes","description":"Tank volumes the work's selection reaches, in liters, ascending."},"DhwTypeResult":{"properties":{"occupants":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Occupants","description":"occupants sur lesquels le besoin ECS est calculé : le foyer déclaré du lead, sinon les adultes équivalents du DPE (non arrondi)"},"dhw_need_40c":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dhw Need 40C","description":"besoin ECS journalier de ces occupants (L/jour à 40 °C)"},"annual_conso_kwh":{"type":"number","title":"Annual Conso Kwh","description":"kWhef/an"},"annual_cout":{"type":"number","title":"Annual Cout","description":"€/an"},"annual_cout_ecs":{"type":"number","title":"Annual Cout Ecs","description":"part ECS de annual_cout (€/an)"},"annual_cout_autres_usages":{"type":"number","title":"Annual Cout Autres Usages","description":"usages non modélisés de annual_cout, constants (€/an)","default":0.0},"annual_cout_par_usage":{"$ref":"#/components/schemas/UsageBreakdown","description":"annual_cout par usage, abonnements à part (€/an)"},"annual_cout_par_energie":{"items":{"$ref":"#/components/schemas/EnergyBillCost"},"type":"array","title":"Annual Cout Par Energie","description":"annual_cout par énergie, abonnement compris, puis par usage en € et kWh ; la plus coûteuse d'abord"},"prix_kwh_chauffage":{"items":{"$ref":"#/components/schemas/EnergyKwhPrice"},"type":"array","title":"Prix Kwh Chauffage","description":"prix du kWh des énergies du chauffage, la plus coûteuse d'abord"},"monthly_conso_kwh":{"items":{"type":"number"},"type":"array","title":"Monthly Conso Kwh"},"monthly_costs":{"items":{"type":"number"},"type":"array","title":"Monthly Costs"},"calibration_alerts":{"items":{"$ref":"#/components/schemas/CalibrationAlert"},"type":"array","title":"Calibration Alerts","description":"factures saisies qui ne couvrent pas leur part fixe"},"type_travaux":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"macro_categorie_ecs":{"anyOf":[{"$ref":"#/components/schemas/MacroCategorieEcs"},{"type":"null"}]}},"type":"object","required":["annual_conso_kwh","annual_cout","annual_cout_ecs","annual_cout_par_usage","monthly_conso_kwh","monthly_costs"],"title":"DhwTypeResult","description":"Result for a single domestic hot water (ECS) type in the comparison."},"DiagStatus":{"type":"string","enum":["todo","in_progress","completed"],"title":"DiagStatus","description":"Status of the diagnosis"},"DiagWorkflow":{"type":"string","enum":["flash_diagnosis","dpe","audit","oneclick","qualif"],"title":"DiagWorkflow","description":"Type of diagnosis workflow."},"DiagnosisNotes":{"properties":{"general":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"General"},"walls":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Walls"},"floors":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Floors"},"roofs":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Roofs"},"systems":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Systems"},"ventilation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ventilation"},"electricity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Electricity"},"windows":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Windows"}},"type":"object","title":"DiagnosisNotes","description":"Per-section notes for the technical visit."},"DimensionReference":{"type":"string","enum":["reveal","existing_frame","manufacturing"],"title":"DimensionReference","description":"Which measure the future opening dimensions refer to"},"Discount":{"properties":{"type":{"$ref":"#/components/schemas/DiscountType"},"value":{"type":"number","minimum":0.0,"title":"Value","description":"User-entered value: euros if type=AMOUNT, percent (0-100) if type=PERCENT."},"label":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Label"}},"type":"object","required":["type","value"],"title":"Discount"},"DiscountType":{"type":"string","enum":["amount","percent"],"title":"DiscountType","description":"Enum for the type of discount: a flat euro amount or a percentage."},"DismissalWrite":{"properties":{"key":{"type":"string","maxLength":500,"minLength":1,"title":"Key"}},"type":"object","required":["key"],"title":"DismissalWrite"},"DisplayUnitPrice":{"type":"string","enum":["ht","ttc"],"title":"DisplayUnitPrice","description":"Unit price a document is entered and shown in; TTC lines total on their\nrounded TTC unit price, so qty x PU TTC is exactly the line's TTC."},"DocumentBundleRead":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"name":{"type":"string","title":"Name","description":"Name of the document bundle"},"status":{"type":"string","enum":["draft","pending","sent","signed","error"],"title":"Status","description":"Status of the document bundle","default":"draft"},"merged_pdf_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Merged Pdf Url","description":"URL of the merged PDF combining all bundle documents"},"page_ranges":{"anyOf":[{"additionalProperties":{"additionalProperties":{"type":"integer"},"type":"object"},"type":"object"},{"type":"null"}],"title":"Page Ranges","description":"Mapping of document_id to page ranges in the merged PDF. Format: {'doc_id': {'start': 1, 'end': 5}}"},"bundle_type":{"anyOf":[{"$ref":"#/components/schemas/DocumentInstanceType"},{"type":"null"}],"description":"Type of the document bundle","default":"custom"},"lead_id":{"type":"string","format":"uuid","title":"Lead Id"},"quote_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Quote Ids"},"invoice_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Invoice Ids"},"credit_note_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Credit Note Ids"},"document_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Document Ids"},"virtual_document_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Virtual Document Id"}},"type":"object","required":["name","lead_id"],"title":"DocumentBundleRead","description":"Schema for reading document bundle"},"DocumentDownloadResponse":{"properties":{"download_url":{"type":"string","title":"Download Url"}},"type":"object","required":["download_url"],"title":"DocumentDownloadResponse","description":"Response with a short-lived download URL for a document's PDF."},"DocumentFormat":{"type":"string","enum":["pdf","csv","xlsx"],"title":"DocumentFormat","description":"Format of the generated document file."},"DocumentGenerateResponse":{"properties":{"title":{"type":"string","title":"Title"},"trame_document_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trame Document Url","description":"URL to the template document"},"generated_document_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Generated Document Url","description":"URL to the document ready to be signed"},"signed_document_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signed Document Url","description":"URL to the signed document"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"},"status":{"type":"string","enum":["draft","pending","sent","signed","rejected"],"title":"Status","description":"Status of the quote","default":"draft"},"variables":{"items":{"$ref":"#/components/schemas/argile__documents__doc_instances__models__document__Variable"},"type":"array","title":"Variables","description":"List of variables"},"signatures":{"items":{"$ref":"#/components/schemas/Signature"},"type":"array","title":"Signatures","description":"List of signatures"},"type":{"anyOf":[{"$ref":"#/components/schemas/DocumentInstanceType"},{"type":"null"}],"description":"Type of the document","default":"custom"},"document_format":{"anyOf":[{"$ref":"#/components/schemas/DocumentFormat"},{"type":"null"}],"description":"Format of the generated document file","default":"pdf"},"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data","description":"Additional JSON data for the document"},"id":{"type":"string","format":"uuid","title":"Id"},"template_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Template Id"},"lead_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"quote_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Quote Id"},"invoice_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Invoice Id"},"credit_note_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Credit Note Id"},"commercial_plan_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Commercial Plan Id"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"},"answer_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Answer Id"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"version":{"type":"integer","title":"Version"},"html_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html Url"},"maintenance_intervention_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Maintenance Intervention Id"},"worksite_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Worksite Id"},"generation":{"$ref":"#/components/schemas/DocumentGeneration"}},"type":"object","required":["title","id","created_at","updated_at","deleted_at","version","generation"],"title":"DocumentGenerateResponse","description":"The document as before generation was asynchronous, plus where its PDF stands."},"DocumentGeneration":{"properties":{"status":{"type":"string","enum":["completed","running"],"title":"Status"},"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"}},"type":"object","required":["status"],"title":"DocumentGeneration","description":"Whether the PDF is ready, or the workflow rendering it to poll."},"DocumentGenerationStatusResponse":{"properties":{"status":{"type":"string","enum":["running","completed","failed"],"title":"Status"},"download_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Download Url"}},"type":"object","required":["status"],"title":"DocumentGenerationStatusResponse","description":"Progress of a document render; a short-lived download URL once completed."},"DocumentInstanceCreate":{"properties":{"title":{"type":"string","title":"Title"},"trame_document_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trame Document Url","description":"URL to the template document"},"generated_document_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Generated Document Url","description":"URL to the document ready to be signed"},"signed_document_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signed Document Url","description":"URL to the signed document"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"},"status":{"type":"string","enum":["draft","pending","sent","signed","rejected"],"title":"Status","description":"Status of the quote","default":"draft"},"variables":{"items":{"$ref":"#/components/schemas/Variable-Input"},"type":"array","title":"Variables","description":"List of variables"},"signatures":{"items":{"$ref":"#/components/schemas/Signature"},"type":"array","title":"Signatures","description":"List of signatures"},"type":{"anyOf":[{"$ref":"#/components/schemas/DocumentInstanceType"},{"type":"null"}],"description":"Type of the document","default":"custom"},"document_format":{"anyOf":[{"$ref":"#/components/schemas/DocumentFormat"},{"type":"null"}],"description":"Format of the generated document file","default":"pdf"},"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data","description":"Additional JSON data for the document"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"template_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Template Id"},"lead_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"quote_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Quote Id"},"invoice_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Invoice Id"},"credit_note_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Credit Note Id"},"commercial_plan_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Commercial Plan Id"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"},"answer_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Answer Id"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"}},"type":"object","required":["title"],"title":"DocumentInstanceCreate"},"DocumentInstanceRead":{"properties":{"title":{"type":"string","title":"Title"},"trame_document_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trame Document Url","description":"URL to the template document"},"generated_document_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Generated Document Url","description":"URL to the document ready to be signed"},"signed_document_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signed Document Url","description":"URL to the signed document"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"},"status":{"type":"string","enum":["draft","pending","sent","signed","rejected"],"title":"Status","description":"Status of the quote","default":"draft"},"variables":{"items":{"$ref":"#/components/schemas/argile__documents__doc_instances__models__document__Variable"},"type":"array","title":"Variables","description":"List of variables"},"signatures":{"items":{"$ref":"#/components/schemas/Signature"},"type":"array","title":"Signatures","description":"List of signatures"},"type":{"anyOf":[{"$ref":"#/components/schemas/DocumentInstanceType"},{"type":"null"}],"description":"Type of the document","default":"custom"},"document_format":{"anyOf":[{"$ref":"#/components/schemas/DocumentFormat"},{"type":"null"}],"description":"Format of the generated document file","default":"pdf"},"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data","description":"Additional JSON data for the document"},"id":{"type":"string","format":"uuid","title":"Id"},"template_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Template Id"},"lead_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"quote_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Quote Id"},"invoice_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Invoice Id"},"credit_note_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Credit Note Id"},"commercial_plan_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Commercial Plan Id"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"},"answer_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Answer Id"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"version":{"type":"integer","title":"Version"},"html_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html Url"},"maintenance_intervention_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Maintenance Intervention Id"},"worksite_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Worksite Id"}},"type":"object","required":["title","id","created_at","updated_at","deleted_at","version"],"title":"DocumentInstanceRead"},"DocumentInstanceType":{"type":"string","enum":["cee_cadre_contrib","cee_attest_honneur","quote","invoice","credit_note","commercial_plan","bundle","fec_export","custom","thermal_report","solar_report","project_summary","cctp","xml_export","pac_sizing","consuel","eco_ptz","mandat_mpr","external_quote","external_pac_sizing","external_technical_survey","external_energy_bill","external_cee_cadre_contrib","aap_report","maintenance_attestation","worksite_report","worksite_reception","reception_summary","attestation_travaux","reserve_client","photo_preuve_realisation","piece_identite","fiche_imposition","taxe_fonciere","fiche_technique","notice_produit","notice_mise_en_service","etiquette_produit","fiche_acermi","declaration_prealable","demande_raccordement","document_technique_libre","administrative_folder","maintenance_folder","reception_file"],"title":"DocumentInstanceType","description":"Type of the document."},"DocumentInstanceUpdate":{"properties":{"title":{"type":"string","title":"Title"},"trame_document_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trame Document Url","description":"URL to the template document"},"generated_document_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Generated Document Url","description":"URL to the document ready to be signed"},"signed_document_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signed Document Url","description":"URL to the signed document"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"},"status":{"type":"string","enum":["draft","pending","sent","signed","rejected"],"title":"Status","description":"Status of the quote","default":"draft"},"variables":{"items":{"$ref":"#/components/schemas/Variable-Input"},"type":"array","title":"Variables","description":"List of variables"},"signatures":{"items":{"$ref":"#/components/schemas/Signature"},"type":"array","title":"Signatures","description":"List of signatures"},"type":{"anyOf":[{"$ref":"#/components/schemas/DocumentInstanceType"},{"type":"null"}],"description":"Type of the document","default":"custom"},"document_format":{"anyOf":[{"$ref":"#/components/schemas/DocumentFormat"},{"type":"null"}],"description":"Format of the generated document file","default":"pdf"},"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data","description":"Additional JSON data for the document"},"id":{"type":"string","format":"uuid","title":"Id"},"quote_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Quote Id"},"invoice_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Invoice Id"},"credit_note_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Credit Note Id"},"commercial_plan_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Commercial Plan Id"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"},"answer_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Answer Id"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"}},"type":"object","required":["title","id"],"title":"DocumentInstanceUpdate"},"DocumentLibre":{"properties":{"url":{"type":"string","title":"Url"},"nom":{"type":"string","title":"Nom"}},"type":"object","required":["url","nom"],"title":"DocumentLibre","description":"A free document of the product, on top of the named datasheets and notices."},"DocumentTemplateRead":{"properties":{"title":{"type":"string","title":"Title"},"trame_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Trame Url"},"variables":{"items":{"$ref":"#/components/schemas/argile__documents__doc_templates__models__Variable"},"type":"array","title":"Variables","description":"List of variables"},"signatures":{"items":{"$ref":"#/components/schemas/Signature"},"type":"array","title":"Signatures","description":"List of signatures"},"id":{"type":"string","format":"uuid","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"deleted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deleted At"},"version":{"type":"integer","title":"Version"},"branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id"}},"type":"object","required":["title","id","created_at","updated_at","deleted_at","version"],"title":"DocumentTemplateRead"},"DocumentUploadResponse":{"properties":{"document_url":{"type":"string","title":"Document Url"}},"type":"object","required":["document_url"],"title":"DocumentUploadResponse","description":"Stable reference to an uploaded document."},"DraftRoom":{"properties":{"reference":{"type":"string","title":"Reference","description":"Reference the duct runs point to"},"surface":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface","description":"Floor area of the room"},"height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Height","description":"Ceiling height in centimetres; the dwelling's when missing"}},"type":"object","required":["reference"],"title":"DraftRoom","description":"A room being created, which a draft duct run may already serve."},"Driver":{"properties":{"type":{"type":"string","const":"driver","title":"Type","default":"driver"},"fact":{"type":"string","title":"Fact"}},"additionalProperties":false,"type":"object","required":["fact"],"title":"Driver","description":"A numeric fact of the work, read as the quantity (a surface, a head count)."},"DuctConnection":{"type":"string","enum":["vmc","dedicated_network"],"title":"DuctConnection","description":"How a gainable CET draws its air"},"DuctOutlet":{"type":"string","enum":["roof","facade"],"title":"DuctOutlet","description":"Where the CET air ducts exit the building (monobloc/gainable)"},"DuctType":{"type":"string","enum":["souple_isolee","rigide"],"title":"DuctType","description":"Air duct type of a ducted network."},"DuctedInstallLocation":{"type":"string","enum":["combles_perdus","combles_amenages","faux_plafond","placard_technique","autre"],"title":"DuctedInstallLocation","description":"Install location of a ducted indoor unit."},"DuctedRoomSizing":{"properties":{"room_reference":{"type":"string","title":"Room Reference","description":"Reference of the served room"},"volume":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Volume","description":"Room volume (m³), None when surface or height is missing"},"airflow":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Airflow","description":"Airflow supplied to the room (m³/h)"},"air_change_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Air Change Rate","description":"Room air change rate (vol/h)"},"status":{"$ref":"#/components/schemas/DuctedRoomStatus","description":"Air change rate below, within or above the target","default":"unknown"}},"type":"object","required":["room_reference"],"title":"DuctedRoomSizing","description":"Airflow and air change rate of a room served by a duct."},"DuctedRoomStatus":{"type":"string","enum":["ok","low","high","unknown"],"title":"DuctedRoomStatus"},"DuctedSizing-Input":{"properties":{"unit_reference":{"type":"string","title":"Unit Reference","description":"Reference of the ducted indoor unit"},"status":{"$ref":"#/components/schemas/DuctedSizingStatus","description":"Network pressure sufficient, insufficient or unverified"},"total_airflow":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Airflow","description":"Nominal airflow of the priced ducted head (m³/h)"},"target_air_change_rate_min":{"type":"number","title":"Target Air Change Rate Min","description":"Target minimum air change rate (vol/h)"},"target_air_change_rate_max":{"type":"number","title":"Target Air Change Rate Max","description":"Target maximum air change rate (vol/h)"},"rooms":{"items":{"$ref":"#/components/schemas/DuctedRoomSizing"},"type":"array","title":"Rooms","description":"Served rooms, once each","default":[]},"required_static_pressure":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Required Static Pressure","description":"Required static pressure, margin included (Pa)"},"available_static_pressure":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Available Static Pressure","description":"Available static pressure of the priced head (Pa)"},"available_static_pressure_is_max":{"type":"boolean","title":"Available Static Pressure Is Max","description":"True when the check uses the maximum adjustable static pressure, the head declaring no factory setting","default":false},"margin":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Margin","description":"Available minus required static pressure (Pa)"},"limiting_room_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Limiting Room Reference","description":"Room at the end of the most unfavourable duct"},"pressure_losses":{"items":{"$ref":"#/components/schemas/PressureLoss"},"type":"array","title":"Pressure Losses","description":"Pressure losses of the limiting path (Pa)","default":[]},"missing_data":{"items":{"$ref":"#/components/schemas/MissingDuctedData"},"type":"array","title":"Missing Data","description":"Inputs missing to check the network","default":[]},"delivered_airflow":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Delivered Airflow","description":"Airflow the unit delivers through this network (m³/h): below the nominal one when the network asks more pressure than it provides"},"limiting_run_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limiting Run Index","description":"Position of the most unfavourable duct among the runs"},"suggestions":{"items":{"$ref":"#/components/schemas/DuctedSuggestion"},"type":"array","title":"Suggestions","description":"Changes to the limiting duct that improve the network","default":[]},"zoning":{"anyOf":[{"$ref":"#/components/schemas/DuctedZoning"},{"type":"null"}],"description":"Check of a motorized plenum's smallest zone, if zoned"}},"type":"object","required":["unit_reference","status","target_air_change_rate_min","target_air_change_rate_max"],"title":"DuctedSizing","description":"Aeraulic sizing of a ducted indoor unit (read-only)."},"DuctedSizing-Output":{"properties":{"unit_reference":{"type":"string","title":"Unit Reference","description":"Reference of the ducted indoor unit"},"status":{"$ref":"#/components/schemas/DuctedSizingStatus","description":"Network pressure sufficient, insufficient or unverified"},"total_airflow":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Airflow","description":"Nominal airflow of the priced ducted head (m³/h)"},"target_air_change_rate_min":{"type":"number","title":"Target Air Change Rate Min","description":"Target minimum air change rate (vol/h)"},"target_air_change_rate_max":{"type":"number","title":"Target Air Change Rate Max","description":"Target maximum air change rate (vol/h)"},"rooms":{"items":{"$ref":"#/components/schemas/DuctedRoomSizing"},"type":"array","title":"Rooms","description":"Served rooms, once each","default":[]},"required_static_pressure":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Required Static Pressure","description":"Required static pressure, margin included (Pa)"},"available_static_pressure":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Available Static Pressure","description":"Available static pressure of the priced head (Pa)"},"available_static_pressure_is_max":{"type":"boolean","title":"Available Static Pressure Is Max","description":"True when the check uses the maximum adjustable static pressure, the head declaring no factory setting","default":false},"margin":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Margin","description":"Available minus required static pressure (Pa)"},"limiting_room_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Limiting Room Reference","description":"Room at the end of the most unfavourable duct"},"pressure_losses":{"items":{"$ref":"#/components/schemas/PressureLoss"},"type":"array","title":"Pressure Losses","description":"Pressure losses of the limiting path (Pa)","default":[]},"missing_data":{"items":{"$ref":"#/components/schemas/MissingDuctedData"},"type":"array","title":"Missing Data","description":"Inputs missing to check the network","default":[]},"delivered_airflow":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Delivered Airflow","description":"Airflow the unit delivers through this network (m³/h): below the nominal one when the network asks more pressure than it provides"},"limiting_run_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limiting Run Index","description":"Position of the most unfavourable duct among the runs"},"suggestions":{"items":{"$ref":"#/components/schemas/DuctedSuggestion"},"type":"array","title":"Suggestions","description":"Changes to the limiting duct that improve the network","default":[]},"zoning":{"anyOf":[{"$ref":"#/components/schemas/DuctedZoning"},{"type":"null"}],"description":"Check of a motorized plenum's smallest zone, if zoned"}},"type":"object","required":["unit_reference","status","target_air_change_rate_min","target_air_change_rate_max"],"title":"DuctedSizing","description":"Aeraulic sizing of a ducted indoor unit (read-only)."},"DuctedSizingPreview":{"properties":{"ducted_sizings":{"items":{"$ref":"#/components/schemas/DuctedSizing-Output"},"type":"array","title":"Ducted Sizings","description":"One sizing per ducted unit; empty without a ducted unit"}},"type":"object","required":["ducted_sizings"],"title":"DuctedSizingPreview","description":"Aeraulic check the draft units would get on save; nothing is persisted."},"DuctedSizingPreviewRequest":{"properties":{"unites_interieures":{"items":{"$ref":"#/components/schemas/argile__engine__dpe__models__etape_travaux__options__heat_pump_units__UniteInterieure-Input"},"type":"array","title":"Unites Interieures","description":"Draft indoor units, duct runs included"},"draft_rooms":{"items":{"$ref":"#/components/schemas/DraftRoom"},"type":"array","title":"Draft Rooms","description":"Rooms not saved yet; without surveyed heat loss, their unit splits its airflow pro rata of the volumes","default":[]}},"type":"object","required":["unites_interieures"],"title":"DuctedSizingPreviewRequest","description":"Indoor units of an air/air work as being edited, before the save."},"DuctedSizingStatus":{"type":"string","enum":["ok","insufficient","unverified"],"title":"DuctedSizingStatus"},"DuctedSuggestion":{"properties":{"kind":{"$ref":"#/components/schemas/DuctedSuggestionKind","description":"Change to the duct"},"room_reference":{"type":"string","title":"Room Reference","description":"Room the changed duct serves"},"run_index":{"type":"integer","title":"Run Index","description":"Position of the changed duct among the unit's runs"},"diameter":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Diameter","description":"Diameter the duct takes (widen_duct)"},"duct_type":{"anyOf":[{"$ref":"#/components/schemas/DuctType"},{"type":"null"}],"description":"Duct type the duct takes (rigid_duct)"},"required_static_pressure":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Required Static Pressure","description":"Required static pressure after the change (Pa)"},"margin":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Margin","description":"Available minus required pressure after the change (Pa)"},"delivered_airflow":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Delivered Airflow","description":"Airflow the unit delivers after the change (m³/h)"},"air_change_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Air Change Rate","description":"Air change rate of the room after the change (vol/h)"}},"type":"object","required":["kind","room_reference","run_index"],"title":"DuctedSuggestion","description":"A change to the limiting duct, sized: what the network becomes with it."},"DuctedSuggestionKind":{"type":"string","enum":["widen_duct","rigid_duct","second_outlet"],"title":"DuctedSuggestionKind"},"DuctedZoning":{"properties":{"room_reference":{"type":"string","title":"Room Reference","description":"Smallest served room"},"airflow":{"type":"number","title":"Airflow","description":"Minimum airflow of the unit, all into this room (m³/h)"},"air_change_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Air Change Rate","description":"Air change rate of the room alone (vol/h)"},"duct_velocity":{"type":"number","title":"Duct Velocity","description":"Highest air velocity in its ducts (m/s)"},"needs_bypass":{"type":"boolean","title":"Needs Bypass","description":"Too much air for the room alone: a bypass is needed"}},"type":"object","required":["room_reference","airflow","duct_velocity","needs_bypass"],"title":"DuctedZoning","description":"The smallest zone of a motorized plenum open alone, at the unit's minimum."},"DuplicateCatalog":{"properties":{"name":{"type":"string","title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["name"],"title":"DuplicateCatalog"},"DwellingComfort":{"properties":{"no_habits":{"$ref":"#/components/schemas/ComfortMetrics"},"simple_habits":{"$ref":"#/components/schemas/ComfortMetrics"}},"type":"object","required":["no_habits","simple_habits"],"title":"DwellingComfort"},"EcairLoan-Input":{"properties":{"type":{"type":"string","const":"ecair","title":"Type","default":"ecair"},"amount":{"type":"number","title":"Amount","description":"Financed amount in euros"},"duration":{"type":"integer","title":"Duration","description":"Loan duration in months"},"include_insurance_borrower_one":{"type":"boolean","title":"Include Insurance Borrower One","description":"Whether borrower one opted into insurance","default":false},"include_insurance_borrower_two":{"type":"boolean","title":"Include Insurance Borrower Two","description":"Whether borrower two opted into insurance","default":false},"report_six_months":{"type":"boolean","title":"Report Six Months","default":false},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"repayment_type":{"type":"string","enum":["amortizing","in_fine"],"title":"Repayment Type","default":"amortizing"},"source":{"anyOf":[{"type":"string","const":"aap"},{"type":"null"}],"title":"Source","description":"Set when the backend computes the loan: locked in the UI"},"follows_remaining_cost":{"type":"boolean","title":"Follows Remaining Cost","description":"The backend resizes the loan to what the aids and the other loans leave; cleared once the adviser sets the amount","default":false},"from_ecair_project":{"type":"boolean","title":"From Ecair Project","description":"Written from the scenario's Ecair credit project, which now owns the loan: kept verbatim, no longer edited in Argile","default":false},"monthly_payment":{"type":"number","title":"Monthly Payment","description":"Stored monthly payment, insurance included"},"taeg":{"type":"number","title":"Taeg","description":"TAEG as a decimal"},"taea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taea","description":"TAEA, decimal; only if insurance"},"insurance_monthly":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Insurance Monthly","description":"Monthly insurance cost in euros"},"total_due":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Due","description":"Total credit cost in euros"},"report_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Report Cost","description":"Cost of the 6-month report in euros"},"fees":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fees","description":"Application/processing fees in euros"}},"type":"object","required":["amount","duration","monthly_payment","taeg"],"title":"EcairLoan","description":"Ecair credit-calculator result, persisted as a loan.\n\nStandalone sibling (not LoanBase): its monthly_payment is the stored,\nall-in amount returned by Ecair (insurance + 6-month report included), not\nan amortization of a nominal rate. Pydantic 2.12.5 forbids overriding the\ninherited `monthly_payment` computed_field with a stored field, hence no\nLoanBase inheritance."},"EcairLoan-Output":{"properties":{"type":{"type":"string","const":"ecair","title":"Type","default":"ecair"},"amount":{"type":"number","title":"Amount","description":"Financed amount in euros"},"duration":{"type":"integer","title":"Duration","description":"Loan duration in months"},"include_insurance_borrower_one":{"type":"boolean","title":"Include Insurance Borrower One","description":"Whether borrower one opted into insurance","default":false},"include_insurance_borrower_two":{"type":"boolean","title":"Include Insurance Borrower Two","description":"Whether borrower two opted into insurance","default":false},"report_six_months":{"type":"boolean","title":"Report Six Months","default":false},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"repayment_type":{"type":"string","enum":["amortizing","in_fine"],"title":"Repayment Type","default":"amortizing"},"source":{"anyOf":[{"type":"string","const":"aap"},{"type":"null"}],"title":"Source","description":"Set when the backend computes the loan: locked in the UI"},"follows_remaining_cost":{"type":"boolean","title":"Follows Remaining Cost","description":"The backend resizes the loan to what the aids and the other loans leave; cleared once the adviser sets the amount","default":false},"from_ecair_project":{"type":"boolean","title":"From Ecair Project","description":"Written from the scenario's Ecair credit project, which now owns the loan: kept verbatim, no longer edited in Argile","default":false},"monthly_payment":{"type":"number","title":"Monthly Payment","description":"Stored monthly payment, insurance included"},"taeg":{"type":"number","title":"Taeg","description":"TAEG as a decimal"},"taea":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taea","description":"TAEA, decimal; only if insurance"},"insurance_monthly":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Insurance Monthly","description":"Monthly insurance cost in euros"},"total_due":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Due","description":"Total credit cost in euros"},"report_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Report Cost","description":"Cost of the 6-month report in euros"},"fees":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fees","description":"Application/processing fees in euros"},"insurance_included":{"type":"boolean","title":"Insurance Included","description":"Whether either borrower opted into insurance (derived from inputs).","readOnly":true}},"type":"object","required":["amount","duration","monthly_payment","taeg","insurance_included"],"title":"EcairLoan","description":"Ecair credit-calculator result, persisted as a loan.\n\nStandalone sibling (not LoanBase): its monthly_payment is the stored,\nall-in amount returned by Ecair (insurance + 6-month report included), not\nan amortization of a nominal rate. Pydantic 2.12.5 forbids overriding the\ninherited `monthly_payment` computed_field with a stored field, hence no\nLoanBase inheritance."},"EcoPTZHypothesis":{"properties":{"upper_duration":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Upper Duration"},"amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amount"},"is_enabled":{"type":"boolean","title":"Is Enabled","default":false}},"type":"object","title":"EcoPTZHypothesis","description":"EcoPTZHypothesis is the hypothesis for the EcoPTZ loan\n\nThe user can edit a duration of the loan in months."},"EcoPTZLoan-Input":{"properties":{"amount":{"type":"number","title":"Amount","description":"Loan amount in euros"},"duration":{"type":"integer","title":"Duration","description":"Loan duration in months"},"interest_rate":{"type":"number","title":"Interest Rate","description":"Annual interest rate as a decimal"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"type":{"type":"string","const":"ecoptz","title":"Type","default":"ecoptz"},"repayment_type":{"type":"string","enum":["amortizing","in_fine"],"title":"Repayment Type","description":"Repayment structure. 'amortizing' spreads principal and interest over monthly payments. 'in_fine' means no monthly payments; the principal is repaid in a single bullet at maturity (used for bridge loans against future subsidies).","default":"amortizing"},"source":{"anyOf":[{"type":"string","const":"aap"},{"type":"null"}],"title":"Source","description":"Set when the backend computes the loan: locked in the UI"},"follows_remaining_cost":{"type":"boolean","title":"Follows Remaining Cost","description":"The backend resizes the loan to what the aids and the other loans leave; cleared once the adviser sets the amount","default":false},"from_scenario":{"type":"boolean","title":"From Scenario","description":"Copied from the scenario when the document was created","default":false},"show_on_document":{"type":"boolean","title":"Show On Document","description":"Print the consumer-credit block on the quote or invoice","default":true},"lender_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lender Name"},"apr":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Apr","description":"TAEG as an annual decimal, entered by the user"},"application_fees":{"type":"number","title":"Application Fees","description":"Application fees in euros","default":0.0},"insurance_monthly_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Insurance Monthly Amount","description":"Monthly insurance cost in euros, None without one"},"down_payment":{"type":"number","title":"Down Payment","description":"Personal contribution in euros, paid outside the loan","default":0.0},"first_payment_deferral_months":{"type":"integer","minimum":0.0,"title":"First Payment Deferral Months","description":"Months before the first payment; interest accrues meanwhile","default":0},"upper_bound":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Upper Bound","description":"Max amount that could be borrowed"}},"type":"object","required":["amount","duration","interest_rate"],"title":"EcoPTZLoan"},"EcoPTZLoan-Output":{"properties":{"amount":{"type":"number","title":"Amount","description":"Loan amount in euros"},"duration":{"type":"integer","title":"Duration","description":"Loan duration in months"},"interest_rate":{"type":"number","title":"Interest Rate","description":"Annual interest rate as a decimal"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"type":{"type":"string","const":"ecoptz","title":"Type","default":"ecoptz"},"repayment_type":{"type":"string","enum":["amortizing","in_fine"],"title":"Repayment Type","description":"Repayment structure. 'amortizing' spreads principal and interest over monthly payments. 'in_fine' means no monthly payments; the principal is repaid in a single bullet at maturity (used for bridge loans against future subsidies).","default":"amortizing"},"source":{"anyOf":[{"type":"string","const":"aap"},{"type":"null"}],"title":"Source","description":"Set when the backend computes the loan: locked in the UI"},"follows_remaining_cost":{"type":"boolean","title":"Follows Remaining Cost","description":"The backend resizes the loan to what the aids and the other loans leave; cleared once the adviser sets the amount","default":false},"from_scenario":{"type":"boolean","title":"From Scenario","description":"Copied from the scenario when the document was created","default":false},"show_on_document":{"type":"boolean","title":"Show On Document","description":"Print the consumer-credit block on the quote or invoice","default":true},"lender_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lender Name"},"apr":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Apr","description":"TAEG as an annual decimal, entered by the user"},"application_fees":{"type":"number","title":"Application Fees","description":"Application fees in euros","default":0.0},"insurance_monthly_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Insurance Monthly Amount","description":"Monthly insurance cost in euros, None without one"},"down_payment":{"type":"number","title":"Down Payment","description":"Personal contribution in euros, paid outside the loan","default":0.0},"first_payment_deferral_months":{"type":"integer","minimum":0.0,"title":"First Payment Deferral Months","description":"Months before the first payment; interest accrues meanwhile","default":0},"upper_bound":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Upper Bound","description":"Max amount that could be borrowed"},"monthly_payment":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthly Payment","description":"Calculate the monthly payment using the loan formula.","readOnly":true},"monthly_payment_with_insurance":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthly Payment With Insurance","readOnly":true},"total_credit_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Credit Cost","description":"Interest plus fees, insurance excluded; None for a bullet loan.","readOnly":true},"total_amount_due":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Amount Due","description":"What the borrower repays to the lender, insurance excluded.","readOnly":true},"total_purchase_cost_on_credit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Purchase Cost On Credit","readOnly":true}},"type":"object","required":["amount","duration","interest_rate","monthly_payment","monthly_payment_with_insurance","total_credit_cost","total_amount_due","total_purchase_cost_on_credit"],"title":"EcoPTZLoan"},"EcoPtzAction":{"type":"string","enum":["action_a_toiture","action_b_murs","action_c_vitrees","action_d_chauffage","action_e_renouvelable","action_f_ecs","action_g_planchers"],"title":"EcoPtzAction"},"EcoPtzActionAmountRead":{"properties":{"action":{"$ref":"#/components/schemas/EcoPtzAction"},"amount":{"type":"number","title":"Amount","description":"€ TTC after discounts"}},"type":"object","required":["action","amount"],"title":"EcoPtzActionAmountRead"},"EcoPtzCategory":{"type":"string","enum":["action_seule_dont_vitrees","action_seule_hors_vitrees","bouquet_2","bouquet_3_plus","performance_globale"],"title":"EcoPtzCategory","description":"The works category the Éco-PTZ Cerfa ticks."},"EfConso":{"properties":{"conso_ch":{"type":"number","title":"Conso Ch","description":"consommation annuelle de chauffage en energie finale (déduit de la production pv autoconsommée) (kWhef/an)","readOnly":true},"conso_ch_depensier":{"type":"number","title":"Conso Ch Depensier","description":"consommation annuelle de chauffage en energie finale pour le scénario dépensier (déduit de la production pv autoconsommée) (kWhef/an)","readOnly":true},"conso_ecs":{"type":"number","title":"Conso Ecs","description":"consommation annuelle d'ECS en energie finale (déduit de la production pv autoconsommée) (kWhef/an)","readOnly":true},"conso_ecs_depensier":{"type":"number","title":"Conso Ecs Depensier","description":"consommation annuelle d'ECS en energie finale pour le scénario dépensier (déduit de la production pv autoconsommée) (kWhef/an)","readOnly":true},"conso_eclairage":{"type":"number","title":"Conso Eclairage","description":"consommation annuelle d'eclairage en energie finale (déduit de la production pv autoconsommée) (kWhef/an)","readOnly":true},"conso_auxiliaire_generation_ch":{"type":"number","title":"Conso Auxiliaire Generation Ch","description":"consommation annuelle d'auxiliaires de génération de chauffage en energie finale (kWhef/an)","readOnly":true},"conso_auxiliaire_generation_ch_depensier":{"type":"number","title":"Conso Auxiliaire Generation Ch Depensier","description":"consommation annuelle d'auxiliaires de génération de chauffage en energie finale pour le scénario dépensier (kWhef/an)","readOnly":true},"conso_auxiliaire_distribution_ch":{"type":"number","title":"Conso Auxiliaire Distribution Ch","description":"consommation annuelle d'auxiliaires de distribution de chauffage en energie finale (kWhef/an)","readOnly":true},"conso_auxiliaire_generation_ecs":{"type":"number","title":"Conso Auxiliaire Generation Ecs","description":"consommation annuelle d'auxiliaires de generation d'ECS en energie finale (kWhef/an)","readOnly":true},"conso_auxiliaire_generation_ecs_depensier":{"type":"number","title":"Conso Auxiliaire Generation Ecs Depensier","description":"consommation annuelle d'auxiliaires de generation d'ECS en energie finale pour le scénario dépensier (kWhef/an)","readOnly":true},"conso_auxiliaire_distribution_ecs":{"type":"number","title":"Conso Auxiliaire Distribution Ecs","description":"consommation annuelle d'auxiliaires de distribution d'ECS en energie finale (kWhef/an)","readOnly":true},"conso_auxiliaire_distribution_fr":{"type":"number","title":"Conso Auxiliaire Distribution Fr","description":"consommation annuelle d'auxiliaires de distribution de froid en energie finale (kWhef/an) SUPPRIME","readOnly":true},"conso_auxiliaire_ventilation":{"type":"number","title":"Conso Auxiliaire Ventilation","description":"consommation annuelle d'auxiliaires de ventilation en energie finale (kWhef/an)","readOnly":true},"conso_totale_auxiliaire":{"type":"number","title":"Conso Totale Auxiliaire","description":"consommation annuelle de l'ensemble des auxiliaires en énergie finale (déduit de la production pv autoconsommée) (kWhef/an)","readOnly":true},"conso_fr":{"type":"number","title":"Conso Fr","description":"consommation de refroidissement annuel en energie finale (déduit de la production pv autoconsommée) (kWhef/an)","readOnly":true},"conso_fr_depensier":{"type":"number","title":"Conso Fr Depensier","description":"consommation de refroidissement annuel en energie finale pour le scénario dépensier (déduit de la production pv autoconsommée) (kWhef/an)","readOnly":true},"conso_5_usages":{"type":"number","title":"Conso 5 Usages","description":"consommation annuelle 5 usages (ecs/chauffage/climatisation/eclairage/auxiliaires) en energie finale (déduit de la production pv autoconsommée) (kWhef/an)","readOnly":true},"conso_5_usages_m2":{"type":"number","title":"Conso 5 Usages M2","description":"consommation annuelle 5 usages (ecs/chauffage/climatisation/eclairage/auxiliaires) en energie finale (déduit de la production pv autoconsommée) (kWhef/m²/an)","readOnly":true},"conso_5_usages_sans_ac":{"type":"number","title":"Conso 5 Usages Sans Ac","description":"consommation annuelle 5 usages (ecs/chauffage/climatisation/eclairage/auxiliaires) en energie finale (déduit de la production pv autoconsommée) (kWhef/an)","readOnly":true},"conso_5_usages_m2_sans_ac":{"type":"number","title":"Conso 5 Usages M2 Sans Ac","description":"consommation annuelle 5 usages (ecs/chauffage/climatisation/eclairage/auxiliaires) en energie finale (déduit de la production pv autoconsommée) (kWhef/m²/an)","readOnly":true}},"type":"object","required":["conso_ch","conso_ch_depensier","conso_ecs","conso_ecs_depensier","conso_eclairage","conso_auxiliaire_generation_ch","conso_auxiliaire_generation_ch_depensier","conso_auxiliaire_distribution_ch","conso_auxiliaire_generation_ecs","conso_auxiliaire_generation_ecs_depensier","conso_auxiliaire_distribution_ecs","conso_auxiliaire_distribution_fr","conso_auxiliaire_ventilation","conso_totale_auxiliaire","conso_fr","conso_fr_depensier","conso_5_usages","conso_5_usages_m2","conso_5_usages_sans_ac","conso_5_usages_m2_sans_ac"],"title":"EfConso","description":"Consommation d'énergie finale"},"ElectricAppliance":{"properties":{"type":{"$ref":"#/components/schemas/ElectricApplianceType"},"count":{"type":"integer","minimum":1.0,"title":"Count"}},"type":"object","required":["type","count"],"title":"ElectricAppliance","description":"A declared electric appliance with its unit count."},"ElectricApplianceType":{"type":"string","enum":["dryer","electric_vehicle","fridge","heated_pool","unheated_pool","sauna_spa"],"title":"ElectricApplianceType","description":"Heavy electric appliance type declared by the lead."},"ElectricMeter":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"subscribed_power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Subscribed Power","description":"Subscribed power (kVA)"},"meter_identification_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Meter Identification Number","description":"Unique identification number of the meter"},"phase":{"anyOf":[{"type":"string","enum":["mono","tri"]},{"type":"null"}],"title":"Phase"},"meter_type":{"anyOf":[{"type":"string","enum":["electro_mechanic","linky","electronic"]},{"type":"null"}],"title":"Meter Type","description":"Type of electric meter"}},"type":"object","title":"ElectricMeter"},"ElectricalLine-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"length":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Length","description":"Length of the electrical line"}},"type":"object","title":"ElectricalLine","description":"Documentation model for an electrical cable line."},"ElectricalLine-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Output"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Output"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"length":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Length","description":"Length of the electrical line"}},"type":"object","title":"ElectricalLine","description":"Documentation model for an electrical cable line."},"ElectricalPanel":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/ElectricalPanelAsset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"differential_protection":{"anyOf":[{"type":"string","enum":["yes","no","to_plan"]},{"type":"null"}],"title":"Differential Protection","description":"Differential protection on the panel, checked for VMC wiring"},"amperage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amperage","description":"Amperage of the main differential"},"is_compliant":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Compliant","description":"Whether the electrical panel meets current standards"},"has_sub_panel":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Sub Panel","description":"Whether a sub-panel is present"},"sub_panel_to_create":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sub Panel To Create","description":"Whether a sub-panel needs to be created"},"sub_panel_connection_point":{"anyOf":[{"type":"string","enum":["main_panel","existing_divisional_panel","branch_circuit_breaker"]},{"type":"null"}],"title":"Sub Panel Connection Point","description":"Where the sub-panel connects to the existing installation"},"sub_panel_distance":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Sub Panel Distance","description":"Cable length between the panel and the sub-panel (m)"},"cable_section":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cable Section","description":"Cable section between panel and sub-panel (mm2)"},"has_ground_connection":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Ground Connection","description":"Whether an earth/ground connection is present"},"ground_resistance":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ground Resistance","description":"Ground connection resistance (ohms)"}},"type":"object","title":"ElectricalPanel"},"ElectricalPanelAsset":{"properties":{"type":{"type":"string","enum":["video","sound","image","segmentation","marker","no_lidar_available","reconstruction_3d"],"title":"Type"},"coordinate":{"anyOf":[{"$ref":"#/components/schemas/AccomodationCoordinate"},{"type":"null"}]},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"attributes":{"items":{"$ref":"#/components/schemas/Attribute"},"type":"array","title":"Attributes","description":"A very broad field to store any relevant data related to this asset","default":[]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"tag":{"anyOf":[{"type":"string","enum":["wide","narrow","main_differential","sub_panel_location"]},{"type":"null"}],"title":"Tag"}},"additionalProperties":false,"type":"object","required":["type"],"title":"ElectricalPanelAsset"},"Electricite":{"properties":{"phase":{"anyOf":[{"type":"string","enum":["mono","tri"]},{"type":"null"}],"title":"Phase"}},"type":"object","title":"Electricite"},"Electricity":{"properties":{"electric_meter":{"anyOf":[{"$ref":"#/components/schemas/ElectricMeter"},{"type":"null"}]},"electrical_panel":{"anyOf":[{"$ref":"#/components/schemas/ElectricalPanel"},{"type":"null"}]},"circuit_breaker":{"anyOf":[{"$ref":"#/components/schemas/CircuitBreaker"},{"type":"null"}]},"consumption":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AutoElectricityConsumption"},{"$ref":"#/components/schemas/ManualElectricityConsumption"},{"$ref":"#/components/schemas/EnedisElectricityConsumption"}],"discriminator":{"propertyName":"mode","mapping":{"auto":"#/components/schemas/AutoElectricityConsumption","enedis":"#/components/schemas/EnedisElectricityConsumption","manual":"#/components/schemas/ManualElectricityConsumption"}}},{"type":"null"}],"title":"Consumption"},"subscription":{"anyOf":[{"$ref":"#/components/schemas/ElectricitySubscription-Input"},{"type":"null"}]},"valorization":{"anyOf":[{"$ref":"#/components/schemas/Valorization"},{"type":"null"}]}},"type":"object","title":"Electricity"},"ElectricityBreakdown":{"properties":{"heating_kwh":{"type":"number","title":"Heating Kwh"},"dhw_kwh":{"type":"number","title":"Dhw Kwh"},"appliances_kwh":{"type":"number","title":"Appliances Kwh"},"base_kwh":{"type":"number","title":"Base Kwh"}},"type":"object","required":["heating_kwh","dhw_kwh","appliances_kwh","base_kwh"],"title":"ElectricityBreakdown","description":"Annual decomposition of the AUTO-estimated total, per usage (kWh).\n\nMirrors how the total is built: electric heating + electric DHW (3CL,\nelectricity energy only), declared appliances (ADEME medians) and a base\nresidual (lighting, auxiliaries, DPE other-uses forfeit) that absorbs the\nrest so the four segments always sum to `total_kwh`."},"ElectricityConsumptionProfile":{"type":"string","enum":["active","telework","retired","secondary_residence"],"title":"ElectricityConsumptionProfile","description":"Lead's lifestyle profile, used to refine consumption estimation."},"ElectricitySeriesRequest":{"properties":{"period":{"$ref":"#/components/schemas/ConsumptionPeriod"},"selected_month":{"$ref":"#/components/schemas/Month","default":1}},"type":"object","required":["period"],"title":"ElectricitySeriesRequest","description":"Body of `POST /api/answers/{id}/electricity-series` — mirrors FE viewState."},"ElectricitySeriesResponse":{"properties":{"period":{"$ref":"#/components/schemas/ConsumptionPeriod"},"points":{"items":{"$ref":"#/components/schemas/ConsumptionPoint"},"type":"array","title":"Points"},"breakdown":{"anyOf":[{"$ref":"#/components/schemas/ElectricityBreakdown"},{"type":"null"}]},"total_kwh":{"type":"number","title":"Total Kwh","readOnly":true},"total_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Eur","readOnly":true}},"type":"object","required":["period","points","total_kwh","total_eur"],"title":"ElectricitySeriesResponse","description":"Series + totals for the requested view returned to the FE chart."},"ElectricitySubscription-Input":{"properties":{"mode":{"anyOf":[{"$ref":"#/components/schemas/ElectricitySubscriptionMode"},{"type":"null"}]},"subscription_fee":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Subscription Fee","description":"Monthly subscription fee in EUR (TTC)"},"base_pricing":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Base Pricing","description":"BASE mode price in EUR/kWh (TTC)"},"peak_pricing":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Peak Pricing","description":"HP_HC mode peak-hour price in EUR/kWh (TTC)"},"off_peak_pricing":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Off Peak Pricing","description":"HP_HC mode off-peak price in EUR/kWh (TTC)"},"off_peak_slots":{"anyOf":[{"items":{"$ref":"#/components/schemas/OffPeakSlot-Input"},"type":"array","maxItems":3},{"type":"null"}],"title":"Off Peak Slots","description":"Off-peak slots (HP_HC mode only). Up to 3 slots."}},"type":"object","title":"ElectricitySubscription","description":"Lead's electricity subscription: pricing scheme, off-peak slots, monthly fee."},"ElectricitySubscription-Output":{"properties":{"mode":{"anyOf":[{"$ref":"#/components/schemas/ElectricitySubscriptionMode"},{"type":"null"}]},"subscription_fee":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Subscription Fee","description":"Monthly subscription fee in EUR (TTC)"},"base_pricing":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Base Pricing","description":"BASE mode price in EUR/kWh (TTC)"},"peak_pricing":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Peak Pricing","description":"HP_HC mode peak-hour price in EUR/kWh (TTC)"},"off_peak_pricing":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Off Peak Pricing","description":"HP_HC mode off-peak price in EUR/kWh (TTC)"},"off_peak_slots":{"anyOf":[{"items":{"$ref":"#/components/schemas/OffPeakSlot-Output"},"type":"array","maxItems":3},{"type":"null"}],"title":"Off Peak Slots","description":"Off-peak slots (HP_HC mode only). Up to 3 slots."}},"type":"object","title":"ElectricitySubscription","description":"Lead's electricity subscription: pricing scheme, off-peak slots, monthly fee."},"ElectricitySubscriptionDefaults":{"properties":{"base_subscription_fee":{"type":"number","title":"Base Subscription Fee"},"base_pricing":{"type":"number","title":"Base Pricing"},"hp_hc_subscription_fee":{"type":"number","title":"Hp Hc Subscription Fee"},"peak_pricing":{"type":"number","title":"Peak Pricing"},"off_peak_pricing":{"type":"number","title":"Off Peak Pricing"}},"type":"object","required":["base_subscription_fee","base_pricing","hp_hc_subscription_fee","peak_pricing","off_peak_pricing"],"title":"ElectricitySubscriptionDefaults","description":"What fills a subscription's missing prices: €/kWh and €/month TTC."},"ElectricitySubscriptionMode":{"type":"string","enum":["base","hp_hc"],"title":"ElectricitySubscriptionMode","description":"Pricing scheme of the lead's electricity contract."},"ElectricityUses":{"properties":{"prm":{"type":"string","title":"Prm"},"breakdown":{"anyOf":[{"$ref":"#/components/schemas/LoadBreakdown"},{"type":"null"}]},"weather_stations":{"items":{"type":"string"},"type":"array","title":"Weather Stations","default":[]},"contract":{"anyOf":[{"$ref":"#/components/schemas/MeterContract"},{"type":"null"}]},"coordinates":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"}],"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Coordinates"},"not_ready_reason":{"anyOf":[{"type":"string","enum":["no_coordinates","computing","weather_pending","no_load_curve"]},{"type":"null"}],"title":"Not Ready Reason"}},"type":"object","required":["prm"],"title":"ElectricityUses","description":"The lead's load curve split into standby, water heater, heating, cooling, a\nsteady load and the rest, against the observed temperatures at their address."},"EmetteurChauffage":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/argile__engine__dpe__models__heaters__emitter__DonneeEntree"},"donnee_intermediaire":{"$ref":"#/components/schemas/argile__engine__dpe__models__heaters__emitter__DonneeIntermediaire"}},"type":"object","required":["donnee_entree"],"title":"EmetteurChauffage"},"EmetteurChauffageCollection":{"properties":{"emetteur_chauffage":{"items":{"$ref":"#/components/schemas/EmetteurChauffage"},"type":"array","minItems":1,"title":"Emetteur Chauffage"}},"type":"object","title":"EmetteurChauffageCollection"},"EmetteurPiece":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/EmetteurPieceDonneeEntree"},"donnee_intermediaire":{"$ref":"#/components/schemas/EmetteurPieceDonneeIntermediaire"}},"type":"object","required":["donnee_entree"],"title":"EmetteurPiece"},"EmetteurPieceCollection":{"properties":{"emetteur_piece":{"items":{"$ref":"#/components/schemas/EmetteurPiece"},"type":"array","title":"Emetteur Piece"}},"type":"object","title":"EmetteurPieceCollection"},"EmetteurPieceDonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"longueur_emetteur":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Longueur Emetteur","description":"Longueur de l'émetteur"},"largeur_emetteur":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Largeur Emetteur","description":"Largeur de l'émetteur"},"tv_type_emetteur_ch_id":{"anyOf":[{"type":"integer","maximum":43.0,"minimum":1.0},{"type":"null"}],"title":"Tv Type Emetteur Ch Id","description":"ID de la ligne de la table utilisée pour le calcul du type d'émetteur de chauffage","examples":[1]},"surface_plancher_chauffant":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Plancher Chauffant","description":"Surface du plancher chauffant"}},"type":"object","title":"EmetteurPieceDonneeEntree"},"EmetteurPieceDonneeIntermediaire":{"properties":{"puissance_50":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Puissance 50","description":"Puissance totale de l'émetteur avec une température d'eau de 50°C","__compute_if_none":"compute_puissance_50"},"pente_emission_moyenne":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Pente Emission Moyenne","description":"Pente de l'émission moyenne","__compute_if_none":"compute_pente_emission_moyenne"}},"type":"object","title":"EmetteurPieceDonneeIntermediaire"},"EmissionGes":{"properties":{"emission_ges_ch":{"type":"number","title":"Emission Ges Ch","description":"estimation GES de chauffage (déduit de la production pv autoconsommée) (kgCO2/an)","readOnly":true},"emission_ges_ch_depensier":{"type":"number","title":"Emission Ges Ch Depensier","description":"estimation GES de chauffage pour le scénario dépensier (déduit de la production pv autoconsommée) (kgCO2/an)","readOnly":true},"emission_ges_ecs":{"type":"number","title":"Emission Ges Ecs","description":"estimation GES d'ECS (déduit de la production pv autoconsommée) (kgCO2/an)","readOnly":true},"emission_ges_ecs_depensier":{"type":"number","title":"Emission Ges Ecs Depensier","description":"estimation GES d'ECS pour le scénario dépensier (déduit de la production pv autoconsommée) (kgCO2/an)","readOnly":true},"emission_ges_eclairage":{"type":"number","title":"Emission Ges Eclairage","description":"estimation GES d'eclairage (déduit de la production pv autoconsommée) (kgCO2/an)","readOnly":true},"emission_ges_auxiliaire_generation_ch":{"type":"number","title":"Emission Ges Auxiliaire Generation Ch","description":"estimation GES d'auxiliaires de génération de chauffage (kgCO2/an)","readOnly":true},"emission_ges_auxiliaire_generation_ch_depensier":{"type":"number","title":"Emission Ges Auxiliaire Generation Ch Depensier","description":"estimation GES d'auxiliaires de génération de chauffage pour le scénario dépensier (kgCO2/an)","readOnly":true},"emission_ges_auxiliaire_distribution_ch":{"type":"number","title":"Emission Ges Auxiliaire Distribution Ch","description":"estimation GES d'auxiliaires de distribution de chauffage (kgCO2/an)","readOnly":true},"emission_ges_auxiliaire_generation_ecs":{"type":"number","title":"Emission Ges Auxiliaire Generation Ecs","description":"estimation GES d'auxiliaires de generation d'ECS (kgCO2/an)","readOnly":true},"emission_ges_auxiliaire_generation_ecs_depensier":{"type":"number","title":"Emission Ges Auxiliaire Generation Ecs Depensier","description":"estimation GES d'auxiliaires de generation d'ECS pour le scénario dépensier (kgCO2/an)","readOnly":true},"emission_ges_auxiliaire_distribution_ecs":{"type":"number","title":"Emission Ges Auxiliaire Distribution Ecs","description":"estimation GES d'auxiliaires de distribution d'ECS (kgCO2/an)","readOnly":true},"emission_ges_auxiliaire_distribution_fr":{"type":"number","title":"Emission Ges Auxiliaire Distribution Fr","description":"estimation GES d'auxiliaires de distribution de froid (kgCO2/an) SUPPRIME","readOnly":true},"emission_ges_auxiliaire_ventilation":{"type":"number","title":"Emission Ges Auxiliaire Ventilation","description":"estimation GES d'auxiliaires de ventilation (kgCO2/an)","readOnly":true},"emission_ges_totale_auxiliaire":{"type":"number","title":"Emission Ges Totale Auxiliaire","description":"estimation GES de l'ensemble des auxiliaires (déduit de la production pv autoconsommée) (kgCO2/an)","readOnly":true},"emission_ges_fr":{"type":"number","title":"Emission Ges Fr","description":"estimation GES de refroidissement annuel (déduit de la production pv autoconsommée) (kgCO2/an)","readOnly":true},"emission_ges_fr_depensier":{"type":"number","title":"Emission Ges Fr Depensier","description":"estimation GES de refroidissement pour le scénario dépensier (déduit de la production pv autoconsommée) (kgCO2/an)","readOnly":true},"emission_ges_5_usages":{"type":"number","title":"Emission Ges 5 Usages","description":"estimation GES totale 5 usages (déduit de la production pv autoconsommée) (ecs/chauffage/climatisation/eclairage/auxiliaires)(kgCO2/an)","readOnly":true},"emission_ges_5_usages_m2":{"type":"number","title":"Emission Ges 5 Usages M2","description":"estimation GES totale 5 usages rapportée au m² (déduit de la production pv autoconsommée) (ecs/chauffage/climatisation/eclairage/auxiliaires) (kgCO2/m2/an)","readOnly":true},"classe_emission_ges_avant_mars_2024":{"type":"string","pattern":"[A-G]","title":"Classe Emission Ges Avant Mars 2024","description":"classe d'estimation ges du DPE 5 usages modifiée par l'arrêté du 25 mars 2024","readOnly":true},"classe_emission_ges":{"type":"string","pattern":"[A-G]","title":"Classe Emission Ges","description":"classe d'estimation ges du DPE 5 usages","readOnly":true}},"type":"object","required":["emission_ges_ch","emission_ges_ch_depensier","emission_ges_ecs","emission_ges_ecs_depensier","emission_ges_eclairage","emission_ges_auxiliaire_generation_ch","emission_ges_auxiliaire_generation_ch_depensier","emission_ges_auxiliaire_distribution_ch","emission_ges_auxiliaire_generation_ecs","emission_ges_auxiliaire_generation_ecs_depensier","emission_ges_auxiliaire_distribution_ecs","emission_ges_auxiliaire_distribution_fr","emission_ges_auxiliaire_ventilation","emission_ges_totale_auxiliaire","emission_ges_fr","emission_ges_fr_depensier","emission_ges_5_usages","emission_ges_5_usages_m2","classe_emission_ges_avant_mars_2024","classe_emission_ges"],"title":"EmissionGes"},"EmitterPower":{"properties":{"power_p50":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Power P50","description":"Puissance nominale EN 442, None si type ou taille manque"},"power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Power","description":"Puissance émise à cette température d'eau (kW)"}},"type":"object","required":["power_p50","power"],"title":"EmitterPower"},"EmitterPowerRequest":{"properties":{"emitter":{"$ref":"#/components/schemas/RoomEmitter"},"water_temperature":{"type":"number","maximum":90.0,"minimum":20.0,"title":"Water Temperature","description":"Température de départ d'eau (°C)"},"t_cons":{"type":"number","maximum":30.0,"minimum":10.0,"title":"T Cons","description":"Température de consigne (°C)"}},"type":"object","required":["emitter","water_temperature","t_cons"],"title":"EmitterPowerRequest"},"EmitterSizing":{"properties":{"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"power_p50":{"type":"number","title":"Power P50","description":"Puissance nominale, écart eau/air de 50 °C (kW)"},"power":{"type":"number","title":"Power","description":"Puissance émise à la température d'eau retenue (kW)"}},"type":"object","required":["reference","power_p50","power"],"title":"EmitterSizing"},"EmittersSizing":{"properties":{"water_temperature":{"type":"integer","title":"Water Temperature","description":"Température d'eau à laquelle les émetteurs sont lus (°C)"},"deperditions":{"type":"number","title":"Deperditions","description":"Déperditions après travaux sur la surface chauffée (kW)"},"emitters_power_p50":{"type":"number","title":"Emitters Power P50"},"emitters_power":{"type":"number","title":"Emitters Power"},"heated_floor_power":{"type":"number","title":"Heated Floor Power","description":"Part de la puissance émise par les planchers chauffants"},"coverage_p50":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Coverage P50","description":"None tant que les radiateurs ne décrivent pas le logement"},"coverage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Coverage","description":"None tant que les radiateurs ne décrivent pas le logement"},"coverage_level":{"anyOf":[{"$ref":"#/components/schemas/CoverageLevel"},{"type":"null"}]},"rooms":{"items":{"$ref":"#/components/schemas/RoomEmittersSizing"},"type":"array","title":"Rooms"},"leftover_emitters":{"items":{"$ref":"#/components/schemas/EmitterSizing"},"type":"array","title":"Leftover Emitters","description":"Radiateurs d'un circuit rattachés à aucune de ses pièces, comptés dans les totaux","default":[]},"circuits":{"items":{"$ref":"#/components/schemas/CircuitSizing"},"type":"array","title":"Circuits","description":"Chaque circuit de la PAC, servi ou non","default":[]}},"type":"object","required":["water_temperature","deperditions","emitters_power_p50","emitters_power","heated_floor_power","coverage_p50","coverage","coverage_level","rooms"],"title":"EmittersSizing","description":"Totals cover the rooms the heat pump serves; `rooms` lists them all."},"EnedisElectricityConsumption":{"properties":{"profile":{"anyOf":[{"$ref":"#/components/schemas/ElectricityConsumptionProfile"},{"type":"null"}]},"electric_appliances":{"anyOf":[{"items":{"$ref":"#/components/schemas/ElectricAppliance"},"type":"array"},{"type":"null"}],"title":"Electric Appliances","description":"Declared electric appliances with their count (e.g. [{'type': 'dryer', 'count': 1}]). Each type appears at most once; omit the entry instead of storing count=0."},"mode":{"type":"string","const":"enedis","title":"Mode","default":"enedis"},"total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total","description":"Annual electricity consumption (kWh, interpreted as kWh/year by convention). Filled in MANUAL mode (user input) and ENEDIS mode (API import, may be None while pending). AUTO mode never carries a total — the value is recomputed from the DPE plus appliances and occupancy profile."}},"type":"object","title":"EnedisElectricityConsumption","description":"ENEDIS mode: total imported from Enedis; None while sync is pending."},"EnergiesPreviewRequest":{"properties":{"energy_readings":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/EnergyReading"},"propertyNames":{"$ref":"#/components/schemas/TypeEnergie"},"type":"object"},{"type":"null"}],"title":"Energy Readings"}},"type":"object","title":"EnergiesPreviewRequest","description":"Readings being entered, not saved yet."},"EnergyBillCost":{"properties":{"type_energie":{"$ref":"#/components/schemas/TypeEnergie"},"cout":{"type":"number","title":"Cout"},"conso_kwh":{"type":"number","title":"Conso Kwh"},"prix_kwh":{"type":"number","title":"Prix Kwh"},"abonnement":{"type":"number","title":"Abonnement"},"usages":{"$ref":"#/components/schemas/UsageAmounts"}},"type":"object","required":["type_energie","cout","conso_kwh","prix_kwh","abonnement","usages"],"title":"EnergyBillCost","description":"One energy's part of a bill (€/year TTC, kWh/year); `cout` includes its\nsubscription, `prix_kwh` is the consumption price alone."},"EnergyKwhPrice":{"properties":{"type_energie":{"$ref":"#/components/schemas/TypeEnergie"},"prix_kwh":{"type":"number","title":"Prix Kwh"}},"type":"object","required":["type_energie","prix_kwh"],"title":"EnergyKwhPrice","description":"What one energy costs per kWh on a bill's lines, subscription apart (€/kWh)."},"EnergyPrice":{"properties":{"kwh_price":{"type":"number","title":"Kwh Price"},"market_kwh_price":{"type":"number","title":"Market Kwh Price"},"subscription":{"type":"number","title":"Subscription"},"is_custom":{"type":"boolean","title":"Is Custom"}},"type":"object","required":["kwh_price","market_kwh_price","subscription","is_custom"],"title":"EnergyPrice","description":"What the energy costs at the band of its simulated consumption (€ TTC)."},"EnergyReading":{"properties":{"value":{"type":"number","minimum":0.0,"title":"Value"},"unit":{"$ref":"#/components/schemas/ReadingUnit"},"source":{"$ref":"#/components/schemas/ReadingSource"},"uses":{"anyOf":[{"$ref":"#/components/schemas/MeasuredUses"},{"type":"null"}]}},"type":"object","required":["value","unit","source"],"title":"EnergyReading","description":"A yearly consumption as entered: a bill in € TTC subscription included, kWh\nas billed (PCS for natural gas), or the energy's native unit."},"EnergyUse":{"properties":{"kwh":{"type":"number","title":"Kwh"},"cost":{"type":"number","title":"Cost"}},"type":"object","required":["kwh","cost"],"title":"EnergyUse","description":"A consumption without its subscription (kWh PCI/year, €/year)."},"EnvelopeRule":{"type":"string","enum":["walls_over_15_shab","wall_over_its_bounds","walls_over_3_shab","house_mostly_party_walls","house_walls_off_geometry","house_shab_off_footprint"],"title":"EnvelopeRule"},"EnvelopeZone":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"is_insulable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Insulable","description":"Is the wall zone insulable for an ITE"},"is_deperditive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Deperditive","description":"Is the wall zone related to a heated zone?"},"to_isolate":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"To Isolate","description":"Is the wall zone to be isolated (ITE/ITI)?"},"surface_paroi_totale":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Paroi Totale","description":"Surface of the wall zone","examples":[10.5]},"shape":{"anyOf":[{"$ref":"#/components/schemas/ZoneShape"},{"type":"null"}],"description":"Shape of the wall zone"},"max_width":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Width","description":"Maximum width of the wall zone"},"max_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Height","description":"Maximum height of the wall zone"},"min_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Height","description":"Minimum height of the wall zone, used to compute a pentagon or trapezoid surface"},"enum_type_adjacence_id":{"anyOf":[{"$ref":"#/components/schemas/TypeAdjacence","ge":1,"le":22},{"type":"null"}],"description":"DEPRECATED type d'adjacence de la zone de paroi","examples":[1]},"coating_only":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Coating Only","description":"Is the wall zone to be coated only?"},"no_insulation_reason":{"anyOf":[{"$ref":"#/components/schemas/NoInsulationReason"},{"type":"null"}],"description":"Reason why the zone is not isolated (used only when the zone is neither to be isolated nor coated)"},"reference_asset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Asset","description":"Reference of the asset associated to the zone"},"needs_scaffolding":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Needs Scaffolding","description":"Indique si un échafaudage est nécessaire pour cette zone de mur (sélectionné lors de la visite technique)"},"auto_measured_edges":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Auto Measured Edges","description":"Edge lengths in meters"},"auto_surface_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Auto Surface Ratio","description":"Calibration constant captured at AI measurement time, equal to surface_paroi_totale (m²) divided by the normalized polygon area at creation."},"auto_moge_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auto Moge Object Id","description":"MoGe call id, replayed for remeasure."},"auto_photo_size_px":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Auto Photo Size Px","description":"Pixel dimensions [height, width] of the source photo, used to rasterize the stored normalized polygon when remeasuring."},"subtracted_zones":{"anyOf":[{"items":{"$ref":"#/components/schemas/SubtractedEnvelopeZone"},"type":"array"},{"type":"null"}],"title":"Subtracted Zones","description":"Subtracted zones of the envelope zone"}},"type":"object","title":"EnvelopeZone","description":"An envelope zone - part of a wall or roof with subtracted zones."},"Enveloppe":{"properties":{"inertie":{"$ref":"#/components/schemas/Inertie"},"mur_collection":{"$ref":"#/components/schemas/MurCollection"},"plancher_bas_collection":{"$ref":"#/components/schemas/PlancherBasCollection"},"plancher_haut_collection":{"$ref":"#/components/schemas/PlancherHautCollection"},"baie_vitree_collection":{"$ref":"#/components/schemas/BaieVitreeCollection"},"porte_collection":{"$ref":"#/components/schemas/PorteCollection"},"ets_collection":{"$ref":"#/components/schemas/EtsCollection"},"pont_thermique_collection":{"$ref":"#/components/schemas/PontThermiqueCollection"}},"type":"object","required":["inertie","mur_collection","plancher_bas_collection","plancher_haut_collection","baie_vitree_collection","porte_collection","ets_collection","pont_thermique_collection"],"title":"Enveloppe"},"EpConso":{"properties":{"threshold_class_closeness":{"type":"number","title":"Threshold Class Closeness","default":0.05},"ep_conso_ch":{"type":"number","title":"Ep Conso Ch","description":"consommation annuelle de chauffage en energie primaire (déduit de la production pv autoconsommée) (kWhep/an)","readOnly":true},"ep_conso_ch_depensier":{"type":"number","title":"Ep Conso Ch Depensier","description":"consommation annuelle de chauffage en energie primaire pour le scénario dépensier (déduit de la production pv autoconsommée) (kWhep/an)","readOnly":true},"ep_conso_ecs":{"type":"number","title":"Ep Conso Ecs","description":"consommation annuelle d'ECS en energie primaire (déduit de la production pv autoconsommée) (kWhep/an)","readOnly":true},"ep_conso_ecs_depensier":{"type":"number","title":"Ep Conso Ecs Depensier","description":"consommation annuelle d'ECS en energie primaire pour le scénario dépensier (déduit de la production pv autoconsommée) (kWhep/an)","readOnly":true},"ep_conso_eclairage":{"type":"number","title":"Ep Conso Eclairage","description":"consommation annuelle d'eclairage en energie primaire (déduit de la production pv autoconsommée) (kWhep/an)","readOnly":true},"ep_conso_auxiliaire_generation_ch":{"type":"number","title":"Ep Conso Auxiliaire Generation Ch","description":"consommation annuelle d'auxiliaires de génération de chauffage en energie primaire (kWhep/an)","readOnly":true},"ep_conso_auxiliaire_generation_ch_depensier":{"type":"number","title":"Ep Conso Auxiliaire Generation Ch Depensier","description":"consommation annuelle d'auxiliaires de génération de chauffage en energie primaire pour le scénario dépensier (kWhep/an)","readOnly":true},"ep_conso_auxiliaire_distribution_ch":{"type":"number","title":"Ep Conso Auxiliaire Distribution Ch","description":"consommation annuelle d'auxiliaires de distribution de chauffage en energie primaire (kWhep/an)","readOnly":true},"ep_conso_auxiliaire_generation_ecs":{"type":"number","title":"Ep Conso Auxiliaire Generation Ecs","description":"consommation annuelle d'auxiliaires de generation d'ECS en energie primaire (kWhep/an)","readOnly":true},"ep_conso_auxiliaire_generation_ecs_depensier":{"type":"number","title":"Ep Conso Auxiliaire Generation Ecs Depensier","description":"consommation annuelle d'auxiliaires de generation d'ECS en energie primaire pour le scénario dépensier (kWhep/an)","readOnly":true},"ep_conso_auxiliaire_distribution_ecs":{"type":"number","title":"Ep Conso Auxiliaire Distribution Ecs","description":"consommation annuelle d'auxiliaires de distribution d'ECS en energie primaire (kWhep/an)","readOnly":true},"ep_conso_auxiliaire_distribution_fr":{"type":"number","title":"Ep Conso Auxiliaire Distribution Fr","description":"consommation annuelle d'auxiliaires de distribution de froid en energie primaire (kWhep/an) SUPPRIME","readOnly":true},"ep_conso_auxiliaire_ventilation":{"type":"number","title":"Ep Conso Auxiliaire Ventilation","description":"consommation annuelle d'auxiliaires de ventilation en energie primaire (kWhep/an)","readOnly":true},"ep_conso_totale_auxiliaire":{"type":"number","title":"Ep Conso Totale Auxiliaire","description":"consommation annuelle de l'ensemble des auxiliaires en energie primaire (déduit de la production pv autoconsommée) (kWhep/an)","readOnly":true},"ep_conso_fr":{"type":"number","title":"Ep Conso Fr","description":"consommation de refroidissement annuel en énergie primaire (déduit de la production pv autoconsommée) (kWhep/an)","readOnly":true},"ep_conso_fr_depensier":{"type":"number","title":"Ep Conso Fr Depensier","description":"consommation de refroidissement annuel en énergie primaire pour le scénario dépensier (déduit de la production pv autoconsommée) (kWhep/an)","readOnly":true},"ep_conso_5_usages_m2_avant_jan_2026":{"type":"number","title":"Ep Conso 5 Usages M2 Avant Jan 2026","description":"consommation annuelle 5 usages en energie primaire avec le coefficient de conversion électricité en vigueur en 2025 (kWhep/m²/an)","readOnly":true,"export_to_dpe":false},"ep_conso_5_usages":{"type":"number","title":"Ep Conso 5 Usages","description":"consommation annuelle 5 usages (ecs/chauffage/climatisation/eclairage/auxiliaires) en energie primaire (déduit de la production pv autoconsommée) (kWhep/an)","readOnly":true},"ep_conso_5_usages_m2":{"type":"number","title":"Ep Conso 5 Usages M2","description":"consommation annuelle 5 usages (ecs/chauffage/climatisation/eclairage/auxiliaires) en energie primaire (déduit de la production pv autoconsommée) (kWhep/m²/an)","readOnly":true},"ep_conso_5_usages_sans_ac":{"type":"number","title":"Ep Conso 5 Usages Sans Ac","description":"consommation annuelle 5 usages (ecs/chauffage/climatisation/eclairage/auxiliaires) en energie primaire (hors production pv autoconsommée) (kWhep/m²/an)","readOnly":true,"export_to_dpe":false},"ep_conso_5_usages_m2_sans_ac":{"type":"number","title":"Ep Conso 5 Usages M2 Sans Ac","description":"consommation annuelle 5 usages (ecs/chauffage/climatisation/eclairage/auxiliaires) en energie primaire (hors production pv autoconsommée) (kWhep/m²/an)","readOnly":true,"export_to_dpe":false},"classe_bilan_dpe_avant_mars_2024":{"type":"string","pattern":"[A-G]","title":"Classe Bilan Dpe Avant Mars 2024","description":"classe du bilan dpe (A-G) sans la modulation des petites surfaces (mars 2024)","readOnly":true},"classe_bilan_dpe_avant_jan_2026":{"type":"string","pattern":"[A-G]","title":"Classe Bilan Dpe Avant Jan 2026","description":"classe du bilan dpe (A-G) avec les règles en vigueur en 2025","readOnly":true},"classe_bilan_dpe":{"type":"string","pattern":"[A-G]","title":"Classe Bilan Dpe","description":"classe du bilan dpe (A-G) avec les règles en vigueur en mars 2024.","readOnly":true},"is_bilan_dpe_proche_classe_superieure":{"type":"boolean","title":"Is Bilan Dpe Proche Classe Superieure","description":"True si la classe bilan dpe est proche de la classe supérieure (par exemple une classe C proche de B)","readOnly":true},"is_bilan_dpe_proche_classe_inferieure":{"type":"boolean","title":"Is Bilan Dpe Proche Classe Inferieure","description":"True si la classe bilan dpe est proche de la classe inférieure (par exemple une classe C proche de D)","readOnly":true}},"type":"object","required":["ep_conso_ch","ep_conso_ch_depensier","ep_conso_ecs","ep_conso_ecs_depensier","ep_conso_eclairage","ep_conso_auxiliaire_generation_ch","ep_conso_auxiliaire_generation_ch_depensier","ep_conso_auxiliaire_distribution_ch","ep_conso_auxiliaire_generation_ecs","ep_conso_auxiliaire_generation_ecs_depensier","ep_conso_auxiliaire_distribution_ecs","ep_conso_auxiliaire_distribution_fr","ep_conso_auxiliaire_ventilation","ep_conso_totale_auxiliaire","ep_conso_fr","ep_conso_fr_depensier","ep_conso_5_usages_m2_avant_jan_2026","ep_conso_5_usages","ep_conso_5_usages_m2","ep_conso_5_usages_sans_ac","ep_conso_5_usages_m2_sans_ac","classe_bilan_dpe_avant_mars_2024","classe_bilan_dpe_avant_jan_2026","classe_bilan_dpe","is_bilan_dpe_proche_classe_superieure","is_bilan_dpe_proche_classe_inferieure"],"title":"EpConso"},"EquipementIntermittence":{"type":"integer","enum":[1,2,3,4,5,6,7],"title":"EquipementIntermittence"},"EquipmentCreate":{"properties":{"enum_type_travaux_id":{"$ref":"#/components/schemas/TypeTravaux","description":"Kind of equipment (reuses TypeTravaux). Stored as the int value."},"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"serial_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serial Number"},"power":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Power","description":"Free-form rated power, e.g. '16 kW'"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location","description":"Where the equipment sits, e.g. 'Local technique'"},"commissioned_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Commissioned At"},"last_service_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Last Service At"},"periodicity":{"$ref":"#/components/schemas/MaintenancePeriodicity","description":"How often the equipment must be serviced","default":"annual"},"next_due_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Next Due At","description":"Next service due date; derived when left unset"},"status":{"$ref":"#/components/schemas/MaintenanceStatus","description":"Whether the equipment is still followed up","default":"active"},"under_contract":{"type":"boolean","title":"Under Contract","description":"Covered by a maintenance contract","default":false},"annual_amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Annual Amount","description":"Yearly contract amount, in euros"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"worksite_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Worksite Id"}},"type":"object","required":["enum_type_travaux_id"],"title":"EquipmentCreate","description":"Payload for putting a piece of equipment under maintenance follow-up.\n\n`next_due_at` is optional: left unset, it is derived from `last_service_at`\nand `periodicity`."},"EquipmentListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/EquipmentRead"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"EquipmentListResponse","description":"Wrapper for list-of-equipments responses."},"EquipmentRead":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"enum_type_travaux_id":{"$ref":"#/components/schemas/TypeTravaux","description":"Kind of equipment (reuses TypeTravaux). Stored as the int value."},"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"serial_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Serial Number"},"power":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Power","description":"Free-form rated power, e.g. '16 kW'"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location","description":"Where the equipment sits, e.g. 'Local technique'"},"commissioned_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Commissioned At"},"last_service_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Last Service At"},"periodicity":{"$ref":"#/components/schemas/MaintenancePeriodicity","description":"How often the equipment must be serviced","default":"annual"},"next_due_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Next Due At","description":"Next service due date; derived when left unset"},"status":{"$ref":"#/components/schemas/MaintenanceStatus","description":"Whether the equipment is still followed up","default":"active"},"under_contract":{"type":"boolean","title":"Under Contract","description":"Covered by a maintenance contract","default":false},"annual_amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Annual Amount","description":"Yearly contract amount, in euros"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"lead_id":{"type":"string","format":"uuid","title":"Lead Id"},"lead":{"$ref":"#/components/schemas/LeadContactRead"},"branch_id":{"type":"string","format":"uuid","title":"Branch Id"},"worksite_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Worksite Id"},"due_status":{"$ref":"#/components/schemas/MaintenanceDueStatus"},"days_until_due":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Days Until Due"},"next_intervention_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Next Intervention Id"},"next_intervention_start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Intervention Start"},"interventions_count":{"type":"integer","title":"Interventions Count"}},"type":"object","required":["enum_type_travaux_id","lead_id","lead","branch_id","worksite_id","due_status","days_until_due","next_intervention_id","next_intervention_start","interventions_count"],"title":"EquipmentRead","description":"A piece of equipment as exposed by the API, client included: the branch\nlisting shows hundreds of dwellings and must not resolve each lead itself."},"Etape":{"type":"integer","enum":[0,1,2,3,4,5],"title":"Etape"},"EtapeTravaux":{"properties":{"travaux_collection":{"$ref":"#/components/schemas/TravauxCollection","default":{"travaux":[]}},"travaux_induits_collection":{"$ref":"#/components/schemas/TravauxInduitsCollection","default":{"travaux_induits":[]}},"travaux_resume_collection":{"$ref":"#/components/schemas/TravauxResumeCollection","default":{"travaux_resume":[]}},"cout":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Cout","description":"Coût des travaux de l’étape, dont les travaux auxiliaires permettant la bonne exécution (€TTC)"},"cout_cumule":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Cumule","description":"Coût cumulé du scénario de travaux jusqu’à l’étape en cours inclus, dont les travaux auxiliaires permettant la bonne exécution (€TTC)"},"ep_conso_ch_m2":{"type":"number","title":"Ep Conso Ch M2","description":"Consommation annuelle de chauffage en energie primaire (déduit de la production pv autoconsommée) (kWhep/m²SHAB/an)","readOnly":true},"ep_conso_ecs_m2":{"type":"number","title":"Ep Conso Ecs M2","description":"Consommation annuelle d'ECS en energie primaire (déduit de la production pv autoconsommée) (kWhep/m²SHAB/an)","readOnly":true},"ep_conso_eclairage_m2":{"type":"number","title":"Ep Conso Eclairage M2","description":"Consommation annuelle d'eclairage en energie primaire (déduit de la production pv autoconsommée) (kWhep/m²SHAB/an)","readOnly":true},"ep_conso_totale_auxiliaire_m2":{"type":"number","title":"Ep Conso Totale Auxiliaire M2","description":"Consommation annuelle de l'ensemble des auxiliaires en energie primaire (déduit de la production pv autoconsommée) (kWhep/m²SHAB/an)","readOnly":true},"ep_conso_fr_m2":{"type":"number","title":"Ep Conso Fr M2","description":"Consommation de refroidissement annuel en énergie primaire (déduit de la production pv autoconsommée) (kWhep/m²SHAB/an)","readOnly":true},"ep_conso_5_usages_m2":{"type":"number","title":"Ep Conso 5 Usages M2","description":"Consommation annuelle 5 usages (ecs/chauffage/climatisation/eclairage/auxiliaires) en energie primaire (déduit de la production pv autoconsommée) (kWhep/m²SHAB/an)","readOnly":true},"ep_conso_5_usages_m2_sans_ac":{"type":"number","title":"Ep Conso 5 Usages M2 Sans Ac","description":"Consommation annuelle 5 usages (hors production pv autoconsommée) (ecs/chauffage/climatisation/eclairage/auxiliaires) en energie primaire (kWhep/m²SHAB/an)","readOnly":true},"ef_conso_ch_m2":{"type":"number","title":"Ef Conso Ch M2","description":"Consommation annuelle de chauffage en energie finale (déduit de la production pv autoconsommée) (kWhef/m²SHAB/an)","readOnly":true},"ef_conso_ecs_m2":{"type":"number","title":"Ef Conso Ecs M2","description":"Consommation annuelle d'ECS en energie finale (déduit de la production pv autoconsommée) (kWhef/m²SHAB/an)","readOnly":true},"ef_conso_eclairage_m2":{"type":"number","title":"Ef Conso Eclairage M2","description":"Consommation annuelle d'eclairage en energie finale (déduit de la production pv autoconsommée) (kWhef/m²SHAB/an)","readOnly":true},"ef_conso_totale_auxiliaire_m2":{"type":"number","title":"Ef Conso Totale Auxiliaire M2","description":"Consommation annuelle de l'ensemble des auxiliaires en energie finale (déduit de la production pv autoconsommée) (kWhef/m²SHAB/an)","readOnly":true},"conso_auxiliaire_ventilation":{"type":"number","title":"Conso Auxiliaire Ventilation","description":"Consommation annuelle des auxiliaires de ventilation en energie finale (kWhef/an)","readOnly":true},"cout_auxiliaire_ventilation":{"type":"number","title":"Cout Auxiliaire Ventilation","description":"Coût annuel des auxiliaires de ventilation (€/an)","readOnly":true},"ef_conso_fr_m2":{"type":"number","title":"Ef Conso Fr M2","description":"Consommation de refroidissement annuel en énergie finale (déduit de la production pv autoconsommée) (kWhef/m²SHAB/an)","readOnly":true},"ef_conso_5_usages_m2":{"type":"number","title":"Ef Conso 5 Usages M2","description":"Consommation annuelle 5 usages (déduit de la production pv autoconsommée) (ecs/chauffage/climatisation/eclairage/auxiliaires) en energie finale (kWhef/m²SHAB/an)","readOnly":true},"ef_conso_5_usages_m2_sans_ac":{"type":"number","title":"Ef Conso 5 Usages M2 Sans Ac","description":"Consommation annuelle 5 usages (hors production pv autoconsommée) (ecs/chauffage/climatisation/eclairage/auxiliaires) en energie finale (kWhef/m²SHAB/an)","readOnly":true},"emission_ges_5_usages_m2":{"type":"number","title":"Emission Ges 5 Usages M2","description":"Emission GES totale 5 usages (déduit de la production pv autoconsommée)(ecs/chauffage/climatisation/eclairage/auxiliaires)(kgCO2eq/m²SHAB/an)","readOnly":true},"classe_emission_ges":{"type":"string","pattern":"[A-G]","title":"Classe Emission Ges","description":"Classe d'estimation utils.ges du DPE 5 usages","readOnly":true},"classe_bilan_dpe":{"type":"string","pattern":"[A-G]","title":"Classe Bilan Dpe","description":"Classe du DPE issu de la synthèse du double seuil sur les consommations énergie primaire et les émissions de CO2 sur les 5 usages (ecs/chauffage/climatisation/eclairage/auxiliaires)","readOnly":true},"classe_bilan_ges_gain":{"type":"integer","title":"Classe Bilan Ges Gain","description":"Nombre de saut de classe des GES","readOnly":true},"classe_bilan_dpe_gain":{"type":"integer","title":"Classe Bilan Dpe Gain","description":"Nombre de saut de classe du DPE","readOnly":true},"ep_conso_5_usages_m2_gain":{"type":"number","title":"Ep Conso 5 Usages M2 Gain","description":"Gain en énergie primaire (totale 5 usages rapportée au m², déduit de la production pv autoconsommée) de l'étape par rapport à l’étape précédente (kWhep/m²SHAB/an)","readOnly":true},"ep_conso_5_usages_m2_gain_relatif":{"type":"number","title":"Ep Conso 5 Usages M2 Gain Relatif","description":"Gain relatif en énergie primaire (totale 5 usages rapportée au m², déduit de la production pv autoconsommée) de l'étape par rapport à l’étape précédente (%)","readOnly":true},"ef_conso_5_usages_m2_gain":{"type":"number","title":"Ef Conso 5 Usages M2 Gain","description":"Gain en énergie finale (totale 5 usages rapportée au m², déduit de la production pv autoconsommée) de l'étape par rapport à l’étape précédente (kWhef/m²SHAB/an)","readOnly":true},"ef_conso_5_usages_m2_gain_relatif":{"type":"number","title":"Ef Conso 5 Usages M2 Gain Relatif","description":"Gain relatif en énergie finale (totale 5 usages rapportée au m², déduit de la production pv autoconsommée) de l'étape par rapport à l’étape précédente (%)","readOnly":true},"emission_ges_5_usages_m2_gain":{"type":"number","title":"Emission Ges 5 Usages M2 Gain","description":"Gain en énergie primaire (totale 5 usages rapportée au m², déduit de la production pv autoconsommée) de l'étape par rapport à l’étape précédente (kgCO2eq/m²SHAB/an)","readOnly":true},"emission_ges_5_usages_m2_gain_relatif":{"type":"number","title":"Emission Ges 5 Usages M2 Gain Relatif","description":"Gain relatif en énergie primaire (totale 5 usages rapportée au m², déduit de la production pv autoconsommée) de l'étape par rapport à l’étape précédente (%)","readOnly":true},"facture_gain":{"type":"number","title":"Facture Gain","description":"Economie sur les factures annuelles d'énergie de l'étape par rapport à l’étape précédente (€/an)","readOnly":true},"facture_gain_ch":{"type":"number","title":"Facture Gain Ch","description":"Economie sur la facture annuelle de chauffage de l'étape par rapport à l’étape précédente (€/an)","readOnly":true},"facture_gain_ecs":{"type":"number","title":"Facture Gain Ecs","description":"Economie sur la facture annuelle d'eau chaude sanitaire de l'étape par rapport à l’étape précédente (€/an)","readOnly":true},"ep_conso_5_usages_m2_gain_cumule":{"type":"number","title":"Ep Conso 5 Usages M2 Gain Cumule","description":"Gain en énergie primaire (totale 5 usages rapportée au m², déduit de la production pv autoconsommée) du scénario de travaux cumulé jusqu’à l’étape en cours inclus (kWhep/m²SHAB/an)","readOnly":true},"ep_conso_5_usages_m2_gain_cumule_relatif":{"type":"number","title":"Ep Conso 5 Usages M2 Gain Cumule Relatif","description":"Gain relatif en énergie primaire (totale 5 usages rapportée au m², déduit de la production pv autoconsommée) du scénario de travaux cumulé jusqu’à l’étape en cours inclus (%)","readOnly":true},"ef_conso_5_usages_m2_gain_cumule":{"type":"number","title":"Ef Conso 5 Usages M2 Gain Cumule","description":"Gain en énergie finale (totale 5 usages rapportée au m², déduit de la production pv autoconsommée) du scénario de travaux cumulé jusqu’à l’étape en cours inclus (kWhef/m²SHAB/an)","readOnly":true},"ef_conso_5_usages_m2_gain_cumule_relatif":{"type":"number","title":"Ef Conso 5 Usages M2 Gain Cumule Relatif","description":"Gain relatif en énergie finale (totale 5 usages rapportée au m², déduit de la production pv autoconsommée) du scénario de travaux cumulé jusqu’à l’étape en cours inclus (%)","readOnly":true},"emission_ges_5_usages_m2_gain_cumule":{"type":"number","title":"Emission Ges 5 Usages M2 Gain Cumule","description":"Réduction des GES (totale 5 usages rapportée au m², déduit de la production pv autoconsommée) du scénario de travaux cumulée jusqu’à l’étape en cours inclus (kgCO2eq/m²SHAB/an)","readOnly":true},"emission_ges_5_usages_m2_gain_cumule_relatif":{"type":"number","title":"Emission Ges 5 Usages M2 Gain Cumule Relatif","description":"Réduction relative des GES (totale 5 usages rapportée au m², déduit de la production pv autoconsommée) du scénario de travaux cumulée jusqu’à l’étape en cours inclus (%)","readOnly":true},"facture_gain_cumule":{"type":"number","title":"Facture Gain Cumule","description":"Economie sur les factures annuelles d'énergie de l'étape par rapport à l’état initial (€/an)","readOnly":true},"aide_financiere_locale":{"type":"string","title":"Aide Financiere Locale","description":"Mention des principales aides financières disponibles au niveau locale","readOnly":true},"aide_financiere_nationale_montant":{"type":"number","title":"Aide Financiere Nationale Montant","description":"Mention des principales aides financières disponibles au niveau nationale","readOnly":true},"aide_financiere_locale_montant":{"type":"number","title":"Aide Financiere Locale Montant","description":"Mention des principales aides financières disponibles au niveau locale","readOnly":true},"aide_financiere_nationale":{"type":"string","title":"Aide Financiere Nationale","description":"Mention des principales aides financières disponibles au niveau nationale","readOnly":true},"production_pv":{"type":"number","title":"Production Pv","description":"production d'électricité photovoltaïque (kWhep/an)","readOnly":true,"export_to_dpe":false},"production_pv_vendue":{"type":"number","title":"Production Pv Vendue","description":"production d'électricité non utilisée (et donc revendue au réseau) (kWhep/an)","readOnly":true,"export_to_dpe":false},"conso_elec_ac":{"type":"number","title":"Conso Elec Ac","description":"consommation d'électricité autoconsommée (kWhep/an)","readOnly":true,"export_to_dpe":false},"conso_elec_totale":{"type":"number","title":"Conso Elec Totale","description":"consommation électrique totale du logement avant autoconsommation PV (5 usages DPE + autres usages électriques) (kWhef/an)","readOnly":true,"export_to_dpe":false},"taux_autoproduction":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taux Autoproduction","description":"taux d'autoproduction Tap de la production d'électricité d'origine renouvelable","readOnly":true,"export_to_dpe":false},"qualite_isolation":{"$ref":"#/components/schemas/QualiteIsolation","readOnly":true},"confort_ete":{"$ref":"#/components/schemas/ConfortEte","readOnly":true},"has_cooling":{"type":"boolean","title":"Has Cooling","readOnly":true},"qualite_etancheite":{"$ref":"#/components/schemas/QualityType","readOnly":true,"export_to_dpe":false},"qualite_sonore":{"type":"integer","title":"Qualite Sonore","readOnly":true,"export_to_dpe":false},"qualite_air":{"$ref":"#/components/schemas/QualityType","readOnly":true,"export_to_dpe":false},"qualite_humidite":{"$ref":"#/components/schemas/QualityType","readOnly":true,"export_to_dpe":false},"confort_hiver":{"$ref":"#/components/schemas/QualityType","readOnly":true,"export_to_dpe":false},"pertes_m2":{"type":"number","title":"Pertes M2","description":"Perte de m2 due à l'isolation par l'intérieur","readOnly":true,"export_to_dpe":false},"shab":{"type":"number","title":"Shab","description":"Surface habitable du logement après isolation par l'intérieur","readOnly":true,"export_to_dpe":false},"u_mur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"U Mur","readOnly":true},"u_plancher_haut":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"U Plancher Haut","readOnly":true},"u_plancher_bas":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"U Plancher Bas","readOnly":true},"u_baie_vitree":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"U Baie Vitree","readOnly":true},"u_porte":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"U Porte","readOnly":true},"k_pont_thermique":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"K Pont Thermique","readOnly":true},"h_vent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"H Vent","readOnly":true},"h_perm":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"H Perm","readOnly":true},"deperdition_totale":{"type":"number","title":"Deperdition Totale","description":"Déperditions totales (kW)","readOnly":true},"deperdition":{"$ref":"#/components/schemas/Deperdition","description":"Expose the full `sortie.Deperdition` object (mur, toiture, planchers,\nbaies vitrées, ventilation, etc.) computed on the futur logement to\nsimplify downstream access to each component.","readOnly":true},"deperditions":{"$ref":"#/components/schemas/DPEDeperditionsResponse","description":"Déperditions NF EN 12831-1 du logement après travaux (transmission + ventilation, breakdown par poste).","readOnly":true},"winter_comfort":{"$ref":"#/components/schemas/WinterComfort","description":"Température ressentie après travaux, à la température extérieure de base.","readOnly":true},"deperdition_enveloppe":{"type":"number","title":"Deperdition Enveloppe","description":"deperditions par l'enveloppe (GV). Pour les DPE immeubles et appartement à partir de l'immeuble ces données sont à l'immeuble. Pour les DPE appartements, ces données sont à l'appartement","readOnly":true}},"type":"object","required":["ep_conso_ch_m2","ep_conso_ecs_m2","ep_conso_eclairage_m2","ep_conso_totale_auxiliaire_m2","ep_conso_fr_m2","ep_conso_5_usages_m2","ep_conso_5_usages_m2_sans_ac","ef_conso_ch_m2","ef_conso_ecs_m2","ef_conso_eclairage_m2","ef_conso_totale_auxiliaire_m2","conso_auxiliaire_ventilation","cout_auxiliaire_ventilation","ef_conso_fr_m2","ef_conso_5_usages_m2","ef_conso_5_usages_m2_sans_ac","emission_ges_5_usages_m2","classe_emission_ges","classe_bilan_dpe","classe_bilan_ges_gain","classe_bilan_dpe_gain","ep_conso_5_usages_m2_gain","ep_conso_5_usages_m2_gain_relatif","ef_conso_5_usages_m2_gain","ef_conso_5_usages_m2_gain_relatif","emission_ges_5_usages_m2_gain","emission_ges_5_usages_m2_gain_relatif","facture_gain","facture_gain_ch","facture_gain_ecs","ep_conso_5_usages_m2_gain_cumule","ep_conso_5_usages_m2_gain_cumule_relatif","ef_conso_5_usages_m2_gain_cumule","ef_conso_5_usages_m2_gain_cumule_relatif","emission_ges_5_usages_m2_gain_cumule","emission_ges_5_usages_m2_gain_cumule_relatif","facture_gain_cumule","aide_financiere_locale","aide_financiere_nationale_montant","aide_financiere_locale_montant","aide_financiere_nationale","production_pv","production_pv_vendue","conso_elec_ac","conso_elec_totale","taux_autoproduction","qualite_isolation","confort_ete","has_cooling","qualite_etancheite","qualite_sonore","qualite_air","qualite_humidite","confort_hiver","pertes_m2","shab","u_mur","u_plancher_haut","u_plancher_bas","u_baie_vitree","u_porte","k_pont_thermique","h_vent","h_perm","deperdition_totale","deperdition","deperditions","winter_comfort","deperdition_enveloppe"],"title":"EtapeTravaux"},"EtatComposant":{"type":"integer","enum":[1,2],"title":"EtatComposant"},"Ets":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/argile__engine__dpe__models__envelop__ets__DonneeEntree"},"donnee_intermediaire":{"$ref":"#/components/schemas/argile__engine__dpe__models__envelop__ets__DonneeIntermediaire"},"baie_ets_collection":{"$ref":"#/components/schemas/BaieEtsCollection"}},"type":"object","required":["donnee_entree","baie_ets_collection"],"title":"Ets"},"EtsCollection":{"properties":{"ets":{"items":{"$ref":"#/components/schemas/Ets"},"type":"array","title":"Ets","description":"Liste des baies vitrées"}},"type":"object","title":"EtsCollection"},"Event":{"type":"string","enum":["LEAD_CREATED","LEAD_UPDATED","LEAD_DELETED","LEAD_STATUS_CHANGED","LEAD_STATUS_GROUP_CHANGED","LEAD_EMAIL_CHANGED","LEAD_PHONE_CHANGED","LEAD_ADDRESS_CHANGED","LEAD_CONTACT_DATE_CHANGED","LEAD_VISIT_DATE_CHANGED","LEAD_ASSIGNED","LEAD_INFO_UPDATED","MAIL_RECEIVED","MAIL_SENT","MAIL_RECEIVED_FROM_CLIENT","LEAD_TAG_ADDED","LEAD_TAG_REMOVED","LEAD_COMMENT_ADDED","LEAD_COMMENT_UPDATED","LEAD_COMMENT_DELETED","TASK_CREATED","TASK_UPDATED","TASK_RENAMED","TASK_ASSIGNED","TASK_COMPLETED","TASK_REOPENED","TASK_DELETED","QUOTE_CREATED","QUOTE_UPDATED","QUOTE_SENT","QUOTE_READY","QUOTE_SIGNED","QUOTE_DELETED","SCENARIO_ADDED","SCENARIO_CONTENT_UPDATED","SCENARIO_RENAMED","SCENARIO_DELETED","NOTE_ADDED","NOTE_UPDATED","NOTE_RENAMED","NOTE_DELETED","HOUSING_UPDATED","PROJECT_INFO_UPDATED","ADMIN_FOLDER_CREATED","INVOICE_CREATED","INVOICE_UPDATED","INVOICE_VALIDATED","DOCUMENT_IMPORTED","DOCUMENT_CREATED_FROM_TEMPLATE","DOCUMENT_UPDATED","MAINTENANCE_EQUIPMENT_ADDED","MAINTENANCE_EQUIPMENT_STATUS_CHANGED","MAINTENANCE_INTERVENTION_DONE","WORKSITE_CREATED","WORKSITE_DELETED","WORKSITE_CLOSED","WORKSITE_LOT_ASSIGNED","WORKSITE_TASK_COMPLETED","WORKSITE_TIME_LOGGED","WORKSITE_LOT_PLANNED","WORKSITE_LOT_PROGRESSED","WORKSITE_PHOTO_ADDED","DEADLINE_REACHED","SUBJECT_CLOSED","SUBJECT_REOPENED","SUBJECT_DELETED","GUARD_OVERRIDDEN","TASK_COMMAND_FAILED","TASK_SNOOZED","TASK_DISMISSED","TASK_CANCELLED","IMPORT_COMPLETED","SESSION_EVENT_RECORDED","ALERT_VALIDATION_UPDATED","MAINTENANCE_SCHEDULE_CHANGED","AID_FILE_CREATED","AID_FILE_UPDATED","AID_FILE_VISA_GRANTED","AID_FILE_VISA_REVOKED","AID_CREATED","AID_UPDATED","AID_STATUS_CHANGED","AID_DOCUMENT_UPDATED","AID_DOCUMENT_REVIEWED","AID_AUDIT_RECORDED","TECHNICAL_VISIT_DONE","ONE_CLICK_DONE","OC_CONTACT_DEMAND","ACQUISITION_DONE","ANNUAIRE_CONTACT_DEMAND","SESSION_CREATED","SESSION_UPDATED","SESSION_EVENT_TRACKED","SESSION_LEAD_ASSOCIATED","SESSION_USER_ASSOCIATED","SESSION_UTM_CAPTURED","USER_SESSION_STARTED","USER_SESSION_ENDED","USER_LOGIN","USER_LOGOUT","USER_PROFILE_UPDATED","USER_PASSWORD_CHANGED","USER_FEATURE_ACCESSED","USER_DEACTIVATED","USER_DELETED","USER_BRANCHES_CHANGED","PAGE_VIEW","BUTTON_CLICKED","FORM_SUBMITTED","FORM_STARTED","FORM_ABANDONED","FORM_FIELD_FOCUSED","QUOTE_GENERATED","SCENARIO_CREATED","SCENARIO_UPDATED","ANSWER_UPDATED","REPORT_GENERATED","AAP_CHECK_COMPLETED","DEAL_CLOSED","DOCUMENT_DOWNLOADED","TECHNICAL_VISIT_SCHEDULED","TECHNICAL_VISIT_COMPLETED","EMAIL_OPENED","EMAIL_CLICKED","SMS_SENT","CALL_SCHEDULED","CALL_COMPLETED","UTM_PARAMETERS_CAPTURED","REFERRER_CAPTURED","CAMPAIGN_ATTRIBUTED"],"title":"Event","description":"Event types for webhooks and session tracking"},"Evidence":{"properties":{"trigger_quotes":{"type":"integer","title":"Trigger Quotes","description":"Quotes with the equipment"},"quotes_with_line":{"type":"integer","title":"Quotes With Line","description":"Of which those with the line"},"confidence":{"type":"number","title":"Confidence"},"examples":{"items":{"type":"string"},"type":"array","title":"Examples","description":"References of quotes with both"}},"type":"object","required":["trigger_quotes","quotes_with_line","confidence","examples"],"title":"Evidence"},"Exclude-Input":{"properties":{"type":{"type":"string","const":"exclude","title":"Type","default":"exclude"},"target":{"oneOf":[{"$ref":"#/components/schemas/ItemRef"},{"$ref":"#/components/schemas/ItemQuery-Input"}],"title":"Target","discriminator":{"propertyName":"type","mapping":{"item_query":"#/components/schemas/ItemQuery-Input","item_ref":"#/components/schemas/ItemRef"}}}},"additionalProperties":false,"type":"object","required":["target"],"title":"Exclude","description":"Removes the lines the target names."},"Exclude-Output":{"properties":{"type":{"type":"string","const":"exclude","title":"Type","default":"exclude"},"target":{"oneOf":[{"$ref":"#/components/schemas/ItemRef"},{"$ref":"#/components/schemas/ItemQuery-Output"}],"title":"Target","discriminator":{"propertyName":"type","mapping":{"item_query":"#/components/schemas/ItemQuery-Output","item_ref":"#/components/schemas/ItemRef"}}}},"additionalProperties":false,"type":"object","required":["target"],"title":"Exclude","description":"Removes the lines the target names."},"ExistingConduit":{"properties":{"should_remove":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Remove","description":"Whether the existing conduit should be removed"},"material":{"anyOf":[{"$ref":"#/components/schemas/ExistingConduitMaterial"},{"type":"null"}],"description":"Material of the existing conduit"},"depth":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Depth","description":"Depth of the existing conduit in cm"},"width":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Width","description":"Width of the existing conduit in cm"}},"type":"object","title":"ExistingConduit","description":"Existing chimney conduit properties."},"ExistingConduitMaterial":{"type":"string","enum":["brick","inox","concrete","other"],"title":"ExistingConduitMaterial"},"ExistingPvGroup":{"properties":{"reference":{"type":"string","title":"Reference","description":"Stable id of the group within the scenario"},"roof_section_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Roof Section Reference","description":"Reference to the parent RoofSection"},"catalog_item_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Item Id","description":"Reference to the catalog item used for this group. May point to a deleted item — consumers must tolerate misses."},"placement":{"anyOf":[{"$ref":"#/components/schemas/PvPlacement"},{"type":"null"}],"description":"Module placement orientation (horizontal/vertical)"},"has_support":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Support","description":"True if the modules are mounted on a dedicated support structure, False if installed directly on the roof."},"spacing_cm":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Spacing Cm","description":"Spacing between modules in centimeters"},"modules":{"items":{"$ref":"#/components/schemas/PvModule"},"type":"array","title":"Modules","description":"Modules belonging to this group"},"orientation_degrees":{"anyOf":[{"type":"number","exclusiveMaximum":360.0,"minimum":0.0},{"type":"null"}],"title":"Orientation Degrees","description":"Orientation of the group on the compass, in degrees (0° = North)."},"inclination_degrees":{"anyOf":[{"type":"number","maximum":90.0,"minimum":0.0},{"type":"null"}],"title":"Inclination Degrees","description":"Tilt of the modules from horizontal, in degrees. When unset, consumers derive it from the roof section or roofs."},"module_count":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Module Count","description":"Number of photovoltaic modules"},"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand","description":"Module brand/manufacturer"},"pose_type":{"anyOf":[{"$ref":"#/components/schemas/PvPoseType"},{"type":"null"}],"description":"How the installation is mounted"},"contract_end_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contract End Date","description":"Resale contract end date (ISO 8601)"},"bta_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bta Number","description":"BTA contract number (low-voltage grid connection)"},"module_power_wc":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Module Power Wc","description":"Unit power of a single module (Wc)"},"grid_connection":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Grid Connection","description":"Whether the installation is connected to the grid"},"has_battery":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Battery","description":"Whether a storage battery is present"},"has_hems":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Hems","description":"Whether a home energy management system (HEMS) is present"},"assets":{"anyOf":[{"items":{"$ref":"#/components/schemas/Asset"},"type":"array"},{"type":"null"}],"title":"Assets","description":"Photos/documents of the existing installation"}},"type":"object","required":["reference"],"title":"ExistingPvGroup","description":"A group of identical PV modules already installed (VT « Équipements actuels »).\n\nReuses the works ``PvGroup`` geometry/modules and adds the documentation\nfields of an existing installation."},"ExternalIdentityProviderRead":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"is_main":{"type":"boolean","title":"Is Main"},"data":{"additionalProperties":true,"type":"object","title":"Data"},"branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id"}},"type":"object","required":["id","name","is_main","data","branch_id"],"title":"ExternalIdentityProviderRead","description":"Read model for ExternalIdentityProvider"},"ExtraOptions-Input":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"pretax":{"type":"number","title":"Pretax","description":"Price of the work excluding tax per unit"},"price_ttc_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ttc Per Unit","description":"TTC unit price the line was sold at, on a TTC document: it rules the line's total, its HT unit price is derived from it"},"tax_rate":{"type":"number","title":"Tax Rate"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit","description":"Unit of the work, e.g. 'm2', 'unite', 'kW', 'kWh', etc."},"quantity":{"type":"number","title":"Quantity","description":"Quantity of the work, e.g. 10 for 10m2, 1 for 1 unit, etc.","default":1},"title":{"type":"string","title":"Title","description":"Title of the work to be displayed in the interface"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description of the work to be displayed in the interface","default":""},"properties":{"anyOf":[{"$ref":"#/components/schemas/TechnicalProperties-Input"},{"type":"null"}],"description":"Technical properties of the work"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/argile__engine__dpe__models__catalog_article__ItemType"},{"type":"null"}],"description":"Type de l'element: produit, option, service"},"cout_achat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Achat","description":"Unit cost price of the work excluding tax per unit"},"assets":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Assets","description":"List of URI assets for the technical visit"},"discount":{"anyOf":[{"$ref":"#/components/schemas/Discount"},{"type":"null"}],"description":"Discount applied to this line (euro amount or percent)."},"catalog_item_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Item Id","description":"Reference to the original catalog item, null for manually created lines"},"catalog_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Id","description":"Catalog the line was picked from; null falls back to the document's catalog"},"selling_pricing_mode":{"$ref":"#/components/schemas/CatalogItemPricingMode","default":"manual"},"purchase_pricing_mode":{"$ref":"#/components/schemas/CatalogItemPricingMode","default":"manual"},"articles":{"anyOf":[{"items":{"$ref":"#/components/schemas/QuoteLineArticle-Input"},"type":"array"},{"type":"null"}],"title":"Articles"},"excluded_free_articles":{"anyOf":[{"items":{"$ref":"#/components/schemas/QuoteLineArticle-Input"},"type":"array"},{"type":"null"}],"title":"Excluded Free Articles","description":"Free purchase lines unchecked on this line: out of every total and order, kept so that they can be checked back."},"is_editable":{"type":"boolean","title":"Is Editable","description":"Whether this line can be modified or deleted. When False, only the description remains editable.","default":true},"is_optional":{"type":"boolean","title":"Is Optional","description":"If True, this option is shown to the client but excluded from all totals, taxes, discounts, subsidies and loans calculations.","default":false},"eligible_to_mpr":{"type":"boolean","title":"Eligible To Mpr","description":"Line-level eligibility, combined with the parent price's flag","default":true},"eligible_to_mpr_performance":{"type":"boolean","title":"Eligible To Mpr Performance","default":true},"eligible_to_ecoptz":{"type":"boolean","title":"Eligible To Ecoptz","default":true},"eligible_to_ecoptz_reno_globale":{"type":"boolean","title":"Eligible To Ecoptz Reno Globale","default":true}},"type":"object","required":["pretax","tax_rate","title"],"title":"ExtraOptions"},"ExtraOptions-Output":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"price_ht_per_unit":{"type":"number","title":"Price Ht Per Unit","description":"Price of the work excluding tax per unit"},"price_ttc_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ttc Per Unit","description":"TTC unit price the line was sold at, on a TTC document: it rules the line's total, its HT unit price is derived from it"},"tax_rate":{"type":"number","title":"Tax Rate"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit","description":"Unit of the work, e.g. 'm2', 'unite', 'kW', 'kWh', etc."},"quantity":{"type":"number","title":"Quantity","description":"Quantity of the work, e.g. 10 for 10m2, 1 for 1 unit, etc.","default":1},"title":{"type":"string","title":"Title","description":"Title of the work to be displayed in the interface"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description of the work to be displayed in the interface","default":""},"properties":{"anyOf":[{"$ref":"#/components/schemas/TechnicalProperties-Output"},{"type":"null"}],"description":"Technical properties of the work"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/ItemType-Output"},{"type":"null"}],"description":"Type de l'element: produit, option, service"},"cout_achat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Achat","description":"Unit cost price of the work excluding tax per unit"},"assets":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Assets","description":"List of URI assets for the technical visit"},"discount":{"anyOf":[{"$ref":"#/components/schemas/Discount"},{"type":"null"}],"description":"Discount applied to this line (euro amount or percent)."},"catalog_item_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Item Id","description":"Reference to the original catalog item, null for manually created lines"},"catalog_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Id","description":"Catalog the line was picked from; null falls back to the document's catalog"},"selling_pricing_mode":{"$ref":"#/components/schemas/CatalogItemPricingMode","default":"manual"},"purchase_pricing_mode":{"$ref":"#/components/schemas/CatalogItemPricingMode","default":"manual"},"articles":{"anyOf":[{"items":{"$ref":"#/components/schemas/QuoteLineArticle-Output"},"type":"array"},{"type":"null"}],"title":"Articles"},"excluded_free_articles":{"anyOf":[{"items":{"$ref":"#/components/schemas/QuoteLineArticle-Output"},"type":"array"},{"type":"null"}],"title":"Excluded Free Articles","description":"Free purchase lines unchecked on this line: out of every total and order, kept so that they can be checked back."},"is_editable":{"type":"boolean","title":"Is Editable","description":"Whether this line can be modified or deleted. When False, only the description remains editable.","default":true},"is_optional":{"type":"boolean","title":"Is Optional","description":"If True, this option is shown to the client but excluded from all totals, taxes, discounts, subsidies and loans calculations.","default":false},"eligible_to_mpr":{"type":"boolean","title":"Eligible To Mpr","description":"Line-level eligibility, combined with the parent price's flag","default":true},"eligible_to_mpr_performance":{"type":"boolean","title":"Eligible To Mpr Performance","default":true},"eligible_to_ecoptz":{"type":"boolean","title":"Eligible To Ecoptz","default":true},"eligible_to_ecoptz_reno_globale":{"type":"boolean","title":"Eligible To Ecoptz Reno Globale","default":true}},"type":"object","required":["price_ht_per_unit","tax_rate","title"],"title":"ExtraOptions"},"ExtractedCatalogItem":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"enum_type_travaux_id":{"$ref":"#/components/schemas/TypeTravaux"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}]},"item_type":{"anyOf":[{"$ref":"#/components/schemas/ItemType-Output"},{"type":"null"}]},"properties":{"anyOf":[{"$ref":"#/components/schemas/TechnicalProperties-Output"},{"type":"null"}]},"confidence":{"type":"number","title":"Confidence","default":0.0}},"type":"object","required":["enum_type_travaux_id"],"title":"ExtractedCatalogItem"},"FECRateAccounts":{"properties":{"product_account_num":{"type":"string","pattern":"^[A-Za-z0-9]{1,13}$","title":"Product Account Num","description":"Product account number"},"product_account_lib":{"type":"string","minLength":1,"title":"Product Account Lib","description":"Product account label"},"vat_account_num":{"type":"string","pattern":"^[A-Za-z0-9]{1,13}$","title":"Vat Account Num","description":"Collected VAT account number"},"vat_account_lib":{"type":"string","minLength":1,"title":"Vat Account Lib","description":"Collected VAT account label"}},"type":"object","required":["product_account_num","product_account_lib","vat_account_num","vat_account_lib"],"title":"FECRateAccounts","description":"Product and collected-VAT accounts of a single VAT rate."},"FacadeSegment":{"properties":{"start":{"type":"number","maximum":1.0,"minimum":0.0,"title":"Start","description":"Start of the portion (0 to 1)"},"end":{"type":"number","maximum":1.0,"minimum":0.0,"title":"End","description":"End of the portion (0 to 1)"}},"type":"object","required":["start","end"],"title":"FacadeSegment","description":"Portion of the facade line covered by a wall, as ratios of the facade\nlength so that it survives a recomputation of the facade geometry."},"FactRead":{"properties":{"id":{"type":"string","title":"Id"},"subject":{"type":"string","title":"Subject"},"type":{"type":"string","title":"Type"},"synonyms":{"items":{"type":"string"},"type":"array","title":"Synonyms"},"values":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Values"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"value_work_types":{"items":{"$ref":"#/components/schemas/FactValueWorkTypes"},"type":"array","title":"Value Work Types","description":"Values meaning something for some work types only","default":[]},"work_types":{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array","title":"Work Types","description":"Work types the fact means something for; empty for all","default":[]}},"type":"object","required":["id","subject","type","synonyms","values","unit"],"title":"FactRead","description":"What a fact reads, for the front to name: its id, type and values."},"FactType":{"type":"string","enum":["boolean","number","text","enum"],"title":"FactType"},"FactValueWorkTypes":{"properties":{"value":{"type":"string","title":"Value"},"work_types":{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array","title":"Work Types","description":"Work types the value means something for"}},"type":"object","required":["value","work_types"],"title":"FactValueWorkTypes"},"FavoriteBrands":{"properties":{"brands":{"items":{"type":"string"},"type":"array","title":"Brands"}},"type":"object","required":["brands"],"title":"FavoriteBrands"},"FicheCEE":{"type":"string","enum":["BAR-TH-101","BAR-TH-102","BAR-TH-104","BAR-TH-111","BAR-TH-112","BAR-TH-113","BAR-TH-116","BAR-TH-117","BAR-TH-122","BAR-TH-123","BAR-TH-124","BAR-TH-125","BAR-TH-137","BAR-TH-127","BAR-TH-129","BAR-TH-143","BAR-TH-148","BAR-TH-159","BAR-TH-162","BAR-TH-168","BAR-EN-101","BAR-EN-102","BAR-EN-103","BAR-EN-104","BAR-EN-105","BAR-EN-108","BAR-TH-171","BAR-TH-172","BAR-TH-174","BAR-EQ-115","BAR-SE-106","BAR-SE-108"],"title":"FicheCEE"},"FichierCao":{"properties":{"url":{"type":"string","title":"Url"},"nom":{"type":"string","title":"Nom"}},"type":"object","required":["url","nom"],"title":"FichierCao","description":"A CAD/BIM file of the product: uploaded to Argile or a manufacturer link."},"Filter-Input":{"properties":{"type":{"type":"string","const":"filter","title":"Type","default":"filter"},"slot":{"$ref":"#/components/schemas/SelectionSlot"},"predicate":{"oneOf":[{"$ref":"#/components/schemas/Predicate"},{"$ref":"#/components/schemas/AllOf-Input"},{"$ref":"#/components/schemas/AnyOf-Input"},{"$ref":"#/components/schemas/NotOf-Input"}],"title":"Predicate","discriminator":{"propertyName":"type","mapping":{"all":"#/components/schemas/AllOf-Input","any":"#/components/schemas/AnyOf-Input","not":"#/components/schemas/NotOf-Input","predicate":"#/components/schemas/Predicate"}}}},"additionalProperties":false,"type":"object","required":["slot","predicate"],"title":"Filter","description":"Drops the slot's candidates failing the predicate (`candidate.*` facts)."},"Filter-Output":{"properties":{"type":{"type":"string","const":"filter","title":"Type","default":"filter"},"slot":{"$ref":"#/components/schemas/SelectionSlot"},"predicate":{"oneOf":[{"$ref":"#/components/schemas/Predicate"},{"$ref":"#/components/schemas/AllOf-Output"},{"$ref":"#/components/schemas/AnyOf-Output"},{"$ref":"#/components/schemas/NotOf-Output"}],"title":"Predicate","discriminator":{"propertyName":"type","mapping":{"all":"#/components/schemas/AllOf-Output","any":"#/components/schemas/AnyOf-Output","not":"#/components/schemas/NotOf-Output","predicate":"#/components/schemas/Predicate"}}}},"additionalProperties":false,"type":"object","required":["slot","predicate"],"title":"Filter","description":"Drops the slot's candidates failing the predicate (`candidate.*` facts)."},"Finance":{"properties":{"energy_costs_without_repair":{"items":{"type":"number"},"type":"array","title":"Energy Costs Without Repair","description":"Energy cost without repair per year over 30 years"},"energy_costs_with_repair":{"items":{"type":"number"},"type":"array","title":"Energy Costs With Repair","description":"Energy cost without repair per year over 30 years"},"savings":{"items":{"type":"number"},"type":"array","title":"Savings","description":"Saving per year over 30 years"},"resales":{"items":{"type":"number"},"type":"array","title":"Resales","description":"Money earned by reselling electricity to the network"},"profitability":{"items":{"type":"number"},"type":"array","title":"Profitability","description":"Cost - savings - resales"},"time_to_profit":{"type":"integer","title":"Time To Profit","description":"How many years are required before reaching profitability"},"savings_by_energy":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Savings By Energy","description":"First year's saving per energy (€), keyed by enum_type_energie_id; negative when the works add that energy"},"pac_backup_assessed":{"type":"boolean","title":"Pac Backup Assessed","description":"False while a PAC's heating year waits on the weather or its product: the heat it leaves to its backup is not billed yet","default":true},"kwh_by_energy":{"anyOf":[{"$ref":"#/components/schemas/KwhByEnergy"},{"type":"null"}],"description":"First year's consumption before and after works per energy (kWh), on the same bills as the costs: kWh as billed, PCS for natural gas"}},"type":"object","required":["energy_costs_without_repair","energy_costs_with_repair","savings","resales","profitability","time_to_profit"],"title":"Finance"},"FiringOutcome":{"type":"string","enum":["added","excluded","replaced","quantity_set","filtered","preference_unmet","outranked"],"title":"FiringOutcome"},"FirstFloor":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/FirstFloorAsset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"area":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Area","default":100},"reference_lnc":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Lnc","description":"Référence projet de l'objet local non chauffé qui peut être associé à la paroi . Dans le cas d'un espace tampon solarisé cette référence est celle de l'espace tampon.","examples":["LNC-1"]},"tv_coef_reduction_deperdition_id":{"anyOf":[{"type":"integer","maximum":283.0,"minimum":1.0},{"type":"null"}],"title":"Tv Coef Reduction Deperdition Id","description":"ID de la ligne de la table utilisée pour le calcul de coefficient de réduction des déperditions","examples":[6]},"surface_aiu":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Aiu","description":"Surface aiu : surface des parois du local non chauffé qui donnent sur des locaux chauffés.","examples":[1.0]},"surface_aue":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Surface Aue","description":"Surface aue : surface des parois du local non chauffé en contact avec l'extérieur ou le sol","examples":[1.0]},"enum_cfg_isolation_lnc_id":{"anyOf":[{"$ref":"#/components/schemas/CfgIsolationLnc"},{"type":"null"}],"description":"Configuration de l'adjacence avec local non chauffé : local chauffé (non) isolé/local non chauffé (non) isolé/orientation véranda qui permet de calculer le b"},"surface_paroi_opaque":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Paroi Opaque","description":"Surface de paroi opaque","examples":[66.04]},"surface_to_insulate":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Surface To Insulate","description":"Surface effectivement à isoler sur ce plancher (≤ surface_paroi_opaque). Si non renseigné, on considère que toute la paroi est à isoler.","examples":[60.0]},"upb0_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Upb0 Saisi","description":"Coefficient de transmission thermique du planchers bas non isolé Saisi en direct par l'utilisateur (à justifier)"},"tv_upb0_id":{"anyOf":[{"type":"integer","maximum":12.0,"minimum":1.0},{"type":"null"}],"title":"Tv Upb0 Id","description":"ID de la ligne de la table utilisée pour le calcul du coefficient de transmission thermique upb0","examples":[9]},"enum_type_plancher_bas_id":{"anyOf":[{"$ref":"#/components/schemas/TypePlancherBas"},{"type":"null"}],"description":"Type de plancher bas","examples":[9]},"enum_methode_saisie_u0_id":{"$ref":"#/components/schemas/MethodeSaisieU0","description":"Méthode de saisie de U0 (inclus les justifications à produire en cas de saisie directe)","default":1,"examples":[2],"ge":1,"le":5},"upb_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Upb Saisi","description":"Coefficient de transmission thermique du planchers_bas saisi en direct par le diagnostiqueur (à justifier)","examples":[0.1]},"enum_type_isolation_id":{"$ref":"#/components/schemas/argile__engine__dpe__enum_types__type_isolation__TypeIsolation","description":"Type d'isolation du plancher bas (ITI/ITE…..)","default":1,"examples":[2],"ge":1,"le":9},"enum_periode_isolation_id":{"anyOf":[{"$ref":"#/components/schemas/PeriodeIsolationEnum","ge":1,"le":10},{"type":"null"}],"description":"Période d'isolation à saisir si différent de la période de construction (cas d'une rénovation de la paroi)"},"epaisseur_isolation":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Epaisseur Isolation","description":"Epaisseur de l'isolation (si plusieurs isolant différents sommer leurs épaisseurs)"},"materiau_isolation":{"anyOf":[{"$ref":"#/components/schemas/MateriauIsolation"},{"type":"null"}],"description":"matériau d'isolation thermique"},"tv_upb_id":{"anyOf":[{"type":"integer","maximum":48.0,"minimum":1.0},{"type":"null"}],"title":"Tv Upb Id","description":"ID de la ligne de la table utilisée pour le calcul du coefficient de transmission thermique upb"},"enum_methode_saisie_u_id":{"$ref":"#/components/schemas/MethodeSaisieU","description":"Méthode de saisie du U (inclus les justifications à produire en cas de saisie directe)","default":2,"examples":[1],"ge":1,"le":10},"calcul_ue":{"type":"boolean","title":"Calcul Ue","description":"Est ce que le plancher bas est passé par le calcul du Ue ?","default":false,"examples":[true]},"perimetre_ue":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Perimetre Ue","description":"Périmètre du plancher lorsqu'il est en contact avec un terre plein/sous sol non chauffé ou vide sanitaire (à renseigner lorsque calcul du Ue)","examples":[205.0]},"surface_ue":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Ue","description":"Surface de plancher qui est en contact avec un terre plein/sous sol non chauffé ou vide sanitaire (à renseigner lorsque calcul du Ue)","examples":[205.0]},"ue":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Ue","description":"Ue coefficient remplaçant Upb dans le cas sur terre plein","examples":[0.429]},"enum_type_adjacence_id":{"anyOf":[{"$ref":"#/components/schemas/TypeAdjacence","ge":1,"le":22},{"type":"null"}],"description":"Type d'adjacence de la paroi","examples":[6]},"enum_etat_composant_id":{"$ref":"#/components/schemas/EtatComposant","description":"Indique si le composant a été changé par rapport au logement initial","default":1},"insulation_condition":{"anyOf":[{"$ref":"#/components/schemas/InsulationCondition"},{"type":"null"}],"description":"Physical state of the existing insulation recorded during the technical visit (outside 3CL)"},"resistance_isolation":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Resistance Isolation","description":"Résistance thermique de l'isolation (si plusieurs isolant différents sommer leurs résistances)"},"underfloor_height":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Underfloor Height","description":"Hauteur de l'espace (vide sanitaire, local chauffé, etc.) situé sous le plancher en cm."}},"type":"object","title":"FirstFloor"},"FirstFloorAsset":{"properties":{"type":{"type":"string","enum":["video","sound","image","segmentation","marker","no_lidar_available","reconstruction_3d"],"title":"Type"},"coordinate":{"anyOf":[{"$ref":"#/components/schemas/AccomodationCoordinate"},{"type":"null"}]},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"attributes":{"items":{"$ref":"#/components/schemas/Attribute"},"type":"array","title":"Attributes","description":"A very broad field to store any relevant data related to this asset","default":[]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"tag":{"anyOf":[{"type":"string","const":"wide"},{"type":"null"}],"title":"Tag"}},"additionalProperties":false,"type":"object","required":["type"],"title":"FirstFloorAsset"},"FlashDiagnosis":{"properties":{"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Input"},{"type":"null"}]},"zone_littorale":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Zone Littorale"},"bdnb_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bdnb Id"},"geopf_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Geopf Id"},"cleabs":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cleabs"},"cadastral_parcel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cadastral Parcel"},"urbs_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Urbs Id"},"rnb_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rnb Id"},"bdnb":{"anyOf":[{"$ref":"#/components/schemas/BDNBBuildingData"},{"type":"null"}],"description":"Complete BDNB building data"},"geopf":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Geopf","description":"Complete GeoPF building data"},"ai_predictions":{"anyOf":[{"$ref":"#/components/schemas/AIPredictions"},{"type":"null"}],"description":"Cached AI provider predictions"},"weather":{"anyOf":[{"$ref":"#/components/schemas/Weather"},{"type":"null"}]},"building":{"anyOf":[{"type":"string","enum":["lc","mi","im"]},{"type":"null"}],"title":"Building"},"construction_period":{"anyOf":[{"type":"string","enum":["before_1945","between_1946_1974","between_1975_1982","between_1983_1988","between_1989_2000","between_2001_2005","between_2006_2012","between_2013_2020","after_2021"]},{"type":"null"}],"title":"Construction Period"},"done_works":{"items":{"$ref":"#/components/schemas/Travaux-Input"},"type":"array","title":"Done Works","description":"List of works done in the past","default":[]},"has_done_works":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Done Works"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}],"description":"MultiPolygon representing the building footprint"},"levels":{"anyOf":[{"items":{"$ref":"#/components/schemas/Level-Input"},"type":"array"},{"type":"null"}],"title":"Levels","description":"MultiPolygons representing the building envelope at each level"},"thermal_levels":{"anyOf":[{"items":{"$ref":"#/components/schemas/Level-Input"},"type":"array"},{"type":"null"}],"title":"Thermal Levels","description":"MultiPolygons representing the thermal envelope of the building at each level"},"surface_habitable":{"anyOf":[{"type":"number","ge":1},{"type":"null"}],"title":"Surface Habitable","description":"Surface habitable (m2)"},"floor":{"anyOf":[{"type":"string","enum":["first_floor","intermediate_floor","last_floor"]},{"type":"null"}],"title":"Floor"},"rooms":{"anyOf":[{"items":{"$ref":"#/components/schemas/Room"},"type":"array"},{"type":"null"}],"title":"Rooms","description":"List of rooms in the accommodation","default":[]},"roofs":{"items":{"$ref":"#/components/schemas/Roof"},"type":"array","title":"Roofs","default":[]},"roof_sections":{"items":{"$ref":"#/components/schemas/RoofSection-Input"},"type":"array","title":"Roof Sections","default":[]},"aerial_imagery_source":{"anyOf":[{"$ref":"#/components/schemas/AerialImagerySource"},{"type":"null"}],"description":"Aerial photo of the PV maps; None = Google Solar if any"},"floors":{"items":{"$ref":"#/components/schemas/FirstFloor"},"type":"array","title":"Floors","description":"List of low-level floors at the boundary of the accomodation (might be deperditive)","default":[]},"interior_walls":{"anyOf":[{"items":{"$ref":"#/components/schemas/InteriorWall"},"type":"array"},{"type":"null"}],"title":"Interior Walls","description":"Interior walls of the level"},"walls":{"anyOf":[{"items":{"$ref":"#/components/schemas/Wall"},"type":"array"},{"type":"null"}],"title":"Walls"},"num_floors":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Num Floors","description":"Number of floors"},"hauteur_sous_plafond":{"anyOf":[{"type":"number","ge":180,"le":1000},{"type":"null"}],"title":"Hauteur Sous Plafond","description":"Hauteur sous plafond (cm)"},"thermal_bridges":{"anyOf":[{"items":{"$ref":"#/components/schemas/ThermalBridge"},"type":"array"},{"type":"null"}],"title":"Thermal Bridges"},"inertia":{"anyOf":[{"$ref":"#/components/schemas/Inertia"},{"type":"null"}]},"intermediate_floors":{"items":{"$ref":"#/components/schemas/IntermediateFloor"},"type":"array","title":"Intermediate Floors","description":"DEPRECATED","default":[]},"windows":{"anyOf":[{"items":{"$ref":"#/components/schemas/Windows"},"type":"array"},{"type":"null"}],"title":"Windows"},"verandas":{"anyOf":[{"items":{"$ref":"#/components/schemas/Veranda"},"type":"array"},{"type":"null"}],"title":"Verandas","description":"Espaces tampons solarisés from the source DPE (§6.3)"},"doors":{"anyOf":[{"items":{"$ref":"#/components/schemas/argile__survey__diag__models__door__Door"},"type":"array"},{"type":"null"}],"title":"Doors"},"heat_installs":{"anyOf":[{"items":{"$ref":"#/components/schemas/HeatInstall"},"type":"array"},{"type":"null"}],"title":"Heat Installs"},"dhws":{"anyOf":[{"items":{"$ref":"#/components/schemas/Dhw"},"type":"array"},{"type":"null"}],"title":"Dhws"},"coolings":{"anyOf":[{"items":{"$ref":"#/components/schemas/Climatisation-Input"},"type":"array"},{"type":"null"}],"title":"Coolings"},"ventilations":{"anyOf":[{"items":{"$ref":"#/components/schemas/Ventilation-Input"},"type":"array"},{"type":"null"}],"title":"Ventilations","default":[]},"ventilation_context":{"anyOf":[{"$ref":"#/components/schemas/VentilationContext"},{"type":"null"}]},"solar":{"anyOf":[{"$ref":"#/components/schemas/Solar-Input"},{"type":"null"}],"description":"Derived solar potential of the building (max modules, etc.)"},"pv":{"anyOf":[{"$ref":"#/components/schemas/Pv"},{"type":"null"}],"description":"Current PV equipment declared during the technical visit"},"pv_production":{"anyOf":[{"$ref":"#/components/schemas/PvProduction"},{"type":"null"}],"description":"PV production intermediates from the source DPE"},"official_dpe_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Official Dpe Id"},"official_dpe_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Official Dpe Url"},"version_logiciel":{"anyOf":[{"type":"string","enum":["liciel","liciel-v4","liciel-v5","windpe","windpe-v3","caprenov","pleiades","argos","dpewin","dpewin-v5"]},{"type":"null"}],"title":"Version Logiciel","description":"Software that produced the source DPE/audit"},"date_etablissement_dpe_or_audit":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date Etablissement Dpe Or Audit","description":"Establishment date of the source DPE/audit"},"thermal_source":{"anyOf":[{"$ref":"#/components/schemas/ThermalSource"},{"type":"null"}]},"open_data_enrichment":{"type":"boolean","title":"Open Data Enrichment","description":"Whether open data may fill what the housing leaves blank; False for a housing collected on site that stands on its own","default":true},"dirty_sections":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Dirty Sections"},"confirmed_characteristics":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Confirmed Characteristics","description":"Housing characteristics the user vouched for on the lead's Logement tab (front keys: ceilingHeight, windows, walls)"},"provider_dpe_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Dpe Id"},"provider_dpe_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Provider Dpe Data","description":"Cached caracteristique_generale from DPE/audit (as dict)"},"workflow":{"anyOf":[{"$ref":"#/components/schemas/DiagWorkflow"},{"type":"null"}]},"ownership":{"anyOf":[{"$ref":"#/components/schemas/Ownership"},{"type":"null"}]},"electricity":{"anyOf":[{"$ref":"#/components/schemas/Electricity"},{"type":"null"}]},"boiler_rooms":{"anyOf":[{"items":{"$ref":"#/components/schemas/BoilerRoom"},"type":"array"},{"type":"null"}],"title":"Boiler Rooms"},"heating_system_info":{"anyOf":[{"$ref":"#/components/schemas/HeatingSystem"},{"type":"null"}]},"imposition_notices":{"anyOf":[{"items":{"$ref":"#/components/schemas/ImpositionNotice"},"type":"array"},{"type":"null"}],"title":"Imposition Notices"},"refacing_color":{"anyOf":[{"$ref":"#/components/schemas/RefacingColor"},{"type":"null"}]},"desired_pac_ue_gamme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Desired Pac Ue Gamme","description":"Gamme souhaitée pour l'unité extérieure de la PAC.","examples":["Vitocal 100-S"]},"desired_pac_ui_gamme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Desired Pac Ui Gamme","description":"Gamme souhaitée pour l'unité intérieure de la PAC.","examples":["Vitocal 100-S"]},"preparation_works_notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preparation Works Notice","description":"Commentaire sur les travaux préparatoires nécessaires à la rénovation.","examples":["Installation des échafaudages"]},"scan_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scan Id"},"project_goals":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/components/schemas/ProjectGoal"},{"type":"string"}]},"type":"array"},{"type":"null"}],"title":"Project Goals"},"knows_argile":{"anyOf":[{"$ref":"#/components/schemas/KnowsArgile"},{"type":"null"}]},"expected_start_period":{"anyOf":[{"$ref":"#/components/schemas/StartPeriod"},{"type":"null"}]},"has_auditor_or_mar":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Auditor Or Mar"},"has_artisan_quotes":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Artisan Quotes"},"knows_works_to_do":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Knows Works To Do"},"why_needs_quotes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Why Needs Quotes"},"hypothesis":{"anyOf":[{"$ref":"#/components/schemas/Hypothesis-Input"},{"type":"null"}],"description":"Hypothesis for simulation"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"General comment on the diagnosis","examples":["Le logement est en bon état"]},"notes":{"anyOf":[{"$ref":"#/components/schemas/DiagnosisNotes"},{"type":"null"}],"description":"Per-section notes for the technical visit"},"status":{"anyOf":[{"$ref":"#/components/schemas/DiagStatus"},{"type":"null"}],"description":"Status of the diagnosis","examples":["todo","in_progress","completed"]},"onboarding_completed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Onboarding Completed","description":"Flag to indicate that the module onboarding is completed"},"heated_envelope_validated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Heated Envelope Validated","description":"Flag set when the user validated the heated envelope"},"is_vt_started":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Vt Started"},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","description":"List of captured assets (Google Earth 3D, Street View images)"}},"type":"object","title":"FlashDiagnosis"},"FlexibilitePac":{"type":"string","enum":["sg_ready","module_connecte","api","aucune"],"title":"FlexibilitePac","description":"Voie par laquelle un tiers peut piloter la PAC (effacement, marche forcee).\n\n`None` signifie que la flexibilite n'a pas ete instruite, `AUCUNE` qu'elle\nl'a ete et qu'aucune voie n'existe."},"FloorMaterial":{"type":"string","enum":["concrete","stone","wood","tile","lino","carpet"],"title":"FloorMaterial"},"FloorPlanDraft":{"properties":{"base_version_id":{"type":"string","format":"uuid","title":"Base Version Id","description":"The latest saved version, which the draft was edited from"},"surveys":{"items":{"additionalProperties":true,"type":"object"},"type":"array","minItems":1,"title":"Surveys","description":"One ArgileSurvey per level"}},"type":"object","required":["base_version_id","surveys"],"title":"FloorPlanDraft"},"FloorPlanImported":{"properties":{"added":{"type":"integer","title":"Added","description":"Levels, rooms and windows added"}},"type":"object","required":["added"],"title":"FloorPlanImported"},"FloorPlanNorth":{"properties":{"north":{"type":"number","exclusiveMaximum":360.0,"minimum":0.0,"title":"North","description":"Bearing of true north, degrees clockwise from the plan's up"}},"type":"object","required":["north"],"title":"FloorPlanNorth"},"FloorPlanNorthSet":{"properties":{"north":{"type":"number","title":"North"},"oriented":{"type":"integer","title":"Oriented","description":"Windows, room openings and rooms whose orientation changed"}},"type":"object","required":["north","oriented"],"title":"FloorPlanNorthSet"},"FloorPlanReadingDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"answer_id":{"type":"string","format":"uuid","title":"Answer Id"},"status":{"$ref":"#/components/schemas/ReadingStatus"},"files":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Files"},"sheets":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Sheets"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"surveys":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Surveys","description":"One ArgileSurvey per level, lowest first, once completed"}},"type":"object","required":["id","answer_id","status","files","sheets","error","created_at","updated_at","surveys"],"title":"FloorPlanReadingDetail"},"FloorPlanReadingRead":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"answer_id":{"type":"string","format":"uuid","title":"Answer Id"},"status":{"$ref":"#/components/schemas/ReadingStatus"},"files":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Files"},"sheets":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Sheets"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","answer_id","status","files","sheets","error","created_at","updated_at"],"title":"FloorPlanReadingRead"},"FloorPlanReadingStarted":{"properties":{"reading":{"$ref":"#/components/schemas/FloorPlanReadingRead"},"workflow":{"$ref":"#/components/schemas/WorkflowResponse"}},"type":"object","required":["reading","workflow"],"title":"FloorPlanReadingStarted"},"FloorPlanSaved":{"properties":{"version":{"$ref":"#/components/schemas/FloorPlanVersionDetail"},"changes":{"items":{"$ref":"#/components/schemas/RoomChange"},"type":"array","title":"Changes"}},"type":"object","required":["version","changes"],"title":"FloorPlanSaved"},"FloorPlanVersionDetail":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"answer_id":{"type":"string","format":"uuid","title":"Answer Id"},"number":{"type":"integer","title":"Number","description":"V1 is the first reading's plan"},"status":{"$ref":"#/components/schemas/VersionStatus"},"source":{"$ref":"#/components/schemas/VersionSource"},"reading_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Reading Id"},"author_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"saved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Saved At"},"file_count":{"type":"integer","title":"File Count","description":"Plans uploaded for the reading the version comes from"},"surveys":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Surveys","description":"One ArgileSurvey per level, lowest first"}},"type":"object","required":["id","answer_id","number","status","source","reading_id","author_id","created_at","updated_at","saved_at","file_count","surveys"],"title":"FloorPlanVersionDetail"},"FloorPlanVersionRead":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"answer_id":{"type":"string","format":"uuid","title":"Answer Id"},"number":{"type":"integer","title":"Number","description":"V1 is the first reading's plan"},"status":{"$ref":"#/components/schemas/VersionStatus"},"source":{"$ref":"#/components/schemas/VersionSource"},"reading_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Reading Id"},"author_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Author Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"saved_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Saved At"},"file_count":{"type":"integer","title":"File Count","description":"Plans uploaded for the reading the version comes from"}},"type":"object","required":["id","answer_id","number","status","source","reading_id","author_id","created_at","updated_at","saved_at","file_count"],"title":"FloorPlanVersionRead"},"FloorTraversalMaterial":{"type":"string","enum":["concrete","wood","stone_or_brick"],"title":"FloorTraversalMaterial"},"FlueExit-Input":{"properties":{"type":{"anyOf":[{"$ref":"#/components/schemas/FlueExitType"},{"type":"null"}],"description":"Type of flue exit (roof or wall)"},"existing_chimney_conduit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Existing Chimney Conduit","description":"Whether an existing chimney conduit is present"},"existing_conduit":{"anyOf":[{"$ref":"#/components/schemas/ExistingConduit"},{"type":"null"}],"description":"Existing conduit properties"},"new_conduit":{"anyOf":[{"$ref":"#/components/schemas/NewConduit"},{"type":"null"}],"description":"New conduit installation properties"},"air_entry":{"anyOf":[{"$ref":"#/components/schemas/AirEntry"},{"type":"null"}],"description":"Type of air entry (concentric, existing, to create)"},"zone":{"anyOf":[{"$ref":"#/components/schemas/FlueZone"},{"type":"null"}],"description":"Flue zone (zone 1 or zone 2)"},"conduit_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Conduit Height","description":"Height of the conduit in meters"},"zone1":{"anyOf":[{"$ref":"#/components/schemas/RoofExitZone1"},{"type":"null"}],"description":"Zone 1 roof exit distance checks"},"zone2":{"anyOf":[{"$ref":"#/components/schemas/RoofExitZone2"},{"type":"null"}],"description":"Zone 2 roof exit distance checks"},"wall_exit":{"anyOf":[{"$ref":"#/components/schemas/WallExit"},{"type":"null"}],"description":"Wall exit configuration"},"is_straight_conduit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Straight Conduit","description":"Whether the conduit is straight"},"nb_elbows":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Nb Elbows","description":"Number of elbows in the conduit"}},"type":"object","title":"FlueExit","description":"Flue exit configuration (evacuation des fumées)."},"FlueExit-Output":{"properties":{"type":{"anyOf":[{"$ref":"#/components/schemas/FlueExitType"},{"type":"null"}],"description":"Type of flue exit (roof or wall)"},"existing_chimney_conduit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Existing Chimney Conduit","description":"Whether an existing chimney conduit is present"},"existing_conduit":{"anyOf":[{"$ref":"#/components/schemas/ExistingConduit"},{"type":"null"}],"description":"Existing conduit properties"},"new_conduit":{"anyOf":[{"$ref":"#/components/schemas/NewConduit"},{"type":"null"}],"description":"New conduit installation properties"},"air_entry":{"anyOf":[{"$ref":"#/components/schemas/AirEntry"},{"type":"null"}],"description":"Type of air entry (concentric, existing, to create)"},"zone":{"anyOf":[{"$ref":"#/components/schemas/FlueZone"},{"type":"null"}],"description":"Flue zone (zone 1 or zone 2)"},"conduit_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Conduit Height","description":"Height of the conduit in meters"},"zone1":{"anyOf":[{"$ref":"#/components/schemas/RoofExitZone1"},{"type":"null"}],"description":"Zone 1 roof exit distance checks"},"zone2":{"anyOf":[{"$ref":"#/components/schemas/RoofExitZone2"},{"type":"null"}],"description":"Zone 2 roof exit distance checks"},"wall_exit":{"anyOf":[{"$ref":"#/components/schemas/WallExit"},{"type":"null"}],"description":"Wall exit configuration"},"is_straight_conduit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Straight Conduit","description":"Whether the conduit is straight"},"nb_elbows":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Nb Elbows","description":"Number of elbows in the conduit"}},"type":"object","title":"FlueExit","description":"Flue exit configuration (evacuation des fumées)."},"FlueExitType":{"type":"string","enum":["roof","wall"],"title":"FlueExitType"},"FlueZone":{"type":"string","enum":["zone_1","zone_2"],"title":"FlueZone"},"ForkTemplatesRequest":{"properties":{"template_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Template Ids"}},"type":"object","required":["template_ids"],"title":"ForkTemplatesRequest","description":"Request to fork specific templates into a catalog."},"ForkTemplatesResponse":{"properties":{"forked_count":{"type":"integer","title":"Forked Count"},"forked_items":{"items":{"$ref":"#/components/schemas/CatalogItemRead"},"type":"array","title":"Forked Items"}},"type":"object","required":["forked_count","forked_items"],"title":"ForkTemplatesResponse","description":"Response after forking templates."},"FournisseurType":{"type":"string","enum":["DIRECT","INDIRECT"],"title":"FournisseurType","description":"Type of supplier relationship."},"Funding-Input":{"properties":{"prices":{"items":{"$ref":"#/components/schemas/Price-Input"},"type":"array","title":"Prices","default":[]},"sections":{"items":{"$ref":"#/components/schemas/Section-Input"},"type":"array","title":"Sections","description":"Sections of the prices used for quotes","default":[]},"subsidies":{"items":{"$ref":"#/components/schemas/Subsidy-Input"},"type":"array","title":"Subsidies","default":[]},"loans":{"items":{"oneOf":[{"$ref":"#/components/schemas/Loan-Input"},{"$ref":"#/components/schemas/EcoPTZLoan-Input"},{"$ref":"#/components/schemas/EcairLoan-Input"}],"discriminator":{"propertyName":"type","mapping":{"conso":"#/components/schemas/Loan-Input","ecair":"#/components/schemas/EcairLoan-Input","ecoptz":"#/components/schemas/EcoPTZLoan-Input","immo":"#/components/schemas/Loan-Input","pre_financing_subsidies":"#/components/schemas/Loan-Input"}}},"type":"array","title":"Loans","default":[]},"advances":{"items":{"$ref":"#/components/schemas/Advance"},"type":"array","title":"Advances","default":[]},"discounts":{"items":{"$ref":"#/components/schemas/Discount"},"type":"array","title":"Discounts","default":[]},"installments":{"items":{"$ref":"#/components/schemas/Installment"},"type":"array","title":"Installments","description":"Installment payments for funding","default":[]},"moe":{"anyOf":[{"$ref":"#/components/schemas/MoeConfig-Input"},{"type":"null"}]},"unit_price_mode":{"anyOf":[{"$ref":"#/components/schemas/DisplayUnitPrice"},{"type":"null"}],"description":"Unit price the lines are entered and shown in, frozen from the branch on the quote and copied to its invoices and credit notes; null on legacy documents, which show the branch's"}},"type":"object","title":"Funding"},"Funding-Output":{"properties":{"prices":{"items":{"$ref":"#/components/schemas/Price-Output"},"type":"array","title":"Prices","default":[]},"sections":{"items":{"$ref":"#/components/schemas/argile__funding__calculators__models__base__Section-Output"},"type":"array","title":"Sections","description":"Sections of the prices used for quotes","default":[]},"subsidies":{"items":{"$ref":"#/components/schemas/Subsidy-Output"},"type":"array","title":"Subsidies","default":[]},"loans":{"items":{"oneOf":[{"$ref":"#/components/schemas/Loan-Output"},{"$ref":"#/components/schemas/EcoPTZLoan-Output"},{"$ref":"#/components/schemas/EcairLoan-Output"}],"discriminator":{"propertyName":"type","mapping":{"conso":"#/components/schemas/Loan-Output","ecair":"#/components/schemas/EcairLoan-Output","ecoptz":"#/components/schemas/EcoPTZLoan-Output","immo":"#/components/schemas/Loan-Output","pre_financing_subsidies":"#/components/schemas/Loan-Output"}}},"type":"array","title":"Loans","default":[]},"advances":{"items":{"$ref":"#/components/schemas/Advance"},"type":"array","title":"Advances","default":[]},"discounts":{"items":{"$ref":"#/components/schemas/Discount"},"type":"array","title":"Discounts","default":[]},"installments":{"items":{"$ref":"#/components/schemas/Installment"},"type":"array","title":"Installments","description":"Installment payments for funding","default":[]},"moe":{"anyOf":[{"$ref":"#/components/schemas/MoeConfig-Output"},{"type":"null"}]},"unit_price_mode":{"anyOf":[{"$ref":"#/components/schemas/DisplayUnitPrice"},{"type":"null"}],"description":"Unit price the lines are entered and shown in, frozen from the branch on the quote and copied to its invoices and credit notes; null on legacy documents, which show the branch's"},"price_excl_tax_and_discounts":{"type":"number","title":"Price Excl Tax And Discounts","description":"Total price HT without discounts.","readOnly":true},"price_excl_tax":{"type":"number","title":"Price Excl Tax","description":"Total price HT after both option-level discounts and global discounts.","readOnly":true},"service_price_excl_tax":{"type":"number","title":"Service Price Excl Tax","description":"Labour HT: the sum of the lines' labour shares, read off their articles.\n\nThe shares are capped at the total HT: a global discount eats into the\nmaterials first, then into the labour, so both amounts add up to the\ntotal.","readOnly":true},"eco_contribution_deee_excl_tax":{"type":"number","title":"Eco Contribution Deee Excl Tax","description":"WEEE eco-contribution HT of the lines, untouched by any discount: the\nlaw forbids reducing it (Code de l'environnement, L541-10-20).","readOnly":true},"material_price_excl_tax":{"type":"number","title":"Material Price Excl Tax","description":"Materials HT: the total HT net of labour.\n\nGlobal discounts are borne by the materials, so both amounts still add\nup to the total HT the client reads.","readOnly":true},"total_discounts":{"type":"number","title":"Total Discounts","description":"Total of all discounts (global + per-option).","readOnly":true},"price_incl_tax_before_discounts":{"type":"number","title":"Price Incl Tax Before Discounts","description":"Total TTC before global discount; line discounts are already applied.","readOnly":true},"price_incl_tax":{"type":"number","title":"Price Incl Tax","readOnly":true},"total_discounts_incl_tax":{"type":"number","title":"Total Discounts Incl Tax","description":"Global discount actually applied, incl. tax.\n\nThe discount is defined excl. tax (see `total_discounts`); on the bill\nthe VAT on the discounted works disappears too, so the incl.-tax\nreduction is larger. Use this to reconcile incl.-tax breakdowns.","readOnly":true},"total_subsidies":{"type":"number","title":"Total Subsidies","readOnly":true},"price_incl_subsidies":{"type":"number","title":"Price Incl Subsidies","readOnly":true},"total_advances":{"type":"number","title":"Total Advances","readOnly":true},"total_loans":{"type":"number","title":"Total Loans","readOnly":true},"total_monthly_loan_payment":{"type":"number","title":"Total Monthly Loan Payment","readOnly":true},"price_incl_loans_and_subsidies":{"type":"number","title":"Price Incl Loans And Subsidies","readOnly":true},"work_ids":{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array","title":"Work Ids","readOnly":true},"total_tax_rate_0":{"type":"number","title":"Total Tax Rate 0","readOnly":true},"total_tax_rate_5_5":{"type":"number","title":"Total Tax Rate 5 5","readOnly":true},"total_tax_rate_10":{"type":"number","title":"Total Tax Rate 10","readOnly":true},"total_tax_rate_20":{"type":"number","title":"Total Tax Rate 20","readOnly":true},"optional_price_excl_tax":{"type":"number","title":"Optional Price Excl Tax","description":"Total HT of optional extra options (excluded from billable totals).","readOnly":true},"optional_price_incl_tax":{"type":"number","title":"Optional Price Incl Tax","description":"Total TTC of optional extra options (excluded from billable totals).","readOnly":true}},"type":"object","required":["price_excl_tax_and_discounts","price_excl_tax","service_price_excl_tax","eco_contribution_deee_excl_tax","material_price_excl_tax","total_discounts","price_incl_tax_before_discounts","price_incl_tax","total_discounts_incl_tax","total_subsidies","price_incl_subsidies","total_advances","total_loans","total_monthly_loan_payment","price_incl_loans_and_subsidies","work_ids","total_tax_rate_0","total_tax_rate_5_5","total_tax_rate_10","total_tax_rate_20","optional_price_excl_tax","optional_price_incl_tax"],"title":"Funding"},"FutureDHW-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"type_dhw":{"$ref":"#/components/schemas/TypeDhwFuture"},"is_room_heated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Room Heated","description":"Is the room where the CET will be installed heated?"},"ceiling_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ceiling Height","description":"Ceiling height of the CET room, in meters"},"has_min_volume":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Min Volume","description":"Does the room have a minimum volume of 20m³?"},"type_cet":{"anyOf":[{"$ref":"#/components/schemas/TypeCET"},{"type":"null"}],"description":"Type of thermodynamic water heater (CET)"},"source_cet":{"anyOf":[{"$ref":"#/components/schemas/SourceCET"},{"type":"null"}],"description":"Heat source type for the CET (air_extrait, air_ambiant, etc.)"},"type_electric_tank":{"anyOf":[{"$ref":"#/components/schemas/TypeElectricTank"},{"type":"null"}],"description":"Type of electric water tank"},"tank_capacity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tank Capacity","description":"Tank capacity in liters"},"unite_exterieures":{"anyOf":[{"items":{"$ref":"#/components/schemas/argile__survey__diag__models__unite_exterieure__UniteExterieure-Input"},"type":"array"},{"type":"null"}],"title":"Unite Exterieures","description":"Outdoor units of the future DHW (SPLIT type only)"},"has_exterior_rejection":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Exterior Rejection","description":"Monobloc CET: is the cooled air rejected outside?"},"duct_outlet":{"anyOf":[{"$ref":"#/components/schemas/DuctOutlet"},{"type":"null"}],"description":"Where the air ducts exit (monobloc w/ rejection, or gainable)"},"duct_connection":{"anyOf":[{"$ref":"#/components/schemas/DuctConnection"},{"type":"null"}],"description":"Gainable CET: air drawn from the VMC or a dedicated network"},"has_existing_condensate_drain":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Existing Condensate Drain","description":"Is there an existing condensate drain on site?"}},"type":"object","required":["type_dhw"],"title":"FutureDHW","description":"Future domestic hot water (DHW) system configuration.\nUsed to document the planned DHW installation during technical visit."},"FutureDHW-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Output"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Output"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"type_dhw":{"$ref":"#/components/schemas/TypeDhwFuture"},"is_room_heated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Room Heated","description":"Is the room where the CET will be installed heated?"},"ceiling_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ceiling Height","description":"Ceiling height of the CET room, in meters"},"has_min_volume":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Min Volume","description":"Does the room have a minimum volume of 20m³?"},"type_cet":{"anyOf":[{"$ref":"#/components/schemas/TypeCET"},{"type":"null"}],"description":"Type of thermodynamic water heater (CET)"},"source_cet":{"anyOf":[{"$ref":"#/components/schemas/SourceCET"},{"type":"null"}],"description":"Heat source type for the CET (air_extrait, air_ambiant, etc.)"},"type_electric_tank":{"anyOf":[{"$ref":"#/components/schemas/TypeElectricTank"},{"type":"null"}],"description":"Type of electric water tank"},"tank_capacity":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tank Capacity","description":"Tank capacity in liters"},"unite_exterieures":{"anyOf":[{"items":{"$ref":"#/components/schemas/argile__survey__diag__models__unite_exterieure__UniteExterieure-Output"},"type":"array"},{"type":"null"}],"title":"Unite Exterieures","description":"Outdoor units of the future DHW (SPLIT type only)"},"has_exterior_rejection":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Exterior Rejection","description":"Monobloc CET: is the cooled air rejected outside?"},"duct_outlet":{"anyOf":[{"$ref":"#/components/schemas/DuctOutlet"},{"type":"null"}],"description":"Where the air ducts exit (monobloc w/ rejection, or gainable)"},"duct_connection":{"anyOf":[{"$ref":"#/components/schemas/DuctConnection"},{"type":"null"}],"description":"Gainable CET: air drawn from the VMC or a dedicated network"},"has_existing_condensate_drain":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Existing Condensate Drain","description":"Is there an existing condensate drain on site?"}},"type":"object","required":["type_dhw"],"title":"FutureDHW","description":"Future domestic hot water (DHW) system configuration.\nUsed to document the planned DHW installation during technical visit."},"FutureEmitterType":{"type":"string","enum":["radiators","floor_heating","both"],"title":"FutureEmitterType","description":"Type d'émetteur projeté (étape « Zone à chauffer » du wizard air/eau)."},"FutureOpening-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"replaces_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Replaces Reference","description":"Reference of the replaced window or door"},"kind":{"anyOf":[{"$ref":"#/components/schemas/WindowKindEnum"},{"type":"null"}]},"width":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Height"},"dimension_reference":{"anyOf":[{"$ref":"#/components/schemas/DimensionReference"},{"type":"null"}]},"composition":{"items":{"$ref":"#/components/schemas/OpeningComposition"},"type":"array","title":"Composition"},"leaf_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Leaf Count"},"opening_mode":{"anyOf":[{"$ref":"#/components/schemas/OpeningMode"},{"type":"null"}]},"opening_direction":{"anyOf":[{"$ref":"#/components/schemas/OpeningDirection"},{"type":"null"}]},"material":{"anyOf":[{"$ref":"#/components/schemas/WindowMaterialEnum"},{"type":"null"}]},"catalog_item_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Item Id","description":"Catalog item chosen as range / reference"},"interior_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Interior Color","description":"RAL code"},"exterior_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exterior Color","description":"RAL code"},"installation_type":{"anyOf":[{"$ref":"#/components/schemas/InstallationType"},{"type":"null"}]},"glazing_type":{"anyOf":[{"$ref":"#/components/schemas/WindowGlazingTypeEnum"},{"type":"null"}]},"glazing_options":{"items":{"$ref":"#/components/schemas/GlazingOption"},"type":"array","title":"Glazing Options"},"air_inlet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Air Inlet","description":"Does the opening need an air inlet?"},"closure_type":{"anyOf":[{"$ref":"#/components/schemas/ClosureType"},{"type":"null"}]},"closure_material":{"anyOf":[{"$ref":"#/components/schemas/ClosureMaterial"},{"type":"null"}]},"closure_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closure Color","description":"RAL code"},"closure_leaf_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Closure Leaf Count"},"closure_hinge":{"anyOf":[{"$ref":"#/components/schemas/ClosureHinge"},{"type":"null"}]},"closure_stop":{"anyOf":[{"$ref":"#/components/schemas/ClosureStop"},{"type":"null"}]},"closure_power_available":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Closure Power Available"},"reveal_insulation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reveal Insulation","description":"Are the window reveals insulated?"},"reveal_return_thickness":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Reveal Return Thickness"}},"type":"object","title":"FutureOpening","description":"Opening planned by the technical visit to replace `replaces_reference`."},"FutureOpening-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Output"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Output"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"replaces_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Replaces Reference","description":"Reference of the replaced window or door"},"kind":{"anyOf":[{"$ref":"#/components/schemas/WindowKindEnum"},{"type":"null"}]},"width":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Height"},"dimension_reference":{"anyOf":[{"$ref":"#/components/schemas/DimensionReference"},{"type":"null"}]},"composition":{"items":{"$ref":"#/components/schemas/OpeningComposition"},"type":"array","title":"Composition"},"leaf_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Leaf Count"},"opening_mode":{"anyOf":[{"$ref":"#/components/schemas/OpeningMode"},{"type":"null"}]},"opening_direction":{"anyOf":[{"$ref":"#/components/schemas/OpeningDirection"},{"type":"null"}]},"material":{"anyOf":[{"$ref":"#/components/schemas/WindowMaterialEnum"},{"type":"null"}]},"catalog_item_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Item Id","description":"Catalog item chosen as range / reference"},"interior_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Interior Color","description":"RAL code"},"exterior_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exterior Color","description":"RAL code"},"installation_type":{"anyOf":[{"$ref":"#/components/schemas/InstallationType"},{"type":"null"}]},"glazing_type":{"anyOf":[{"$ref":"#/components/schemas/WindowGlazingTypeEnum"},{"type":"null"}]},"glazing_options":{"items":{"$ref":"#/components/schemas/GlazingOption"},"type":"array","title":"Glazing Options"},"air_inlet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Air Inlet","description":"Does the opening need an air inlet?"},"closure_type":{"anyOf":[{"$ref":"#/components/schemas/ClosureType"},{"type":"null"}]},"closure_material":{"anyOf":[{"$ref":"#/components/schemas/ClosureMaterial"},{"type":"null"}]},"closure_color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Closure Color","description":"RAL code"},"closure_leaf_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Closure Leaf Count"},"closure_hinge":{"anyOf":[{"$ref":"#/components/schemas/ClosureHinge"},{"type":"null"}]},"closure_stop":{"anyOf":[{"$ref":"#/components/schemas/ClosureStop"},{"type":"null"}]},"closure_power_available":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Closure Power Available"},"reveal_insulation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reveal Insulation","description":"Are the window reveals insulated?"},"reveal_return_thickness":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Reveal Return Thickness"}},"type":"object","title":"FutureOpening","description":"Opening planned by the technical visit to replace `replaces_reference`."},"FuturePAC-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/FuturePACAsset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"type":{"anyOf":[{"$ref":"#/components/schemas/FuturePACType"},{"type":"null"}],"description":"Projected PAC"},"enum_usage_generateur_id":{"anyOf":[{"$ref":"#/components/schemas/UsageGenerateur","ge":1,"le":3},{"type":"null"}],"description":"Usages assurés par le générateur (chauffage/ecs/chauffage+ecs)"},"enum_type_stockage_ecs_id":{"anyOf":[{"$ref":"#/components/schemas/TypeStockageEcs"},{"type":"null"}],"description":"Type de stockage ECS de la PAC Air/Eau (déporté/intégré)"},"unite_exterieures":{"anyOf":[{"items":{"$ref":"#/components/schemas/argile__survey__diag__models__unite_exterieure__UniteExterieure-Input"},"type":"array"},{"type":"null"}],"title":"Unite Exterieures"},"unite_interieures":{"anyOf":[{"items":{"$ref":"#/components/schemas/argile__survey__diag__models__future_pac__UniteInterieure-Input"},"type":"array"},{"type":"null"}],"title":"Unite Interieures"},"refrigerant_lines":{"anyOf":[{"items":{"$ref":"#/components/schemas/RefrigerantLine-Input"},"type":"array"},{"type":"null"}],"title":"Refrigerant Lines"},"insulation_lots":{"anyOf":[{"items":{"$ref":"#/components/schemas/LotTravauxAudit"},"type":"array"},{"type":"null"}],"title":"Insulation Lots"},"heated_emitter_references":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Heated Emitter References","description":"Références des émetteurs chauffés par la future PAC ; null signifie que tous les émetteurs existants sont chauffés"},"condensate_evacuation_exists":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Condensate Evacuation Exists","description":"Une évacuation des condensats existe déjà sur site"},"pieces":{"anyOf":[{"items":{"$ref":"#/components/schemas/Piece-Input"},"type":"array"},{"type":"null"}],"title":"Pieces"},"carottages":{"anyOf":[{"items":{"$ref":"#/components/schemas/Carottage-Input"},"type":"array"},{"type":"null"}],"title":"Carottages"},"mode_fonctionnement":{"anyOf":[{"$ref":"#/components/schemas/ModeFonctionnement"},{"type":"null"}],"description":"Mode de fonctionnement (P5_22) ; le wizard air/air utilise chaud_seul / froid_seul / reversible"},"pac_architecture":{"anyOf":[{"$ref":"#/components/schemas/PacArchitecture"},{"type":"null"}],"description":"Layout of the air/air PAC (monosplit/multisplit)"},"future_emitter_type":{"anyOf":[{"$ref":"#/components/schemas/FutureEmitterType"},{"type":"null"}],"description":"Type d'émetteur projeté (air/eau)"},"floor_heating_surface":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Floor Heating Surface","description":"Superficie de chauffe du plancher chauffant (m²)"},"average_ceiling_height":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Average Ceiling Height","description":"Hauteur sous plafond moyenne de la zone à chauffer (cm)"},"boiler_room_relocation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Boiler Room Relocation","description":"Déplacement du local chaufferie à prévoir"},"boiler_room_relocation_distance":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Boiler Room Relocation Distance","description":"Distance par rapport au local chaufferie actuel (m)"}},"type":"object","title":"FuturePAC"},"FuturePAC-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/FuturePACAsset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Output"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Output"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"type":{"anyOf":[{"$ref":"#/components/schemas/FuturePACType"},{"type":"null"}],"description":"Projected PAC"},"enum_usage_generateur_id":{"anyOf":[{"$ref":"#/components/schemas/UsageGenerateur","ge":1,"le":3},{"type":"null"}],"description":"Usages assurés par le générateur (chauffage/ecs/chauffage+ecs)"},"enum_type_stockage_ecs_id":{"anyOf":[{"$ref":"#/components/schemas/TypeStockageEcs"},{"type":"null"}],"description":"Type de stockage ECS de la PAC Air/Eau (déporté/intégré)"},"unite_exterieures":{"anyOf":[{"items":{"$ref":"#/components/schemas/argile__survey__diag__models__unite_exterieure__UniteExterieure-Output"},"type":"array"},{"type":"null"}],"title":"Unite Exterieures"},"unite_interieures":{"anyOf":[{"items":{"$ref":"#/components/schemas/argile__survey__diag__models__future_pac__UniteInterieure-Output"},"type":"array"},{"type":"null"}],"title":"Unite Interieures"},"refrigerant_lines":{"anyOf":[{"items":{"$ref":"#/components/schemas/RefrigerantLine-Output"},"type":"array"},{"type":"null"}],"title":"Refrigerant Lines"},"insulation_lots":{"anyOf":[{"items":{"$ref":"#/components/schemas/LotTravauxAudit"},"type":"array"},{"type":"null"}],"title":"Insulation Lots"},"heated_emitter_references":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Heated Emitter References","description":"Références des émetteurs chauffés par la future PAC ; null signifie que tous les émetteurs existants sont chauffés"},"condensate_evacuation_exists":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Condensate Evacuation Exists","description":"Une évacuation des condensats existe déjà sur site"},"pieces":{"anyOf":[{"items":{"$ref":"#/components/schemas/argile__survey__diag__models__future_pac__Piece-Output"},"type":"array"},{"type":"null"}],"title":"Pieces"},"carottages":{"anyOf":[{"items":{"$ref":"#/components/schemas/Carottage-Output"},"type":"array"},{"type":"null"}],"title":"Carottages"},"mode_fonctionnement":{"anyOf":[{"$ref":"#/components/schemas/ModeFonctionnement"},{"type":"null"}],"description":"Mode de fonctionnement (P5_22) ; le wizard air/air utilise chaud_seul / froid_seul / reversible"},"pac_architecture":{"anyOf":[{"$ref":"#/components/schemas/PacArchitecture"},{"type":"null"}],"description":"Layout of the air/air PAC (monosplit/multisplit)"},"future_emitter_type":{"anyOf":[{"$ref":"#/components/schemas/FutureEmitterType"},{"type":"null"}],"description":"Type d'émetteur projeté (air/eau)"},"floor_heating_surface":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Floor Heating Surface","description":"Superficie de chauffe du plancher chauffant (m²)"},"average_ceiling_height":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Average Ceiling Height","description":"Hauteur sous plafond moyenne de la zone à chauffer (cm)"},"boiler_room_relocation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Boiler Room Relocation","description":"Déplacement du local chaufferie à prévoir"},"boiler_room_relocation_distance":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Boiler Room Relocation Distance","description":"Distance par rapport au local chaufferie actuel (m)"}},"type":"object","title":"FuturePAC"},"FuturePACAsset":{"properties":{"type":{"type":"string","enum":["video","sound","image","segmentation","marker","no_lidar_available","reconstruction_3d"],"title":"Type"},"coordinate":{"anyOf":[{"$ref":"#/components/schemas/AccomodationCoordinate"},{"type":"null"}]},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"attributes":{"items":{"$ref":"#/components/schemas/Attribute"},"type":"array","title":"Attributes","description":"A very broad field to store any relevant data related to this asset","default":[]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"tag":{"anyOf":[{"type":"string","const":"heated_floor_nourrices"},{"type":"null"}],"title":"Tag"}},"additionalProperties":false,"type":"object","required":["type"],"title":"FuturePACAsset"},"FuturePACType":{"type":"string","enum":["heat_pump_air_air","heat_pump_air_water","heat_pump_water_water"],"title":"FuturePACType","description":"Type de PAC projetée (sous-ensemble des valeurs de HeatGeneratorType)."},"FutureStove-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/StoveAsset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"type":{"anyOf":[{"$ref":"#/components/schemas/TypePoele"},{"type":"null"}],"description":"Type of stove (wood or pellets)"},"usage":{"anyOf":[{"$ref":"#/components/schemas/StoveUsage"},{"type":"null"}],"description":"Stove usage (main or secondary heating)"},"surface_to_heat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface To Heat","description":"Surface to heat in m²"},"room_surface":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Room Surface","description":"Room surface in m²"},"is_open_room":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Open Room","description":"Whether the room is open (open floor plan)"},"ceiling_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ceiling Height","description":"Ceiling height in meters"},"ceiling_type":{"anyOf":[{"$ref":"#/components/schemas/CeilingType"},{"type":"null"}],"description":"Ceiling specificity (beam, offset, none)"},"wall_material":{"anyOf":[{"$ref":"#/components/schemas/StoveWallMaterial"},{"type":"null"}],"description":"Material of the wall behind the stove"},"floor_material":{"anyOf":[{"$ref":"#/components/schemas/FloorMaterial"},{"type":"null"}],"description":"Material of the floor under the stove"},"incombustible_support":{"anyOf":[{"$ref":"#/components/schemas/IncombustibleSupport"},{"type":"null"}],"description":"Incombustible support needed"},"flue_exit":{"anyOf":[{"$ref":"#/components/schemas/FlueExit-Input"},{"type":"null"}],"description":"Flue exit configuration"}},"type":"object","title":"FutureStove","description":"Future stove (poêle) installation configuration.\nUsed to document the planned stove installation during technical visit."},"FutureStove-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/StoveAsset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Output"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Output"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"type":{"anyOf":[{"$ref":"#/components/schemas/TypePoele"},{"type":"null"}],"description":"Type of stove (wood or pellets)"},"usage":{"anyOf":[{"$ref":"#/components/schemas/StoveUsage"},{"type":"null"}],"description":"Stove usage (main or secondary heating)"},"surface_to_heat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface To Heat","description":"Surface to heat in m²"},"room_surface":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Room Surface","description":"Room surface in m²"},"is_open_room":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Open Room","description":"Whether the room is open (open floor plan)"},"ceiling_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ceiling Height","description":"Ceiling height in meters"},"ceiling_type":{"anyOf":[{"$ref":"#/components/schemas/CeilingType"},{"type":"null"}],"description":"Ceiling specificity (beam, offset, none)"},"wall_material":{"anyOf":[{"$ref":"#/components/schemas/StoveWallMaterial"},{"type":"null"}],"description":"Material of the wall behind the stove"},"floor_material":{"anyOf":[{"$ref":"#/components/schemas/FloorMaterial"},{"type":"null"}],"description":"Material of the floor under the stove"},"incombustible_support":{"anyOf":[{"$ref":"#/components/schemas/IncombustibleSupport"},{"type":"null"}],"description":"Incombustible support needed"},"flue_exit":{"anyOf":[{"$ref":"#/components/schemas/FlueExit-Output"},{"type":"null"}],"description":"Flue exit configuration"}},"type":"object","title":"FutureStove","description":"Future stove (poêle) installation configuration.\nUsed to document the planned stove installation during technical visit."},"GasAccessCreate":{"properties":{"gas_pce":{"type":"string","pattern":"^\\d{14}$","title":"Gas Pce","description":"GRDF PCE (14 digits)"},"titulaire_email":{"type":"string","format":"email","title":"Titulaire Email","description":"Meter holder e-mail: GRDF asks them to validate"}},"additionalProperties":false,"type":"object","required":["gas_pce","titulaire_email"],"title":"GasAccessCreate","description":"What the pro enters to ask GRDF for the holder's gas data."},"GasAccessStatus":{"properties":{"state":{"$ref":"#/components/schemas/MeterAccessStateEnum"},"pce":{"type":"string","title":"Pce"},"titulaire_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Titulaire Email"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"}},"type":"object","required":["state","pce","titulaire_email","requested_at"],"title":"GasAccessStatus","description":"Where the lead's request for gas data stands at GRDF."},"GasBoilerType":{"type":"string","enum":["classique","standard","basse_temperature","condensation"],"title":"GasBoilerType","description":"Type of gas boiler."},"GasConsumption":{"properties":{"pce":{"type":"string","title":"Pce"},"meter_access_id":{"type":"string","format":"uuid","title":"Meter Access Id"},"id_droit_acces":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id Droit Acces"},"date_debut":{"type":"string","format":"date","title":"Date Debut"},"date_fin":{"type":"string","format":"date","title":"Date Fin"},"readings_count":{"type":"integer","title":"Readings Count"},"energie_kwh_total":{"type":"number","title":"Energie Kwh Total"},"monthly_average_kwh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthly Average Kwh"},"months":{"items":{"$ref":"#/components/schemas/GasMonth"},"type":"array","title":"Months"},"readings":{"items":{"$ref":"#/components/schemas/GasReading"},"type":"array","title":"Readings"},"fetched_at":{"type":"string","format":"date-time","title":"Fetched At"}},"type":"object","required":["pce","meter_access_id","id_droit_acces","date_debut","date_fin","readings_count","energie_kwh_total","monthly_average_kwh","months","readings","fetched_at"],"title":"GasConsumption","description":"What the customer space shows: the readings and their monthly view."},"GasMonth":{"properties":{"month":{"type":"string","title":"Month"},"energie_kwh":{"type":"number","title":"Energie Kwh"}},"type":"object","required":["month","energie_kwh"],"title":"GasMonth","description":"Energy of a calendar month, readings spread over their days."},"GasReading":{"properties":{"date_debut":{"type":"string","format":"date","title":"Date Debut"},"date_fin":{"type":"string","format":"date","title":"Date Fin"},"energie_kwh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Energie Kwh"},"volume_brut_m3":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Volume Brut M3"},"type_qualif_conso":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Qualif Conso"},"statut_conso":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Statut Conso"}},"type":"object","required":["date_debut","date_fin"],"title":"GasReading","description":"One published reading, dated in Paris time and reduced to its energy."},"Gender":{"type":"string","enum":["male","female","other","rather_not_say"],"title":"Gender"},"GenerateurChauffage":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/argile__engine__dpe__models__heaters__generator__DonneeEntree"},"donnee_intermediaire":{"$ref":"#/components/schemas/argile__engine__dpe__models__heaters__generator__DonneeIntermediaire"}},"type":"object","required":["donnee_entree"],"title":"GenerateurChauffage"},"GenerateurChauffageCollection":{"properties":{"generateur_chauffage":{"items":{"$ref":"#/components/schemas/GenerateurChauffage"},"type":"array","minItems":1,"title":"Generateur Chauffage"}},"type":"object","title":"GenerateurChauffageCollection"},"GenerateurEcs":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/argile__engine__dpe__models__dhw__generator__DonneeEntree"},"donnee_intermediaire":{"$ref":"#/components/schemas/argile__engine__dpe__models__dhw__generator__DonneeIntermediaire"}},"type":"object","required":["donnee_entree"],"title":"GenerateurEcs"},"GenerateurEcsCollection":{"properties":{"generateur_ecs":{"items":{"$ref":"#/components/schemas/GenerateurEcs"},"type":"array","minItems":1,"title":"Generateur Ecs"}},"type":"object","title":"GenerateurEcsCollection"},"GeomGroup":{"properties":{"coordinates":{"items":{"items":{"items":{"prefixItems":[{"type":"number"},{"type":"number"}],"type":"array","maxItems":2,"minItems":2},"type":"array"},"type":"array"},"type":"array","title":"Coordinates"},"type":{"$ref":"#/components/schemas/PolygonType","description":"Type de géométrie","default":"MultiPolygon","examples":["MultiPolygon"]}},"type":"object","required":["coordinates"],"title":"GeomGroup"},"GlazingOption":{"type":"string","enum":["frosted","laminated","low_sill","transom","guardrail","acoustic","burglar_resistant"],"title":"GlazingOption"},"GroundSupportType":{"type":"string","enum":["concrete_slab","gravel"],"title":"GroundSupportType","description":"Nature du sol sous un support rubber (PAC air/air)."},"GroupCoverage":{"properties":{"heat_pump_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heat Pump Group Id"},"unit_references":{"items":{"type":"string"},"type":"array","title":"Unit References"},"zone_references":{"items":{"type":"string"},"type":"array","title":"Zone References"},"room_references":{"items":{"type":"string"},"type":"array","title":"Room References"},"winter":{"anyOf":[{"$ref":"#/components/schemas/SeasonCoverage"},{"type":"null"}]},"summer":{"anyOf":[{"$ref":"#/components/schemas/SeasonCoverage"},{"type":"null"}]},"contributions":{"items":{"$ref":"#/components/schemas/UnitContribution"},"type":"array","title":"Contributions"},"winter_spread":{"anyOf":[{"$ref":"#/components/schemas/SeasonPowerSpread"},{"type":"null"}]},"summer_spread":{"anyOf":[{"$ref":"#/components/schemas/SeasonPowerSpread"},{"type":"null"}]},"shortfall_kw":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Shortfall Kw","description":"Winter power its units miss, in kW; None when covered"}},"type":"object","title":"GroupCoverage","description":"Coverage by one heat pump of its indoor units' rooms (air/air) or circuits\n(hydronic); the seasons carry the need even before a product is retained."},"GroupOutdoorSuggestions":{"properties":{"catalog_item_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Catalog Item Ids","description":"Outdoor units and packs able to feed the indoor units alone, in the selection's order: none has fewer outlets than they need"}},"type":"object","required":["catalog_item_ids"],"title":"GroupOutdoorSuggestions"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HeatAsset":{"properties":{"type":{"type":"string","enum":["video","sound","image","segmentation","marker","no_lidar_available","reconstruction_3d"],"title":"Type"},"coordinate":{"anyOf":[{"$ref":"#/components/schemas/AccomodationCoordinate"},{"type":"null"}]},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"attributes":{"items":{"$ref":"#/components/schemas/Attribute"},"type":"array","title":"Attributes","description":"A very broad field to store any relevant data related to this asset","default":[]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"tag":{"anyOf":[{"$ref":"#/components/schemas/HeatAttributeTag"},{"type":"null"}]}},"additionalProperties":false,"type":"object","required":["type"],"title":"HeatAsset"},"HeatAttributeTag":{"type":"string","enum":["wide","narrow","hydro_start","evacuation"],"title":"HeatAttributeTag","description":"Tag d'attribut d'un asset (photo) de chauffage."},"HeatCertificate":{"type":"string","enum":["none","flamme_verte"],"title":"HeatCertificate","description":"Certificat / label d'un générateur de chauffage (ex. Flamme Verte)."},"HeatEmitter":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"references_generateurs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"References Generateurs","description":"Références des générateurs associés à l'émetteur (dans le cas d'un émetteur partagé entre plusieurs générateurs)","examples":["G1","G2"]},"surface_chauffee":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Chauffee","description":"Surface chauffée par l'émetteur (sous ensemble de la surface chauffée par l'installation). Dans le cas d'un DPE immeuble ou d'un DPE appartement à partir de l'immeuble c'est la surface de l'installation à l'immeuble qu'il faut renseigner","examples":[100.0],"donnee_entree":true},"temp_sortie_eau":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temp Sortie Eau","description":"Loi d'eau : température de départ d'eau (°C) de l'émetteur à la température extérieure de base","examples":[70.0]},"tv_rendement_emission_id":{"anyOf":[{"type":"integer","maximum":7.0,"minimum":1.0},{"type":"null"}],"title":"Tv Rendement Emission Id","description":"ID de la ligne de la table utilisée pour le calcul du rendement d'émission de l'émetteur de chauffage","examples":[1],"donnee_entree":true},"tv_rendement_distribution_ch_id":{"anyOf":[{"type":"integer","maximum":12.0,"minimum":1.0},{"type":"null"}],"title":"Tv Rendement Distribution Ch Id","description":"ID de la ligne de la table utilisée pour le calcul du rendement de distribution de la distribution associée à l'émission","examples":[1],"donnee_entree":true},"tv_rendement_regulation_id":{"anyOf":[{"type":"integer","maximum":15.0,"minimum":1.0},{"type":"null"}],"title":"Tv Rendement Regulation Id","description":"ID de la ligne de la table utilisée pour le calcul du rendement de régulation associé à l'émission","examples":[1],"donnee_entree":true},"enum_type_emission_distribution_id":{"anyOf":[{"$ref":"#/components/schemas/TypeEmissionDistribution","ge":1,"le":50},{"type":"null"}],"description":"Enumérateur qui couple les notions d'émission et de distribution pour produire une description complète des émetteurs de chauffage","examples":[1],"donnee_entree":true},"tv_intermittence_id":{"anyOf":[{"type":"integer","maximum":188.0,"minimum":1.0},{"type":"null"}],"title":"Tv Intermittence Id","description":"ID de la ligne de la table utilisée pour le calcul du coefficient d'intermittence de l'installation I0","examples":[1],"donnee_entree":true},"reseau_distribution_isole":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reseau Distribution Isole","description":"Est-ce que le réseau de distribution est isolé ?","examples":[true],"donnee_entree":true},"enum_equipement_intermittence_id":{"anyOf":[{"$ref":"#/components/schemas/EquipementIntermittence"},{"type":"null"}],"description":"Type d'équipement d'intermittence associé à la génération","examples":[1]},"enum_type_regulation_id":{"anyOf":[{"$ref":"#/components/schemas/TypeRegulation"},{"type":"null"}],"description":"Type de régulation associée au générateur","examples":[1],"donnee_entree":true},"enum_periode_installation_emetteur_id":{"anyOf":[{"$ref":"#/components/schemas/PeriodeInstallationEmetteur"},{"type":"null"}],"description":"Période d'installation des émetteurs de chauffage (utilisé pour le calcul des températures de fonctionnement des systèmes à combustion de type chaudière gaz ou fioul)","examples":[1],"donnee_entree":true},"enum_type_chauffage_id":{"anyOf":[{"$ref":"#/components/schemas/TypeChauffage"},{"type":"null"}],"description":"Type de chauffage : central ou divisé","examples":[1],"donnee_entree":true},"enum_temp_distribution_ch_id":{"anyOf":[{"$ref":"#/components/schemas/TempDistributionCh"},{"type":"null"}],"description":"Température de distribution de l'installation de chauffage (pour le calcul des auxiliaires de distribution)","examples":[1],"donnee_entree":true},"enum_lien_generateur_emetteur_id":{"anyOf":[{"$ref":"#/components/schemas/LienGenerateurEmetteur","ge":1,"le":3},{"type":"null"}],"description":"Lien entre le générateur et l'émetteur associé","examples":[1],"donnee_entree":true},"enum_etat_composant_id":{"anyOf":[{"$ref":"#/components/schemas/EtatComposant"},{"type":"null"}],"description":"Indique si le composant a été changé par rapport au logement initial","examples":[1],"donnee_entree":true}},"type":"object","title":"HeatEmitter","description":"Argile"},"HeatEnergy":{"type":"string","enum":["electricity","fuel","gas","oil","coal","urban_network","renewable","biomass","heat_pump"],"title":"HeatEnergy","description":"Énergie d'un générateur de chauffage : valeurs de `Energy` + `heat_pump`."},"HeatGenerator":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/HeatAsset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"references_emetteurs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"References Emetteurs","description":"Liste des références des émetteurs associés au générateur de chauffage","examples":["E1","E2"]},"energy":{"anyOf":[{"$ref":"#/components/schemas/HeatEnergy"},{"type":"null"}],"description":"Only for the front"},"is_hydraulic":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Hydraulic","description":"Only for the front"},"category":{"anyOf":[{"$ref":"#/components/schemas/HeatGeneratorType"},{"type":"null"}],"description":"Type de catégorie"},"macro_categorie_ch":{"anyOf":[{"$ref":"#/components/schemas/MacroCategorieCh"},{"type":"null"}],"description":"Catégorie de chauffage (chaudière, radiateur, pompe à chaleur, etc.)"},"categorie_ch":{"anyOf":[{"$ref":"#/components/schemas/CategorieCh"},{"type":"null"}],"description":"Catégorie de chauffage (chaudière, radiateur, pompe à chaleur, etc.)"},"reference_generateur_mixte":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Generateur Mixte","description":"Référence commune pour un générateur mixte chauffage ECS. Cette référence est identique pour les deux parties du générateur (chauffage et ECS) et est utilisé pour faire le lien entre les deux","examples":["G1"],"donnee_entree":true},"ref_produit_generateur_ch":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ref Produit Generateur Ch","description":"Référence produit et marque du générateur de chauffage","examples":["G1"],"donnee_entree":true},"annee_installation":{"anyOf":[{"type":"integer","maximum":2050.0,"minimum":1900.0},{"type":"null"}],"title":"Annee Installation","description":"Année d'installation du générateur de chauffage","examples":[2020],"donnee_entree":false},"enum_type_generateur_ch_id":{"anyOf":[{"$ref":"#/components/schemas/TypeGenerateurCh"},{"type":"null"}],"description":"Type de générateur de chauffage","examples":[1,2,3,4,5,6,7,8,9,10],"donnee_entree":false},"enum_usage_generateur_id":{"anyOf":[{"$ref":"#/components/schemas/UsageGenerateur","ge":1,"le":3},{"type":"null"}],"description":"Usages assurés par le générateur (chauffage/ecs/chauffage+ecs)","examples":[1,2,3],"donnee_entree":false},"enum_type_energie_id":{"anyOf":[{"$ref":"#/components/schemas/TypeEnergie","ge":1,"le":15},{"type":"null"}],"description":"Type d'énergie consommée par le générateur de chauffage","examples":[1,2,3,4,5,6,7,8,9,10],"donnee_entree":false},"position_volume_chauffe":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Position Volume Chauffe","description":"Est-ce que le générateur est positionné dans le volume chauffé ? (pour le calcul des pertes de génération récupérables)","examples":[true,false],"donnee_entree":false},"ignore_volume_chauffe_in_besoin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ignore Volume Chauffe In Besoin","description":"Hack for XML comparison ; some software forget to use volume chauffee in besoin_ch","examples":[true],"donnee_entree":false},"tv_rendement_generation_id":{"anyOf":[{"type":"integer","maximum":31.0,"minimum":1.0},{"type":"null"}],"title":"Tv Rendement Generation Id","description":"ID de la ligne de la table utilisée pour le calcul des rendements de générations forfaitaires des générateurs autres qu'à combustion","examples":[1,2,3,4,5,6,7,8,9,10],"donnee_entree":false},"tv_scop_id":{"anyOf":[{"type":"integer","maximum":88.0,"minimum":1.0},{"type":"null"}],"title":"Tv Scop Id","description":"ID de la ligne de la table utilisée pour le calcul du coefficient de performance du système thermodynamique (SCOP)","examples":[1,2,3,4,5,6,7,8,9,10],"donnee_entree":false},"tv_temp_fonc_100_id":{"anyOf":[{"type":"integer","maximum":9.0,"minimum":1.0},{"type":"null"}],"title":"Tv Temp Fonc 100 Id","description":"ID de la ligne de la table utilisée pour le calcul de la température à 100% de charge du système à combustion (SUPPRIME)","examples":[1,2,3,4,5,6,7,8,9,10],"donnee_entree":false},"tv_temp_fonc_30_id":{"anyOf":[{"type":"integer","maximum":36.0,"minimum":1.0},{"type":"null"}],"title":"Tv Temp Fonc 30 Id","description":"ID de la ligne de la table utilisée pour le calcul de la température à 30% de charge du système à combustion (SUPPRIME)","examples":[1,2,3,4,5,6,7,8,9,10],"donnee_entree":false},"tv_generateur_combustion_id":{"anyOf":[{"type":"integer","maximum":103.0,"minimum":1.0},{"type":"null"}],"title":"Tv Generateur Combustion Id","description":"ID de la ligne de la table utilisée pour le calcul des paramètres du générateur à combustion Rpn,Rpint,Qp0,Pveil","examples":[1,2,3,4,5,6,7,8,9,10],"donnee_entree":false},"tv_reseau_chaleur_id":{"anyOf":[{"type":"integer","maximum":797.0,"minimum":1.0},{"type":"null"}],"title":"Tv Reseau Chaleur Id","description":"ID de la ligne de la table utilisée pour le calcul du contenu CO2 des réseaux de chaleurs (OBSOLETE et remplacé par identifiant_reseau_chaleur à partir du 18 janvier 2022 et la prise en compte du nouvel arrêté réseau de chaleur)","examples":[null],"donnee_entree":false},"identifiant_reseau_chaleur":{"anyOf":[{"type":"string","pattern":"[0-9]{4}[C-F]"},{"type":"null"}],"title":"Identifiant Reseau Chaleur","description":"Identifiant réseau de chaleur ou de froid utilisé (utilisé à partir du 18 janvier 2022). Cet identifiant doit correspondre à un identifiant déclaré dans la liste des réseaux de chaleurs spécifiés dans l'arrêté en vigueur qui modifie l'annexe 7 de l'arrêté du 15 en vigueur qui modifie l'annexe 7 de l'arrêté du 15 septembre 2006 relatif au diagnostic de performance energétique","examples":[null],"donnee_entree":false},"date_arrete_reseau_chaleur":{"anyOf":[{"$ref":"#/components/schemas/XmlDate"},{"type":"null"}],"description":"Date de l'arrêté réseau de chaleur ou de froid utilisé (utilisé à  partir du 18 janvier 2022)","examples":[null],"donnee_entree":false},"n_radiateurs_gaz":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"N Radiateurs Gaz","description":"Nombre de radiateurs gaz","examples":[1,2,3,4,5,6,7,8,9,10],"donnee_entree":false},"priorite_generateur_cascade":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Priorite Generateur Cascade","description":"Ordre de priorité du générateur en cascade (ordonné de manière croissante 1 : générateur principal , 2: genérateur secondaire etc…). Dans le cas de deux générateurs en cascade sans priorité, les deux générateurs sont déclarés comme principal","examples":[1,2,3,4,5,6,7,8,9,10],"donnee_entree":false},"presence_ventouse":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Presence Ventouse","description":"Présence d'un système de ventouse ou avec un ventilateur pour l'évacuation des fumées d'un système à combustion ?","examples":[true,false],"donnee_entree":false},"presence_ventilateur":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Presence Ventilateur","description":"Présence de ventilateur ou autre dispositif de circulation d’air ou de produit de combustion dans le circuit de combustion.","examples":[true,false],"donnee_entree":false},"presence_regulation_combustion":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Presence Regulation Combustion","description":"Présence d'un organe de régulation pour le système de chauffage à combustion ?","examples":[true,false],"donnee_entree":false},"enum_methode_saisie_carac_sys_id":{"$ref":"#/components/schemas/MethodeSaisieCaracSys","description":"Méthode de saisie des performances du système de chauffage","default":1,"examples":[1,2,3,4,5,6,7,8,9,10],"donnee_entree":false,"ge":1,"le":8},"enum_lien_generateur_emetteur_id":{"anyOf":[{"$ref":"#/components/schemas/LienGenerateurEmetteur","ge":1,"le":3},{"type":"null"}],"description":"Lien entre le générateur et l'émetteur associé","examples":[1,2,3],"donnee_entree":false},"enum_etat_composant_id":{"anyOf":[{"$ref":"#/components/schemas/EtatComposant"},{"type":"null"}],"description":"Indique si le composant a été changé par rapport au logement initial","examples":[1,2],"donnee_entree":false},"scop":{"anyOf":[{"type":"number","maximum":8.0,"exclusiveMinimum":1.0},{"type":"null"}],"title":"Scop","description":"SCOP du générateur thermodynamique (en remplacement du Rg pour les générateurs thermodynamique) (0-20)","__compute_if_none":"compute_scop","donnee_entree":false},"pn":{"anyOf":[{"type":"number","gt":100},{"type":"null"}],"title":"Pn","description":"Puissance nominale du générateur à combustion (W)","__compute_if_none":"compute_nominal_power","donnee_entree":false},"qp0":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Qp0","description":"Pertes à l'arret du générateur à combustion. Dans le cas d'un générateur virtualisé pour DPE appartement avec chauffage collectif saisir Qp0 correspondant à Pe = a*Pn(collectif) (W)","__compute_if_none":"compute_qp0","donnee_entree":false},"pveilleuse":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Pveilleuse","description":"Puissance de la veilleuse du générateur à combustion (W)","__compute_if_none":"compute_pveilleuse","donnee_entree":false},"temp_fonc_30":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Temp Fonc 30","description":"Température de fonctionnement à 30% de charge (°C)","__compute_if_none":"compute_temp_fonc_30","donnee_entree":false},"temp_fonc_100":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Temp Fonc 100","description":"Température de fonctionnement à 100% de charge (°C)","__compute_if_none":"compute_temp_fonc_100","donnee_entree":false},"rpn":{"anyOf":[{"type":"number","maximum":1.5,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Rpn","description":"Rendement de génération à pleine charge du générateur à combustion (0-1,5) (en PCI?)","__compute_if_none":"compute_rpn","donnee_entree":false},"rpint":{"anyOf":[{"type":"number","maximum":1.5,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Rpint","description":"Rendement de génération à charge intermédiaire du générateur à combustion (0-1,5) (en PCI?)","__compute_if_none":"compute_rpint","donnee_entree":false}},"type":"object","title":"HeatGenerator"},"HeatGeneratorType":{"type":"string","enum":["heat_pump_air_air","heat_pump_air_water","heat_pump_water_water","heat_pump_water_glycolee_water","heat_pump_geothermal","radiator","air_blowing","insert","foyer_ferme","fireplace","pellet_stove","pellet_stove_boiler","wood_stove","wood_boiler","wood_stove_boiler","cuisiniere","chip_boiler","stove","pellet_boiler","boiler_classic","boiler_low_temp","boiler_condensing","electric_radiator","electric_panel","electric_convector","electric_accumulator","electric_floor","electric_floor_regulated","electric_boiler","electric_towel_radiator","urban_network","urban_network_not_isolated"],"title":"HeatGeneratorType","description":"Type de générateur de chauffage (front), mappé vers les enums DPE."},"HeatInstall":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/HeatAsset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"generators":{"anyOf":[{"items":{"$ref":"#/components/schemas/HeatGenerator"},"type":"array"},{"type":"null"}],"title":"Generators","description":"Liste des générateurs de chauffage associés à l'installation de chauffage","examples":[{"assets":[],"enum_methode_saisie_carac_sys_id":1,"mode":"simple","singular_points":[]}]},"emitters":{"anyOf":[{"items":{"$ref":"#/components/schemas/HeatEmitter"},"type":"array"},{"type":"null"}],"title":"Emitters","description":"Liste des émetteurs de chauffage associés à l'installation de chauffage","examples":[{"assets":[],"mode":"simple","singular_points":[]}]},"certificate":{"anyOf":[{"$ref":"#/components/schemas/HeatCertificate"},{"type":"null"}],"description":"Indique si le générateur de chauffage a un certificat (ex : label Flamme Verte)"},"surface_chauffee":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Chauffee","description":"Surface chauffée par l'installation de chauffage","examples":[100.0],"donnee_entree":true},"nombre_logement_echantillon":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Nombre Logement Echantillon","description":"Nombre de logements représentés par le logement échantillon","examples":[1.0],"donnee_entree":true},"rdim":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Rdim","description":"Nombre d'installations identiques.","default":1,"examples":[1.0],"donnee_entree":true},"nombre_niveau_installation_ch":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Nombre Niveau Installation Ch","description":"Nombre de niveaux desservis par l'installation de chauffage","examples":[1],"donnee_entree":true},"enum_cfg_installation_ch_id":{"anyOf":[{"$ref":"#/components/schemas/CfgInstallationCh","ge":1,"le":11},{"type":"null"}],"description":"Configuration de l'installation de chauffage","examples":[1],"donnee_entree":true},"ratio_virtualisation":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Ratio Virtualisation","description":"Ratio de virtualisation de l'installation collective","examples":[1.0],"donnee_entree":true},"coef_ifc":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Coef Ifc","description":"Coefficient d'individualisation des frais de chauffage","examples":[1.0],"donnee_entree":true},"cle_repartition_ch":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Cle Repartition Ch","description":"Clé de répartition pour passer des consommations bâtiments au consommation logement","examples":[1.0],"donnee_entree":true},"enum_type_installation_id":{"anyOf":[{"$ref":"#/components/schemas/TypeInstallation","ge":1,"le":4},{"type":"null"}],"description":"Type d'installation de chauffage (collective ou individuelle ou collective multi batiment","examples":[1],"donnee_entree":true},"enum_methode_calcul_conso_id":{"anyOf":[{"type":"integer","maximum":6.0,"minimum":1.0},{"type":"null"}],"title":"Enum Methode Calcul Conso Id","description":"Méthode de calcul de consommation de chauffage : simple, ou cas particuliers installation collective virtualisée ou installation individuelle échantilonnée (dpe immeuble)","examples":[1],"donnee_entree":true},"enum_type_installation_solaire_id":{"anyOf":[{"$ref":"#/components/schemas/TypeInstallationSolaire"},{"type":"null"}],"description":"Type d'installation solaire pour le chauffage (chauffage solaire seul ou combiné) ; la ligne de table du facteur de couverture solaire est déduite de la zone climatique quand elle n'est pas saisie","examples":[1]},"enum_methode_saisie_fact_couv_sol_id":{"anyOf":[{"$ref":"#/components/schemas/MethodeSaisieFactCouvSol","ge":1,"le":2},{"type":"null"}],"description":"Méthode de saisie du facteur de couverture solaire pour le chauffage (saisi en direct justifié ou calculé à partir de la table)","examples":[1],"donnee_entree":true},"tv_facteur_couverture_solaire_id":{"anyOf":[{"type":"integer","maximum":48.0,"minimum":1.0},{"type":"null"}],"title":"Tv Facteur Couverture Solaire Id","description":"ID de la ligne de la table utilisée pour le calcul du facteur de couverture solaire","examples":[1],"donnee_entree":true},"fch_saisi":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Fch Saisi","description":"Facteur de couverture solaire pour l'installation de chauffage (saisi)","examples":[1.0],"donnee_entree":true},"enum_etat_composant_id":{"anyOf":[{"$ref":"#/components/schemas/EtatComposant"},{"type":"null"}],"description":"Indique si le composant a été changé par rapport au logement initial","examples":[1],"donnee_entree":true}},"type":"object","title":"HeatInstall","description":"Argile"},"HeatLossPoste":{"type":"string","enum":["roofs","walls","floors","openings","thermal_bridges","ventilation"],"title":"HeatLossPoste"},"HeatNeedBreakdown":{"properties":{"h_transmission":{"type":"number","title":"H Transmission","description":"NF EN 12831-1 transmission heat loss coefficient, in W/K, after works and déperdition override"},"h_ventilation":{"type":"number","title":"H Ventilation","description":"NF EN 12831-1 ventilation heat loss coefficient, in W/K"},"volume":{"type":"number","title":"Volume","description":"Heated volume of the dwelling, in m³"},"g":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"G","description":"(h_transmission + h_ventilation) / volume, in W/m³/K"},"t_cons":{"type":"number","title":"T Cons","description":"Indoor setpoint, in °C"},"t_base":{"type":"number","title":"T Base","description":"NF EN 12831-1 outdoor design temperature, °C"},"t_sizing":{"type":"number","title":"T Sizing","description":"Outdoor temperature the need is read at: max(t_base, cut-off)"},"total_deperditions":{"type":"number","title":"Total Deperditions","description":"Whole dwelling heat loss at t_base, in kW"},"surface_ratio":{"type":"number","title":"Surface Ratio","description":"Share of the dwelling the work heats"},"heated_surface":{"type":"number","title":"Heated Surface","description":"Surface the work heats, in m²: surface_ratio x SHAB"},"need":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Need","description":"Heating need, in kW"},"postes":{"items":{"$ref":"#/components/schemas/PosteHeatLoss"},"type":"array","title":"Postes","description":"The envelope and ventilation postes the coefficients split into"}},"type":"object","required":["h_transmission","h_ventilation","volume","t_cons","t_base","t_sizing","total_deperditions","surface_ratio","heated_surface"],"title":"HeatNeedBreakdown","description":"How a PAC work's heating need is reached, every figure the one the rate uses:\nneed = (h_transmission + h_ventilation) x surface_ratio x (t_cons - t_sizing)."},"HeatPumpCapacitiesRequest":{"properties":{"type_travaux":{"$ref":"#/components/schemas/TypeTravaux"},"catalog_item_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":5000,"minItems":1,"title":"Catalog Item Ids"},"room_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Reference","description":"Room each indoor unit is judged for, beside the units it holds"},"unit_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit Reference","description":"Indoor unit each indoor unit is judged in place of, in its rooms"},"group_unit_references":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Group Unit References","description":"Indoor units each outdoor unit is judged feeding alone"},"zone_references":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Zone References","description":"Heating circuits each outdoor unit or kit is judged feeding alone"},"cascade_unit_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":20},{"type":"null"}],"title":"Cascade Unit Ids","description":"Units each outdoor unit or kit is judged in cascade with on zone_references, one id per unit"}},"type":"object","required":["type_travaux","catalog_item_ids"],"title":"HeatPumpCapacitiesRequest","description":"Catalog heat pumps to read at the scenario's base temperature."},"HeatPumpCapacity":{"properties":{"catalog_item_id":{"type":"string","format":"uuid","title":"Catalog Item Id"},"read_temperature":{"type":"number","title":"Read Temperature","description":"Outdoor or cold-source temperature read"},"water_temperature":{"type":"number","title":"Water Temperature","description":"Water regime read"},"power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Power","description":"Heating power at that temperature"},"is_max_power":{"type":"boolean","title":"Is Max Power","description":"Read on a full-load curve, not a nominal one"},"cooling_power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cooling Power","description":"Declared cooling power"},"winter_coverage":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Winter Coverage","description":"Power over the work's heating need, in %"},"summer_coverage":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Summer Coverage","description":"Cooling power over the work's cooling need, in %"},"coverage_with_backup":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Coverage With Backup","description":"Winter coverage with the product's electric backup, in %"},"winter_status":{"anyOf":[{"type":"string","enum":["ok","under","over","over_tolerated","unknown"]},{"type":"null"}],"title":"Winter Status","description":"None for an indoor unit, judged on rooms, not the work","default":"unknown"},"summer_status":{"anyOf":[{"type":"string","enum":["ok","under","over","over_tolerated","unknown"]},{"type":"null"}],"title":"Summer Status"},"winter_band":{"anyOf":[{"$ref":"#/components/schemas/CoverageBand"},{"type":"null"}]},"summer_band":{"anyOf":[{"$ref":"#/components/schemas/CoverageBand"},{"type":"null"}]},"room_coverage":{"anyOf":[{"$ref":"#/components/schemas/RoomCoverage"},{"type":"null"}],"description":"The requested room's coverage once this indoor unit joins it"},"unit_coverage":{"anyOf":[{"$ref":"#/components/schemas/UnitCoverage"},{"type":"null"}],"description":"The requested unit's rooms once this indoor unit replaces it"},"group_coverage":{"anyOf":[{"$ref":"#/components/schemas/GroupCoverage"},{"type":"null"}],"description":"The requested indoor units' rooms fed by this outdoor unit alone"}},"type":"object","required":["catalog_item_id","read_temperature","water_temperature","power","is_max_power","cooling_power"],"title":"HeatPumpCapacity","description":"A heat pump's power at the scenario's base temperature and water regime."},"HeatPumpGroupIssues":{"properties":{"heat_pump_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heat Pump Group Id","description":"The heat pump's cascade group id; None for the first one"},"issues":{"items":{"$ref":"#/components/schemas/HeatPumpIssue"},"type":"array","title":"Issues"}},"type":"object","title":"HeatPumpGroupIssues","description":"What one heat pump of a work with several fails to deliver on its circuits."},"HeatPumpIssue":{"type":"string","enum":["water_temperature_too_high","dhw_without_tank","dhw_tank_too_small","incompatible_tank","needs_cascade","undersized","phase_mismatch","needs_bizone","not_financed","discontinued","oversized"],"title":"HeatPumpIssue","description":"Most serious first: the screens headline the first one."},"HeatPumpMode":{"type":"string","enum":["mono","multi"],"title":"HeatPumpMode"},"HeatPumpSuggestion":{"properties":{"units":{"items":{"$ref":"#/components/schemas/SuggestedHeatPumpUnit"},"type":"array","title":"Units"},"winter":{"anyOf":[{"$ref":"#/components/schemas/SeasonCoverage"},{"type":"null"}],"description":"Coverage of the work by these units alone"},"shortfall_kw":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Shortfall Kw","description":"Need these units leave uncovered, in kW, when under the floor"},"unmet_wishes":{"items":{"$ref":"#/components/schemas/HeatPumpWish"},"type":"array","title":"Unmet Wishes","description":"The installer's wishes the pilot does not meet"}},"type":"object","required":["units"],"title":"HeatPumpSuggestion","description":"One PAC or one declared cascade, the pilot first, as the selection builds it."},"HeatPumpSuggestions":{"properties":{"candidates":{"items":{"$ref":"#/components/schemas/HeatPumpSuggestion"},"type":"array","title":"Candidates","description":"The selection's order, the first being the one it would install; ahead of it, the chosen phase's PACs when the selection ranks none"},"installed_issues":{"items":{"$ref":"#/components/schemas/HeatPumpIssue"},"type":"array","title":"Installed Issues","description":"What the heat pump on the work fails to deliver"},"group_issues":{"items":{"$ref":"#/components/schemas/HeatPumpGroupIssues"},"type":"array","title":"Group Issues","description":"Each heat pump's sizing on the circuits it feeds, once the work has several"},"compatible_count":{"type":"integer","title":"Compatible Count","description":"Outdoor units and kits the selection considers for this work"},"total_count":{"type":"integer","title":"Total Count","description":"Outdoor units and kits of the work type"}},"type":"object","required":["candidates","compatible_count","total_count"],"title":"HeatPumpSuggestions"},"HeatPumpUnit":{"properties":{"power_table":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Power Table"},"cop_table":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Cop Table"},"nominal_power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Nominal Power"},"nominal_cop":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Nominal Cop"},"min_power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Power"},"backup_power":{"type":"number","title":"Backup Power","default":0.0},"cut_off_temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cut Off Temperature"},"t_base":{"type":"number","title":"T Base","default":-7.0},"source_temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Source Temperature"}},"type":"object","title":"HeatPumpUnit","description":"A stage of the cascade, in declared order; tables map °C to kW or COP."},"HeatPumpWish":{"type":"string","enum":["phase","architecture","refrigerant"],"title":"HeatPumpWish","description":"The installer's wishes on the heat pump, the first prevailing."},"HeatingProductCost":{"properties":{"annual_conso_kwh":{"type":"number","title":"Annual Conso Kwh","description":"kWhef/an"},"annual_cout":{"type":"number","title":"Annual Cout","description":"€/an"},"annual_cout_ecs":{"type":"number","title":"Annual Cout Ecs","description":"part ECS de annual_cout (€/an)"},"annual_cout_autres_usages":{"type":"number","title":"Annual Cout Autres Usages","description":"usages non modélisés de annual_cout, constants (€/an)","default":0.0},"annual_cout_par_usage":{"$ref":"#/components/schemas/UsageBreakdown","description":"annual_cout par usage, abonnements à part (€/an)"},"annual_cout_par_energie":{"items":{"$ref":"#/components/schemas/EnergyBillCost"},"type":"array","title":"Annual Cout Par Energie","description":"annual_cout par énergie, abonnement compris, puis par usage en € et kWh ; la plus coûteuse d'abord"},"prix_kwh_chauffage":{"items":{"$ref":"#/components/schemas/EnergyKwhPrice"},"type":"array","title":"Prix Kwh Chauffage","description":"prix du kWh des énergies du chauffage, la plus coûteuse d'abord"},"monthly_conso_kwh":{"items":{"type":"number"},"type":"array","title":"Monthly Conso Kwh"},"monthly_costs":{"items":{"type":"number"},"type":"array","title":"Monthly Costs"},"calibration_alerts":{"items":{"$ref":"#/components/schemas/CalibrationAlert"},"type":"array","title":"Calibration Alerts","description":"factures saisies qui ne couvrent pas leur part fixe"},"catalog_item_id":{"type":"string","format":"uuid","title":"Catalog Item Id"}},"type":"object","required":["annual_conso_kwh","annual_cout","annual_cout_ecs","annual_cout_par_usage","monthly_conso_kwh","monthly_costs","catalog_item_id"],"title":"HeatingProductCost","description":"Whole-home totals with one catalog product as the heating system."},"HeatingProductCostsRequest":{"properties":{"type_travaux":{"$ref":"#/components/schemas/TypeTravaux"},"catalog_item_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200,"minItems":1,"title":"Catalog Item Ids"}},"type":"object","required":["type_travaux","catalog_item_ids"],"title":"HeatingProductCostsRequest","description":"Catalog products to price as the scenario's heating system."},"HeatingSystem":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"has_central_system":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Central System","description":"Does the heating system have a central system?"},"are_dhw_and_heat_at_the_same_location":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Are Dhw And Heat At The Same Location","description":"Are the DHW and heat at the same location?"},"emitters_mode":{"anyOf":[{"type":"string","enum":["electric_radiator","electric_floor","electric_floor_and_radiator"]},{"type":"null"}],"title":"Emitters Mode","description":"Type of emitters used in the heating system"}},"type":"object","title":"HeatingSystem"},"HeatingTypeResult":{"properties":{"occupants":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Occupants","description":"occupants sur lesquels le besoin ECS est calculé : le foyer déclaré du lead, sinon les adultes équivalents du DPE (non arrondi)"},"dhw_need_40c":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dhw Need 40C","description":"besoin ECS journalier de ces occupants (L/jour à 40 °C)"},"annual_conso_kwh":{"type":"number","title":"Annual Conso Kwh","description":"kWhef/an"},"annual_cout":{"type":"number","title":"Annual Cout","description":"€/an"},"annual_cout_ecs":{"type":"number","title":"Annual Cout Ecs","description":"part ECS de annual_cout (€/an)"},"annual_cout_autres_usages":{"type":"number","title":"Annual Cout Autres Usages","description":"usages non modélisés de annual_cout, constants (€/an)","default":0.0},"annual_cout_par_usage":{"$ref":"#/components/schemas/UsageBreakdown","description":"annual_cout par usage, abonnements à part (€/an)"},"annual_cout_par_energie":{"items":{"$ref":"#/components/schemas/EnergyBillCost"},"type":"array","title":"Annual Cout Par Energie","description":"annual_cout par énergie, abonnement compris, puis par usage en € et kWh ; la plus coûteuse d'abord"},"prix_kwh_chauffage":{"items":{"$ref":"#/components/schemas/EnergyKwhPrice"},"type":"array","title":"Prix Kwh Chauffage","description":"prix du kWh des énergies du chauffage, la plus coûteuse d'abord"},"monthly_conso_kwh":{"items":{"type":"number"},"type":"array","title":"Monthly Conso Kwh"},"monthly_costs":{"items":{"type":"number"},"type":"array","title":"Monthly Costs"},"calibration_alerts":{"items":{"$ref":"#/components/schemas/CalibrationAlert"},"type":"array","title":"Calibration Alerts","description":"factures saisies qui ne couvrent pas leur part fixe"},"type_travaux":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"macro_categorie_ch":{"anyOf":[{"$ref":"#/components/schemas/MacroCategorieCh"},{"type":"null"}]}},"type":"object","required":["annual_conso_kwh","annual_cout","annual_cout_ecs","annual_cout_par_usage","monthly_conso_kwh","monthly_costs"],"title":"HeatingTypeResult","description":"Result for a single heating type in the comparison."},"HeatingYearHours":{"properties":{"month":{"items":{"type":"integer"},"type":"array","title":"Month"},"day":{"items":{"type":"integer"},"type":"array","title":"Day"},"hour":{"items":{"type":"integer"},"type":"array","title":"Hour"},"t_ext":{"items":{"type":"number"},"type":"array","title":"T Ext"},"t_indoor":{"items":{"type":"number"},"type":"array","title":"T Indoor"},"gh":{"items":{"type":"number"},"type":"array","title":"Gh"},"gross_heating_loss":{"items":{"type":"number"},"type":"array","title":"Gross Heating Loss"},"solar_gains":{"items":{"type":"number"},"type":"array","title":"Solar Gains"},"internal_gains":{"items":{"type":"number"},"type":"array","title":"Internal Gains"},"net_heating_need":{"items":{"type":"number"},"type":"array","title":"Net Heating Need"},"is_heating_season":{"items":{"type":"boolean"},"type":"array","title":"Is Heating Season"},"heat_pump_state":{"items":{"type":"string"},"type":"array","title":"Heat Pump State"},"pac_max_power":{"items":{"type":"number"},"type":"array","title":"Pac Max Power"},"pac_production":{"items":{"type":"number"},"type":"array","title":"Pac Production"},"backup_production":{"items":{"type":"number"},"type":"array","title":"Backup Production"},"deficit":{"items":{"type":"number"},"type":"array","title":"Deficit"},"electrical_power":{"items":{"type":"number"},"type":"array","title":"Electrical Power"},"cop":{"items":{"type":"number"},"type":"array","title":"Cop"},"cooling_need":{"items":{"type":"number"},"type":"array","title":"Cooling Need"},"cooling_production":{"items":{"type":"number"},"type":"array","title":"Cooling Production"},"cooling_electrical_power":{"items":{"type":"number"},"type":"array","title":"Cooling Electrical Power"},"rh":{"anyOf":[{"items":{"anyOf":[{"type":"number"},{"type":"null"}]},"type":"array"},{"type":"null"}],"title":"Rh"},"defrost_correction":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Defrost Correction"}},"type":"object","required":["month","day","hour","t_ext","t_indoor","gh","gross_heating_loss","solar_gains","internal_gains","net_heating_need","is_heating_season","heat_pump_state","pac_max_power","pac_production","backup_production","deficit","electrical_power","cop","cooling_need","cooling_production","cooling_electrical_power"],"title":"HeatingYearHours","description":"One list per field, 8 760 long, in kW and °C; columns keep the payload small."},"HeatingYearKpis":{"properties":{"thermodynamic_coverage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Thermodynamic Coverage"},"backup_coverage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Backup Coverage"},"annual_heating_need_kwh":{"type":"number","title":"Annual Heating Need Kwh"},"annual_pac_production_kwh":{"type":"number","title":"Annual Pac Production Kwh"},"annual_backup_production_kwh":{"type":"number","title":"Annual Backup Production Kwh"},"short_cycle_hours":{"type":"integer","title":"Short Cycle Hours"},"modulation_hours":{"type":"integer","title":"Modulation Hours"},"defrost_hours":{"type":"integer","title":"Defrost Hours","default":0}},"type":"object","required":["thermodynamic_coverage","backup_coverage","annual_heating_need_kwh","annual_pac_production_kwh","annual_backup_production_kwh","short_cycle_hours","modulation_hours"],"title":"HeatingYearKpis","description":"Shares in %, `None` when the year holds no heating need."},"HeatingYearResponse":{"properties":{"not_ready_reason":{"anyOf":[{"type":"string","enum":["weather_loading","no_coordinates","building_inputs_missing","boiler_backup_not_ready","heat_pump_performance_missing"]},{"type":"null"}],"title":"Not Ready Reason"},"hours":{"anyOf":[{"$ref":"#/components/schemas/HeatingYearHours"},{"type":"null"}]},"kpis":{"anyOf":[{"$ref":"#/components/schemas/HeatingYearKpis"},{"type":"null"}]},"observed_kpis":{"anyOf":[{"$ref":"#/components/schemas/ObservedKpis"},{"type":"null"}]},"observed_kpis_loading":{"type":"boolean","title":"Observed Kpis Loading","default":false},"bivalence_temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Bivalence Temperature"},"pac_min_power":{"type":"number","title":"Pac Min Power","default":0.0},"pac_max_power_by_temperature":{"additionalProperties":{"type":"number"},"type":"object","title":"Pac Max Power By Temperature","default":{}},"t_base":{"type":"number","title":"T Base"},"t_cons":{"type":"number","title":"T Cons"},"deperdition_env_w_k":{"type":"number","title":"Deperdition Env W K"},"is_boiler_backup":{"type":"boolean","title":"Is Boiler Backup"},"has_cooling":{"type":"boolean","title":"Has Cooling"},"heat_pumps":{"items":{"$ref":"#/components/schemas/HeatPumpUnit"},"type":"array","title":"Heat Pumps"},"weather_source":{"anyOf":[{"type":"string","enum":["meteo_france_stations","pvgis"]},{"type":"null"}],"title":"Weather Source"},"weather_stations":{"items":{"type":"string"},"type":"array","title":"Weather Stations","default":[]}},"type":"object","required":["t_base","t_cons","deperdition_env_w_k","is_boiler_backup","has_cooling","heat_pumps"],"title":"HeatingYearResponse","description":"`hours` is None, with a reason, while the scenario lacks an input."},"HeatingZone-Input":{"properties":{"reference":{"type":"string","title":"Reference"},"macro_category":{"$ref":"#/components/schemas/RoomEmitterMacroCategory"},"surface":{"type":"number","exclusiveMinimum":0.0,"title":"Surface","description":"Surface de chauffe en m²"},"water_temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Water Temperature","description":"Température de départ d'eau du circuit en °C (régime propre à la zone)"},"emitters":{"items":{"$ref":"#/components/schemas/ZoneEmitter-Input"},"type":"array","title":"Emitters"},"room_references":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Room References"},"heat_pump_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heat Pump Group Id","description":"Groupe de cascade (cascade_group_id) de la PAC qui alimente le circuit ; absent pour la première PAC"},"is_served":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Served","description":"False : aucune PAC n'alimente le circuit, il reste sur le chauffage existant (heat_pump_group_id ignoré)"},"name":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Name"},"is_sized_by_room":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Sized By Room"}},"type":"object","required":["reference","macro_category","surface"],"title":"HeatingZone"},"HeatingZone-Output":{"properties":{"reference":{"type":"string","title":"Reference"},"macro_category":{"$ref":"#/components/schemas/RoomEmitterMacroCategory"},"surface":{"type":"number","exclusiveMinimum":0.0,"title":"Surface","description":"Surface de chauffe en m²"},"water_temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Water Temperature","description":"Température de départ d'eau du circuit en °C (régime propre à la zone)"},"emitters":{"items":{"$ref":"#/components/schemas/ZoneEmitter-Output"},"type":"array","title":"Emitters"},"room_references":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Room References"},"heat_pump_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heat Pump Group Id","description":"Groupe de cascade (cascade_group_id) de la PAC qui alimente le circuit ; absent pour la première PAC"},"is_served":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Served","description":"False : aucune PAC n'alimente le circuit, il reste sur le chauffage existant (heat_pump_group_id ignoré)"},"name":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Name"},"is_sized_by_room":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Sized By Room"}},"type":"object","required":["reference","macro_category","surface"],"title":"HeatingZone"},"HousingInsights":{"properties":{"insights":{"items":{"$ref":"#/components/schemas/Insight"},"type":"array","title":"Insights"}},"type":"object","required":["insights"],"title":"HousingInsights"},"Hypothesis-Input":{"properties":{"inflation_rate":{"anyOf":[{"type":"number"},{"items":{"type":"number"},"type":"array"}],"title":"Inflation Rate","description":"Inflation rate of energy core prices (%/yr)","default":0.05},"electricity_resale_price":{"anyOf":[{"type":"number"},{"items":{"type":"number"},"type":"array"}],"title":"Electricity Resale Price","description":"How much electricity is resaled (€)","default":0.011},"analysis_span":{"type":"integer","title":"Analysis Span","description":"How long should we run the analysis for? (year)","default":30},"disable_mpr_performance":{"type":"boolean","title":"Disable Mpr Performance","description":"Disable subventions for the MPR performance","default":false},"before_dpe":{"anyOf":[{"type":"string","enum":["A","B","C","D","E","F","G"]},{"type":"null"}],"title":"Before Dpe","description":"Force the DPE class (before renovation) to a specific value"},"after_dpe":{"anyOf":[{"type":"string","enum":["A","B","C","D","E","F","G"]},{"type":"null"}],"title":"After Dpe","description":"Force the DPE class (after renovation) to a specific value"},"ecoptz":{"$ref":"#/components/schemas/EcoPTZHypothesis","default":{"is_enabled":false}},"additional_loans":{"anyOf":[{"items":{"oneOf":[{"$ref":"#/components/schemas/Loan-Input"},{"$ref":"#/components/schemas/EcoPTZLoan-Input"},{"$ref":"#/components/schemas/EcairLoan-Input"}],"discriminator":{"propertyName":"type","mapping":{"conso":"#/components/schemas/Loan-Input","ecair":"#/components/schemas/EcairLoan-Input","ecoptz":"#/components/schemas/EcoPTZLoan-Input","immo":"#/components/schemas/Loan-Input","pre_financing_subsidies":"#/components/schemas/Loan-Input"}}},"type":"array"},{"type":"null"}],"title":"Additional Loans","description":"Loans hypothesis the user can set to finance the project. These loans will be added to the funding of the project. Eco-PTZ loans normally live in `ecoptz`, but legacy scenarios persist them here too, so the union must keep accepting `ecoptz` entries."},"additional_advances":{"anyOf":[{"items":{"$ref":"#/components/schemas/Advance"},"type":"array"},{"type":"null"}],"title":"Additional Advances","description":"Advances on subsidies set by the user. These advances are exposed in funding but must not be treated as loans."},"auto_advance":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Auto Advance","description":"Opt-in (disabled by default). When enabled, the backend injects a single advance covering the whole expected subsidies and ignores additional_advances. When disabled, additional_advances are used."},"aap_loan":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/Loan-Input"},{"$ref":"#/components/schemas/EcairLoan-Input"}],"discriminator":{"propertyName":"type","mapping":{"conso":"#/components/schemas/Loan-Input","ecair":"#/components/schemas/EcairLoan-Input","immo":"#/components/schemas/Loan-Input","pre_financing_subsidies":"#/components/schemas/Loan-Input"}}},{"type":"null"}],"title":"Aap Loan","description":"The laureate's loan of an AAP scenario, posed by the backend at creation and rebuilt in the funding; None once the adviser dropped it"},"manual_selection_work_types":{"anyOf":[{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array"},{"type":"null"}],"title":"Manual Selection Work Types","description":"Works that get no main product until the installer picks one: the backend still fills their data but leaves the product lines empty, and a quote cannot be created."},"subsidy_overrides":{"anyOf":[{"items":{"$ref":"#/components/schemas/SubsidyOverride"},"type":"array"},{"type":"null"}],"title":"Subsidy Overrides","description":"User-defined subsidy overrides. Can replace computed subsidies or add custom ones. Matching is done by type and enum_type_travaux_ids."},"t_base_ete":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Base Ete","description":"Override of the summer design outdoor temperature (°C) used for the Air-Air cooling sizing. Defaults to the climate-zone value when unset."},"temp_distribution_ch":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Temp Distribution Ch","description":"Température de distribution du chauffage en °C (valeurs autorisées: 35, 40, …, 75 par pas de 5°)"},"emitter_types":{"anyOf":[{"items":{"$ref":"#/components/schemas/TypeEmissionCategorie"},"type":"array"},{"type":"null"}],"title":"Emitter Types","description":"Types d'émetteurs (radiateurs, plancher chauffant, etc.)"},"works":{"items":{"$ref":"#/components/schemas/HypothesisTravaux-Input"},"type":"array","title":"Works","description":"List of works to perform"},"pare_vapeur":{"type":"boolean","title":"Pare Vapeur","description":"L'isolation thermique réalisée a nécessité la mise en place d'un pare-vapeur ou tout autre dispositif équivalent","default":true},"ventilation_type":{"anyOf":[{"type":"string","enum":["A","B"]},{"type":"null"}],"title":"Ventilation Type","description":"Type de VMC (A ou B) pour BAR-TH-127","default":"A"},"surface_capteurs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Capteurs","description":"Surface hors-tout totale de capteurs solaires vitrés (m²) pour BAR-TH-101. Doit être >= 2 m².","default":2.0},"profil_soutirage":{"anyOf":[{"type":"string","enum":["M","L","XL","XXL"]},{"type":"null"}],"title":"Profil Soutirage","description":"Profil de soutirage déclaré pour BAR-TH-101","default":"M"},"efficacite_energetique_cesi":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Efficacite Energetique Cesi","description":"Efficacité énergétique pour le chauffage de l'eau (%) pour BAR-TH-101"},"besoin_annuel_ecs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Besoin Annuel Ecs","description":"Besoin annuel en eau chaude sanitaire (B) en kWh/an pour BAR-TH-102"},"taux_couverture_solaire":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taux Couverture Solaire","description":"Taux de couverture par l'énergie solaire (T) en % pour BAR-TH-102"},"production_solaire_utile":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Production Solaire Utile","description":"Production solaire utile (PES) en kWh/an pour BAR-TH-102"},"classe_regulateur":{"anyOf":[{"$ref":"#/components/schemas/ClasseRegulateurPac"},{"type":"null"}],"description":"Classe du régulateur de la PAC pour BAR-TH-171 et BAR-TH-172"},"taux_couverture_pac":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Taux Couverture Pac","description":"Taux de couverture (%) des besoins annuels de chauffage par la PAC hors dispositif d'appoint, lu sur la note de dimensionnement, pour BAR-TH-159"},"cold_source":{"anyOf":[{"$ref":"#/components/schemas/ColdSource"},{"type":"null"}],"description":"Configuration de la source froide pour PAC géothermique ou solaire thermique"},"intents":{"items":{"$ref":"#/components/schemas/HypothesisTravaux-Input"},"type":"array","title":"Intents"},"works_architecture":{"anyOf":[{"type":"string","enum":["heat_pump_air_air","heat_pump_air_water"]},{"type":"null"}],"title":"Works Architecture"},"pacs":{"items":{"$ref":"#/components/schemas/FuturePAC-Input"},"type":"array","title":"Pacs"},"ventilation":{"anyOf":[{"$ref":"#/components/schemas/VentilationProject-Input"},{"type":"null"}]},"dhws":{"items":{"$ref":"#/components/schemas/FutureDHW-Input"},"type":"array","title":"Dhws"},"stoves":{"items":{"$ref":"#/components/schemas/FutureStove-Input"},"type":"array","title":"Stoves"},"t_cons":{"type":"number","title":"T Cons","description":"Desired temperature inside the building (°C)","default":19.0},"t_cons_ete":{"type":"number","title":"T Cons Ete","description":"Desired summer temperature inside the building (°C), used for the Air-Air cooling sizing","default":26.0}},"type":"object","title":"Hypothesis","description":"Hypothesis carrying the setpoints: held by the answer and frozen documents."},"Hypothesis-Output":{"properties":{"inflation_rate":{"anyOf":[{"type":"number"},{"items":{"type":"number"},"type":"array"}],"title":"Inflation Rate","description":"Inflation rate of energy core prices (%/yr)","default":0.05},"electricity_resale_price":{"anyOf":[{"type":"number"},{"items":{"type":"number"},"type":"array"}],"title":"Electricity Resale Price","description":"How much electricity is resaled (€)","default":0.011},"analysis_span":{"type":"integer","title":"Analysis Span","description":"How long should we run the analysis for? (year)","default":30},"disable_mpr_performance":{"type":"boolean","title":"Disable Mpr Performance","description":"Disable subventions for the MPR performance","default":false},"before_dpe":{"anyOf":[{"type":"string","pattern":"[A-G]"},{"type":"null"}],"title":"Before Dpe","description":"Force the DPE class (before renovation) to a specific value"},"after_dpe":{"anyOf":[{"type":"string","pattern":"[A-G]"},{"type":"null"}],"title":"After Dpe","description":"Force the DPE class (after renovation) to a specific value"},"ecoptz":{"$ref":"#/components/schemas/EcoPTZHypothesis","default":{"is_enabled":false}},"additional_loans":{"anyOf":[{"items":{"oneOf":[{"$ref":"#/components/schemas/Loan-Output"},{"$ref":"#/components/schemas/EcoPTZLoan-Output"},{"$ref":"#/components/schemas/EcairLoan-Output"}],"discriminator":{"propertyName":"type","mapping":{"conso":"#/components/schemas/Loan-Output","ecair":"#/components/schemas/EcairLoan-Output","ecoptz":"#/components/schemas/EcoPTZLoan-Output","immo":"#/components/schemas/Loan-Output","pre_financing_subsidies":"#/components/schemas/Loan-Output"}}},"type":"array"},{"type":"null"}],"title":"Additional Loans","description":"Loans hypothesis the user can set to finance the project. These loans will be added to the funding of the project. Eco-PTZ loans normally live in `ecoptz`, but legacy scenarios persist them here too, so the union must keep accepting `ecoptz` entries."},"additional_advances":{"anyOf":[{"items":{"$ref":"#/components/schemas/Advance"},"type":"array"},{"type":"null"}],"title":"Additional Advances","description":"Advances on subsidies set by the user. These advances are exposed in funding but must not be treated as loans."},"auto_advance":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Auto Advance","description":"Opt-in (disabled by default). When enabled, the backend injects a single advance covering the whole expected subsidies and ignores additional_advances. When disabled, additional_advances are used."},"aap_loan":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/Loan-Output"},{"$ref":"#/components/schemas/EcairLoan-Output"}],"discriminator":{"propertyName":"type","mapping":{"conso":"#/components/schemas/Loan-Output","ecair":"#/components/schemas/EcairLoan-Output","immo":"#/components/schemas/Loan-Output","pre_financing_subsidies":"#/components/schemas/Loan-Output"}}},{"type":"null"}],"title":"Aap Loan","description":"The laureate's loan of an AAP scenario, posed by the backend at creation and rebuilt in the funding; None once the adviser dropped it"},"manual_selection_work_types":{"anyOf":[{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array"},{"type":"null"}],"title":"Manual Selection Work Types","description":"Works that get no main product until the installer picks one: the backend still fills their data but leaves the product lines empty, and a quote cannot be created."},"subsidy_overrides":{"anyOf":[{"items":{"$ref":"#/components/schemas/SubsidyOverride"},"type":"array"},{"type":"null"}],"title":"Subsidy Overrides","description":"User-defined subsidy overrides. Can replace computed subsidies or add custom ones. Matching is done by type and enum_type_travaux_ids."},"t_base_ete":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Base Ete","description":"Override of the summer design outdoor temperature (°C) used for the Air-Air cooling sizing. Defaults to the climate-zone value when unset."},"temp_distribution_ch":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Temp Distribution Ch","description":"Température de distribution du chauffage en °C (valeurs autorisées: 35, 40, …, 75 par pas de 5°)"},"emitter_types":{"anyOf":[{"items":{"$ref":"#/components/schemas/TypeEmissionCategorie"},"type":"array"},{"type":"null"}],"title":"Emitter Types","description":"Types d'émetteurs (radiateurs, plancher chauffant, etc.)"},"works":{"items":{"$ref":"#/components/schemas/HypothesisTravaux-Output"},"type":"array","title":"Works","description":"List of works to perform"},"pare_vapeur":{"type":"boolean","title":"Pare Vapeur","description":"L'isolation thermique réalisée a nécessité la mise en place d'un pare-vapeur ou tout autre dispositif équivalent","default":true},"ventilation_type":{"anyOf":[{"type":"string","enum":["A","B"]},{"type":"null"}],"title":"Ventilation Type","description":"Type de VMC (A ou B) pour BAR-TH-127","default":"A"},"surface_capteurs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Capteurs","description":"Surface hors-tout totale de capteurs solaires vitrés (m²) pour BAR-TH-101. Doit être >= 2 m².","default":2.0},"profil_soutirage":{"anyOf":[{"type":"string","enum":["M","L","XL","XXL"]},{"type":"null"}],"title":"Profil Soutirage","description":"Profil de soutirage déclaré pour BAR-TH-101","default":"M"},"efficacite_energetique_cesi":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Efficacite Energetique Cesi","description":"Efficacité énergétique pour le chauffage de l'eau (%) pour BAR-TH-101"},"besoin_annuel_ecs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Besoin Annuel Ecs","description":"Besoin annuel en eau chaude sanitaire (B) en kWh/an pour BAR-TH-102"},"taux_couverture_solaire":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taux Couverture Solaire","description":"Taux de couverture par l'énergie solaire (T) en % pour BAR-TH-102"},"production_solaire_utile":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Production Solaire Utile","description":"Production solaire utile (PES) en kWh/an pour BAR-TH-102"},"classe_regulateur":{"anyOf":[{"$ref":"#/components/schemas/ClasseRegulateurPac"},{"type":"null"}],"description":"Classe du régulateur de la PAC pour BAR-TH-171 et BAR-TH-172"},"taux_couverture_pac":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Taux Couverture Pac","description":"Taux de couverture (%) des besoins annuels de chauffage par la PAC hors dispositif d'appoint, lu sur la note de dimensionnement, pour BAR-TH-159"},"cold_source":{"anyOf":[{"$ref":"#/components/schemas/ColdSource"},{"type":"null"}],"description":"Configuration de la source froide pour PAC géothermique ou solaire thermique"},"intents":{"items":{"$ref":"#/components/schemas/HypothesisTravaux-Output"},"type":"array","title":"Intents"},"works_architecture":{"anyOf":[{"type":"string","enum":["heat_pump_air_air","heat_pump_air_water"]},{"type":"null"}],"title":"Works Architecture"},"pacs":{"items":{"$ref":"#/components/schemas/FuturePAC-Output"},"type":"array","title":"Pacs"},"ventilation":{"anyOf":[{"$ref":"#/components/schemas/VentilationProject-Output"},{"type":"null"}]},"dhws":{"items":{"$ref":"#/components/schemas/FutureDHW-Output"},"type":"array","title":"Dhws"},"stoves":{"items":{"$ref":"#/components/schemas/FutureStove-Output"},"type":"array","title":"Stoves"},"t_cons":{"type":"number","title":"T Cons","description":"Desired temperature inside the building (°C)","default":19.0},"t_cons_ete":{"type":"number","title":"T Cons Ete","description":"Desired summer temperature inside the building (°C), used for the Air-Air cooling sizing","default":26.0}},"type":"object","title":"Hypothesis","description":"Hypothesis carrying the setpoints: held by the answer and frozen documents."},"HypothesisTravaux-Input":{"properties":{"reference_collection":{"anyOf":[{"$ref":"#/components/schemas/ReferenceCollection"},{"type":"null"}],"description":"Collection de références de l'objet rénové"},"cout":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Cout","description":"Coût des travaux correspondants (€TTC) OBSOLETE"},"data":{"anyOf":[{"$ref":"#/components/schemas/Options-Input"},{"type":"null"}],"description":"Extra data to parameter the work"},"catalog_items":{"items":{"$ref":"#/components/schemas/CatalogItemSelected-Input"},"type":"array","title":"Catalog Items","description":"Liste des items du catalogue sélectionnés pour ce travail"},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score","description":"Pertinence of this work. A high score means we strongly recommend this work. A 0 score means we don't recommend it."},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux","ge":0,"le":999},{"type":"null"}],"description":"Type de travaux"},"enum_lot_travaux_audit_id":{"anyOf":[{"$ref":"#/components/schemas/LotTravauxAudit"},{"type":"null"}],"description":"Lot concerné par les travaux"}},"type":"object","title":"HypothesisTravaux","description":"Works model used in hypothesis. Allows enum_lot_travaux_audit_id only."},"HypothesisTravaux-Output":{"properties":{"reference_collection":{"anyOf":[{"$ref":"#/components/schemas/ReferenceCollection"},{"type":"null"}],"description":"Collection de références de l'objet rénové"},"cout":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Cout","description":"Coût des travaux correspondants (€TTC) OBSOLETE"},"data":{"anyOf":[{"$ref":"#/components/schemas/Options-Output"},{"type":"null"}],"description":"Extra data to parameter the work"},"catalog_items":{"items":{"$ref":"#/components/schemas/CatalogItemSelected-Output"},"type":"array","title":"Catalog Items","description":"Liste des items du catalogue sélectionnés pour ce travail"},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score","description":"Pertinence of this work. A high score means we strongly recommend this work. A 0 score means we don't recommend it."},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux","ge":0,"le":999},{"type":"null"}],"description":"Type de travaux"},"enum_lot_travaux_audit_id":{"anyOf":[{"$ref":"#/components/schemas/LotTravauxAudit"},{"type":"null"}],"description":"Lot concerné par les travaux"},"description_travaux_collection":{"$ref":"#/components/schemas/DescriptionTravauxCollection-Output","description":"Collection de descriptifs de travaux","readOnly":true}},"type":"object","required":["description_travaux_collection"],"title":"HypothesisTravaux","description":"Works model used in hypothesis. Allows enum_lot_travaux_audit_id only."},"ImportRowError":{"properties":{"row":{"type":"integer","title":"Row"},"column":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Column"},"message":{"type":"string","title":"Message"}},"type":"object","required":["row","message"],"title":"ImportRowError"},"ImpositionNotice":{"properties":{"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"}},"type":"object","title":"ImpositionNotice","description":"Model for imposition notice.\n\nFor now it is used only to store pictures without having to modify FiscalInfo"},"InclinaisonVitrageEnum":{"type":"integer","enum":[1,2,3,4],"title":"InclinaisonVitrageEnum"},"InclinationKind":{"type":"string","enum":["flat","sloped"],"title":"InclinationKind","description":"Kind of inclination of the roof section."},"IncombustibleSupport":{"type":"string","enum":["wall","floor","wall_and_floor","none"],"title":"IncombustibleSupport"},"Inertia":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"inertie_plancher_bas_lourd":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Inertie Plancher Bas Lourd","description":"Est ce que le plancher bas est considéré comme lourd"},"inertie_plancher_haut_lourd":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Inertie Plancher Haut Lourd","description":"Est ce que le plancher haut est considéré comme lourd"},"inertie_paroi_verticale_lourd":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Inertie Paroi Verticale Lourd","description":"Est ce que les parois verticales sont considérées comme lourdes"},"enum_classe_inertie_id":{"anyOf":[{"$ref":"#/components/schemas/ClasseInertie"},{"type":"null"}],"description":"Type d'inertie","examples":[1,2,3,4]}},"type":"object","title":"Inertia"},"Inertie":{"properties":{"inertie_plancher_bas_lourd":{"type":"boolean","title":"Inertie Plancher Bas Lourd","description":"Est ce que le plancher bas est considéré comme lourd","examples":[true,false]},"inertie_plancher_haut_lourd":{"type":"boolean","title":"Inertie Plancher Haut Lourd","description":"Est ce que le plancher haut est considéré comme lourd","examples":[true,false]},"inertie_paroi_verticale_lourd":{"type":"boolean","title":"Inertie Paroi Verticale Lourd","description":"Est ce que les parois verticales sont considérées comme lourdes","examples":[true,false]},"enum_classe_inertie_id":{"anyOf":[{"$ref":"#/components/schemas/ClasseInertie"},{"type":"null"}],"description":"Type d'inertie","examples":[1,2,3,4]}},"type":"object","required":["inertie_plancher_bas_lourd","inertie_plancher_haut_lourd","inertie_paroi_verticale_lourd"],"title":"Inertie"},"InsertMode":{"type":"string","enum":["before","after","replace"],"title":"InsertMode"},"Insight":{"properties":{"key":{"$ref":"#/components/schemas/InsightKey"},"category":{"$ref":"#/components/schemas/InsightCategory"},"importance":{"$ref":"#/components/schemas/InsightImportance"},"params":{"additionalProperties":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"string"}]},"type":"object","title":"Params"}},"type":"object","required":["key","category","importance","params"],"title":"Insight","description":"One finding on the housing, as a key and the figures behind it."},"InsightCategory":{"type":"string","enum":["heat_loss","winter_comfort","summer_comfort","air_quality","dpe","energy_bill","sizing_input","measured_electricity"],"title":"InsightCategory"},"InsightImportance":{"type":"string","enum":["high","medium","low"],"title":"InsightImportance"},"InsightKey":{"type":"string","enum":["dominant_heat_losses","air_leaks","cold_walls","summer_overheating","ges_caps_dpe_class","energy_sieve","close_to_better_class","bill_looks_monthly","bill_far_below_estimate","bill_far_above_estimate","bill_for_absent_energy","heating_energy_not_billed","coef_g_implausible","coef_g_far_from_computed","coef_g_above_period","survey_coef_g_above_period","bill_below_fixed_uses","sealed_without_ventilation","ceiling_height_implausible","living_area_above_floors","manual_heat_loss_far_from_computed","measured_secondary_home","measured_primary_home","measured_electric_heating_undeclared","measured_electric_heating_unseen","measured_electric_water_heater_undeclared","measured_water_heater_off_contact","measured_cooling_undeclared","measured_steady_load","measured_peak_near_subscription"],"title":"InsightKey"},"InstallationChauffage":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/argile__engine__dpe__models__heaters__installation__DonneeEntree"},"donnee_intermediaire":{"$ref":"#/components/schemas/argile__engine__dpe__models__heaters__installation__DonneeIntermediaire"},"generateur_chauffage_collection":{"$ref":"#/components/schemas/GenerateurChauffageCollection"},"emetteur_chauffage_collection":{"$ref":"#/components/schemas/EmetteurChauffageCollection"}},"type":"object","required":["donnee_entree","generateur_chauffage_collection","emetteur_chauffage_collection"],"title":"InstallationChauffage"},"InstallationChauffageCollection":{"properties":{"installation_chauffage":{"items":{"$ref":"#/components/schemas/InstallationChauffage"},"type":"array","title":"Installation Chauffage"}},"type":"object","title":"InstallationChauffageCollection"},"InstallationEcs":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/argile__engine__dpe__models__dhw__installation__DonneeEntree"},"donnee_intermediaire":{"$ref":"#/components/schemas/argile__engine__dpe__models__dhw__installation__DonneeIntermediaire"},"generateur_ecs_collection":{"$ref":"#/components/schemas/GenerateurEcsCollection"}},"type":"object","required":["donnee_entree","generateur_ecs_collection"],"title":"InstallationEcs"},"InstallationEcsCollection":{"properties":{"installation_ecs":{"items":{"$ref":"#/components/schemas/InstallationEcs"},"type":"array","title":"Installation Ecs"}},"type":"object","required":["installation_ecs"],"title":"InstallationEcsCollection"},"InstallationSupport":{"type":"string","enum":["concrete_slab","wall_support","floor_support","rubber"],"title":"InstallationSupport"},"InstallationType":{"type":"string","enum":["full_removal","over_existing_frame"],"title":"InstallationType"},"Installment":{"properties":{"percentage":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Percentage","description":"Percentage of total amount for this installment. Forced to None when value_type is AMOUNT, so callers must use get_effective_percentage(total) to derive it from the amount."},"type":{"type":"string","minLength":1,"title":"Type","description":"Type identifier of the installment payment"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label","description":"Custom display label for the installment"},"value_type":{"anyOf":[{"$ref":"#/components/schemas/InstallmentValueType"},{"type":"null"}],"description":"Whether the source of truth is `percentage` or `amount`. Defaults to percentage when missing for back-compat."},"amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Amount","description":"Source-of-truth euro amount when value_type is AMOUNT. Stays fixed when the quote total changes."}},"type":"object","required":["percentage","type"],"title":"Installment","description":"An installment payment for funding."},"InstallmentValueType":{"type":"string","enum":["percentage","amount"],"title":"InstallmentValueType","description":"How an installment's value is expressed.\n\nPERCENTAGE: percentage of the total to pay (legacy/default).\nAMOUNT: absolute amount in euros, fixed regardless of total changes."},"InsulationCondition":{"type":"string","enum":["good_condition","degraded","to_remove","unknown"],"title":"InsulationCondition","description":"Physical state of the existing insulation recorded during the visit (non-3CL)."},"InsuranceProvider":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"name":{"type":"string","title":"Name"},"policy_number":{"type":"string","title":"Policy Number"},"company_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Company Id","description":"ID of the company","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id","description":"ID of the branch","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]}},"type":"object","required":["name","policy_number"],"title":"InsuranceProvider","description":"Company-level row (`branch_id` NULL) or branch-owned override (#7390)."},"InsuranceProviderCreate":{"properties":{"name":{"type":"string","title":"Name"},"policy_number":{"type":"string","title":"Policy Number"}},"type":"object","required":["name","policy_number"],"title":"InsuranceProviderCreate","description":"Create an insurance provider. Its owner comes from the path."},"InsuranceProviderRead":{"properties":{"name":{"type":"string","title":"Name"},"policy_number":{"type":"string","title":"Policy Number"},"id":{"type":"string","format":"uuid","title":"Id"},"company_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Company Id"},"branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id"}},"type":"object","required":["name","policy_number","id","company_id","branch_id"],"title":"InsuranceProviderRead","description":"Read an insurance provider. `branch_id` NULL means company-level."},"InsuranceProviderUpdate":{"properties":{"name":{"type":"string","title":"Name"},"policy_number":{"type":"string","title":"Policy Number"}},"type":"object","required":["name","policy_number"],"title":"InsuranceProviderUpdate","description":"Update an insurance provider."},"IntegrationType":{"type":"string","enum":["ecair","aap_folder","aap_scenario"],"title":"IntegrationType"},"InteriorInsulationWall":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"surface_paroi_totale":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Paroi Totale","description":"Surface of the wall zone","examples":[10.5]},"shape":{"anyOf":[{"$ref":"#/components/schemas/ZoneShape"},{"type":"null"}],"description":"Shape of the wall zone"},"max_width":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Width","description":"Maximum width of the wall zone"},"max_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Height","description":"Maximum height of the wall zone"},"min_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Height","description":"Minimum height of the wall zone, used to compute a pentagon or trapezoid surface"},"room_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Room Name","description":"Name of the room the wall belongs to","examples":["Salon"]},"is_in_heated_room":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is In Heated Room","description":"Whether the room is heated; superseded by the adjacency"},"enum_type_adjacence_id":{"anyOf":[{"$ref":"#/components/schemas/TypeAdjacence"},{"type":"null"}],"description":"What the wall gives onto; unset reads as the exterior, like the walls surveyed before the field"},"to_isolate":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"To Isolate","description":"Whether the ITI work insulates this wall; unset reads as yes, the walls surveyed before the flag being all to insulate"},"enum_materiaux_structure_mur_id":{"anyOf":[{"$ref":"#/components/schemas/MateriauxStructureMur","ge":1,"le":27},{"type":"null"}],"description":"Structure material of the wall, defaults to the facade's"},"plasterboard_type":{"anyOf":[{"$ref":"#/components/schemas/PlasterboardType"},{"type":"null"}],"description":"Plasterboard facing the insulation"},"desired_insulation_material":{"anyOf":[{"$ref":"#/components/schemas/MateriauIsolation"},{"type":"null"}],"description":"Insulation material the client wants for the works"},"facade_segment":{"anyOf":[{"$ref":"#/components/schemas/FacadeSegment"},{"type":"null"}],"description":"Portion of the facade line covered by the wall"},"video_measure":{"anyOf":[{"$ref":"#/components/schemas/WallVideoMeasure"},{"type":"null"}],"description":"What the AI measured on the video of the wall"},"photo_measure":{"anyOf":[{"$ref":"#/components/schemas/WallPhotoMeasure"},{"type":"null"}],"description":"What the AI measured on the photo of the wall"},"epaisseur_structure":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Epaisseur Structure","description":"Thickness of the wall's structure, without insulation (cm)","examples":[30.0]}},"type":"object","title":"InteriorInsulationWall","description":"A room wall along a facade, surveyed inside: all measure the facade, the\nITI work insulates the ones `to_isolate` (level: `reference_level`)."},"InteriorWall":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"length":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Length","description":"Length of the wall"}},"type":"object","title":"InteriorWall","description":"An interior wall of the building"},"IntermediateFloor":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"surface":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface","description":"Surface de l'étage (hors trémie)"},"hsp":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Hsp","description":"Hauteur de l'étage"}},"type":"object","title":"IntermediateFloor"},"Inverter-Input":{"properties":{"reference":{"type":"string","title":"Reference","description":"Stable id of the inverter within the scenario"},"catalog_item_id":{"type":"string","title":"Catalog Item Id","description":"Reference to the catalog item used for this inverter. May point to a deleted item — consumers must tolerate misses."},"count":{"type":"integer","minimum":1.0,"title":"Count","description":"Number of inverters of this model"},"is_auto_assigned":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Auto Assigned","description":"Whether the module-to-MPPT assignment was computed automatically rather than set manually"},"units":{"anyOf":[{"items":{"$ref":"#/components/schemas/InverterUnit"},"type":"array"},{"type":"null"}],"title":"Units","description":"Physical units of this inverter model"}},"type":"object","required":["reference","catalog_item_id","count"],"title":"Inverter","description":"An inverter selected for the PV installation."},"Inverter-Output":{"properties":{"reference":{"type":"string","title":"Reference","description":"Stable id of the inverter within the scenario"},"catalog_item_id":{"type":"string","title":"Catalog Item Id","description":"Reference to the catalog item used for this inverter. May point to a deleted item — consumers must tolerate misses."},"count":{"type":"integer","minimum":1.0,"title":"Count","description":"Number of inverters of this model"},"is_auto_assigned":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Auto Assigned","description":"Whether the module-to-MPPT assignment was computed automatically rather than set manually"},"units":{"anyOf":[{"items":{"$ref":"#/components/schemas/InverterUnit"},"type":"array"},{"type":"null"}],"title":"Units","description":"Physical units of this inverter model"}},"type":"object","required":["reference","catalog_item_id","count"],"title":"Inverter","description":"An inverter selected for the PV installation."},"InverterMpptAssignment":{"properties":{"mppt_index":{"type":"integer","minimum":0.0,"title":"Mppt Index","description":"Index of the MPPT input on the inverter unit"},"module_references":{"items":{"type":"string"},"type":"array","title":"Module References","description":"References of the PvModules wired to this MPPT input"}},"type":"object","required":["mppt_index","module_references"],"title":"InverterMpptAssignment","description":"Assignment of PV modules to one MPPT input of an inverter unit."},"InverterUnit":{"properties":{"mppt_assignments":{"items":{"$ref":"#/components/schemas/InverterMpptAssignment"},"type":"array","title":"Mppt Assignments","description":"Module assignments per MPPT input of this unit"}},"type":"object","required":["mppt_assignments"],"title":"InverterUnit","description":"One physical inverter unit with its MPPT assignments."},"Invoice":{"properties":{"tax_bracket":{"anyOf":[{"$ref":"#/components/schemas/TaxBracket"},{"type":"null"}],"description":"Tranche de revenu","examples":["modeste"]},"taxable_income":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taxable Income","description":"Revenu Fiscal de Référence (RFR)."},"tax_shares":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tax Shares","description":"Number of tax shares."},"region":{"anyOf":[{"$ref":"#/components/schemas/TaxRegion"},{"type":"null"}],"description":"Tax region of the tax payer: IDF (Île-de-France) or OTHER, as in the ANAH income thresholds.","examples":["IDF"]},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference","description":"Reference of the invoice","examples":["F2602-0001"]},"project_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"ownership":{"anyOf":[{"$ref":"#/components/schemas/Ownership"},{"type":"null"}],"description":"Type d'occupation du logement."},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id","description":"ID of the quote in the external provider. ","examples":["1234"]},"num_mpr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Num Mpr","description":"Numéro MaPrimeRénov"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"general_info":{"$ref":"#/components/schemas/QuoteGeneralInfo-Output","description":"General information about the quote"},"hypothesis":{"$ref":"#/components/schemas/Hypothesis-Output","description":"Hypothesis for the quote"},"pdf_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdf Url","description":"URL","examples":["https://example.com"]},"submit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Submit At","description":"Date of invoice submission","default":"2026-11-12T10:32:28.530415","examples":["2021-01-01T00:00:00"]},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At","description":"Date of invoice payment","examples":["2021-01-01T00:00:00"]},"works_start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Works Start At","description":"Date of works start","examples":["2021-01-01T00:00:00"]},"works_end_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Works End At","description":"Date of works end","examples":["2021-01-01T00:00:00"]},"technical_visit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Technical Visit At","description":"Date of technical visit","examples":["2021-01-01T00:00:00"]},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At","description":"Date of invoice due","examples":["2021-01-01T00:00:00"]},"installment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Installment","description":"Type identifier of the installment payment"},"payment_amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Payment Amount","description":"TTC billed by this installment: the only stored payment reference, frozen at creation. The displayed percentage is derived from it. NULL without funding; on a standalone invoice NULL means 100 % (the bill follows the total)."},"already_paid_amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Already Paid Amount","description":"Amount already paid in euros"},"already_paid_situations_ttc":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Already Paid Situations Ttc","description":"TTC already billed by prior situation invoices (acompte excluded), frozen at creation. Lets the balance invoice break down on the remaining TTC so per-installment HT/VAT reconcile to the project total instead of the subsidised RAC."},"lines_in_blocks":{"type":"boolean","title":"Lines In Blocks","description":"True: the lines live in `blocks`; false: in the `funding` JSON","default":true},"subsidy_deduction_mode":{"$ref":"#/components/schemas/SubsidyDeductionMode","description":"How subsidies are deducted across the project's installments.","default":"EACH_INVOICE"},"last_invoice_min_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Last Invoice Min Amount","description":"LAST_INVOICE: TTC the last installment keeps, copied from the quote. NULL on invoices issued before the setting: they keep the threshold rule they were issued with."},"deposit_taken_into_account":{"type":"boolean","title":"Deposit Taken Into Account","description":"Snapshot of the branch flag at creation. True: acompte pris en compte, non re-cumulé sur la 1re situation. False: comportement cumulatif legacy.","default":true},"quote_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Quote Id","description":"ID of the quote","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"quote_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quote Reference","description":"Reference of the quote from which the invoice was created."},"status":{"type":"string","enum":["draft","pending","completed","sent","accepted","paid","delayed","error","to_emit","to_pay","partially_paid","abandoned"],"title":"Status","description":"Status of the invoice","default":"draft"},"lead_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Id","description":"ID of the lead","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id","description":"ID of the users","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"cee_fournisseur_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cee Fournisseur Id"},"catalog_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Id"},"issuing_branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Issuing Branch Id"},"deposit_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Deposit Reference"},"deposit_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Deposit Date"},"deposit_percentage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Deposit Percentage"},"html_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html Url","description":"Computed field for the HTML URL of the document. This can be used to generate\nthe PDF itself.","readOnly":true},"total_net_to_pay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Net To Pay","description":"Net TTC the customer owes for the whole invoice.\n\nSubsidies and the optional ANAH deposit are deducted only when their\nflags are on and the project is an energy renovation. The price bases\nare already net of discounts, so discounts must not be subtracted\nagain. `None` when funding is missing.","readOnly":true},"installment_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Installment Ht","description":"HT portion of this installment.\n\nSplit from the installment TTC by the HT/TTC ratio. A balance subtracts\nthe HT already represented on prior invoices instead, preserving the\noriginal cent-level split. In LAST_INVOICE the base is the full-TTC\ninstallment (subsidies shown separately). `None` without funding.","readOnly":true},"installment_vat_breakdown":{"items":{"$ref":"#/components/schemas/VatBreakdownItem"},"type":"array","title":"Installment Vat Breakdown","description":"Per-rate VAT lines of this installment (HT base + VAT amount).\n\nScaled from the installment TTC; a balance subtracts the per-rate lines\nalready represented on prior invoices to preserve their cent-level\nsplit. In LAST_INVOICE the base is the full-TTC installment (subsidies\nshown separately). Empty without funding.","readOnly":true},"remaining_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Remaining Amount","description":"Remaining amount to pay after deducting already paid amount.\n\nFloored at 0 (like `remaining_due_after`): once the net is fully covered,\na sub-cent rounding gap must not surface as a negative \"remaining\".","readOnly":true},"remaining_due_after":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Remaining Due After","description":"How much is left to pay on future installments after this one.","readOnly":true},"is_last_installment":{"type":"boolean","title":"Is Last Installment","description":"Whether this installment is the balance that closes the plan.\n\nDelegates to `_is_balance_installment` (bills a positive amount, leaves\nnothing due afterwards). The former gross-vs-net threshold over-flagged\nearly installments in heavily subsidised EACH_INVOICE plans (RAC ≪ TTC),\nwhich wrongly triggered the balance-invoice layout on the frontend\n(card #7015).","readOnly":true},"is_voided":{"type":"boolean","title":"Is Voided","description":"True when a validated voiding credit note targets this invoice; the status\nstays untouched after a contrepassation, each credit note decides.","readOnly":true},"payment_percentage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Payment Percentage","description":"Share of the payment base this installment bills, for display only.\n\nDerived from `payment_amount`, never stored: a single stored reference\ncannot drift from its own percentage. The inverse is lossless at the\ntwo decimals shown — the cent rounding on the amount weighs less than\n0,005 point on any base above 100 €.","readOnly":true},"to_pay_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"To Pay Amount","description":"TTC billed by this installment: the capping rules live in\n`compute_installment_to_pay`, shared with the billing KPIs.","readOnly":true},"subsidies_to_deduct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Subsidies To Deduct","description":"\"Aides à déduire\" line: the gap between the breakdown TTC and the billed\nTTC, carried by the step the mode puts the aides on. `None` when hidden.","readOnly":true},"deposit":{"anyOf":[{"$ref":"#/components/schemas/DepositInfo"},{"type":"null"}],"description":"Acompte reference shown on the first situation invoice.\n\nReads the reference/date snapshot frozen at creation; the deposit TTC\nreuses `already_paid_amount`. Its percentage is the acompte's own\ndisplay percentage, frozen with the snapshot — but only while that\npercentage still matches the deposit euros on the current payment base:\na project total that moved after the acompte was issued makes the\nsnapshot stale, and the share is then derived from the amount. `None`\noutside the first situation invoice. See `_resolve_deposit_snapshot`.","readOnly":true},"cumulative":{"anyOf":[{"$ref":"#/components/schemas/CumulativeInstallment"},{"type":"null"}],"description":"Cumulated (situation + acompte) installment breakdown, only on the\nfirst situation invoice. Reuses the per-invoice helpers on the cumulated\nTTC so the three deduction modes stay consistent for free.\n\n`None` on a balance invoice: its full-remaining breakdown plus a separate\n\"acompte déjà versé\" line supersedes the cumulated presentation (card\n#7015), and cumulating the acompte onto the already-full balance TTC\nwould double-count it. Also `None` when the acompte is taken into account\n(`deposit_taken_into_account`): it is not re-cumulated on the first\nsituation.","readOnly":true}},"type":"object","required":["html_url","total_net_to_pay","installment_ht","installment_vat_breakdown","remaining_amount","remaining_due_after","is_last_installment","is_voided","payment_percentage","to_pay_amount","subsidies_to_deduct","deposit","cumulative"],"title":"Invoice","description":"Invoice model. An invoice is created from a quote that is accepted.\n\nIt has almost all the properties of a quote, but is not a quote. It is meant to be\nfrozen entity and should not depend on any quote change after it is created."},"InvoiceRead":{"properties":{"blocks":{"anyOf":[{"items":{"$ref":"#/components/schemas/Block-Output"},"type":"array"},{"type":"null"}],"title":"Blocks","description":"The lines of a block document; null on a legacy one"},"lines_in_blocks":{"type":"boolean","title":"Lines In Blocks","description":"True: the lines live in `blocks`; false: in `funding`","default":false},"tax_bracket":{"anyOf":[{"$ref":"#/components/schemas/TaxBracket"},{"type":"null"}],"description":"Tranche de revenu","examples":["modeste"]},"taxable_income":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taxable Income","description":"Revenu Fiscal de Référence (RFR)."},"tax_shares":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tax Shares","description":"Number of tax shares."},"region":{"anyOf":[{"$ref":"#/components/schemas/TaxRegion"},{"type":"null"}],"description":"Tax region of the tax payer: IDF (Île-de-France) or OTHER, as in the ANAH income thresholds.","examples":["IDF"]},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference","description":"Reference of the invoice","examples":["F2602-0001"]},"project_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"ownership":{"anyOf":[{"$ref":"#/components/schemas/Ownership"},{"type":"null"}],"description":"Type d'occupation du logement."},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id","description":"ID of the quote in the external provider. ","examples":["1234"]},"num_mpr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Num Mpr","description":"Numéro MaPrimeRénov"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"general_info":{"$ref":"#/components/schemas/QuoteGeneralInfo-Output","description":"General information about the quote"},"hypothesis":{"$ref":"#/components/schemas/Hypothesis-Output","description":"Hypothesis for the quote"},"pdf_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdf Url","description":"URL","examples":["https://example.com"]},"submit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Submit At","description":"Date of invoice submission","default":"2026-11-12T10:32:28.530415","examples":["2021-01-01T00:00:00"]},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At","description":"Date of invoice payment","examples":["2021-01-01T00:00:00"]},"works_start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Works Start At","description":"Date of works start","examples":["2021-01-01T00:00:00"]},"works_end_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Works End At","description":"Date of works end","examples":["2021-01-01T00:00:00"]},"technical_visit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Technical Visit At","description":"Date of technical visit","examples":["2021-01-01T00:00:00"]},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At","description":"Date of invoice due","examples":["2021-01-01T00:00:00"]},"installment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Installment","description":"Type identifier of the installment payment"},"payment_amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Payment Amount","description":"TTC billed by this installment: the only stored payment reference, frozen at creation. The displayed percentage is derived from it. NULL without funding; on a standalone invoice NULL means 100 % (the bill follows the total)."},"already_paid_amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Already Paid Amount","description":"Amount already paid in euros"},"already_paid_situations_ttc":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Already Paid Situations Ttc","description":"TTC already billed by prior situation invoices (acompte excluded), frozen at creation. Lets the balance invoice break down on the remaining TTC so per-installment HT/VAT reconcile to the project total instead of the subsidised RAC."},"funding":{"anyOf":[{"$ref":"#/components/schemas/Funding-Output"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"quote_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Quote Id"},"lead_id":{"type":"string","format":"uuid","title":"Lead Id","description":"ID of the lead","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"html_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html Url"},"quote_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quote Reference"},"status":{"anyOf":[{"type":"string","enum":["draft","pending","completed","sent","accepted","paid","delayed","error","to_emit","to_pay","partially_paid","abandoned"]},{"type":"null"}],"title":"Status"},"cee_fournisseur_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cee Fournisseur Id","description":"ID of the cee_fournisseur","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"catalog_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Id"},"issuing_branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Issuing Branch Id","description":"ID of the issuing_branch","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"payment_percentage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Payment Percentage","description":"Read-only share of the payment base, derived from payment_amount"},"remaining_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Remaining Amount"},"to_pay_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"To Pay Amount"},"total_net_to_pay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Net To Pay"},"installment_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Installment Ht"},"installment_vat_breakdown":{"items":{"$ref":"#/components/schemas/VatBreakdownItem"},"type":"array","title":"Installment Vat Breakdown","default":[]},"is_voided":{"type":"boolean","title":"Is Voided","default":false},"subsidy_deduction_mode":{"$ref":"#/components/schemas/SubsidyDeductionMode","default":"EACH_INVOICE"},"last_invoice_min_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Last Invoice Min Amount"},"subsidies_to_deduct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Subsidies To Deduct"},"remaining_due_after":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Remaining Due After"},"is_last_installment":{"type":"boolean","title":"Is Last Installment","default":false},"deposit":{"anyOf":[{"$ref":"#/components/schemas/DepositInfo"},{"type":"null"}]},"cumulative":{"anyOf":[{"$ref":"#/components/schemas/CumulativeInstallment"},{"type":"null"}]},"pennylane":{"anyOf":[{"$ref":"#/components/schemas/PennylaneInvoiceSyncRead"},{"type":"null"}],"description":"Pennylane delivery and raw PA lifecycle state"}},"type":"object","required":["created_at","updated_at","lead_id"],"title":"InvoiceRead","description":"Invoice model for reading"},"InvoiceWithLeadRead":{"properties":{"blocks":{"anyOf":[{"items":{"$ref":"#/components/schemas/Block-Output"},"type":"array"},{"type":"null"}],"title":"Blocks","description":"The lines of a block document; null on a legacy one"},"lines_in_blocks":{"type":"boolean","title":"Lines In Blocks","description":"True: the lines live in `blocks`; false: in `funding`","default":false},"tax_bracket":{"anyOf":[{"$ref":"#/components/schemas/TaxBracket"},{"type":"null"}],"description":"Tranche de revenu","examples":["modeste"]},"taxable_income":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taxable Income","description":"Revenu Fiscal de Référence (RFR)."},"tax_shares":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tax Shares","description":"Number of tax shares."},"region":{"anyOf":[{"$ref":"#/components/schemas/TaxRegion"},{"type":"null"}],"description":"Tax region of the tax payer: IDF (Île-de-France) or OTHER, as in the ANAH income thresholds.","examples":["IDF"]},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference","description":"Reference of the invoice","examples":["F2602-0001"]},"project_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"ownership":{"anyOf":[{"$ref":"#/components/schemas/Ownership"},{"type":"null"}],"description":"Type d'occupation du logement."},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id","description":"ID of the quote in the external provider. ","examples":["1234"]},"num_mpr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Num Mpr","description":"Numéro MaPrimeRénov"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"general_info":{"$ref":"#/components/schemas/QuoteGeneralInfo-Output","description":"General information about the quote"},"hypothesis":{"$ref":"#/components/schemas/Hypothesis-Output","description":"Hypothesis for the quote"},"pdf_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdf Url","description":"URL","examples":["https://example.com"]},"submit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Submit At","description":"Date of invoice submission","default":"2026-11-12T10:32:28.530415","examples":["2021-01-01T00:00:00"]},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At","description":"Date of invoice payment","examples":["2021-01-01T00:00:00"]},"works_start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Works Start At","description":"Date of works start","examples":["2021-01-01T00:00:00"]},"works_end_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Works End At","description":"Date of works end","examples":["2021-01-01T00:00:00"]},"technical_visit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Technical Visit At","description":"Date of technical visit","examples":["2021-01-01T00:00:00"]},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At","description":"Date of invoice due","examples":["2021-01-01T00:00:00"]},"installment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Installment","description":"Type identifier of the installment payment"},"payment_amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Payment Amount","description":"TTC billed by this installment: the only stored payment reference, frozen at creation. The displayed percentage is derived from it. NULL without funding; on a standalone invoice NULL means 100 % (the bill follows the total)."},"already_paid_amount":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Already Paid Amount","description":"Amount already paid in euros"},"already_paid_situations_ttc":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Already Paid Situations Ttc","description":"TTC already billed by prior situation invoices (acompte excluded), frozen at creation. Lets the balance invoice break down on the remaining TTC so per-installment HT/VAT reconcile to the project total instead of the subsidised RAC."},"funding":{"anyOf":[{"$ref":"#/components/schemas/Funding-Output"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"quote_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Quote Id"},"lead_id":{"type":"string","format":"uuid","title":"Lead Id","description":"ID of the lead","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"html_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html Url"},"quote_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quote Reference"},"status":{"anyOf":[{"type":"string","enum":["draft","pending","completed","sent","accepted","paid","delayed","error","to_emit","to_pay","partially_paid","abandoned"]},{"type":"null"}],"title":"Status"},"cee_fournisseur_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cee Fournisseur Id","description":"ID of the cee_fournisseur","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"catalog_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Id"},"issuing_branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Issuing Branch Id","description":"ID of the issuing_branch","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"payment_percentage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Payment Percentage","description":"Read-only share of the payment base, derived from payment_amount"},"remaining_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Remaining Amount"},"to_pay_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"To Pay Amount"},"total_net_to_pay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Net To Pay"},"installment_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Installment Ht"},"installment_vat_breakdown":{"items":{"$ref":"#/components/schemas/VatBreakdownItem"},"type":"array","title":"Installment Vat Breakdown","default":[]},"is_voided":{"type":"boolean","title":"Is Voided","default":false},"subsidy_deduction_mode":{"$ref":"#/components/schemas/SubsidyDeductionMode","default":"EACH_INVOICE"},"last_invoice_min_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Last Invoice Min Amount"},"subsidies_to_deduct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Subsidies To Deduct"},"remaining_due_after":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Remaining Due After"},"is_last_installment":{"type":"boolean","title":"Is Last Installment","default":false},"deposit":{"anyOf":[{"$ref":"#/components/schemas/DepositInfo"},{"type":"null"}]},"cumulative":{"anyOf":[{"$ref":"#/components/schemas/CumulativeInstallment"},{"type":"null"}]},"pennylane":{"anyOf":[{"$ref":"#/components/schemas/PennylaneInvoiceSyncRead"},{"type":"null"}],"description":"Pennylane delivery and raw PA lifecycle state"},"lead":{"anyOf":[{"$ref":"#/components/schemas/LeadRead"},{"type":"null"}]}},"type":"object","required":["created_at","updated_at","lead_id"],"title":"InvoiceWithLeadRead","description":"Invoice listing read model with the lead joined in.\n\nUsed exclusively by the branch invoices listing endpoint so the\nfront-end can display the client name without an extra round-trip.\nKept as a dedicated schema (rather than adding ``lead`` to\n``InvoiceRead``) to avoid leaking lead data from other endpoints\nthat don't intentionally join the lead."},"ItemDatasheetRead":{"properties":{"item_id":{"type":"string","format":"uuid","title":"Item Id"},"status":{"anyOf":[{"$ref":"#/components/schemas/DatasheetStatus"},{"type":"null"}]},"page_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page Count"},"transcribed_pages":{"type":"integer","title":"Transcribed Pages"}},"type":"object","required":["item_id","status","page_count","transcribed_pages"],"title":"ItemDatasheetRead","description":"How far one item's datasheet was read."},"ItemPick":{"type":"string","enum":["cheapest","default","closest_power"],"title":"ItemPick","description":"Which catalog item a query adds when several match."},"ItemQuery-Input":{"properties":{"type":{"type":"string","const":"item_query","title":"Type","default":"item_query"},"predicate":{"oneOf":[{"$ref":"#/components/schemas/Predicate"},{"$ref":"#/components/schemas/AllOf-Input"},{"$ref":"#/components/schemas/AnyOf-Input"},{"$ref":"#/components/schemas/NotOf-Input"}],"title":"Predicate","discriminator":{"propertyName":"type","mapping":{"all":"#/components/schemas/AllOf-Input","any":"#/components/schemas/AnyOf-Input","not":"#/components/schemas/NotOf-Input","predicate":"#/components/schemas/Predicate"}}},"pick":{"$ref":"#/components/schemas/ItemPick","default":"cheapest"}},"additionalProperties":false,"type":"object","required":["predicate"],"title":"ItemQuery","description":"The items or lines whose `target.*` facts meet the predicate."},"ItemQuery-Output":{"properties":{"type":{"type":"string","const":"item_query","title":"Type","default":"item_query"},"predicate":{"oneOf":[{"$ref":"#/components/schemas/Predicate"},{"$ref":"#/components/schemas/AllOf-Output"},{"$ref":"#/components/schemas/AnyOf-Output"},{"$ref":"#/components/schemas/NotOf-Output"}],"title":"Predicate","discriminator":{"propertyName":"type","mapping":{"all":"#/components/schemas/AllOf-Output","any":"#/components/schemas/AnyOf-Output","not":"#/components/schemas/NotOf-Output","predicate":"#/components/schemas/Predicate"}}},"pick":{"$ref":"#/components/schemas/ItemPick","default":"cheapest"}},"additionalProperties":false,"type":"object","required":["predicate"],"title":"ItemQuery","description":"The items or lines whose `target.*` facts meet the predicate."},"ItemRef":{"properties":{"type":{"type":"string","const":"item_ref","title":"Type","default":"item_ref"},"catalog_item_id":{"type":"string","format":"uuid","title":"Catalog Item Id"}},"additionalProperties":false,"type":"object","required":["catalog_item_id"],"title":"ItemRef"},"ItemRuleRead":{"properties":{"scope":{"$ref":"#/components/schemas/ItemRuleScope"},"kind":{"$ref":"#/components/schemas/RuleKind"},"rule":{"$ref":"#/components/schemas/RuleRead"}},"type":"object","required":["scope","kind","rule"],"title":"ItemRuleRead","description":"A rule read from one product."},"ItemRuleScope":{"type":"string","enum":["product","other_products","catalog"],"title":"ItemRuleScope","description":"Which selections fire a product's rule."},"ItemRulesResponse":{"properties":{"own":{"items":{"$ref":"#/components/schemas/ItemRuleRead"},"type":"array","title":"Own","description":"Rules this product fires: selected, or picked by Argile"},"adding_it":{"items":{"$ref":"#/components/schemas/ItemRuleRead"},"type":"array","title":"Adding It","description":"Rules of other products, or of the catalog, adding it"},"has_draft":{"type":"boolean","title":"Has Draft","description":"Always false (no draft any more): the front reads it","default":false},"default_role":{"type":"string","enum":["preferred","added","unused"],"title":"Default Role","description":"What a default rule does to the product: preferred when Argile picks the equipment, added to every work of its type, or nothing"}},"type":"object","required":["own","adding_it","default_role"],"title":"ItemRulesResponse"},"ItemType-Output":{"type":"string","enum":["product","service","point_singulier","poele","unite_interieure","unite_exterieure","unites_int_ext","module_hydraulique","bizone","carte_pilotage","vase_expansion","ballon_tampon","pompe_relevage","ballon_ecs","chauffe_eau","sonde_temp_ext","sonde_temp_int","tete_thermostat","thermostat","regulation","cable_frigo","cable_electrique","goulotte","kit_raccordement","gaine","plenum","bouche_soufflage","grille_reprise","support_mural","support_sol","radiateur","plancher_chauffant","ventilo_convecteur","bouche_vmc","entree_air_vmc","gaine_vmc","caisson_vmc","kit_vmc","vmr","panneau_solaire","onduleur","batterie","kit_pv","optimiseur","micro_onduleur","coffret_protection","structure_fixation","systeme_pilotage","isolant","echafaudage","embrasure","tablette","rail_depart","menuiserie","porte","fenetre_de_toit","porte_fenetre","volet","travaux_electriques","reprise_peinture","chaudiere","fumisterie","plaque_au_sol","plaque_murale"],"title":"ItemType","description":"Catalog item types organized by work category."},"KnowsArgile":{"type":"string","enum":["word_of_mouth","internet_search","social_media","local_advertising","already_knew","other"],"title":"KnowsArgile"},"KwhByEnergy":{"properties":{"before":{"additionalProperties":{"type":"number"},"type":"object","title":"Before"},"after":{"additionalProperties":{"type":"number"},"type":"object","title":"After"},"self_consumed":{"type":"number","title":"Self Consumed"},"sold":{"type":"number","title":"Sold"}},"type":"object","required":["before","after","self_consumed","sold"],"title":"KwhByEnergy","description":"The kWh year-1 bills pay for, as billed (PCS for natural gas), and the solar\noutput after works: used at home instead of the grid, or sold (kWh/year)."},"LabourMargin":{"properties":{"sold_ht":{"type":"number","title":"Sold Ht"},"planned_cost_ht":{"type":"number","title":"Planned Cost Ht"},"margin_ht":{"type":"number","title":"Margin Ht"},"markup_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Markup Ratio","description":"Margin over the planned cost; null without a cost"},"minutes":{"type":"number","title":"Minutes","description":"Labour sold by the hour"},"flat_sold_ht":{"type":"number","title":"Flat Sold Ht","description":"Labour sold as a forfait: it carries no hours"}},"type":"object","required":["sold_ht","planned_cost_ht","margin_ht","markup_ratio","minutes","flat_sold_ht"],"title":"LabourMargin","description":"The labour share, with the hours sold."},"LandingPageCreate":{"properties":{"company_slug":{"type":"string","title":"Company Slug","description":"URL slug of the company (e.g. 'my-company')","examples":["my-company"]},"city":{"type":"string","title":"City","description":"City name (e.g. 'Paris')","examples":["Paris"]},"city_slug":{"type":"string","title":"City Slug","description":"URL slug of the city (e.g. 'paris')","examples":["paris"]},"department_code":{"type":"string","maxLength":3,"title":"Department Code","description":"French department code (e.g. '75' for Paris, '69' for Rhône)","examples":["75"]},"is_published":{"type":"boolean","title":"Is Published","description":"Whether this landing page is published and visible in sitemaps","default":true}},"type":"object","required":["company_slug","city","city_slug","department_code"],"title":"LandingPageCreate","description":"Schema for creating a new landing page entry."},"LandingPageRead":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"company_slug":{"type":"string","title":"Company Slug","description":"URL slug of the company (e.g. 'my-company')","examples":["my-company"]},"city":{"type":"string","title":"City","description":"City name (e.g. 'Paris')","examples":["Paris"]},"city_slug":{"type":"string","title":"City Slug","description":"URL slug of the city (e.g. 'paris')","examples":["paris"]},"department_code":{"type":"string","maxLength":3,"title":"Department Code","description":"French department code (e.g. '75' for Paris, '69' for Rhône)","examples":["75"]},"is_published":{"type":"boolean","title":"Is Published","description":"Whether this landing page is published and visible in sitemaps","default":true},"company_id":{"type":"string","format":"uuid","title":"Company Id"}},"type":"object","required":["company_slug","city","city_slug","department_code","company_id"],"title":"LandingPageRead","description":"Schema for reading a landing page entry."},"LatLng":{"properties":{"latitude":{"type":"number","title":"Latitude"},"longitude":{"type":"number","title":"Longitude"}},"type":"object","required":["latitude","longitude"],"title":"LatLng"},"Lead":{"properties":{"tax_bracket":{"anyOf":[{"$ref":"#/components/schemas/TaxBracket"},{"type":"null"}],"description":"Tranche de revenu","examples":["modeste"]},"taxable_income":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taxable Income","description":"Revenu Fiscal de Référence (RFR)."},"tax_shares":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tax Shares","description":"Number of tax shares."},"region":{"anyOf":[{"$ref":"#/components/schemas/TaxRegion"},{"type":"null"}],"description":"Tax region of the tax payer: IDF (Île-de-France) or OTHER, as in the ANAH income thresholds.","examples":["IDF"]},"version":{"type":"integer","title":"Version","description":"Version of the object","default":1,"examples":[1]},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"household_size":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Household Size","description":"Number of people in the household"},"debt_ratio":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Debt Ratio","description":"Debt ratio (taux d'endettement) as a decimal, editable"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Adresse email","examples":["john.doe@gmail.com"]},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name","description":"First name of the lead","examples":["John"]},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name","description":"Last name of the lead","examples":["Doe"]},"birth_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Birth Date","description":"Date of Birth date of the lead","examples":["2021-01-01T00:00:00"]},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"Numéro de téléphone","examples":["+33612345678"]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description","examples":["hot hot hot"]},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url","description":"URL of the housing photo chosen for the lead","examples":["https://example.com/photo.jpg"]},"connected_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Connected At","description":"Date of when the lead was last connected","default":"2026-11-12T10:32:17.362234","examples":["2021-01-01T00:00:00"]},"last_contact":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Contact","description":"Date of last contact","examples":["2021-01-01T00:00:00"]},"invited_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Invited At","description":"Date of when the lead was invited","examples":["2021-01-01T00:00:00"]},"visit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Visit At","description":"Date of when the lead is visited","examples":["2021-01-01T00:00:00"]},"gender":{"anyOf":[{"$ref":"#/components/schemas/Gender"},{"type":"null"}],"examples":["male"]},"accepted_terms":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepted Terms","description":"Whether the lead has accepted the terms and conditions"},"acceptation_cgu":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Acceptation Cgu","description":"Whether the lead has accepted the CGU (Terms of Service)"},"optin_email":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Email","description":"Whether the lead has opted in for email communications"},"optin_offers":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Offers","description":"Whether the lead has opted in for promotional offers"},"optin_special_ops":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Special Ops","description":"Whether the lead has opted in for special operations"},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Output"},{"type":"null"}],"description":"Address of the lead"},"co_occupants":{"anyOf":[{"items":{"$ref":"#/components/schemas/LeadCoOccupant"},"type":"array"},{"type":"null"}],"title":"Co Occupants","description":"Other occupants of the housing, the lead being the first one"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id","description":"ID of the lead in the external provider.","examples":["1234"]},"geomarketing_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Geomarketing Id","description":"ID from geomarketing source (e.g., DPE identifier)","examples":["2342E0073098T"]},"is_duplicated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Duplicated","description":"Whether this lead is a duplicate of an existing HubSpot contact","default":false},"should_call":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Call","description":"Whether the lead should be called"},"travel_zone":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Travel Zone","description":"Travel allowance zone of the lead's address, measured from the company's head office (convention bâtiment)"},"supported_location":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Supported Location","description":"Whether the lead is in a supported location"},"zone_abf":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Zone Abf","description":"Whether the lead is in an ABF zone"},"numero_fiscal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Numero Fiscal","description":"Numéro fiscal du lead","examples":["1234567890123"]},"reference_avis_fiscal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Avis Fiscal","description":"Référence de l'avis d'imposition","examples":["2024ABCD1234"]},"num_mpr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Num Mpr","description":"Numéro MaPrimeRénov du lead"},"external_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"External Data","description":"Additional data for the lead (JSON field)"},"temperature":{"anyOf":[{"$ref":"#/components/schemas/LeadTemperature"},{"type":"null"}],"description":"How likely the sales rep thinks this lead is to sign"},"hashed_password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hashed Password","description":"Hashed password of the lead","examples":["$2b$12$..."]},"status_id":{"type":"string","format":"uuid","title":"Status Id"},"status_changed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Status Changed At","description":"Date of status change","examples":["2021-01-01T00:00:00"]},"won_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Won At","description":"Date of won","examples":["2021-01-01T00:00:00"]},"branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id","description":"ID of the branch","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"customer_number":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"title":"Customer Number","description":"Unique customer number per company"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id","description":"ID of the user","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"created_by_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By User Id","description":"ID of the user who created the lead","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"lead_origin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Origin Id"},"html_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html Url","description":"URL to view this lead in the CRM interface.","readOnly":true}},"type":"object","required":["status_id","html_url"],"title":"Lead"},"LeadBulkUpdateItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"}},"additionalProperties":true,"type":"object","required":["id"],"title":"LeadBulkUpdateItem","description":"Free-form fields, for strict parity with the unitary PATCH /leads."},"LeadBulkUpdateRequest":{"properties":{"leads":{"items":{"$ref":"#/components/schemas/LeadBulkUpdateItem"},"type":"array","maxItems":100,"title":"Leads"}},"type":"object","required":["leads"],"title":"LeadBulkUpdateRequest"},"LeadBulkUpdateResponse":{"properties":{"updated":{"items":{"$ref":"#/components/schemas/LeadRead"},"type":"array","title":"Updated"},"errors":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Errors","description":"Ids of the leads not updated: unknown, out of scope, invalid payload, or interrupted by an unexpected hook failure (best effort — side effects already committed by that hook remain)"}},"type":"object","required":["updated","errors"],"title":"LeadBulkUpdateResponse"},"LeadCallReportCreate":{"properties":{"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"outcome":{"$ref":"#/components/schemas/CallOutcome"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"next_task":{"anyOf":[{"$ref":"#/components/schemas/CallReportNextTask"},{"type":"null"}]},"status_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Status Id"}},"type":"object","required":["outcome"],"title":"LeadCallReportCreate"},"LeadCallReportRead":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"lead_id":{"type":"string","format":"uuid","title":"Lead Id"},"task_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Task Id"},"outcome":{"$ref":"#/components/schemas/CallOutcome"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","lead_id","task_id","outcome","note","created_at"],"title":"LeadCallReportRead"},"LeadCluster":{"properties":{"h3_index":{"type":"string","title":"H3 Index","description":"Grid cell id representing the cluster location"},"count":{"type":"integer","minimum":1.0,"title":"Count","description":"Number of leads in this cluster"},"center_lat":{"type":"number","title":"Center Lat","description":"Latitude of the cluster center"},"center_lng":{"type":"number","title":"Center Lng","description":"Longitude of the cluster center"},"resolution":{"type":"integer","title":"Resolution","description":"Grid level used for clustering"},"lead_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Lead Ids","description":"List of lead IDs in this cluster","default":[]}},"type":"object","required":["h3_index","count","center_lat","center_lng","resolution"],"title":"LeadCluster","description":"A cluster of leads aggregated on a hexagon grid."},"LeadCoOccupant":{"properties":{"gender":{"anyOf":[{"$ref":"#/components/schemas/Gender"},{"type":"null"}]},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"birth_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Birth Date"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"additionalProperties":false,"type":"object","title":"LeadCoOccupant","description":"Another occupant of the lead's housing (the lead is occupant #1)."},"LeadCommentAttachment":{"properties":{"kind":{"$ref":"#/components/schemas/LeadCommentAttachmentKind"},"url":{"type":"string","title":"Url"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"duration_ms":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Duration Ms"},"transcript":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transcript"}},"type":"object","required":["kind","url"],"title":"LeadCommentAttachment","description":"A photo, audio, video or PDF of a note; the front renders `url` as a source."},"LeadCommentAttachmentKind":{"type":"string","enum":["photo","audio","video","pdf"],"title":"LeadCommentAttachmentKind","description":"What a note's attachment holds."},"LeadCommentBulkCreate":{"properties":{"comments":{"items":{"$ref":"#/components/schemas/LeadCommentCreate"},"type":"array","title":"Comments"}},"type":"object","required":["comments"],"title":"LeadCommentBulkCreate","description":"Schema for bulk creating lead comments"},"LeadCommentCreate":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Title of the comment"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content","description":"Content of the comment","examples":["Client called back, interested in solar panels"]},"attachment_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attachment Url","description":"URL of attached file (image, audio, document)"},"attachment_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attachment Type","description":"MIME type of the attachment"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"attachments":{"items":{"$ref":"#/components/schemas/LeadCommentAttachment"},"type":"array","title":"Attachments"},"mentioned_user_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Mentioned User Ids"}},"type":"object","title":"LeadCommentCreate","description":"Schema for creating a new lead comment"},"LeadCommentOrigin":{"type":"string","enum":["manual","audio","chatbot","allo"],"title":"LeadCommentOrigin","description":"Where a lead comment came from."},"LeadCommentRead":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Title of the comment"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content","description":"Content of the comment","examples":["Client called back, interested in solar panels"]},"attachment_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attachment Url","description":"URL of attached file (image, audio, document)"},"attachment_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attachment Type","description":"MIME type of the attachment"},"lead_id":{"type":"string","format":"uuid","title":"Lead Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"origin":{"$ref":"#/components/schemas/LeadCommentOrigin","description":"Source of the comment","default":"manual"},"attachments":{"items":{"$ref":"#/components/schemas/LeadCommentAttachment"},"type":"array","title":"Attachments"},"mentioned_user_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Mentioned User Ids"},"user":{"anyOf":[{"$ref":"#/components/schemas/ArgileBaseModel"},{"type":"null"}],"description":"User who created the comment"}},"type":"object","required":["lead_id","user_id"],"title":"LeadCommentRead","description":"Schema for reading a lead comment"},"LeadCommentUpdate":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"},"attachment_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attachment Url"},"attachment_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attachment Type"},"attachments":{"anyOf":[{"items":{"$ref":"#/components/schemas/LeadCommentAttachment"},"type":"array"},{"type":"null"}],"title":"Attachments"},"mentioned_user_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Mentioned User Ids"}},"type":"object","title":"LeadCommentUpdate","description":"Schema for updating a lead comment"},"LeadContactRead":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"full_name":{"type":"string","title":"Full Name"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"address_line":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address Line"},"postal_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Postal Code"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"}},"type":"object","required":["id","full_name"],"title":"LeadContactRead","description":"The client details the technician needs on site."},"LeadCreate":{"properties":{"tax_bracket":{"anyOf":[{"$ref":"#/components/schemas/TaxBracket"},{"type":"null"}],"description":"Tranche de revenu","examples":["modeste"]},"taxable_income":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taxable Income","description":"Revenu Fiscal de Référence (RFR)."},"tax_shares":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tax Shares","description":"Number of tax shares."},"region":{"anyOf":[{"$ref":"#/components/schemas/TaxRegion"},{"type":"null"}],"description":"Tax region of the tax payer: IDF (Île-de-France) or OTHER, as in the ANAH income thresholds.","examples":["IDF"]},"household_size":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Household Size","description":"Number of people in the household"},"debt_ratio":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Debt Ratio","description":"Debt ratio (taux d'endettement) as a decimal, editable"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Adresse email","examples":["john.doe@gmail.com"]},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name","description":"First name of the lead","examples":["John"]},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name","description":"Last name of the lead","examples":["Doe"]},"birth_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Birth Date","description":"Date of Birth date of the lead","examples":["2021-01-01T00:00:00"]},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"Numéro de téléphone","examples":["+33612345678"]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description","examples":["hot hot hot"]},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url","description":"URL of the housing photo chosen for the lead","examples":["https://example.com/photo.jpg"]},"connected_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Connected At","description":"Date of when the lead was last connected","default":"2026-11-12T10:32:17.362234","examples":["2021-01-01T00:00:00"]},"last_contact":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Contact","description":"Date of last contact","examples":["2021-01-01T00:00:00"]},"invited_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Invited At","description":"Date of when the lead was invited","examples":["2021-01-01T00:00:00"]},"visit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Visit At","description":"Date of when the lead is visited","examples":["2021-01-01T00:00:00"]},"gender":{"anyOf":[{"$ref":"#/components/schemas/Gender"},{"type":"null"}],"examples":["male"]},"accepted_terms":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepted Terms","description":"Whether the lead has accepted the terms and conditions"},"acceptation_cgu":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Acceptation Cgu","description":"Whether the lead has accepted the CGU (Terms of Service)"},"optin_email":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Email","description":"Whether the lead has opted in for email communications"},"optin_offers":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Offers","description":"Whether the lead has opted in for promotional offers"},"optin_special_ops":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Special Ops","description":"Whether the lead has opted in for special operations"},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Input"},{"type":"null"}],"description":"Address of the lead"},"co_occupants":{"anyOf":[{"items":{"$ref":"#/components/schemas/LeadCoOccupant"},"type":"array"},{"type":"null"}],"title":"Co Occupants","description":"Other occupants of the housing, the lead being the first one"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"geomarketing_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Geomarketing Id","description":"ID from geomarketing source (e.g., DPE identifier)","examples":["2342E0073098T"]},"is_duplicated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Duplicated"},"should_call":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Call","description":"Whether the lead should be called"},"travel_zone":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Travel Zone","description":"Travel allowance zone of the lead's address, measured from the company's head office (convention bâtiment)"},"search_vec":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Vec","description":"Pre-computed search vector for full-text search"},"supported_location":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Supported Location","description":"Whether the lead is in a supported location"},"zone_abf":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Zone Abf","description":"Whether the lead is in an ABF zone"},"geom":{"title":"Geom","description":"Point geometry derived from the address, for map clustering"},"numero_fiscal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Numero Fiscal","description":"Numéro fiscal du lead","examples":["1234567890123"]},"reference_avis_fiscal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Avis Fiscal","description":"Référence de l'avis d'imposition","examples":["2024ABCD1234"]},"num_mpr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Num Mpr","description":"Numéro MaPrimeRénov du lead"},"external_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"External Data","description":"Additional data for the lead (JSON field)"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"ID of the lead","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"},"branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id","description":"ID of the branch","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"company_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Company Id","description":"ID of the company [DEPRECATED]","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id","description":"ID of the user","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"external_identity_provider_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"External Identity Provider Id","description":"ID of the external identity provider","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"status_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Slug"},"lead_origin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Origin Id","description":"ID of the lead_origin","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"lead_origin_name":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Lead Origin Name","description":"Origin named on the lead's branch, case-insensitively; an unknown name leaves the lead without origin. Ignored with lead_origin_id."}},"additionalProperties":false,"type":"object","title":"LeadCreate"},"LeadEmailCreate":{"properties":{"subject":{"type":"string","maxLength":998,"minLength":1,"title":"Subject"},"message":{"type":"string","maxLength":50000,"minLength":1,"title":"Message","description":"Plain text body"},"use_argile_sender":{"type":"boolean","title":"Use Argile Sender","description":"Send from Argile's path even with a connected mailbox","default":false},"to":{"type":"string","title":"To"},"idempotency_key":{"type":"string","maxLength":128,"minLength":1,"title":"Idempotency Key","description":"The draft's key: dedupes"}},"type":"object","required":["subject","message","to","idempotency_key"],"title":"LeadEmailCreate"},"LeadEmailRead":{"properties":{"message_id":{"type":"string","format":"uuid","title":"Message Id"},"workflow_id":{"type":"string","title":"Workflow Id"}},"type":"object","required":["message_id","workflow_id"],"title":"LeadEmailRead"},"LeadExportDownloadResponse":{"properties":{"download_url":{"type":"string","title":"Download Url"}},"type":"object","required":["download_url"],"title":"LeadExportDownloadResponse","description":"Response with a presigned download URL (expires in 1h)."},"LeadExportRequest":{"properties":{"filters":{"$ref":"#/components/schemas/LeadSearchFilters","description":"Same filters as for /leads/search","default":{}}},"type":"object","title":"LeadExportRequest","description":"Request schema for exporting leads as CSV."},"LeadExportResponse":{"properties":{"workflow_id":{"type":"string","title":"Workflow Id"},"status":{"type":"string","title":"Status","description":"running | completed | failed"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["workflow_id","status"],"title":"LeadExportResponse","description":"Response for lead CSV export (async workflow)."},"LeadField":{"type":"string","enum":["phone","email","origin"],"title":"LeadField","description":"Lead field a company can make mandatory on manual creation in the app."},"LeadNextTask":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"kind":{"type":"string","title":"Kind"},"subject_type":{"type":"string","title":"Subject Type"},"subject_id":{"type":"string","format":"uuid","title":"Subject Id"},"title":{"type":"string","title":"Title"},"due_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Due On"},"assignee_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Assignee User Id"}},"type":"object","required":["id","kind","subject_type","subject_id","title"],"title":"LeadNextTask","description":"The task a lead's card offers to do next."},"LeadNotificationMessageRead":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"support":{"anyOf":[{"$ref":"#/components/schemas/MessageSupportType"},{"type":"null"}]},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content"},"recipients":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Recipients"},"cc":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Cc"},"document_instance_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Document Instance Id"},"provider_message_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Provider Message Id"},"sender_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Sender User Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"status":{"anyOf":[{"$ref":"#/components/schemas/MessageStatus"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["id"],"title":"LeadNotificationMessageRead","description":"A message in a lead's communications timeline; a mail sent from the\nlead itself has no `document_instance_id`."},"LeadOriginCreate":{"properties":{"name":{"type":"string","maxLength":200,"title":"Name","description":"Name of the lead origin"}},"type":"object","required":["name"],"title":"LeadOriginCreate","description":"Schema for creating a new lead origin."},"LeadOriginRead":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"name":{"type":"string","maxLength":200,"title":"Name","description":"Name of the lead origin"},"branch_id":{"type":"string","format":"uuid","title":"Branch Id"}},"type":"object","required":["name","branch_id"],"title":"LeadOriginRead","description":"Schema for reading a lead origin."},"LeadRead":{"properties":{"tax_bracket":{"anyOf":[{"$ref":"#/components/schemas/TaxBracket"},{"type":"null"}],"description":"Tranche de revenu","examples":["modeste"]},"taxable_income":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taxable Income","description":"Revenu Fiscal de Référence (RFR)."},"tax_shares":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tax Shares","description":"Number of tax shares."},"region":{"anyOf":[{"$ref":"#/components/schemas/TaxRegion"},{"type":"null"}],"description":"Tax region of the tax payer: IDF (Île-de-France) or OTHER, as in the ANAH income thresholds.","examples":["IDF"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"household_size":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Household Size","description":"Number of people in the household"},"debt_ratio":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Debt Ratio","description":"Debt ratio (taux d'endettement) as a decimal, editable"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Adresse email","examples":["john.doe@gmail.com"]},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name","description":"First name of the lead","examples":["John"]},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name","description":"Last name of the lead","examples":["Doe"]},"birth_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Birth Date","description":"Date of Birth date of the lead","examples":["2021-01-01T00:00:00"]},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"Numéro de téléphone","examples":["+33612345678"]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description","examples":["hot hot hot"]},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url","description":"URL of the housing photo chosen for the lead","examples":["https://example.com/photo.jpg"]},"connected_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Connected At","description":"Date of when the lead was last connected","default":"2026-11-12T10:32:17.362234","examples":["2021-01-01T00:00:00"]},"last_contact":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Contact","description":"Date of last contact","examples":["2021-01-01T00:00:00"]},"invited_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Invited At","description":"Date of when the lead was invited","examples":["2021-01-01T00:00:00"]},"visit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Visit At","description":"Date of when the lead is visited","examples":["2021-01-01T00:00:00"]},"gender":{"anyOf":[{"$ref":"#/components/schemas/Gender"},{"type":"null"}],"examples":["male"]},"accepted_terms":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepted Terms","description":"Whether the lead has accepted the terms and conditions"},"acceptation_cgu":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Acceptation Cgu","description":"Whether the lead has accepted the CGU (Terms of Service)"},"optin_email":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Email","description":"Whether the lead has opted in for email communications"},"optin_offers":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Offers","description":"Whether the lead has opted in for promotional offers"},"optin_special_ops":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Special Ops","description":"Whether the lead has opted in for special operations"},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Output"},{"type":"null"}],"description":"Address of the lead"},"co_occupants":{"anyOf":[{"items":{"$ref":"#/components/schemas/LeadCoOccupant"},"type":"array"},{"type":"null"}],"title":"Co Occupants","description":"Other occupants of the housing, the lead being the first one"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id","description":"ID of the lead in the external provider.","examples":["1234"]},"geomarketing_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Geomarketing Id","description":"ID from geomarketing source (e.g., DPE identifier)","examples":["2342E0073098T"]},"is_duplicated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Duplicated"},"should_call":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Call","description":"Whether the lead should be called"},"travel_zone":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Travel Zone","description":"Travel allowance zone of the lead's address, measured from the company's head office (convention bâtiment)"},"supported_location":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Supported Location","description":"Whether the lead is in a supported location"},"zone_abf":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Zone Abf","description":"Whether the lead is in an ABF zone"},"numero_fiscal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Numero Fiscal","description":"Numéro fiscal du lead","examples":["1234567890123"]},"reference_avis_fiscal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Avis Fiscal","description":"Référence de l'avis d'imposition","examples":["2024ABCD1234"]},"num_mpr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Num Mpr","description":"Numéro MaPrimeRénov du lead"},"external_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"External Data","description":"Additional data for the lead (JSON field)"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id","description":"ID of the branch","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"company_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Company Id","description":"ID of the company [DEPRECATED]","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"external_identity_provider_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"External Identity Provider Id","description":"ID of the external identity provider","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id","description":"ID of the user","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"customer_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Number"},"lead_origin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Origin Id","description":"ID of the lead_origin","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"html_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html Url"},"status_id":{"type":"string","format":"uuid","title":"Status Id"},"status":{"anyOf":[{"$ref":"#/components/schemas/LeadStatusRead"},{"type":"null"}]},"won_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Won At"}},"type":"object","required":["created_at","updated_at","status_id"],"title":"LeadRead","description":"Lead model for reading."},"LeadSearchColumn":{"properties":{"offset":{"type":"integer","minimum":0.0,"title":"Offset","description":"Number of items skipped"},"limit":{"type":"integer","minimum":1.0,"title":"Limit","description":"Number of items per page"},"total":{"type":"integer","minimum":0.0,"title":"Total","description":"Total number of items"},"items":{"items":{"$ref":"#/components/schemas/LeadWithTokenAndTags"},"type":"array","title":"Items"},"status_id":{"type":"string","format":"uuid","title":"Status Id"}},"type":"object","required":["offset","limit","total","items","status_id"],"title":"LeadSearchColumn","description":"First page of one status column."},"LeadSearchColumns":{"properties":{"columns":{"items":{"$ref":"#/components/schemas/LeadSearchColumn"},"type":"array","title":"Columns"}},"type":"object","required":["columns"],"title":"LeadSearchColumns"},"LeadSearchColumnsRequest":{"properties":{"filters":{"$ref":"#/components/schemas/LeadSearchFilters"},"status_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":100,"minItems":1,"title":"Status Ids"}},"type":"object","required":["filters","status_ids"],"title":"LeadSearchColumnsRequest","description":"One first page per status, under the same filters."},"LeadSearchFilters":{"properties":{"ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":200},{"type":"null"}],"title":"Ids","description":"Only these leads, e.g. the leads of a page of tasks"},"has_open_task":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Open Task","description":"Leads with (true) or without (false) an open task"},"has_overdue_task":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Overdue Task","description":"Leads with (true) or without (false) a task overdue"},"branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id","description":"Branch ID to filter by"},"branch_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Branch Ids","description":"List of branch IDs to filter by"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id","description":"User ID to filter by"},"user_ids":{"anyOf":[{"items":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"type":"array"},{"type":"null"}],"title":"User Ids","description":"List of user IDs to filter by"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id","description":"ID on an external identity provider"},"status_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Status Ids"},"is_won":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Won","description":"Leads won (true) or not (false); abandoned ones are not"},"has_user":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has User","description":"Filter by presence of associated user"},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address","description":"Lead's address to filter by"},"ban_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ban Id","description":"Exact BAN address ID to filter by"},"has_email":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Email","description":"Filter by presence of email"},"has_phone":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Phone","description":"Filter by presence of phone number"},"has_address":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Address","description":"Filter by presence of address"},"is_duplicated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Duplicated","description":"Filter by duplicate status"},"created_after":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created After","description":"Filter by creation date after this timestamp"},"created_before":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created Before","description":"Filter by creation date before this timestamp"},"updated_after":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated After","description":"Filter by last update date after this timestamp"},"updated_before":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated Before","description":"Filter by last update date before this timestamp"},"fuzzy_search":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fuzzy Search","description":"Fuzzy search terms to filter by"},"tag_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Tag Ids","description":"Filter by leads that have any of these tag IDs"},"has_tags":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Tags","description":"Filter by presence of any tags"},"has_geomarketing_id":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Geomarketing Id","description":"Filter by presence of geomarketing_id"},"lead_origin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Origin Id","description":"Filter by lead origin ID"},"sort_by":{"anyOf":[{"$ref":"#/components/schemas/LeadSortField"},{"type":"null"}],"description":"Sort field (descending, default: updated_at)"},"bbox_south":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Bbox South","description":"Southern latitude boundary for geographic filtering"},"bbox_west":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Bbox West","description":"Western longitude boundary for geographic filtering"},"bbox_north":{"anyOf":[{"type":"number","maximum":90.0,"minimum":-90.0},{"type":"null"}],"title":"Bbox North","description":"Northern latitude boundary for geographic filtering"},"bbox_east":{"anyOf":[{"type":"number","maximum":180.0,"minimum":-180.0},{"type":"null"}],"title":"Bbox East","description":"Eastern longitude boundary for geographic filtering"}},"type":"object","title":"LeadSearchFilters","description":"Fields for filtering leads. All are optional."},"LeadSearchPage":{"properties":{"offset":{"type":"integer","minimum":0.0,"title":"Offset","description":"Number of items skipped"},"limit":{"type":"integer","minimum":1.0,"title":"Limit","description":"Number of items per page"},"total":{"type":"integer","minimum":0.0,"title":"Total","description":"Total number of items"},"items":{"items":{"$ref":"#/components/schemas/LeadWithTokenAndTags"},"type":"array","title":"Items"}},"type":"object","required":["offset","limit","total","items"],"title":"LeadSearchPage","description":"Page of searched leads; `total` counts every lead matching the filters."},"LeadSortField":{"type":"string","enum":["created_at","updated_at","connected_at","won_at"],"title":"LeadSortField"},"LeadStatusGroup":{"type":"string","enum":["ARCHIVED","ACQUISITION","PROJECT_DESIGN","QUOTE","CONSTRUCTION","CASE_CLOSURE","COMPLETED","ABANDONED","EXISTING_CLIENT","PROSPECT","PREPARATION"],"title":"LeadStatusGroup"},"LeadStatusRead":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"group":{"$ref":"#/components/schemas/LeadStatusGroup","description":"Status group"},"name":{"type":"string","maxLength":100,"title":"Name","description":"Display name"},"slug":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Slug","description":"Stable identifier for system statuses"},"icon_type":{"anyOf":[{"type":"string","maxLength":50},{"type":"null"}],"title":"Icon Type","description":"Icon type string"},"position":{"type":"integer","title":"Position","description":"Order within group (0-based)"},"is_system":{"type":"boolean","title":"Is System","description":"Non-deletable system status","default":false}},"type":"object","required":["group","name","position"],"title":"LeadStatusRead"},"LeadTagCreate":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"tag_id":{"type":"string","format":"uuid","title":"Tag Id","description":"ID of the tag to add to the lead"}},"type":"object","required":["tag_id"],"title":"LeadTagCreate","description":"Schema for adding a tag to a lead"},"LeadTagRead":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"lead_id":{"type":"string","format":"uuid","title":"Lead Id"},"tag_id":{"type":"string","format":"uuid","title":"Tag Id"},"added_by_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Added By User Id"},"tag":{"anyOf":[{"$ref":"#/components/schemas/TagRead"},{"type":"null"}],"description":"Tag information"}},"type":"object","required":["lead_id","tag_id","added_by_user_id"],"title":"LeadTagRead","description":"Schema for reading a lead-tag association"},"LeadTaskCreate":{"properties":{"title":{"type":"string","minLength":1,"title":"Title"},"type":{"type":"string","enum":["follow_up","call","schedule_appointment","send_quote","send_invoice","other"],"title":"Type","default":"other"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"due_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Due At"},"assigned_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Assigned User Id"}},"type":"object","required":["title"],"title":"LeadTaskCreate"},"LeadTaskRead":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"lead_id":{"type":"string","format":"uuid","title":"Lead Id"},"title":{"type":"string","title":"Title"},"type":{"type":"string","enum":["follow_up","call","schedule_appointment","send_quote","send_invoice","other"],"title":"Type"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"due_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Due At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"created_by_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Created By User Id"},"assigned_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Assigned User Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","lead_id","title","type","description","due_at","completed_at","created_by_user_id","assigned_user_id","created_at","updated_at"],"title":"LeadTaskRead"},"LeadTaskUpdate":{"properties":{"title":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"title":"Title"},"type":{"anyOf":[{"type":"string","enum":["follow_up","call","schedule_appointment","send_quote","send_invoice","other"]},{"type":"null"}],"title":"Type"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"due_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Due At"},"assigned_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Assigned User Id"},"completed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Completed"}},"type":"object","title":"LeadTaskUpdate"},"LeadTemperature":{"type":"string","enum":["cold","medium","hot"],"title":"LeadTemperature"},"LeadToken":{"properties":{"token":{"type":"string","title":"Token"},"lead_id":{"type":"string","format":"uuid","title":"Lead Id"},"legacy":{"type":"boolean","title":"Legacy","default":false}},"type":"object","required":["token","lead_id"],"title":"LeadToken","description":"Token model for logging in"},"LeadUserRole":{"type":"string","enum":["sales","works"],"title":"LeadUserRole","description":"What a user is responsible for on a lead."},"LeadUsersUpdate":{"properties":{"user_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":20,"title":"User Ids","description":"Replaces the role's users; for sales the first is principal"}},"type":"object","required":["user_ids"],"title":"LeadUsersUpdate","description":"The full ordered list of users holding one role on a lead."},"LeadWithId":{"properties":{"tax_bracket":{"anyOf":[{"$ref":"#/components/schemas/TaxBracket"},{"type":"null"}],"description":"Tranche de revenu","examples":["modeste"]},"taxable_income":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taxable Income","description":"Revenu Fiscal de Référence (RFR)."},"tax_shares":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tax Shares","description":"Number of tax shares."},"region":{"anyOf":[{"$ref":"#/components/schemas/TaxRegion"},{"type":"null"}],"description":"Tax region of the tax payer: IDF (Île-de-France) or OTHER, as in the ANAH income thresholds.","examples":["IDF"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"household_size":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Household Size","description":"Number of people in the household"},"debt_ratio":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Debt Ratio","description":"Debt ratio (taux d'endettement) as a decimal, editable"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Adresse email","examples":["john.doe@gmail.com"]},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name","description":"First name of the lead","examples":["John"]},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name","description":"Last name of the lead","examples":["Doe"]},"birth_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Birth Date","description":"Date of Birth date of the lead","examples":["2021-01-01T00:00:00"]},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"Numéro de téléphone","examples":["+33612345678"]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description","examples":["hot hot hot"]},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url","description":"URL of the housing photo chosen for the lead","examples":["https://example.com/photo.jpg"]},"connected_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Connected At","description":"Date of when the lead was last connected","default":"2026-11-12T10:32:17.362234","examples":["2021-01-01T00:00:00"]},"last_contact":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Contact","description":"Date of last contact","examples":["2021-01-01T00:00:00"]},"invited_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Invited At","description":"Date of when the lead was invited","examples":["2021-01-01T00:00:00"]},"visit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Visit At","description":"Date of when the lead is visited","examples":["2021-01-01T00:00:00"]},"gender":{"anyOf":[{"$ref":"#/components/schemas/Gender"},{"type":"null"}],"examples":["male"]},"accepted_terms":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepted Terms","description":"Whether the lead has accepted the terms and conditions"},"acceptation_cgu":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Acceptation Cgu","description":"Whether the lead has accepted the CGU (Terms of Service)"},"optin_email":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Email","description":"Whether the lead has opted in for email communications"},"optin_offers":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Offers","description":"Whether the lead has opted in for promotional offers"},"optin_special_ops":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Special Ops","description":"Whether the lead has opted in for special operations"},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Output"},{"type":"null"}],"description":"Address of the lead"},"co_occupants":{"anyOf":[{"items":{"$ref":"#/components/schemas/LeadCoOccupant"},"type":"array"},{"type":"null"}],"title":"Co Occupants","description":"Other occupants of the housing, the lead being the first one"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id","description":"ID of the lead in the external provider.","examples":["1234"]},"geomarketing_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Geomarketing Id","description":"ID from geomarketing source (e.g., DPE identifier)","examples":["2342E0073098T"]},"is_duplicated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Duplicated","description":"Whether this lead is a duplicate of an existing HubSpot contact","default":false},"should_call":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Call","description":"Whether the lead should be called"},"travel_zone":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Travel Zone","description":"Travel allowance zone of the lead's address, measured from the company's head office (convention bâtiment)"},"supported_location":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Supported Location","description":"Whether the lead is in a supported location"},"zone_abf":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Zone Abf","description":"Whether the lead is in an ABF zone"},"numero_fiscal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Numero Fiscal","description":"Numéro fiscal du lead","examples":["1234567890123"]},"reference_avis_fiscal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Avis Fiscal","description":"Référence de l'avis d'imposition","examples":["2024ABCD1234"]},"num_mpr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Num Mpr","description":"Numéro MaPrimeRénov du lead"},"external_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"External Data","description":"Additional data for the lead (JSON field)"},"company_id":{"type":"string","format":"uuid","title":"Company Id","description":"ID of the company","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"user":{"anyOf":[{"$ref":"#/components/schemas/UserWithId"},{"type":"null"}]},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id","readOnly":true}},"type":"object","required":["company_id","user_id"],"title":"LeadWithId","description":"Lead model with an ID"},"LeadWithToken":{"properties":{"tax_bracket":{"anyOf":[{"$ref":"#/components/schemas/TaxBracket"},{"type":"null"}],"description":"Tranche de revenu","examples":["modeste"]},"taxable_income":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taxable Income","description":"Revenu Fiscal de Référence (RFR)."},"tax_shares":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tax Shares","description":"Number of tax shares."},"region":{"anyOf":[{"$ref":"#/components/schemas/TaxRegion"},{"type":"null"}],"description":"Tax region of the tax payer: IDF (Île-de-France) or OTHER, as in the ANAH income thresholds.","examples":["IDF"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"household_size":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Household Size","description":"Number of people in the household"},"debt_ratio":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Debt Ratio","description":"Debt ratio (taux d'endettement) as a decimal, editable"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Adresse email","examples":["john.doe@gmail.com"]},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name","description":"First name of the lead","examples":["John"]},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name","description":"Last name of the lead","examples":["Doe"]},"birth_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Birth Date","description":"Date of Birth date of the lead","examples":["2021-01-01T00:00:00"]},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"Numéro de téléphone","examples":["+33612345678"]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description","examples":["hot hot hot"]},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url","description":"URL of the housing photo chosen for the lead","examples":["https://example.com/photo.jpg"]},"connected_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Connected At","description":"Date of when the lead was last connected","default":"2026-11-12T10:32:17.362234","examples":["2021-01-01T00:00:00"]},"last_contact":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Contact","description":"Date of last contact","examples":["2021-01-01T00:00:00"]},"invited_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Invited At","description":"Date of when the lead was invited","examples":["2021-01-01T00:00:00"]},"visit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Visit At","description":"Date of when the lead is visited","examples":["2021-01-01T00:00:00"]},"gender":{"anyOf":[{"$ref":"#/components/schemas/Gender"},{"type":"null"}],"examples":["male"]},"accepted_terms":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepted Terms","description":"Whether the lead has accepted the terms and conditions"},"acceptation_cgu":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Acceptation Cgu","description":"Whether the lead has accepted the CGU (Terms of Service)"},"optin_email":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Email","description":"Whether the lead has opted in for email communications"},"optin_offers":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Offers","description":"Whether the lead has opted in for promotional offers"},"optin_special_ops":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Special Ops","description":"Whether the lead has opted in for special operations"},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Output"},{"type":"null"}],"description":"Address of the lead"},"co_occupants":{"anyOf":[{"items":{"$ref":"#/components/schemas/LeadCoOccupant"},"type":"array"},{"type":"null"}],"title":"Co Occupants","description":"Other occupants of the housing, the lead being the first one"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id","description":"ID of the lead in the external provider.","examples":["1234"]},"geomarketing_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Geomarketing Id","description":"ID from geomarketing source (e.g., DPE identifier)","examples":["2342E0073098T"]},"is_duplicated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Duplicated"},"should_call":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Call","description":"Whether the lead should be called"},"travel_zone":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Travel Zone","description":"Travel allowance zone of the lead's address, measured from the company's head office (convention bâtiment)"},"supported_location":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Supported Location","description":"Whether the lead is in a supported location"},"zone_abf":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Zone Abf","description":"Whether the lead is in an ABF zone"},"numero_fiscal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Numero Fiscal","description":"Numéro fiscal du lead","examples":["1234567890123"]},"reference_avis_fiscal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Avis Fiscal","description":"Référence de l'avis d'imposition","examples":["2024ABCD1234"]},"num_mpr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Num Mpr","description":"Numéro MaPrimeRénov du lead"},"external_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"External Data","description":"Additional data for the lead (JSON field)"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id","description":"ID of the branch","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"company_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Company Id","description":"ID of the company [DEPRECATED]","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"external_identity_provider_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"External Identity Provider Id","description":"ID of the external identity provider","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id","description":"ID of the user","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"customer_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Number"},"lead_origin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Origin Id","description":"ID of the lead_origin","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"html_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html Url"},"status_id":{"type":"string","format":"uuid","title":"Status Id"},"status":{"anyOf":[{"$ref":"#/components/schemas/LeadStatusRead"},{"type":"null"}]},"won_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Won At"},"temperature":{"anyOf":[{"$ref":"#/components/schemas/LeadTemperature"},{"type":"null"}]},"sales_user_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Sales User Ids","description":"Sales users in display order; the first one is user_id","default":[]},"works_user_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Works User Ids","description":"Works users (conducteurs de travaux) in display order","default":[]},"token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token"}},"type":"object","required":["created_at","updated_at","status_id"],"title":"LeadWithToken","description":"Lead model for creation."},"LeadWithTokenAndTags":{"properties":{"tax_bracket":{"anyOf":[{"$ref":"#/components/schemas/TaxBracket"},{"type":"null"}],"description":"Tranche de revenu","examples":["modeste"]},"taxable_income":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taxable Income","description":"Revenu Fiscal de Référence (RFR)."},"tax_shares":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tax Shares","description":"Number of tax shares."},"region":{"anyOf":[{"$ref":"#/components/schemas/TaxRegion"},{"type":"null"}],"description":"Tax region of the tax payer: IDF (Île-de-France) or OTHER, as in the ANAH income thresholds.","examples":["IDF"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"household_size":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Household Size","description":"Number of people in the household"},"debt_ratio":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Debt Ratio","description":"Debt ratio (taux d'endettement) as a decimal, editable"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Adresse email","examples":["john.doe@gmail.com"]},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name","description":"First name of the lead","examples":["John"]},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name","description":"Last name of the lead","examples":["Doe"]},"birth_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Birth Date","description":"Date of Birth date of the lead","examples":["2021-01-01T00:00:00"]},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"Numéro de téléphone","examples":["+33612345678"]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description","examples":["hot hot hot"]},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url","description":"URL of the housing photo chosen for the lead","examples":["https://example.com/photo.jpg"]},"connected_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Connected At","description":"Date of when the lead was last connected","default":"2026-11-12T10:32:17.362234","examples":["2021-01-01T00:00:00"]},"last_contact":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Contact","description":"Date of last contact","examples":["2021-01-01T00:00:00"]},"invited_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Invited At","description":"Date of when the lead was invited","examples":["2021-01-01T00:00:00"]},"visit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Visit At","description":"Date of when the lead is visited","examples":["2021-01-01T00:00:00"]},"gender":{"anyOf":[{"$ref":"#/components/schemas/Gender"},{"type":"null"}],"examples":["male"]},"accepted_terms":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepted Terms","description":"Whether the lead has accepted the terms and conditions"},"acceptation_cgu":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Acceptation Cgu","description":"Whether the lead has accepted the CGU (Terms of Service)"},"optin_email":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Email","description":"Whether the lead has opted in for email communications"},"optin_offers":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Offers","description":"Whether the lead has opted in for promotional offers"},"optin_special_ops":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Special Ops","description":"Whether the lead has opted in for special operations"},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Output"},{"type":"null"}],"description":"Address of the lead"},"co_occupants":{"anyOf":[{"items":{"$ref":"#/components/schemas/LeadCoOccupant"},"type":"array"},{"type":"null"}],"title":"Co Occupants","description":"Other occupants of the housing, the lead being the first one"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id","description":"ID of the lead in the external provider.","examples":["1234"]},"geomarketing_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Geomarketing Id","description":"ID from geomarketing source (e.g., DPE identifier)","examples":["2342E0073098T"]},"is_duplicated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Duplicated"},"should_call":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Call","description":"Whether the lead should be called"},"travel_zone":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Travel Zone","description":"Travel allowance zone of the lead's address, measured from the company's head office (convention bâtiment)"},"supported_location":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Supported Location","description":"Whether the lead is in a supported location"},"zone_abf":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Zone Abf","description":"Whether the lead is in an ABF zone"},"numero_fiscal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Numero Fiscal","description":"Numéro fiscal du lead","examples":["1234567890123"]},"reference_avis_fiscal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Avis Fiscal","description":"Référence de l'avis d'imposition","examples":["2024ABCD1234"]},"num_mpr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Num Mpr","description":"Numéro MaPrimeRénov du lead"},"external_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"External Data","description":"Additional data for the lead (JSON field)"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id","description":"ID of the branch","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"company_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Company Id","description":"ID of the company [DEPRECATED]","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"external_identity_provider_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"External Identity Provider Id","description":"ID of the external identity provider","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id","description":"ID of the user","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"customer_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Number"},"lead_origin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Origin Id","description":"ID of the lead_origin","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"html_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html Url"},"status_id":{"type":"string","format":"uuid","title":"Status Id"},"status":{"anyOf":[{"$ref":"#/components/schemas/LeadStatusRead"},{"type":"null"}]},"won_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Won At"},"temperature":{"anyOf":[{"$ref":"#/components/schemas/LeadTemperature"},{"type":"null"}]},"sales_user_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Sales User Ids","description":"Sales users in display order; the first one is user_id","default":[]},"works_user_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Works User Ids","description":"Works users (conducteurs de travaux) in display order","default":[]},"token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token"},"tag_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Tag Ids","description":"List of tag IDs associated with this lead","default":[]},"next_task":{"anyOf":[{"$ref":"#/components/schemas/LeadNextTask"},{"type":"null"}]},"won_quote_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Won Quote Id","description":"First signed quote, not abandoned since"}},"type":"object","required":["created_at","updated_at","status_id"],"title":"LeadWithTokenAndTags","description":"Lead model with token and associated tag IDs."},"LeadWithUsers":{"properties":{"tax_bracket":{"anyOf":[{"$ref":"#/components/schemas/TaxBracket"},{"type":"null"}],"description":"Tranche de revenu","examples":["modeste"]},"taxable_income":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taxable Income","description":"Revenu Fiscal de Référence (RFR)."},"tax_shares":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tax Shares","description":"Number of tax shares."},"region":{"anyOf":[{"$ref":"#/components/schemas/TaxRegion"},{"type":"null"}],"description":"Tax region of the tax payer: IDF (Île-de-France) or OTHER, as in the ANAH income thresholds.","examples":["IDF"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"household_size":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Household Size","description":"Number of people in the household"},"debt_ratio":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Debt Ratio","description":"Debt ratio (taux d'endettement) as a decimal, editable"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email","description":"Adresse email","examples":["john.doe@gmail.com"]},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name","description":"First name of the lead","examples":["John"]},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name","description":"Last name of the lead","examples":["Doe"]},"birth_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Birth Date","description":"Date of Birth date of the lead","examples":["2021-01-01T00:00:00"]},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"Numéro de téléphone","examples":["+33612345678"]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description","examples":["hot hot hot"]},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url","description":"URL of the housing photo chosen for the lead","examples":["https://example.com/photo.jpg"]},"connected_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Connected At","description":"Date of when the lead was last connected","default":"2026-11-12T10:32:17.362234","examples":["2021-01-01T00:00:00"]},"last_contact":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Contact","description":"Date of last contact","examples":["2021-01-01T00:00:00"]},"invited_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Invited At","description":"Date of when the lead was invited","examples":["2021-01-01T00:00:00"]},"visit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Visit At","description":"Date of when the lead is visited","examples":["2021-01-01T00:00:00"]},"gender":{"anyOf":[{"$ref":"#/components/schemas/Gender"},{"type":"null"}],"examples":["male"]},"accepted_terms":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepted Terms","description":"Whether the lead has accepted the terms and conditions"},"acceptation_cgu":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Acceptation Cgu","description":"Whether the lead has accepted the CGU (Terms of Service)"},"optin_email":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Email","description":"Whether the lead has opted in for email communications"},"optin_offers":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Offers","description":"Whether the lead has opted in for promotional offers"},"optin_special_ops":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Optin Special Ops","description":"Whether the lead has opted in for special operations"},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Output"},{"type":"null"}],"description":"Address of the lead"},"co_occupants":{"anyOf":[{"items":{"$ref":"#/components/schemas/LeadCoOccupant"},"type":"array"},{"type":"null"}],"title":"Co Occupants","description":"Other occupants of the housing, the lead being the first one"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id","description":"ID of the lead in the external provider.","examples":["1234"]},"geomarketing_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Geomarketing Id","description":"ID from geomarketing source (e.g., DPE identifier)","examples":["2342E0073098T"]},"is_duplicated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Duplicated"},"should_call":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Call","description":"Whether the lead should be called"},"travel_zone":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Travel Zone","description":"Travel allowance zone of the lead's address, measured from the company's head office (convention bâtiment)"},"supported_location":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Supported Location","description":"Whether the lead is in a supported location"},"zone_abf":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Zone Abf","description":"Whether the lead is in an ABF zone"},"numero_fiscal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Numero Fiscal","description":"Numéro fiscal du lead","examples":["1234567890123"]},"reference_avis_fiscal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Avis Fiscal","description":"Référence de l'avis d'imposition","examples":["2024ABCD1234"]},"num_mpr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Num Mpr","description":"Numéro MaPrimeRénov du lead"},"external_data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"External Data","description":"Additional data for the lead (JSON field)"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id","description":"ID of the branch","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"company_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Company Id","description":"ID of the company [DEPRECATED]","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"external_identity_provider_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"External Identity Provider Id","description":"ID of the external identity provider","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id","description":"ID of the user","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"customer_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Number"},"lead_origin_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Origin Id","description":"ID of the lead_origin","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"html_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html Url"},"status_id":{"type":"string","format":"uuid","title":"Status Id"},"status":{"anyOf":[{"$ref":"#/components/schemas/LeadStatusRead"},{"type":"null"}]},"won_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Won At"},"temperature":{"anyOf":[{"$ref":"#/components/schemas/LeadTemperature"},{"type":"null"}]},"sales_user_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Sales User Ids","description":"Sales users in display order; the first one is user_id","default":[]},"works_user_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Works User Ids","description":"Works users (conducteurs de travaux) in display order","default":[]}},"type":"object","required":["created_at","updated_at","status_id"],"title":"LeadWithUsers","description":"A lead with its responsible users; lists must preload `Lead.user_links`."},"Level-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Level","description":"Référence du level bâtiment auquel ce level est attaché (utilisé pour les thermal_levels pour pointer vers le level d'origine)"},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"numero":{"anyOf":[{"type":"integer","maximum":1000.0,"minimum":-1000.0},{"type":"null"}],"title":"Numero","description":"Number of the level (e.g. 0 for ground floor)"},"hauteur_sous_plafond":{"anyOf":[{"type":"number","ge":180,"le":1000},{"type":"null"}],"title":"Hauteur Sous Plafond","description":"Hauteur sous plafond (cm)"},"comments":{"anyOf":[{"items":{"$ref":"#/components/schemas/Comment"},"type":"array"},{"type":"null"}],"title":"Comments","description":"Comments on the level"}},"type":"object","title":"Level","description":"A level of the building"},"Level-Output":{"type":"string","enum":["low","medium","high"],"title":"Level","description":"How uncertain the value is: `high` asks the user to check it."},"LicenseUserRead":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"email":{"type":"string","title":"Email"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"}},"type":"object","required":["id","email"],"title":"LicenseUserRead","description":"Minimal user payload exposed alongside a subscription license."},"LienGenerateurEmetteur":{"type":"integer","enum":[1,2,3],"title":"LienGenerateurEmetteur"},"LineMarkup":{"properties":{"line_id":{"type":"string","format":"uuid","title":"Line Id"},"markup_ratio":{"type":"number","minimum":0.0,"title":"Markup Ratio","description":"Margin over the cost"}},"type":"object","required":["line_id","markup_ratio"],"title":"LineMarkup","description":"The markup a line should reach."},"LineOrigin":{"properties":{"source":{"$ref":"#/components/schemas/LineSource"},"slot":{"anyOf":[{"$ref":"#/components/schemas/SelectionSlot"},{"type":"null"}],"description":"Selection slot that chose the line"},"rule_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rule Id","description":"Catalog rule id, or `system.<name>` for Argile's rules"},"rule_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rule Name"},"facts":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},"type":"object","title":"Facts","description":"Facts the rule read when it fired","default":{}}},"type":"object","required":["source"],"title":"LineOrigin"},"LineSource":{"type":"string","enum":["selection","default_item","rule"],"title":"LineSource","description":"What put the line in the work; a line without origin was added by hand."},"LinkedItemRead":{"properties":{"item_id":{"type":"string","format":"uuid","title":"Item Id"},"item_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Item Title"},"quantity":{"type":"number","title":"Quantity"}},"type":"object","required":["item_id","item_title","quantity"],"title":"LinkedItemRead","description":"An item that links to a given article, with the join quantity."},"LiveEmittersSizing":{"properties":{"water_temperature":{"type":"integer","title":"Water Temperature","description":"Température d'eau à laquelle les émetteurs sont lus (°C)"},"deperditions":{"type":"number","title":"Deperditions","description":"Déperditions après travaux sur la surface chauffée (kW)"},"emitters_power_p50":{"type":"number","title":"Emitters Power P50"},"emitters_power":{"type":"number","title":"Emitters Power"},"heated_floor_power":{"type":"number","title":"Heated Floor Power","description":"Part de la puissance émise par les planchers chauffants"},"coverage_p50":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Coverage P50","description":"None tant que les radiateurs ne décrivent pas le logement"},"coverage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Coverage","description":"None tant que les radiateurs ne décrivent pas le logement"},"coverage_level":{"anyOf":[{"$ref":"#/components/schemas/CoverageLevel"},{"type":"null"}]},"rooms":{"items":{"$ref":"#/components/schemas/RoomEmittersSizing"},"type":"array","title":"Rooms"},"leftover_emitters":{"items":{"$ref":"#/components/schemas/EmitterSizing"},"type":"array","title":"Leftover Emitters","description":"Radiateurs d'un circuit rattachés à aucune de ses pièces, comptés dans les totaux","default":[]},"circuits":{"items":{"$ref":"#/components/schemas/CircuitSizing"},"type":"array","title":"Circuits","description":"Chaque circuit de la PAC, servi ou non","default":[]},"recommended_water_temperature":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Recommended Water Temperature","description":"Température d'eau conseillée (°C) sur ces pièces : la plus basse à laquelle aucune pièce équipée de radiateurs ne reste sous-couverte. None si même l'eau la plus chaude n'y suffit pas. En scénario AAP, plafonnée à 55 °C (seuil de la note de dimensionnement AAP) et vaut 55 quand aucune température ne suffit : elle ne garantit alors plus la couverture de toutes les pièces."}},"type":"object","required":["water_temperature","deperditions","emitters_power_p50","emitters_power","heated_floor_power","coverage_p50","coverage","coverage_level","rooms","recommended_water_temperature"],"title":"LiveEmittersSizing"},"LoadBreakdown":{"properties":{"first_day":{"type":"string","format":"date","title":"First Day"},"last_day":{"type":"string","format":"date","title":"Last Day"},"days_used":{"type":"integer","title":"Days Used"},"annual":{"anyOf":[{"$ref":"#/components/schemas/UseEnergy"},{"type":"null"}]},"months":{"items":{"$ref":"#/components/schemas/MonthUses"},"type":"array","title":"Months"},"standby_w":{"type":"number","title":"Standby W"},"water_heater":{"$ref":"#/components/schemas/WaterHeater"},"steady_load":{"$ref":"#/components/schemas/SteadyLoad"},"occupancy":{"$ref":"#/components/schemas/Occupancy"},"thermal":{"$ref":"#/components/schemas/ThermalFit"},"off_peak_share":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Off Peak Share"},"peak_kw":{"type":"number","title":"Peak Kw"},"profiles":{"items":{"$ref":"#/components/schemas/DayProfile"},"type":"array","title":"Profiles"}},"type":"object","required":["first_day","last_day","days_used","annual","months","standby_w","water_heater","steady_load","occupancy","thermal","off_peak_share","peak_kw","profiles"],"title":"LoadBreakdown","description":"A load curve split into uses, over the days it covers."},"Loan-Input":{"properties":{"amount":{"type":"number","title":"Amount","description":"Loan amount in euros"},"duration":{"type":"integer","title":"Duration","description":"Loan duration in months"},"interest_rate":{"type":"number","title":"Interest Rate","description":"Annual interest rate as a decimal"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"type":{"type":"string","enum":["conso","immo","pre_financing_subsidies"],"title":"Type"},"repayment_type":{"type":"string","enum":["amortizing","in_fine"],"title":"Repayment Type","description":"Repayment structure. 'amortizing' spreads principal and interest over monthly payments. 'in_fine' means no monthly payments; the principal is repaid in a single bullet at maturity (used for bridge loans against future subsidies).","default":"amortizing"},"source":{"anyOf":[{"type":"string","const":"aap"},{"type":"null"}],"title":"Source","description":"Set when the backend computes the loan: locked in the UI"},"follows_remaining_cost":{"type":"boolean","title":"Follows Remaining Cost","description":"The backend resizes the loan to what the aids and the other loans leave; cleared once the adviser sets the amount","default":false},"from_scenario":{"type":"boolean","title":"From Scenario","description":"Copied from the scenario when the document was created","default":false},"show_on_document":{"type":"boolean","title":"Show On Document","description":"Print the consumer-credit block on the quote or invoice","default":true},"lender_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lender Name"},"apr":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Apr","description":"TAEG as an annual decimal, entered by the user"},"application_fees":{"type":"number","title":"Application Fees","description":"Application fees in euros","default":0.0},"insurance_monthly_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Insurance Monthly Amount","description":"Monthly insurance cost in euros, None without one"},"down_payment":{"type":"number","title":"Down Payment","description":"Personal contribution in euros, paid outside the loan","default":0.0},"first_payment_deferral_months":{"type":"integer","minimum":0.0,"title":"First Payment Deferral Months","description":"Months before the first payment; interest accrues meanwhile","default":0}},"type":"object","required":["amount","duration","interest_rate","type"],"title":"Loan"},"Loan-Output":{"properties":{"amount":{"type":"number","title":"Amount","description":"Loan amount in euros"},"duration":{"type":"integer","title":"Duration","description":"Loan duration in months"},"interest_rate":{"type":"number","title":"Interest Rate","description":"Annual interest rate as a decimal"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"type":{"type":"string","enum":["conso","immo","pre_financing_subsidies"],"title":"Type"},"repayment_type":{"type":"string","enum":["amortizing","in_fine"],"title":"Repayment Type","description":"Repayment structure. 'amortizing' spreads principal and interest over monthly payments. 'in_fine' means no monthly payments; the principal is repaid in a single bullet at maturity (used for bridge loans against future subsidies).","default":"amortizing"},"source":{"anyOf":[{"type":"string","const":"aap"},{"type":"null"}],"title":"Source","description":"Set when the backend computes the loan: locked in the UI"},"follows_remaining_cost":{"type":"boolean","title":"Follows Remaining Cost","description":"The backend resizes the loan to what the aids and the other loans leave; cleared once the adviser sets the amount","default":false},"from_scenario":{"type":"boolean","title":"From Scenario","description":"Copied from the scenario when the document was created","default":false},"show_on_document":{"type":"boolean","title":"Show On Document","description":"Print the consumer-credit block on the quote or invoice","default":true},"lender_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lender Name"},"apr":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Apr","description":"TAEG as an annual decimal, entered by the user"},"application_fees":{"type":"number","title":"Application Fees","description":"Application fees in euros","default":0.0},"insurance_monthly_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Insurance Monthly Amount","description":"Monthly insurance cost in euros, None without one"},"down_payment":{"type":"number","title":"Down Payment","description":"Personal contribution in euros, paid outside the loan","default":0.0},"first_payment_deferral_months":{"type":"integer","minimum":0.0,"title":"First Payment Deferral Months","description":"Months before the first payment; interest accrues meanwhile","default":0},"monthly_payment":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthly Payment","description":"Calculate the monthly payment using the loan formula.","readOnly":true},"monthly_payment_with_insurance":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthly Payment With Insurance","readOnly":true},"total_credit_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Credit Cost","description":"Interest plus fees, insurance excluded; None for a bullet loan.","readOnly":true},"total_amount_due":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Amount Due","description":"What the borrower repays to the lender, insurance excluded.","readOnly":true},"total_purchase_cost_on_credit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Purchase Cost On Credit","readOnly":true}},"type":"object","required":["amount","duration","interest_rate","type","monthly_payment","monthly_payment_with_insurance","total_credit_cost","total_amount_due","total_purchase_cost_on_credit"],"title":"Loan"},"LoanConstraints":{"properties":{"max_amount":{"type":"number","title":"Max Amount","description":"Maximum loan amount in euros"},"max_duration":{"type":"integer","title":"Max Duration","description":"Maximum loan duration in months"},"min_duration":{"type":"integer","title":"Min Duration","description":"Minimum loan duration in months"},"interest_rate":{"type":"number","title":"Interest Rate","description":"Interest rate as a decimal (0 for Éco-PTZ)"},"title":{"type":"string","title":"Title","description":"Display title for the loan"},"category":{"anyOf":[{"$ref":"#/components/schemas/EcoPtzCategory"},{"type":"null"}],"description":"Works category the Éco-PTZ Cerfa ticks; None if not eligible"},"ceiling":{"type":"number","title":"Ceiling","description":"The category's regulatory ceiling in euros, before net cost","default":0},"actions":{"items":{"$ref":"#/components/schemas/EcoPtzAction"},"type":"array","title":"Actions","description":"Éco-PTZ actions a) to g) the works carry, the Cerfa's pages"},"action_amounts":{"items":{"$ref":"#/components/schemas/EcoPtzActionAmountRead"},"type":"array","title":"Action Amounts","description":"Eligible TTC after discounts of each action's works"}},"type":"object","required":["max_amount","max_duration","min_duration","interest_rate","title"],"title":"LoanConstraints","description":"Constraints for a loan type (max amount, max duration, etc.)"},"LoanProviderQuestion":{"properties":{"key":{"type":"string","title":"Key"},"label":{"type":"string","title":"Label"},"type":{"type":"string","enum":["boolean","text"],"title":"Type","default":"boolean"}},"type":"object","required":["key","label"],"title":"LoanProviderQuestion","description":"Partner-specific question asked to the lead before sending a funding request."},"LoanProviderRead":{"properties":{"name":{"type":"string","title":"Name"},"contact_email":{"type":"string","title":"Contact Email","description":"Email address where funding request documents are sent"},"loan_types":{"items":{"type":"string"},"type":"array","title":"Loan Types","description":"Loan types the provider can finance (e.g. 'ecoptz')"},"min_work_types_count":{"type":"integer","title":"Min Work Types Count","description":"Minimum number of work types in the project","default":0},"min_financed_amount":{"type":"number","title":"Min Financed Amount","description":"Minimum amount to finance (reste à charge) in euros","default":0.0},"debt_ratio_green_threshold":{"type":"number","title":"Debt Ratio Green Threshold","description":"Debt ratio below which a lead is flagged green","default":0.3},"debt_ratio_orange_threshold":{"type":"number","title":"Debt Ratio Orange Threshold","description":"Debt ratio below which a lead is flagged orange","default":0.35},"eligible_departments":{"items":{"type":"string"},"type":"array","title":"Eligible Departments","description":"Department codes where the provider is active (empty = all)"},"extra_questions":{"items":{"$ref":"#/components/schemas/LoanProviderQuestion"},"type":"array","title":"Extra Questions","description":"Partner-specific questions asked to the lead"},"is_active":{"type":"boolean","title":"Is Active","default":true},"id":{"type":"string","format":"uuid","title":"Id"}},"type":"object","required":["name","contact_email","id"],"title":"LoanProviderRead","description":"Read a loan provider."},"Logement":{"properties":{"caracteristique_generale":{"$ref":"#/components/schemas/CaracteristiqueGenerale"},"meteo":{"$ref":"#/components/schemas/Meteo"},"ventilation_collection":{"$ref":"#/components/schemas/VentilationCollection"},"enveloppe":{"$ref":"#/components/schemas/Enveloppe"},"climatisation_collection":{"$ref":"#/components/schemas/ClimatisationCollection"},"installation_ecs_collection":{"$ref":"#/components/schemas/InstallationEcsCollection"},"installation_chauffage_collection":{"$ref":"#/components/schemas/InstallationChauffageCollection"},"piece_collection":{"$ref":"#/components/schemas/PieceCollection"},"production_elec_enr":{"$ref":"#/components/schemas/ProductionElecEnr"},"electricite":{"$ref":"#/components/schemas/Electricite","description":"Diagnostic électrique","default":{},"export_to_dpe":false},"sortie":{"$ref":"#/components/schemas/Sortie"},"etape_travaux":{"$ref":"#/components/schemas/EtapeTravaux"},"solaire":{"anyOf":[{"$ref":"#/components/schemas/Solaire"},{"type":"null"}],"description":"Informations solaires du logement","export_to_dpe":false},"deperditions":{"$ref":"#/components/schemas/DPEDeperditionsResponse","description":"NF EN 12831-1 nominal heat-load (W) at this Logement's setpoint.\nDistinct from ``enveloppe.deperditions`` (W/K, 3-CL) on collections.","readOnly":true},"winter_comfort":{"$ref":"#/components/schemas/WinterComfort","description":"Felt temperature at the design θ_e, walls and windows included.","readOnly":true}},"type":"object","required":["caracteristique_generale","meteo","ventilation_collection","enveloppe","climatisation_collection","installation_ecs_collection","installation_chauffage_collection","deperditions","winter_comfort"],"title":"Logement","description":"Modèle 3-CL logement."},"Login":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"Login","description":"Login model"},"LotAssigneeCalendar":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"outcome":{"$ref":"#/components/schemas/CalendarPushOutcome"}},"type":"object","required":["user_id","outcome"],"title":"LotAssigneeCalendar","description":"Whether a lot just saved will reach one assigned user's calendar."},"LotKind":{"type":"string","enum":["installation","service"],"title":"LotKind","description":"Whether a lot is an installation (geste de pose) or a service."},"LotRead":{"properties":{"enum_type_travaux_id":{"$ref":"#/components/schemas/TypeTravaux","description":"Type of work (reuses TypeTravaux). Stored as the int value."},"kind":{"$ref":"#/components/schemas/LotKind","description":"Whether this lot is an installation or a service","default":"installation"},"estimated_minutes":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Estimated Minutes","description":"Sold/estimated labour time, used as rentability baseline"},"id":{"type":"string","format":"uuid","title":"Id"},"worksite_id":{"type":"string","format":"uuid","title":"Worksite Id"},"assigned_user_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Assigned User Ids"},"subcontractor_branch_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Subcontractor Branch Ids"},"planned_start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Planned Start"},"planned_end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Planned End"},"actual_start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Actual Start"},"actual_end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Actual End"},"position":{"type":"integer","title":"Position"},"tasks_total":{"type":"integer","title":"Tasks Total","description":"Total number of tasks"},"tasks_done":{"type":"integer","title":"Tasks Done","description":"Number of tasks in DONE status"},"progress":{"type":"number","title":"Progress","description":"0..1 progress: highest milestone reached by a done task"},"depends_on_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Depends On Ids","description":"Lots (of the same worksite) this lot depends on"},"blocked_by_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Blocked By Ids","description":"Subset of depends_on_ids that is not done yet"},"is_blocked":{"type":"boolean","title":"Is Blocked","description":"True while at least one dependency lot is not done","default":false},"status":{"$ref":"#/components/schemas/LotStatus","description":"Where the lot stands, prerequisites and planned dates included"},"is_blocked_by_prerequisites":{"type":"boolean","title":"Is Blocked By Prerequisites","description":"Late only because its prerequisites are pending past its start","default":false},"calendar_pushes":{"anyOf":[{"items":{"$ref":"#/components/schemas/LotAssigneeCalendar"},"type":"array"},{"type":"null"}],"title":"Calendar Pushes","description":"POST/PATCH only: the users this save sends the lot to, and whether their calendar will receive it"}},"type":"object","required":["enum_type_travaux_id","id","worksite_id","assigned_user_ids","subcontractor_branch_ids","planned_start","planned_end","actual_start","actual_end","position","tasks_total","tasks_done","progress","status"],"title":"LotRead","description":"A lot as exposed by the API (with progress)."},"LotStatus":{"type":"string","enum":["to_do","waiting_prerequisites","in_progress","late","done"],"title":"LotStatus","description":"Where a lot stands, the one status every screen of the worksite shows."},"LotTravauxAudit":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10],"title":"LotTravauxAudit"},"MacroCategorieCh":{"type":"string","enum":["Effet Joule","Pompe à chaleur","Gaz","Fioul","GPL/Propane/Butane","Réseau de chaleur","Biomasse","Charbon","Système divers"],"title":"MacroCategorieCh"},"MacroCategorieEcs":{"type":"string","enum":["ELECTRIC_WATER_TANK","GAS","HEAT_PUMP","FUEL","HEAT_NETWORK","BIOMASS","COAL","ELECTRIC_BOILER","GPL","AUTRES"],"title":"MacroCategorieEcs"},"MailAttachmentDownload":{"properties":{"download_url":{"type":"string","title":"Download Url"}},"type":"object","required":["download_url"],"title":"MailAttachmentDownload","description":"A short-lived link to the attachment's stored copy."},"MailAttachmentMissingReason":{"type":"string","enum":["pending","too_large","unavailable"],"title":"MailAttachmentMissingReason","description":"Why an attachment shown without a copy has none, for the text the front shows."},"MailAttachmentRead":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"filename":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filename"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes"},"doc_instance_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Doc Instance Id","description":"The document a send made from Argile attached"},"content_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Id","description":"The Content-ID header; the body may not reference it"},"is_embedded":{"type":"boolean","title":"Is Embedded","description":"The HTML body shows this file through a `cid:` reference"},"downloadable":{"type":"boolean","title":"Downloadable","description":"A copy is stored, served by the download route; false for a send made from Argile, whose document opens through `doc_instance_id`"},"missing_reason":{"anyOf":[{"$ref":"#/components/schemas/MailAttachmentMissingReason"},{"type":"null"}],"description":"Why no copy is served: `pending` while a connected mailbox, or one waiting for a re-consent, holds the mail, `too_large` over the copy limit, `unavailable` when no such mailbox can provide the file; None when `downloadable` or with `doc_instance_id`"}},"type":"object","required":["id","filename","content_type","size_bytes","doc_instance_id","content_id","is_embedded","downloadable","missing_reason"],"title":"MailAttachmentRead"},"MailDirection":{"type":"string","enum":["sent","received"],"title":"MailDirection","description":"Whether the mailbox sent the mail or received it."},"MailPage":{"properties":{"items":{"items":{"$ref":"#/components/schemas/MailSummary"},"type":"array","title":"Items"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor","description":"Pass it as `cursor` for the next page; None on the last"},"total":{"type":"integer","title":"Total","description":"Every mail of the lead, whatever the page"}},"type":"object","required":["items","next_cursor","total"],"title":"MailPage"},"MailRead":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"direction":{"$ref":"#/components/schemas/MailDirection"},"from_address":{"type":"string","title":"From Address"},"to_addresses":{"items":{"type":"string"},"type":"array","title":"To Addresses"},"sent_at":{"type":"string","format":"date-time","title":"Sent At"},"preview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preview"},"mailbox_users":{"items":{"$ref":"#/components/schemas/MailboxUserRead"},"type":"array","title":"Mailbox Users","description":"Owners of the connected mailboxes the mail appears in"},"attachment_count":{"type":"integer","title":"Attachment Count","description":"Inline images aside"},"outbound_message_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Outbound Message Id","description":"The send made from Argile this mail is the Sent copy of"},"cc_addresses":{"items":{"type":"string"},"type":"array","title":"Cc Addresses"},"html_body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Html Body","description":"As received: sanitise it before rendering"},"text_body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text Body"},"in_reply_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"In Reply To"},"attachments":{"items":{"$ref":"#/components/schemas/MailAttachmentRead"},"type":"array","title":"Attachments"},"withdrawable":{"type":"boolean","title":"Withdrawable","description":"The requester holds a mailbox this mail was stored from, and the mail is not the copy of a send made from Argile"}},"type":"object","required":["id","subject","direction","from_address","to_addresses","sent_at","preview","mailbox_users","attachment_count","outbound_message_id","cc_addresses","html_body","text_body","in_reply_to","attachments","withdrawable"],"title":"MailRead"},"MailSummary":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject"},"direction":{"$ref":"#/components/schemas/MailDirection"},"from_address":{"type":"string","title":"From Address"},"to_addresses":{"items":{"type":"string"},"type":"array","title":"To Addresses"},"sent_at":{"type":"string","format":"date-time","title":"Sent At"},"preview":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preview"},"mailbox_users":{"items":{"$ref":"#/components/schemas/MailboxUserRead"},"type":"array","title":"Mailbox Users","description":"Owners of the connected mailboxes the mail appears in"},"attachment_count":{"type":"integer","title":"Attachment Count","description":"Inline images aside"},"outbound_message_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Outbound Message Id","description":"The send made from Argile this mail is the Sent copy of"}},"type":"object","required":["id","subject","direction","from_address","to_addresses","sent_at","preview","mailbox_users","attachment_count","outbound_message_id"],"title":"MailSummary"},"MailboxStatus":{"type":"string","enum":["pending","connected","needs_reconnect","disconnected"],"title":"MailboxStatus"},"MailboxUserRead":{"properties":{"user_id":{"type":"string","format":"uuid","title":"User Id"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","required":["user_id","email"],"title":"MailboxUserRead"},"MaintenanceDueStatus":{"type":"string","enum":["none","done","scheduled","to_schedule","overdue"],"title":"MaintenanceDueStatus","description":"Derived state driving the listing tabs and the due-date pills.\n\nNot persisted: recomputed on every read from the due date and the\nequipment's planned/completed interventions."},"MaintenancePeriodicity":{"type":"string","enum":["none","quarterly","semi_annual","annual","biennial"],"title":"MaintenancePeriodicity","description":"How often the equipment must be serviced."},"MaintenanceStatus":{"type":"string","enum":["active","suspended","terminated","removed"],"title":"MaintenanceStatus","description":"Lifecycle of a piece of equipment under maintenance follow-up."},"MaintenanceSummary":{"properties":{"tracked_count":{"type":"integer","title":"Tracked Count"},"total_count":{"type":"integer","title":"Total Count"},"removed_count":{"type":"integer","title":"Removed Count"},"overdue_count":{"type":"integer","title":"Overdue Count"},"overdue_type_ids":{"items":{"type":"integer"},"type":"array","title":"Overdue Type Ids"},"upcoming_count":{"type":"integer","title":"Upcoming Count"},"next_due_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Next Due At"},"next_visit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Visit At"},"contracts_count":{"type":"integer","title":"Contracts Count"},"contracts_annual_amount":{"type":"number","title":"Contracts Annual Amount"}},"type":"object","required":["tracked_count","total_count","removed_count","overdue_count","overdue_type_ids","upcoming_count","next_due_at","next_visit_at","contracts_count","contracts_annual_amount"],"title":"MaintenanceSummary","description":"KPI row of the lead's Maintenance tab."},"ManualElectricityConsumption":{"properties":{"profile":{"anyOf":[{"$ref":"#/components/schemas/ElectricityConsumptionProfile"},{"type":"null"}]},"electric_appliances":{"anyOf":[{"items":{"$ref":"#/components/schemas/ElectricAppliance"},"type":"array"},{"type":"null"}],"title":"Electric Appliances","description":"Declared electric appliances with their count (e.g. [{'type': 'dryer', 'count': 1}]). Each type appears at most once; omit the entry instead of storing count=0."},"mode":{"type":"string","const":"manual","title":"Mode","default":"manual"},"total":{"type":"number","title":"Total","description":"Annual electricity consumption (kWh, interpreted as kWh/year by convention). Filled in MANUAL mode (user input) and ENEDIS mode (API import, may be None while pending). AUTO mode never carries a total — the value is recomputed from the DPE plus appliances and occupancy profile."},"hp_hc":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/AnnualHpHc"},{"$ref":"#/components/schemas/MonthlyHpHc"}],"discriminator":{"propertyName":"granularity","mapping":{"annual":"#/components/schemas/AnnualHpHc","monthly":"#/components/schemas/MonthlyHpHc"}}},{"type":"null"}],"title":"Hp Hc"}},"type":"object","required":["total"],"title":"ManualElectricityConsumption","description":"MANUAL mode: lead-provided annual total (required)."},"ManufacturerSuggestion":{"properties":{"key":{"type":"string","title":"Key"},"level":{"$ref":"#/components/schemas/RequirementLevel"},"accessory":{"type":"string","title":"Accessory"},"references":{"items":{"type":"string"},"type":"array","title":"References"},"quantity":{"type":"string","title":"Quantity"},"condition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Condition"},"quote":{"type":"string","title":"Quote"},"source_item_id":{"type":"string","format":"uuid","title":"Source Item Id"},"page":{"type":"integer","title":"Page"},"equipment_count":{"type":"integer","title":"Equipment Count"},"equipment_titles":{"items":{"type":"string"},"type":"array","title":"Equipment Titles","description":"A few of the equipment"},"quotes_with_equipment":{"type":"integer","title":"Quotes With Equipment"},"targets":{"items":{"$ref":"#/components/schemas/ManufacturerTarget"},"type":"array","title":"Targets","description":"Ouvrages with the accessory's reference; none: not in catalog"}},"type":"object","required":["key","level","accessory","references","quantity","quote","source_item_id","page","equipment_count","equipment_titles","quotes_with_equipment","targets"],"title":"ManufacturerSuggestion","description":"What a manufacturer requires or recommends with the catalog's equipment."},"ManufacturerTarget":{"properties":{"item_id":{"type":"string","format":"uuid","title":"Item Id"},"title":{"type":"string","title":"Title"},"rule":{"$ref":"#/components/schemas/RuleWrite-Output"},"existing_rule_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Existing Rule Id","description":"A catalog rule already adding it"},"quotes_with_target":{"type":"integer","title":"Quotes With Target","description":"Quotes with the equipment that sell this ouvrage"}},"type":"object","required":["item_id","title","rule","quotes_with_target"],"title":"ManufacturerTarget","description":"A catalog ouvrage carrying the accessory, and the rule adding it."},"MapAggregationRequest":{"properties":{"south":{"type":"number","maximum":90.0,"minimum":-90.0,"title":"South","description":"Southern latitude boundary of the visible map area"},"west":{"type":"number","maximum":180.0,"minimum":-180.0,"title":"West","description":"Western longitude boundary of the visible map area"},"north":{"type":"number","maximum":90.0,"minimum":-90.0,"title":"North","description":"Northern latitude boundary of the visible map area"},"east":{"type":"number","maximum":180.0,"minimum":-180.0,"title":"East","description":"Eastern longitude boundary of the visible map area"},"zoom_level":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Zoom Level","description":"Current map zoom level"},"filters":{"anyOf":[{"$ref":"#/components/schemas/LeadSearchFilters"},{"type":"null"}],"description":"Additional filters to apply to leads"},"offset":{"type":"integer","minimum":0.0,"title":"Offset","description":"Number of clusters to skip for pagination","default":0},"limit":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Limit","description":"Maximum number of clusters to return","default":100}},"type":"object","required":["south","west","north","east","zoom_level"],"title":"MapAggregationRequest","description":"Request schema for map aggregation of leads."},"MapAggregationResponse":{"properties":{"clusters":{"items":{"$ref":"#/components/schemas/LeadCluster"},"type":"array","title":"Clusters","description":"List of lead clusters in the requested area"},"total_leads":{"type":"integer","minimum":0.0,"title":"Total Leads","description":"Total number of leads in the clusters"},"resolution":{"type":"integer","title":"Resolution","description":"Grid level used for clustering"},"bounds":{"additionalProperties":{"type":"number"},"type":"object","title":"Bounds","description":"Bounding box used for the query"},"total_clusters":{"type":"integer","minimum":0.0,"title":"Total Clusters","description":"Total number of clusters in the area (before pagination)"},"has_more":{"type":"boolean","title":"Has More","description":"Whether there are more clusters available"}},"type":"object","required":["clusters","total_leads","resolution","bounds","total_clusters","has_more"],"title":"MapAggregationResponse","description":"Response schema for map aggregation."},"MarginFigures":{"properties":{"sold_ht":{"type":"number","title":"Sold Ht"},"planned_cost_ht":{"type":"number","title":"Planned Cost Ht"},"margin_ht":{"type":"number","title":"Margin Ht"},"markup_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Markup Ratio","description":"Margin over the planned cost; null without a cost"}},"type":"object","required":["sold_ht","planned_cost_ht","margin_ht","markup_ratio"],"title":"MarginFigures","description":"Sold, planned cost and margin of a share of a line, a group or a quote."},"MarginRate":{"properties":{"enum_type_travaux_id":{"$ref":"#/components/schemas/TypeTravaux"},"margin_rate":{"type":"number","title":"Margin Rate"}},"type":"object","required":["enum_type_travaux_id","margin_rate"],"title":"MarginRate","description":"Margin rate per type of work."},"MarginSimulation":{"properties":{"margin":{"$ref":"#/components/schemas/QuoteMargin"},"lines":{"items":{"$ref":"#/components/schemas/SimulatedLinePrice"},"type":"array","title":"Lines"}},"type":"object","required":["margin","lines"],"title":"MarginSimulation","description":"The quote's margin at the corrected prices; nothing is saved."},"MarginSimulationRequest":{"properties":{"line_markups":{"items":{"$ref":"#/components/schemas/LineMarkup"},"type":"array","title":"Line Markups","default":[]},"work_types_to_minimum":{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array","title":"Work Types To Minimum","description":"Work types to bring back to the branch's minimum markup","default":[]}},"type":"object","title":"MarginSimulationRequest","description":"Corrections to try on a quote; the line markups apply first."},"MasqueLointainNonHomogene":{"properties":{"tv_coef_masque_lointain_non_homogene_id":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Tv Coef Masque Lointain Non Homogene Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de masque non homogène lointain"}},"type":"object","required":["tv_coef_masque_lointain_non_homogene_id"],"title":"MasqueLointainNonHomogene"},"MasqueLointainNonHomogeneCollection":{"properties":{"masque_lointain_non_homogene":{"anyOf":[{"items":{"$ref":"#/components/schemas/MasqueLointainNonHomogene"},"type":"array"},{"$ref":"#/components/schemas/MasqueLointainNonHomogene"}],"title":"Masque Lointain Non Homogene"}},"type":"object","required":["masque_lointain_non_homogene"],"title":"MasqueLointainNonHomogeneCollection"},"MateriauIsolation":{"type":"string","enum":["laine_de_roche","laine_de_verre","polyurethane","polystyrene_extrude","polystyrene_expanse","ouate_de_cellulose","fibre_de_bois","laine_de_bois","chanvre","liege","lin"],"title":"MateriauIsolation","description":"Matériau d'isolation thermique."},"MateriauxStructureMur":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],"title":"MateriauxStructureMur"},"MeasuredUses":{"properties":{"heating_kwh":{"type":"number","title":"Heating Kwh"},"water_heater_kwh":{"type":"number","title":"Water Heater Kwh"},"cooling_kwh":{"type":"number","title":"Cooling Kwh"},"rest_kwh":{"type":"number","title":"Rest Kwh"},"model_version":{"type":"string","title":"Model Version"}},"type":"object","required":["heating_kwh","water_heater_kwh","cooling_kwh","rest_kwh","model_version"],"title":"MeasuredUses","description":"A meter reading's year split by use (kWh), by the load-curve model of\n`model_version` (ADR-023)."},"MergeDocumentsRequest":{"properties":{"document_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":50,"minItems":1,"title":"Document Ids"}},"type":"object","required":["document_ids"],"title":"MergeDocumentsRequest","description":"The documents to gather in one PDF, in reading order."},"MergedDocumentsStatusResponse":{"properties":{"status":{"type":"string","enum":["running","completed","failed"],"title":"Status"},"download_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Download Url"},"skipped_document_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Skipped Document Ids","default":[]}},"type":"object","required":["status"],"title":"MergedDocumentsStatusResponse","description":"Progress of a merge; the download URL and left-out documents once completed."},"MessageStatus":{"type":"string","enum":["PENDING","SENT","FAILED","QUEUED","UNCONFIRMED","BOUNCED"],"title":"MessageStatus"},"MessageSupportType":{"type":"string","enum":["EMAIL","SMS","PHONE"],"title":"MessageSupportType"},"Meteo":{"properties":{"enum_zone_climatique_id":{"$ref":"#/components/schemas/ZoneClimatiqueId","description":"Zone climatique du logement","examples":[1],"ge":1,"le":8},"altitude":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Altitude","description":"Altitude du logement"},"enum_classe_altitude_id":{"$ref":"#/components/schemas/ClasseAltitudeEnum","description":"Classe d'altitude du logement","default":1,"ge":1,"le":3},"batiment_materiaux_anciens":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Batiment Materiaux Anciens","description":"Est ce que le bâtiment est principalement composé de matériaux anciens pour ses murs"},"t_base":{"type":"number","title":"T Base","description":"This is the temperature base for the given zone and altitude\ndefined in the RT2012 standard.","readOnly":true},"t_base_nf_en_12831":{"type":"number","title":"T Base Nf En 12831","description":"This is the temperature base for the given departement and altitude\ndefined in the NF EN 12831 standard.","readOnly":true},"zone_littorale_appliquee":{"type":"boolean","title":"Zone Littorale Appliquee","description":"Whether the D.1b coastal or island row actually moved the base\ntemperature. False for a coastal site whose column is a no-op (θe,D −7\nand −2) or whose altitude puts it out of the first band, so the report\nonly mentions the correction where it changed something.","readOnly":true},"delta_t":{"type":"number","title":"Delta T","readOnly":true}},"type":"object","required":["enum_zone_climatique_id","t_base","t_base_nf_en_12831","zone_littorale_appliquee","delta_t"],"title":"Meteo"},"MeterAccessStateEnum":{"type":"string","enum":["pending","a_valider","active","refused","revoked","obsolete","error"],"title":"MeterAccessStateEnum","description":"Provider-side lifecycle (ENEDIS demande / GRDF droit d'accès)."},"MeterContract":{"properties":{"subscribed_kva":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Subscribed Kva"},"tariff_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tariff Code"},"off_peak":{"items":{"$ref":"#/components/schemas/OffPeakWindow"},"type":"array","title":"Off Peak"},"future_off_peak":{"items":{"$ref":"#/components/schemas/OffPeakWindow"},"type":"array","title":"Future Off Peak"}},"type":"object","required":["subscribed_kva","tariff_code","off_peak","future_off_peak"],"title":"MeterContract","description":"The PRM's contract at SGE: subscribed power, tariff, off-peak hours now and\nthose announced (the 2025 reform moves some to the afternoon)."},"MethodeApplicationDpeLog":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"title":"MethodeApplicationDpeLog"},"MethodeCalculConso":{"type":"integer","enum":[1,2,3,4,5,6],"title":"MethodeCalculConso"},"MethodeSaisieCaracSys":{"type":"integer","enum":[1,2,3,4,5,6,7,8],"title":"MethodeSaisieCaracSys"},"MethodeSaisieFactCouvSol":{"type":"integer","enum":[1,2],"title":"MethodeSaisieFactCouvSol","description":"Enumération des méthodes de saisie du facteur de couverture solaire"},"MethodeSaisieK":{"type":"integer","enum":[1,2,3],"title":"MethodeSaisieK"},"MethodeSaisiePerfVitrage":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],"title":"MethodeSaisiePerfVitrage"},"MethodeSaisieQ4paConv":{"type":"integer","enum":[1,2,3],"title":"MethodeSaisieQ4paConv"},"MethodeSaisieU":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10],"title":"MethodeSaisieU"},"MethodeSaisieU0":{"type":"integer","enum":[1,2,3,4,5],"title":"MethodeSaisieU0"},"MethodeSaisieUporte":{"type":"integer","enum":[1,2,3],"title":"MethodeSaisieUporte"},"MissingDuctedData":{"properties":{"kind":{"$ref":"#/components/schemas/MissingDuctedDataKind","description":"Missing input"},"room_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Reference","description":"Room concerned, None for a unit-level input"}},"type":"object","required":["kind"],"title":"MissingDuctedData","description":"An input missing to check the network."},"MissingDuctedDataKind":{"type":"string","enum":["duct_length","unit_static_pressure","unit_airflow","room_volume","min_airflow"],"title":"MissingDuctedDataKind"},"ModeFonctionnement":{"type":"string","enum":["chaud_seul","froid_seul","reversible","double_service","triple_service","ecs_ballon_thermodynamique","recuperation_energie"],"title":"ModeFonctionnement","description":"Mode de fonctionnement de la PAC (P5_22)."},"MoeConfig-Input":{"properties":{"pricing_mode":{"$ref":"#/components/schemas/PricingMode","default":"percentage_ht"},"percentage_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Percentage Rate"},"fixed_amount_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fixed Amount Ht"},"tax_rate":{"type":"number","title":"Tax Rate","default":0.2},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"installments":{"items":{"$ref":"#/components/schemas/Installment"},"type":"array","title":"Installments","default":[]}},"type":"object","title":"MoeConfig"},"MoeConfig-Output":{"properties":{"pricing_mode":{"$ref":"#/components/schemas/PricingMode","default":"percentage_ht"},"percentage_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Percentage Rate"},"fixed_amount_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Fixed Amount Ht"},"tax_rate":{"type":"number","title":"Tax Rate","default":0.2},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"installments":{"items":{"$ref":"#/components/schemas/Installment"},"type":"array","title":"Installments","default":[]}},"type":"object","title":"MoeConfig"},"Month":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10,11,12],"title":"Month"},"MonthUses":{"properties":{"standby_kwh":{"type":"number","title":"Standby Kwh"},"water_heater_kwh":{"type":"number","title":"Water Heater Kwh"},"heating_kwh":{"type":"number","title":"Heating Kwh"},"cooling_kwh":{"type":"number","title":"Cooling Kwh"},"steady_load_kwh":{"type":"number","title":"Steady Load Kwh"},"other_kwh":{"type":"number","title":"Other Kwh"},"month":{"type":"string","title":"Month"},"days":{"type":"integer","title":"Days"},"total_kwh":{"type":"number","title":"Total Kwh","readOnly":true}},"type":"object","required":["standby_kwh","water_heater_kwh","heating_kwh","cooling_kwh","steady_load_kwh","other_kwh","month","days","total_kwh"],"title":"MonthUses","description":"A calendar month of the curve, `YYYY-MM`, over the days it covers."},"MonthlyConsumptionEntry":{"properties":{"peak_total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Peak Total","description":"Peak-hour consumption for the month (kWh)"},"off_peak_total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Off Peak Total","description":"Off-peak consumption for the month (kWh)"}},"type":"object","title":"MonthlyConsumptionEntry","description":"One month's HP/HC consumption split (kWh)."},"MonthlyHpHc":{"properties":{"peak_total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Peak Total","description":"Annual peak-hour consumption (kWh), HP/HC contracts"},"off_peak_total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Off Peak Total","description":"Annual off-peak consumption (kWh), HP/HC contracts"},"granularity":{"type":"string","const":"monthly","title":"Granularity","default":"monthly"},"monthly_breakdown":{"anyOf":[{"items":{"$ref":"#/components/schemas/MonthlyConsumptionEntry"},"type":"array","maxItems":12},{"type":"null"}],"title":"Monthly Breakdown","description":"HP/HC consumption per month"}},"type":"object","title":"MonthlyHpHc","description":"MONTHLY granularity: HP/HC split per month; annual totals are the sum."},"MprBuildingTooRecent":{"properties":{"code":{"type":"string","const":"mpr_building_too_recent","title":"Code","default":"mpr_building_too_recent"},"required_years":{"type":"integer","title":"Required Years"},"actual_years":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Actual Years","description":"None when the construction year is unknown"}},"type":"object","required":["required_years"],"title":"MprBuildingTooRecent"},"MprDisabledByHypothesis":{"properties":{"code":{"type":"string","const":"mpr_disabled_by_hypothesis","title":"Code","default":"mpr_disabled_by_hypothesis"}},"type":"object","title":"MprDisabledByHypothesis","description":"Parcours accompagné switched off by hand on the scenario."},"MprDpeClassNotAllowed":{"properties":{"code":{"type":"string","const":"mpr_dpe_class_not_allowed","title":"Code","default":"mpr_dpe_class_not_allowed"},"allowed_classes":{"items":{"type":"string"},"type":"array","title":"Allowed Classes"},"actual_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Actual Class"}},"type":"object","required":["allowed_classes"],"title":"MprDpeClassNotAllowed"},"MprDpeGainTooLow":{"properties":{"code":{"type":"string","const":"mpr_dpe_gain_too_low","title":"Code","default":"mpr_dpe_gain_too_low"},"required_gain":{"type":"integer","title":"Required Gain"},"actual_gain":{"type":"integer","title":"Actual Gain"}},"type":"object","required":["required_gain","actual_gain"],"title":"MprDpeGainTooLow"},"MprFossilEquipmentInHouse":{"properties":{"code":{"type":"string","const":"mpr_fossil_equipment_in_house","title":"Code","default":"mpr_fossil_equipment_in_house"},"installed":{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array","title":"Installed","description":"Works installing a fossil-fuel unit"},"kept":{"items":{"$ref":"#/components/schemas/TypeEnergie"},"type":"array","title":"Kept","description":"Fossil energies of the existing units no work replaces"},"kept_heating_surface":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Kept Heating Surface","description":"m² the new heating leaves on a kept fossil heating, when a generator covers only part of the dwelling"},"habitable_surface":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Habitable Surface","description":"Habitable surface the kept heating surface is measured against"}},"type":"object","title":"MprFossilEquipmentInHouse","description":"A house keeps or receives a fossil-fuel heating or DHW unit."},"MprFossilHeatingNotReplaced":{"properties":{"code":{"type":"string","const":"mpr_fossil_heating_not_replaced","title":"Code","default":"mpr_fossil_heating_not_replaced"}},"type":"object","title":"MprFossilHeatingNotReplaced","description":"Coal or fuel heating left in place while the parcours requires replacing it."},"MprNotEnoughInsulationWorks":{"properties":{"code":{"type":"string","const":"mpr_not_enough_insulation_works","title":"Code","default":"mpr_not_enough_insulation_works"},"required_works":{"type":"integer","title":"Required Works"},"actual_works":{"type":"integer","title":"Actual Works"},"required_surface_percentage":{"type":"number","title":"Required Surface Percentage"}},"type":"object","required":["required_works","actual_works","required_surface_percentage"],"title":"MprNotEnoughInsulationWorks"},"MprOwnershipNotEligible":{"properties":{"code":{"type":"string","const":"mpr_ownership_not_eligible","title":"Code","default":"mpr_ownership_not_eligible"},"ownership":{"$ref":"#/components/schemas/Ownership"}},"type":"object","required":["ownership"],"title":"MprOwnershipNotEligible","description":"Occupancy status excluded from MaPrimeRénov', Efficacité included."},"MultiPolygon-Input":{"properties":{"coordinates":{"items":{"items":{"items":{"prefixItems":[{"type":"number"},{"type":"number"}],"type":"array","maxItems":2,"minItems":2},"type":"array"},"type":"array"},"type":"array","title":"Coordinates"},"type":{"anyOf":[{"$ref":"#/components/schemas/PolygonType"},{"type":"null"}]}},"type":"object","required":["coordinates"],"title":"MultiPolygon","description":"Represents a multi-polygon geometry.\nCan be a multi-polygon or a multi-line string.\nNote that in the case of a multi-polygon,the first item of coordinates\nis the outer ring, and the following items are holes in the polygon."},"MultiPolygon-Output":{"properties":{"coordinates":{"items":{"items":{"items":{"prefixItems":[{"type":"number"},{"type":"number"}],"type":"array","maxItems":2,"minItems":2},"type":"array"},"type":"array"},"type":"array","title":"Coordinates"},"type":{"anyOf":[{"$ref":"#/components/schemas/PolygonType"},{"type":"null"}]},"surface":{"type":"number","title":"Surface","description":"Get the surface of the multi-polygon.\nReturns 0 if the multi-polygon is a multi-line string.","readOnly":true},"perimeter":{"type":"number","title":"Perimeter","description":"Get the perimeter of the multi-polygon.","readOnly":true}},"type":"object","required":["coordinates","surface","perimeter"],"title":"MultiPolygon","description":"Represents a multi-polygon geometry.\nCan be a multi-polygon or a multi-line string.\nNote that in the case of a multi-polygon,the first item of coordinates\nis the outer ring, and the following items are holes in the polygon."},"Mur":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/argile__engine__dpe__models__envelop__mur__DonneeEntree"},"donnee_intermediaire":{"$ref":"#/components/schemas/argile__engine__dpe__models__envelop__mur__DonneeIntermediaire"},"zone_collection":{"anyOf":[{"$ref":"#/components/schemas/ZoneCollection"},{"type":"null"}],"description":"Collection of zones this wall is part of"}},"type":"object","required":["donnee_entree"],"title":"Mur"},"MurCollection":{"properties":{"mur":{"items":{"$ref":"#/components/schemas/Mur"},"type":"array","title":"Mur","description":"Liste des baies vitrées"}},"type":"object","title":"MurCollection"},"MyPermissionsRead":{"properties":{"roles":{"items":{"$ref":"#/components/schemas/UserRoleType"},"type":"array","title":"Roles"},"permissions":{"items":{"$ref":"#/components/schemas/Permission"},"type":"array","title":"Permissions"}},"type":"object","required":["roles","permissions"],"title":"MyPermissionsRead","description":"GET /users/me/permissions: both lists sorted."},"NativeUnit":{"properties":{"label":{"type":"string","title":"Label"},"kwh_per_unit":{"type":"number","title":"Kwh Per Unit"}},"type":"object","required":["label","kwh_per_unit"],"title":"NativeUnit","description":"The unit an energy is delivered in, and its kWh PCI."},"NewConduit":{"properties":{"type":{"anyOf":[{"$ref":"#/components/schemas/ConduitType"},{"type":"null"}],"description":"Type of new conduit"},"num_floors":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Num Floors","description":"Number of floors the conduit traverses"},"roof_type":{"anyOf":[{"$ref":"#/components/schemas/RoofType"},{"type":"null"}],"description":"Type of roof"},"combles_type":{"anyOf":[{"$ref":"#/components/schemas/ComblesType"},{"type":"null"}],"description":"Type of attic (isolated, not isolated, none)"},"floor_traversal_material":{"anyOf":[{"$ref":"#/components/schemas/FloorTraversalMaterial"},{"type":"null"}],"description":"Material of floors the conduit traverses"},"fire_gap_respected":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Fire Gap Respected","description":"Whether the fire safety gap is respected"},"fire_gap_work_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fire Gap Work Description","description":"Description of work needed for fire safety gap"},"wall_to_traverse_material":{"anyOf":[{"$ref":"#/components/schemas/WallToTraverseMaterial"},{"type":"null"}],"description":"Material of the wall to traverse (for exterior inox)"},"wall_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wall Height","description":"Height of the wall to traverse in cm"}},"type":"object","title":"NewConduit","description":"New conduit installation properties."},"NiveauGamme":{"type":"string","enum":["entree_de_gamme","milieu_de_gamme","haut_de_gamme"],"title":"NiveauGamme","description":"Commercial positioning of the product line, from plainest to best equipped."},"NoInsulationReason":{"type":"string","enum":["satisfactory_insulation","no_access","client_choice"],"title":"NoInsulationReason","description":"Reason why an envelope zone is not isolated."},"NotOf-Input":{"properties":{"type":{"type":"string","const":"not","title":"Type","default":"not"},"condition":{"oneOf":[{"$ref":"#/components/schemas/Predicate"},{"$ref":"#/components/schemas/AllOf-Input"},{"$ref":"#/components/schemas/AnyOf-Input"},{"$ref":"#/components/schemas/NotOf-Input"}],"title":"Condition","discriminator":{"propertyName":"type","mapping":{"all":"#/components/schemas/AllOf-Input","any":"#/components/schemas/AnyOf-Input","not":"#/components/schemas/NotOf-Input","predicate":"#/components/schemas/Predicate"}}}},"additionalProperties":false,"type":"object","required":["condition"],"title":"NotOf"},"NotOf-Output":{"properties":{"type":{"type":"string","const":"not","title":"Type","default":"not"},"condition":{"oneOf":[{"$ref":"#/components/schemas/Predicate"},{"$ref":"#/components/schemas/AllOf-Output"},{"$ref":"#/components/schemas/AnyOf-Output"},{"$ref":"#/components/schemas/NotOf-Output"}],"title":"Condition","discriminator":{"propertyName":"type","mapping":{"all":"#/components/schemas/AllOf-Output","any":"#/components/schemas/AnyOf-Output","not":"#/components/schemas/NotOf-Output","predicate":"#/components/schemas/Predicate"}}}},"additionalProperties":false,"type":"object","required":["condition"],"title":"NotOf"},"NotificationLead":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"event":{"type":"string","enum":["USER_READ","USER_CREATE","USER_UPDATE","USER_DELETE","USER_TOGGLE_ACTIVE","USER_REACTIVATED","FORGOT_PASSWORD","COMPANY_READ","COMPANY_UPDATE","BRANCH_CREATE","BRANCH_READ","BRANCH_UPDATE","BRANCH_DELETE","DOC_INSTANCE_CREATE","DOC_INSTANCE_READ","DOC_INSTANCE_UPDATE","DOC_INSTANCE_DELETE","DOC_INSTANCE_SEND","DOC_TEMPLATE_CREATE","DOC_TEMPLATE_READ","DOC_TEMPLATE_UPDATE","DOC_TEMPLATE_DELETE","QUOTE_CREATE","QUOTE_READ","QUOTE_UPDATE","QUOTE_DELETE","QUOTE_TO_INVOICE_CONVERT","PURCHASE_ORDER_UPDATE","INVOICE_CREATE","INVOICE_READ","INVOICE_UPDATE","INVOICE_DELETE","CREDIT_NOTE_CREATE","CREDIT_NOTE_READ","CREDIT_NOTE_UPDATE","CREDIT_NOTE_DELETE","CREDIT_NOTE_VALIDATE","PAYMENT_RECORD_CREATE","PAYMENT_RECORD_READ","PAYMENT_RECORD_UPDATE","PAYMENT_RECORD_DELETE","FEC_CREATE","FEC_READ","FEC_UPDATE","FEC_DELETE","PAYMENT_CLAIMS_READ","PAYMENT_CLAIMS_CREATE","PAYMENT_CLAIMS_UPDATE","SCAN_CREATE","SCAN_READ","SCAN_UPDATE","SCAN_DELETE","ANSWER_READ","ANSWER_CREATE","ANSWER_UPDATE","ANSWER_DELETE","RENDER_CREATE","RENDER_READ","RENDER_UPDATE","RENDER_DELETE","LEAD_READ","LEAD_CREATE","LEAD_UPDATE","LEAD_DELETE","DPE_SEND_PROJECT","DPE_SEND_REPORT","DPE_READ","DPE_CREATE","DPE_DELETE","DPE_UPDATE","SCENARIO_TEMPLATE_READ","SCENARIO_TEMPLATE_CREATE","SCENARIO_TEMPLATE_UPDATE","SCENARIO_TEMPLATE_DELETE","CATALOG_CREATE","CATALOG_READ","CATALOG_UPDATE","CATALOG_DELETE","CATALOG_OVERWRITE","CATALOG_DUPLICATE","PROJECT_CREATE","PROJECT_READ","PROJECT_UPDATE","PROJECT_DELETE","SCENARIO_CREATE","SCENARIO_READ","SCENARIO_UPDATE","SCENARIO_DELETE","SIGNATURE_CREATE","SIGNATURE_READ","SIGNATURE_UPDATE","SIGNATURE_DELETE","COMMERCIAL_PLAN_CREATE","COMMERCIAL_PLAN_READ","COMMERCIAL_PLAN_UPDATE","COMMERCIAL_PLAN_DELETE","WEBHOOK_CREATE","WEBHOOK_READ","WEBHOOK_UPDATE","WEBHOOK_DELETE","UNSUBSCRIBE","GPDR_CONSENT","REMINDER","INVITE","SUBMIT","LEAD_STATUS_MANAGE","SUBSCRIPTION_READ","SUBSCRIPTION_WRITE","WORKSITE_UPDATE","WORKSITE_FIELD_UPDATE"],"title":"Event"},"lead_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Id","description":"ID of the lead","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"message_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Message Id","description":"ID of the message","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"template_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Template Id","description":"ID of the template","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]}},"type":"object","required":["event","lead_id","message_id","template_id"],"title":"NotificationLead"},"ObservedKpis":{"properties":{"years":{"items":{"type":"integer"},"type":"array","title":"Years"},"mean":{"$ref":"#/components/schemas/HeatingYearKpis"},"cold_winter_year":{"type":"integer","title":"Cold Winter Year"},"cold_winter":{"$ref":"#/components/schemas/HeatingYearKpis"}},"type":"object","required":["years","mean","cold_winter_year","cold_winter"],"title":"ObservedKpis","description":"The same totals over each complete observed year at the house."},"Occupancy":{"properties":{"intermittent":{"type":"boolean","title":"Intermittent"},"vacant_days":{"type":"integer","title":"Vacant Days"},"away_heated_days":{"type":"integer","title":"Away Heated Days"},"heated_days":{"type":"integer","title":"Heated Days"}},"type":"object","required":["intermittent","vacant_days","away_heated_days","heated_days"],"title":"Occupancy","description":"Days by who is in; `intermittent` when vacant days are this many that the\nhome is lived in by stays, and heated by them rather than by the weather."},"OffPeakSlot-Input":{"properties":{"start":{"type":"string","format":"time","title":"Start"},"end":{"type":"string","format":"time","title":"End"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"}},"type":"object","required":["start","end"],"title":"OffPeakSlot","description":"Off-peak slot (24h, local time).\n\nIf `end < start` (e.g. 22:00 -> 06:00) the slot wraps around midnight.\nDownstream calculations must handle the wrap; we do not split it on input."},"OffPeakSlot-Output":{"properties":{"start":{"type":"string","title":"Start"},"end":{"type":"string","title":"End"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"}},"type":"object","required":["start","end"],"title":"OffPeakSlot","description":"Off-peak slot (24h, local time).\n\nIf `end < start` (e.g. 22:00 -> 06:00) the slot wraps around midnight.\nDownstream calculations must handle the wrap; we do not split it on input."},"OffPeakWindow":{"properties":{"start":{"type":"string","title":"Start"},"end":{"type":"string","title":"End"}},"type":"object","required":["start","end"],"title":"OffPeakWindow","description":"Off-peak hours, `HH:MM` local; `end` before `start` crosses midnight."},"OnboardingStep":{"type":"string","enum":["profil","entreprise","catalogue","cee","equipe"],"title":"OnboardingStep","description":"Persistable self-onboarding wizard steps.\n\nValues mirror remi-web-ui's OnboardingStep (keep in sync). The step ORDER\nlives on the front only; the back persists step identity and knows which\nstep is terminal. FE pseudo-steps (creation, fin) are never persisted."},"OpeningComposition":{"type":"string","enum":["transom","bottom_panel","side_light","composite_frame"],"title":"OpeningComposition"},"OpeningDirection":{"type":"string","enum":["inward_right","inward_left","outward_right","outward_left"],"title":"OpeningDirection","description":"Seen from the inside"},"OpeningMode":{"type":"string","enum":["casement","tilt_and_turn","sliding","pocket_sliding","fixed"],"title":"OpeningMode"},"OpeningStatus":{"type":"string","enum":["keep","replace","seal"],"title":"OpeningStatus","description":"What the technical visit plans for an existing window or door"},"OpeningSubtype":{"type":"string","enum":["velux","lucarne"],"title":"OpeningSubtype","description":"Subtype of opening.\nUsed only to differentiate fenetre de toit subtype from other opening subtype."},"Operator":{"type":"string","enum":["eq","ne","in","not_in","lt","lte","gt","gte","between","is_set"],"title":"Operator"},"Options-Input":{"properties":{"is_required":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Required","description":"Whether the work is required or not"},"pretax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pretax"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Title of the work to be displayed in the interface"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description of the work to be displayed in the interface"},"assets":{"anyOf":[{"items":{"$ref":"#/components/schemas/TaggedAsset_str_"},"type":"array"},{"type":"null"}],"title":"Assets","description":"Assets associated with the work"},"selected_item_references":{"anyOf":[{"items":{"$ref":"#/components/schemas/SelectedItem"},"type":"array"},{"type":"null"}],"title":"Selected Item References","description":"Housing entities (mur, baie_vitree, plancher_bas, plancher_haut) targeted by this work, each with an optional per-work surface."},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"eligible_to_mpr":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Eligible To Mpr"},"eligible_to_mpr_performance":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Eligible To Mpr Performance"},"eligible_to_ecoptz":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Eligible To Ecoptz"},"eligible_to_ecoptz_reno_globale":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Eligible To Ecoptz Reno Globale"},"ventilation":{"anyOf":[{"type":"string","enum":["df","sf_auto","sf_hygro_a","sf_hygro_b"]},{"type":"null"}],"title":"Ventilation"},"enum_type_ventilation_id":{"anyOf":[{"$ref":"#/components/schemas/TypeVentilation"},{"type":"null"}]},"tv_debits_ventilation_id":{"anyOf":[{"$ref":"#/components/schemas/TypeVentilation"},{"type":"null"}]},"hygro_type":{"anyOf":[{"type":"string","enum":["hygro_a","hygro_b","not_hygro"]},{"type":"null"}],"title":"Hygro Type"},"enum_type_generateur_ecs_id":{"anyOf":[{"$ref":"#/components/schemas/TypeGenerateurEcs"},{"type":"null"}]},"usage":{"anyOf":[{"$ref":"#/components/schemas/UsageGenerateur"},{"type":"null"}]},"volume_stockage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Volume Stockage"},"tv_pertes_stockage_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tv Pertes Stockage Id"},"ssc_with_electric_heater":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ssc With Electric Heater"},"household_size":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Household Size"},"dhw_need_40c":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dhw Need 40C"},"has_dishwasher":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Dishwasher"},"has_bathtub":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Bathtub"},"recommended_storage_volume":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Recommended Storage Volume"},"keep_existing_dhw":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Keep Existing Dhw"},"dhw_served_surface":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dhw Served Surface"},"type_generateur":{"anyOf":[{"type":"string","enum":["convecteur","radiateur","panneaux_rayonnants"]},{"type":"null"}],"title":"Type Generateur"},"type_electric_tank":{"anyOf":[{"$ref":"#/components/schemas/TypeElectricTank"},{"type":"null"}]},"storage_volume":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Storage Volume"},"enum_type_stockage_ecs_id":{"anyOf":[{"$ref":"#/components/schemas/TypeStockageEcs"},{"type":"null"}]},"position_volume_chauffe":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Position Volume Chauffe"},"presence_ventouse":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Presence Ventouse"},"cop":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cop"},"scop_ecs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scop Ecs"},"cet_type":{"anyOf":[{"$ref":"#/components/schemas/TypeCET"},{"type":"null"}]},"source_cet":{"anyOf":[{"$ref":"#/components/schemas/SourceCET"},{"type":"null"}]},"ceiling_height_cm":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ceiling Height Cm"},"is_room_over_20m2":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Room Over 20M2"},"is_heated_room":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Heated Room"},"power_rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Power Rating"},"power_product":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Power Product"},"position_volume_chauffe_stockage":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Position Volume Chauffe Stockage"},"phase":{"anyOf":[{"type":"string","enum":["mono","tri"]},{"type":"null"}],"title":"Phase"},"temp_entree_eau":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temp Entree Eau"},"temp_source_froide":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temp Source Froide"},"t_base_ete":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Base Ete","description":"Summer design outdoor temperature a unit is read at"},"temp_sortie_eau":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Temp Sortie Eau","description":"Température de sortie d'eau de la PAC en °C (valeurs autorisées: 35, 40, …, 75 par pas de 5°)"},"surface_chauffee":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Chauffee"},"t_base_nf_en_12831":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Base Nf En 12831"},"boiler_backup":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Boiler Backup"},"independent_boiler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Independent Boiler"},"dhw_heat_pump_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dhw Heat Pump Group Id"},"backup_generator_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backup Generator Reference"},"gas_boiler_included":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Gas Boiler Included"},"seer":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Seer"},"scop":{"anyOf":[{"type":"number","maximum":8.0,"exclusiveMinimum":1.0},{"type":"null"}],"title":"Scop"},"scop_35":{"anyOf":[{"type":"number","maximum":8.0,"exclusiveMinimum":1.0},{"type":"null"}],"title":"Scop 35"},"etas":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas"},"etas_35":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas 35"},"etas_55":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas 55"},"etas_65":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas 65"},"cooling":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cooling"},"mode_fonctionnement":{"anyOf":[{"$ref":"#/components/schemas/ModeFonctionnement"},{"type":"null"}]},"mode":{"anyOf":[{"$ref":"#/components/schemas/HeatPumpMode"},{"type":"null"}]},"unites_interieures":{"anyOf":[{"items":{"$ref":"#/components/schemas/argile__engine__dpe__models__etape_travaux__options__heat_pump_units__UniteInterieure-Input"},"type":"array"},{"type":"null"}],"title":"Unites Interieures"},"unites_exterieures":{"anyOf":[{"items":{"$ref":"#/components/schemas/argile__engine__dpe__models__etape_travaux__options__heat_pump_units__UniteExterieure-Input"},"type":"array"},{"type":"null"}],"title":"Unites Exterieures"},"thermostatic_valve":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Thermostatic Valve","description":"Does the system have thermostatic valves?"},"has_bizone_emitters":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Bizone Emitters"},"heat_zones":{"anyOf":[{"items":{"$ref":"#/components/schemas/HeatingZone-Input"},"type":"array"},{"type":"null"}],"title":"Heat Zones"},"refrigerant_lines":{"anyOf":[{"items":{"$ref":"#/components/schemas/RefrigerantLine-Input"},"type":"array"},{"type":"null"}],"title":"Refrigerant Lines"},"electrical_lines":{"anyOf":[{"items":{"$ref":"#/components/schemas/ElectricalLine-Input"},"type":"array"},{"type":"null"}],"title":"Electrical Lines"},"pipe_lagging_lines":{"anyOf":[{"items":{"$ref":"#/components/schemas/PipeLaggingLine-Input"},"type":"array"},{"type":"null"}],"title":"Pipe Lagging Lines"},"pac_architecture":{"anyOf":[{"$ref":"#/components/schemas/PacArchitecture"},{"type":"null"}]},"type_refrigerant":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Refrigerant"},"three_phase_upgrade":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Three Phase Upgrade"},"captage":{"anyOf":[{"$ref":"#/components/schemas/PacCaptage"},{"type":"null"}]},"cold_source_type":{"anyOf":[{"$ref":"#/components/schemas/PacColdSourceType"},{"type":"null"}]},"cold_source_temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cold Source Temperature"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"num_splits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Splits"},"num_rooms":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Rooms"},"cooled_room_references":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Cooled Room References"},"power_rating_heat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Power Rating Heat"},"power_rating_cool":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Power Rating Cool"},"split_head_targets":{"anyOf":[{"items":{"$ref":"#/components/schemas/SplitHeadTarget"},"type":"array"},{"type":"null"}],"title":"Split Head Targets"},"outdoor_groups":{"anyOf":[{"items":{"$ref":"#/components/schemas/OutdoorGroup"},"type":"array"},{"type":"null"}],"title":"Outdoor Groups"},"ducted_sizings":{"anyOf":[{"items":{"$ref":"#/components/schemas/DuctedSizing-Input"},"type":"array"},{"type":"null"}],"title":"Ducted Sizings","description":"Airflow sizing of the ducted units, recomputed on every build of the work; None without a ducted unit"},"refrigerant_checks":{"anyOf":[{"items":{"$ref":"#/components/schemas/RefrigerantCheck-Input"},"type":"array"},{"type":"null"}],"title":"Refrigerant Checks","description":"Refrigerant lines of each outdoor unit against its maker's limits, recomputed on every save; None without an outdoor unit"},"enum_type_installation_solaire_id":{"anyOf":[{"$ref":"#/components/schemas/TypeInstallationSolaire"},{"type":"null"}]},"num_windows":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Num Windows"},"openings":{"anyOf":[{"items":{"$ref":"#/components/schemas/FutureOpening-Input"},"type":"array"},{"type":"null"}],"title":"Openings","description":"Openings planned by the technical visit"},"type_vitrage":{"anyOf":[{"$ref":"#/components/schemas/TypeVitrageEnum"},{"type":"null"}]},"ujn":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ujn"},"uw":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Uw"},"sw":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Sw"},"combustible":{"anyOf":[{"type":"string","enum":["granules","buches","plaquettes"]},{"type":"null"}],"title":"Combustible"},"output_zones":{"anyOf":[{"items":{"$ref":"#/components/schemas/OutputZone"},"type":"array"},{"type":"null"}],"title":"Output Zones"},"surface":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface"},"percentage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Percentage"},"resistance_isolation":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Resistance Isolation"},"thickness":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Thickness"},"conductivity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Conductivity"},"scaffolding_surface":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scaffolding Surface"},"reveal_linear_meters":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Reveal Linear Meters"},"sill_linear_meters":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Sill Linear Meters"},"start_rail_linear_meters":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Start Rail Linear Meters"},"singular_points":{"anyOf":[{"additionalProperties":{"type":"integer"},"propertyNames":{"$ref":"#/components/schemas/SingularPointNature"},"type":"object"},{"type":"null"}],"title":"Singular Points"},"model":{"anyOf":[{"type":"string","enum":["Économique","Standard","Premium"]},{"type":"null"}],"title":"Model"},"surface_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Unit"},"surface_total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Total"},"orientation":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Orientation"},"inclinaison":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Inclinaison"},"num_modules":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Modules"},"power_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Power Unit"},"power_total":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Power Total"},"taux_autoproduction":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taux Autoproduction"},"profile_conso":{"anyOf":[{"$ref":"#/components/schemas/ProfileConso"},{"type":"null"}]},"efficiency":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Efficiency"},"panels3d":{"anyOf":[{"items":{"$ref":"#/components/schemas/SerializedPvPanel"},"type":"array"},{"type":"null"}],"title":"Panels3D","deprecated":true},"target_annual_production_kwh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Target Annual Production Kwh"},"solar_panel_configs":{"anyOf":[{"items":{"$ref":"#/components/schemas/SolarPanelConfig"},"type":"array"},{"type":"null"}],"title":"Solar Panel Configs"},"api_panel_capacity_watts":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Api Panel Capacity Watts"},"pv_groups":{"anyOf":[{"items":{"$ref":"#/components/schemas/PvGroup-Input"},"type":"array"},{"type":"null"}],"title":"Pv Groups"},"inverters":{"anyOf":[{"items":{"$ref":"#/components/schemas/Inverter-Input"},"type":"array"},{"type":"null"}],"title":"Inverters"},"installation":{"anyOf":[{"$ref":"#/components/schemas/PvInstallation-Input"},{"type":"null"}]},"battery_capacity_kwh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Capacity Kwh","description":"Capacité de stockage souhaitée (kWh) — tri-état : absent = pas d'avis (les batteries is_default du catalogue s'appliquent) ; 0 = explicitement sans batterie (les défauts sont exclus) ; > 0 = l'item BATTERIE de capacité la plus proche est sélectionné."}},"additionalProperties":true,"type":"object","title":"Options","description":"Combined options from all work types."},"Options-Output":{"additionalProperties":true,"type":"object"},"Orientation":{"type":"integer","enum":[1,2,3,4,5],"title":"Orientation"},"OriginType":{"type":"string","enum":["unknown","dpe","audit","simulation"],"title":"OriginType"},"OtherUses":{"properties":{"kwh":{"type":"number","title":"Kwh"},"cost":{"type":"number","title":"Cost"},"origin":{"$ref":"#/components/schemas/OtherUsesOrigin"}},"type":"object","required":["kwh","cost","origin"],"title":"OtherUses","description":"The uses the 3-CL leaves out, at the barème or as the meter measured them."},"OtherUsesOrigin":{"type":"string","enum":["measured","estimate"],"title":"OtherUsesOrigin"},"OutdoorGroup":{"properties":{"heat_pump_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heat Pump Group Id"},"unit_references":{"items":{"type":"string"},"type":"array","title":"Unit References","description":"References of the indoor units this outdoor unit feeds"}},"type":"object","title":"OutdoorGroup","description":"One outdoor unit of an air/air work and the indoor units it feeds."},"OutputZone":{"type":"string","enum":["zone_1","zone_2","zone_3"],"title":"OutputZone","description":"Output zones for biomass heaters."},"OuvrageSuggestion":{"properties":{"key":{"type":"string","title":"Key"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"price_ht_per_unit":{"type":"number","title":"Price Ht Per Unit","description":"Median unit price sold"},"price_low":{"type":"number","title":"Price Low","description":"First quartile of the unit price"},"price_high":{"type":"number","title":"Price High","description":"Third quartile of the unit price"},"quotes":{"type":"integer","title":"Quotes"},"signed_quotes":{"type":"integer","title":"Signed Quotes"},"frequent_with":{"anyOf":[{"$ref":"#/components/schemas/ItemType-Output"},{"type":"null"}],"description":"Equipment most of its quotes have, a rule to write once created"},"examples":{"items":{"type":"string"},"type":"array","title":"Examples"}},"type":"object","required":["key","title","price_ht_per_unit","price_low","price_high","quotes","signed_quotes","examples"],"title":"OuvrageSuggestion","description":"A line the company sells again and again that no ouvrage covers."},"Ownership":{"type":"string","enum":["PRINCIPALE","SECONDAIRE","LOCATAIRE","BAILLEUR","UNKNOWN","SCI_PRINCIPALE","SCI_BAILLEUR","PROFESSIONNEL"],"title":"Ownership","description":"Enum for the ownership type of a lead"},"PacArchitecture":{"type":"string","enum":["split","monobloc","monosplit","multisplit"],"title":"PacArchitecture","description":"`split` / `monobloc` (air/water), `monosplit` / `multisplit` (air/air, ADR-003);\na ducted unit is a form of unit, `UniteInterieure.type_split` (ADR-018)."},"PacCaptage":{"type":"string","enum":["horizontal","vertical","nappe"],"title":"PacCaptage","description":"How a ground or water PAC collects its heat."},"PacColdSourceType":{"type":"string","enum":["eau_nappe","eau_glycolee"],"title":"PacColdSourceType","description":"Cold source for water-source heat pumps.\n\nManufacturer power/COP ratings are published at a reference source\n(evaporator) temperature that depends on the cold source: groundwater\n(\"eau/eau\") is read at 10C, while brine/ground (\"eau glycolee/sol\",\ngeothermie) is read at 0C."},"PacCoverageRequest":{"properties":{"type_travaux":{"$ref":"#/components/schemas/TypeTravaux"},"water_temperature":{"anyOf":[{"type":"integer","maximum":90.0,"minimum":20.0},{"type":"null"}],"title":"Water Temperature","description":"Water regime the units are read at, in °C, instead of the scenario's"},"t_cut_off":{"anyOf":[{"type":"number","maximum":20.0,"minimum":-40.0},{"type":"null"}],"title":"T Cut Off","description":"Cut-off of every unit, in °C: the need is read at max(T_base, it); ignored for ground and water PACs"},"cold_source_temperature":{"anyOf":[{"type":"number","maximum":40.0,"minimum":-20.0},{"type":"null"}],"title":"Cold Source Temperature","description":"Cold source the units are read at, in °C, instead of the product's or the work type's; ground and water PACs only"},"power":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Power","description":"Power at T_base, in kW, instead of the units' one"}},"type":"object","required":["type_travaux"],"title":"PacCoverageRequest","description":"The sizing note's overrides of a PAC work's winter coverage."},"PaginatedArticles":{"properties":{"offset":{"type":"integer","minimum":0.0,"title":"Offset","description":"Number of items skipped"},"limit":{"type":"integer","minimum":1.0,"title":"Limit","description":"Number of items per page"},"total":{"type":"integer","minimum":0.0,"title":"Total","description":"Total number of items"},"items":{"items":{"$ref":"#/components/schemas/CatalogArticleWithUsage"},"type":"array","title":"Items"}},"type":"object","required":["offset","limit","total","items"],"title":"PaginatedArticles","description":"Page of catalog articles with usage counts."},"PaginatedArticlesWithQuantity":{"properties":{"offset":{"type":"integer","minimum":0.0,"title":"Offset","description":"Number of items skipped"},"limit":{"type":"integer","minimum":1.0,"title":"Limit","description":"Number of items per page"},"total":{"type":"integer","minimum":0.0,"title":"Total","description":"Total number of items"},"items":{"items":{"$ref":"#/components/schemas/CatalogArticleWithQuantity"},"type":"array","title":"Items"}},"type":"object","required":["offset","limit","total","items"],"title":"PaginatedArticlesWithQuantity","description":"Page of articles linked to a catalog item, with quantity."},"PaginatedLinkedItems":{"properties":{"offset":{"type":"integer","minimum":0.0,"title":"Offset","description":"Number of items skipped"},"limit":{"type":"integer","minimum":1.0,"title":"Limit","description":"Number of items per page"},"total":{"type":"integer","minimum":0.0,"title":"Total","description":"Total number of items"},"items":{"items":{"$ref":"#/components/schemas/LinkedItemRead"},"type":"array","title":"Items"}},"type":"object","required":["offset","limit","total","items"],"title":"PaginatedLinkedItems","description":"Page of items linked to a given article."},"PanneauxPv":{"properties":{"modele":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Modele","description":"modèle de panneaux photovoltaïque","examples":["Économique","Standard","Premium"],"export_to_dpe":false},"puissance_totale_capteurs":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Puissance Totale Capteurs","description":"puissance totale de capteurs photovoltaïque. Dans le cas d'une installation collective de PV pour un DPE appartement, la puissance est celle proratisée (kWc)","export_to_dpe":false},"surface_totale_capteurs":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Totale Capteurs","description":"surface totale de capteurs photovoltaïque. Dans le cas d'une installation collective de PV pour un DPE appartement, la surface est celle proratisée"},"ratio_virtualisation":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Ratio Virtualisation","description":"ratio de virtualisation de l'installation PV collective lorsque l'on rapporte des usages collectifs à un appartement (a = Shabappartement/Shabtotale)"},"nombre_module":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Nombre Module","description":"nombre de modules photovoltaïque standards posés."},"tv_coef_orientation_pv_id":{"anyOf":[{"type":"integer","maximum":20.0,"minimum":1.0},{"type":"null"}],"title":"Tv Coef Orientation Pv Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient d'orientation des panneaux photovoltaïques"},"enum_orientation_pv_id":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Enum Orientation Pv Id","description":"orientation des panneaux photovoltaïques"},"enum_inclinaison_pv_id":{"anyOf":[{"type":"integer","maximum":4.0,"minimum":1.0},{"type":"null"}],"title":"Enum Inclinaison Pv Id","description":"inclinaison des panneaux photovoltaïques"}},"type":"object","title":"PanneauxPv"},"PanneauxPvCollection":{"properties":{"panneaux_pv":{"items":{"anyOf":[{"$ref":"#/components/schemas/PanneauxPv"},{"type":"null"}]},"type":"array","title":"Panneaux Pv"}},"type":"object","title":"PanneauxPvCollection"},"PartnerAnswerWrite":{"properties":{"data":{"additionalProperties":true,"type":"object","title":"Data"}},"additionalProperties":false,"type":"object","required":["data"],"title":"PartnerAnswerWrite","description":"The whole answer document a partner writes on one of its leads."},"PartnerClient":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"customer_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Number"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"Numéro de téléphone","examples":["+33612345678"]},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Output"},{"type":"null"}]}},"type":"object","required":["id"],"title":"PartnerClient","description":"A client's identity and contact details, as a partner sees them."},"PartnerDocument":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"type":{"anyOf":[{"$ref":"#/components/schemas/DocumentInstanceType"},{"type":"null"}]},"status":{"type":"string","enum":["draft","pending","sent","signed","rejected"],"title":"Status"},"lead_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Id"},"quote_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Quote Id"},"invoice_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Invoice Id"},"credit_note_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Credit Note Id"},"commercial_plan_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Commercial Plan Id"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"},"answer_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Answer Id"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","title","type","status","lead_id","quote_id","invoice_id","credit_note_id","commercial_plan_id","project_id","answer_id","scenario_id","created_at","updated_at"],"title":"PartnerDocument","description":"A document without `html_url`, which embeds a lead token."},"PartnerDocumentBundleCreate":{"properties":{"name":{"type":"string","title":"Name"},"lead_id":{"type":"string","format":"uuid","title":"Lead Id"},"bundle_type":{"$ref":"#/components/schemas/DocumentInstanceType","default":"custom"},"quote_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Quote Ids"},"invoice_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Invoice Ids"},"document_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Document Ids"}},"additionalProperties":false,"type":"object","required":["name","lead_id"],"title":"PartnerDocumentBundleCreate","description":"A bundle as a key creates it: `status` and `merged_pdf_url` are ours."},"PartnerDocumentCreate":{"properties":{"title":{"type":"string","title":"Title"},"type":{"$ref":"#/components/schemas/DocumentInstanceType"},"lead_id":{"type":"string","format":"uuid","title":"Lead Id"},"quote_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Quote Id"},"invoice_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Invoice Id"},"credit_note_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Credit Note Id"},"commercial_plan_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Commercial Plan Id"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"},"answer_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Answer Id"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"}},"additionalProperties":false,"type":"object","required":["title","type","lead_id"],"title":"PartnerDocumentCreate","description":"What a key may set: the stored URLs stay server-side, or a key could name\nany object of our buckets and have it presigned."},"PartnerDocumentGenerateResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"},"type":{"anyOf":[{"$ref":"#/components/schemas/DocumentInstanceType"},{"type":"null"}]},"status":{"type":"string","enum":["draft","pending","sent","signed","rejected"],"title":"Status"},"lead_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Id"},"quote_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Quote Id"},"invoice_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Invoice Id"},"credit_note_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Credit Note Id"},"commercial_plan_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Commercial Plan Id"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"},"answer_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Answer Id"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"generation":{"$ref":"#/components/schemas/DocumentGeneration"}},"type":"object","required":["id","title","type","status","lead_id","quote_id","invoice_id","credit_note_id","commercial_plan_id","project_id","answer_id","scenario_id","created_at","updated_at","generation"],"title":"PartnerDocumentGenerateResponse"},"PartnerInvoice":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"status":{"type":"string","enum":["draft","pending","completed","sent","accepted","paid","delayed","error","to_emit","to_pay","partially_paid","abandoned"],"title":"Status"},"type":{"type":"string","title":"Type","description":"Acompte, Situation n°X, Solde, or the custom label"},"branch_id":{"type":"string","format":"uuid","title":"Branch Id"},"client":{"$ref":"#/components/schemas/PartnerClient"},"quote_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Quote Id"},"quote_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quote Reference"},"price_excl_tax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Excl Tax","description":"What this invoice bills, excluding tax"},"price_incl_tax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Incl Tax","description":"What this invoice bills, including tax"},"remaining_to_pay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Remaining To Pay","description":"Billed including tax, minus the recorded payments"},"payments":{"items":{"$ref":"#/components/schemas/PartnerPayment"},"type":"array","title":"Payments","default":[]},"issued_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Issued At"},"due_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Due At"},"paid_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Paid At"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","status","type","branch_id","client","created_at","updated_at"],"title":"PartnerInvoice","description":"An invoice read by a partner key; amounts are null while it has no pricing."},"PartnerInvoicePage":{"properties":{"offset":{"type":"integer","minimum":0.0,"title":"Offset","description":"Number of items skipped"},"limit":{"type":"integer","minimum":1.0,"title":"Limit","description":"Number of items per page"},"total":{"type":"integer","minimum":0.0,"title":"Total","description":"Total number of items"},"items":{"items":{"$ref":"#/components/schemas/PartnerInvoice"},"type":"array","title":"Items"}},"type":"object","required":["offset","limit","total","items"],"title":"PartnerInvoicePage","description":"A page of a partner's invoices; `total` counts every invoice past the bound."},"PartnerLead":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"customer_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Customer Number"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"Numéro de téléphone","examples":["+33612345678"]},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Output"},{"type":"null"}]},"branch_id":{"type":"string","format":"uuid","title":"Branch Id"},"status":{"$ref":"#/components/schemas/PartnerLeadStatus"},"status_changed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Status Changed At"},"sales_users":{"items":{"$ref":"#/components/schemas/PartnerUser"},"type":"array","title":"Sales Users","description":"Sales users in display order; the first is the principal","default":[]},"lead_origin":{"anyOf":[{"$ref":"#/components/schemas/PartnerLeadOrigin"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","branch_id","status","created_at","updated_at"],"title":"PartnerLead","description":"A lead read by a partner key; the list must preload the user links' users."},"PartnerLeadOrigin":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"}},"type":"object","required":["id","name"],"title":"PartnerLeadOrigin","description":"Where a lead came from, as the branch named it."},"PartnerLeadPage":{"properties":{"offset":{"type":"integer","minimum":0.0,"title":"Offset","description":"Number of items skipped"},"limit":{"type":"integer","minimum":1.0,"title":"Limit","description":"Number of items per page"},"total":{"type":"integer","minimum":0.0,"title":"Total","description":"Total number of items"},"items":{"items":{"$ref":"#/components/schemas/PartnerLead"},"type":"array","title":"Items"}},"type":"object","required":["offset","limit","total","items"],"title":"PartnerLeadPage","description":"A page of a partner's leads; `total` counts every lead past the bound."},"PartnerLeadStatus":{"properties":{"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"name":{"type":"string","title":"Name"},"group":{"$ref":"#/components/schemas/LeadStatusGroup"}},"type":"object","required":["name","group"],"title":"PartnerLeadStatus","description":"A lead's pipeline status."},"PartnerPayment":{"properties":{"paid_at":{"type":"string","format":"date-time","title":"Paid At"},"amount":{"type":"number","title":"Amount"},"payment_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Method"}},"type":"object","required":["paid_at","amount"],"title":"PartnerPayment","description":"One payment recorded against an invoice."},"PartnerQuote":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"status":{"type":"string","enum":["draft","pending","completed","sent","accepted","paid","delayed","error","to_emit","to_pay","partially_paid","abandoned"],"title":"Status"},"branch_id":{"type":"string","format":"uuid","title":"Branch Id"},"client":{"$ref":"#/components/schemas/PartnerClient"},"sales_user":{"anyOf":[{"$ref":"#/components/schemas/PartnerUser"},{"type":"null"}],"description":"The user the quote is assigned to"},"price_excl_tax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Excl Tax","description":"Total excluding tax, net of every discount"},"price_incl_tax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Incl Tax","description":"Total including tax, net of every discount"},"total_discounts_excl_tax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Discounts Excl Tax","description":"Line and global discounts, excluding tax"},"net_to_pay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net To Pay","description":"What the client owes once subsidies are deducted"},"lines":{"items":{"$ref":"#/components/schemas/PartnerQuoteLine"},"type":"array","title":"Lines","default":[]},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Sent At","description":"When the quote was first sent"},"accepted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Accepted At","description":"When the client signed"},"expired_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expired At"}},"type":"object","required":["id","status","branch_id","client","created_at","updated_at"],"title":"PartnerQuote","description":"A quote read by a partner key; amounts are null while it has no pricing."},"PartnerQuoteLine":{"properties":{"work_type":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}],"description":"Work type the line belongs to, null for free lines"},"work_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Work Title"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"quantity":{"type":"number","title":"Quantity"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"price_excl_tax_per_unit":{"type":"number","title":"Price Excl Tax Per Unit"},"tax_rate":{"type":"number","title":"Tax Rate"},"discount_excl_tax":{"type":"number","title":"Discount Excl Tax"},"price_excl_tax":{"type":"number","title":"Price Excl Tax","description":"Net of the line discount"},"is_optional":{"type":"boolean","title":"Is Optional","description":"Shown to the client but left out of every total"}},"type":"object","required":["title","quantity","price_excl_tax_per_unit","tax_rate","discount_excl_tax","price_excl_tax","is_optional"],"title":"PartnerQuoteLine","description":"One line of a quote, under the work it belongs to."},"PartnerQuotePage":{"properties":{"offset":{"type":"integer","minimum":0.0,"title":"Offset","description":"Number of items skipped"},"limit":{"type":"integer","minimum":1.0,"title":"Limit","description":"Number of items per page"},"total":{"type":"integer","minimum":0.0,"title":"Total","description":"Total number of items"},"items":{"items":{"$ref":"#/components/schemas/PartnerQuote"},"type":"array","title":"Items"}},"type":"object","required":["offset","limit","total","items"],"title":"PartnerQuotePage","description":"A page of a partner's quotes; `total` counts every quote past the bound."},"PartnerUser":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","required":["id"],"title":"PartnerUser","description":"An Argile user, as a partner sees it."},"PennylaneInvoiceSyncRead":{"properties":{"delivery_status":{"type":"string","enum":["pending","succeeded","failed"],"title":"Delivery Status"},"pennylane_invoice_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pennylane Invoice Id"},"pennylane_invoice_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pennylane Invoice Number"},"pennylane_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pennylane Status"},"pennylane_paid":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pennylane Paid"},"e_invoicing_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"E Invoicing Status"},"e_invoicing_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"E Invoicing Reason"},"synced_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Synced At"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"}},"type":"object","required":["delivery_status"],"title":"PennylaneInvoiceSyncRead","description":"State exposed to invoice lists; UI owns the French badge labels."},"PeriodeConstruction":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10],"title":"PeriodeConstruction"},"PeriodeInstallationEmetteur":{"type":"integer","enum":[1,2,3],"title":"PeriodeInstallationEmetteur"},"PeriodeInstallationFr":{"type":"integer","enum":[1,2,3],"title":"PeriodeInstallationFr"},"PeriodeIsolationEnum":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10],"title":"PeriodeIsolationEnum"},"Permission":{"type":"string","enum":["client.read","client.write","sale.read","sale.write","quote.read","billing.read","billing.write","worksite.manage","worksite.field","team.manage","company.configure","tasks.manage"],"title":"Permission","description":"What a role lets a member do; ROLE_PERMISSIONS maps roles onto them."},"PictoTravaux":{"type":"integer","enum":[0,1,2],"title":"PictoTravaux"},"Piece-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"function":{"anyOf":[{"$ref":"#/components/schemas/RoomFunction"},{"type":"null"}],"description":"Fonction de la pièce (cuisine, salon, ...)"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Nom d'affichage de la pièce"}},"type":"object","title":"Piece","description":"Pièce dessinée à main levée sur le cadastre pour le projet air/air\n(géométrie dans `multi_polygon`)."},"PieceCollection":{"properties":{"piece":{"items":{"$ref":"#/components/schemas/argile__engine__dpe__models__piece__Piece"},"type":"array","title":"Piece"}},"type":"object","required":["piece"],"title":"PieceCollection"},"PipeLaggingLine-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"length":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Length","description":"Length of the pipe lagging line"}},"type":"object","title":"PipeLaggingLine","description":"Documentation model for a pipe lagging line."},"PipeLaggingLine-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Output"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Output"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"length":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Length","description":"Length of the pipe lagging line"}},"type":"object","title":"PipeLaggingLine","description":"Documentation model for a pipe lagging line."},"PlanCode":{"type":"string","enum":["sales","support","full","decouverte"],"title":"PlanCode"},"PlancherBas":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/argile__engine__dpe__models__envelop__plancher_bas__DonneeEntree"},"donnee_intermediaire":{"$ref":"#/components/schemas/argile__engine__dpe__models__envelop__plancher_bas__DonneeIntermediaire"}},"type":"object","required":["donnee_entree"],"title":"PlancherBas"},"PlancherBasCollection":{"properties":{"plancher_bas":{"items":{"$ref":"#/components/schemas/PlancherBas"},"type":"array","title":"Plancher Bas","description":"Liste des planchers bas"}},"type":"object","title":"PlancherBasCollection"},"PlancherHaut":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/argile__engine__dpe__models__envelop__plancher_haut__DonneeEntree"},"donnee_intermediaire":{"$ref":"#/components/schemas/argile__engine__dpe__models__envelop__plancher_haut__DonneeIntermediaire"}},"type":"object","required":["donnee_entree"],"title":"PlancherHaut"},"PlancherHautCollection":{"properties":{"plancher_haut":{"items":{"$ref":"#/components/schemas/PlancherHaut"},"type":"array","title":"Plancher Haut","description":"Liste des planchers hauts"}},"type":"object","title":"PlancherHautCollection"},"PlasterboardType":{"type":"string","enum":["standard","moisture_resistant","fire_resistant","acoustic","air_purifying","acoustic_perforated","other"],"title":"PlasterboardType","description":"Plasterboard facing an interior insulation, by use rather than brand."},"PlenumCandidate":{"properties":{"line":{"$ref":"#/components/schemas/CatalogItemSelected-Output"},"outlets":{"type":"integer","title":"Outlets"},"issues":{"items":{"$ref":"#/components/schemas/PlenumIssue"},"type":"array","title":"Issues"}},"type":"object","required":["line","outlets","issues"],"title":"PlenumCandidate","description":"A supply plenum of the catalog, and what keeps it from fitting the network."},"PlenumIssue":{"type":"string","enum":["too_few_spigots","diameter_mismatch"],"title":"PlenumIssue"},"PlenumSide":{"type":"string","enum":["soufflage","reprise"],"title":"PlenumSide","description":"Side of the ducted network a plenum sits on."},"PlenumSpigots":{"properties":{"diameter":{"type":"number","title":"Diameter"},"count":{"type":"integer","minimum":1.0,"title":"Count","default":1}},"type":"object","required":["diameter"],"title":"PlenumSpigots","description":"Spigots of one diameter on a plenum."},"PolygonType":{"type":"string","enum":["MultiPolygon","Line","Polygon"],"title":"PolygonType","description":"Type of polygon."},"PontThermique":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/argile__engine__dpe__models__envelop__pont_thermique__DonneeEntree"},"donnee_intermediaire":{"$ref":"#/components/schemas/argile__engine__dpe__models__envelop__pont_thermique__DonneeIntermediaire"}},"type":"object","required":["donnee_entree"],"title":"PontThermique"},"PontThermiqueCollection":{"properties":{"pont_thermique":{"items":{"$ref":"#/components/schemas/PontThermique"},"type":"array","title":"Pont Thermique"}},"type":"object","title":"PontThermiqueCollection"},"PoolStep":{"type":"string","enum":["catalog","preferred","hybridation","dhw_usage","outdoor_temperature","flow_temperature","ducted","cet_architecture","cet_source","combustible","output_zones"],"title":"PoolStep","description":"A selection filter, named for what the products it keeps have in common."},"Porte":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/argile__engine__dpe__models__envelop__porte__DonneeEntree"},"donnee_intermediaire":{"$ref":"#/components/schemas/argile__engine__dpe__models__envelop__porte__DonneeIntermediaire"}},"type":"object","required":["donnee_entree"],"title":"Porte"},"PorteCollection":{"properties":{"porte":{"items":{"$ref":"#/components/schemas/Porte"},"type":"array","title":"Porte","description":"Liste des portes"}},"type":"object","title":"PorteCollection"},"PosteHeatLoss":{"properties":{"poste":{"$ref":"#/components/schemas/HeatLossPoste"},"h":{"type":"number","title":"H","description":"Heat loss coefficient in W/K, after works and déperdition override, on the share of the dwelling the work heats"},"extent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Extent","description":"Surface in m² (length in m for thermal bridges) on the share of the dwelling the work heats; None for ventilation"},"coefficient":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Coefficient","description":"Equivalent U in W/m².K (Ψ in W/m.K): h / extent, the dwelling's whatever share is heated; None without extent"}},"type":"object","required":["poste","h"],"title":"PosteHeatLoss","description":"One poste of the need: its share adds up to the coefficients above."},"PowerAccessCreate":{"properties":{"electricity_prm":{"anyOf":[{"type":"string","pattern":"^\\d{14}$"},{"type":"null"}],"title":"Electricity Prm","description":"ENEDIS PRM (14 digits), pre-filled for the customer"}},"additionalProperties":false,"type":"object","title":"PowerAccessCreate","description":"What the pro enters to ask the customer for their ENEDIS data."},"PowerAccessStatus":{"properties":{"state":{"anyOf":[{"type":"string","const":"awaiting_consent"},{"$ref":"#/components/schemas/MeterAccessStateEnum"}],"title":"State"},"prm":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prm"},"consent_link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Consent Link"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"link_sent":{"anyOf":[{"$ref":"#/components/schemas/PowerConsentLinkSent"},{"type":"null"}]},"link_expires_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Link Expires At"}},"type":"object","required":["state","prm","consent_link","requested_at"],"title":"PowerAccessStatus","description":"Where the lead's request for electricity data stands."},"PowerConsentLinkSend":{"properties":{"channel":{"$ref":"#/components/schemas/ProviderChannel"},"recipient":{"type":"string","maxLength":255,"minLength":1,"title":"Recipient","description":"French mobile number for sms, address for email"}},"additionalProperties":false,"type":"object","required":["channel","recipient"],"title":"PowerConsentLinkSend","description":"Where the pro sends the consent link: a mobile by SMS, or an e-mail."},"PowerConsentLinkSent":{"properties":{"channel":{"$ref":"#/components/schemas/ProviderChannel"},"recipient":{"type":"string","title":"Recipient"},"sent_at":{"type":"string","format":"date-time","title":"Sent At"}},"type":"object","required":["channel","recipient","sent_at"],"title":"PowerConsentLinkSent","description":"The last send of the consent link: an E.164 number or an e-mail."},"PowerConsumption":{"properties":{"prm":{"type":"string","title":"Prm"},"source":{"type":"string","enum":["daily_energy","load_curve"],"title":"Source"},"meter_access_id":{"type":"string","format":"uuid","title":"Meter Access Id"},"affaire_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Affaire Id"},"date_debut":{"type":"string","format":"date","title":"Date Debut"},"date_fin":{"type":"string","format":"date","title":"Date Fin"},"first_point_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"First Point At"},"last_point_at":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Last Point At"},"points_count":{"type":"integer","title":"Points Count"},"energie_kwh_total":{"type":"number","title":"Energie Kwh Total"},"monthly_average_kwh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Monthly Average Kwh"},"months":{"items":{"$ref":"#/components/schemas/PowerMonth"},"type":"array","title":"Months"},"fetched_at":{"type":"string","format":"date-time","title":"Fetched At"}},"type":"object","required":["prm","source","meter_access_id","affaire_id","date_debut","date_fin","first_point_at","last_point_at","points_count","energie_kwh_total","monthly_average_kwh","months","fetched_at"],"title":"PowerConsumption","description":"What the pro and the customer see: the monthly view of their electricity."},"PowerMonth":{"properties":{"month":{"type":"string","title":"Month"},"energie_kwh":{"type":"number","title":"Energie Kwh"}},"type":"object","required":["month","energie_kwh"],"title":"PowerMonth","description":"Energy of a calendar month, summed from the load curve."},"Predicate":{"properties":{"type":{"type":"string","const":"predicate","title":"Type","default":"predicate"},"fact":{"type":"string","title":"Fact"},"operator":{"$ref":"#/components/schemas/Operator"},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"items":{"type":"string"},"type":"array"},{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Value"}},"additionalProperties":false,"type":"object","required":["fact","operator"],"title":"Predicate"},"Prefer-Input":{"properties":{"type":{"type":"string","const":"prefer","title":"Type","default":"prefer"},"slot":{"$ref":"#/components/schemas/SelectionSlot"},"predicate":{"oneOf":[{"$ref":"#/components/schemas/Predicate"},{"$ref":"#/components/schemas/AllOf-Input"},{"$ref":"#/components/schemas/AnyOf-Input"},{"$ref":"#/components/schemas/NotOf-Input"}],"title":"Predicate","discriminator":{"propertyName":"type","mapping":{"all":"#/components/schemas/AllOf-Input","any":"#/components/schemas/AnyOf-Input","not":"#/components/schemas/NotOf-Input","predicate":"#/components/schemas/Predicate"}}}},"additionalProperties":false,"type":"object","required":["slot","predicate"],"title":"Prefer","description":"Ranks first the slot's candidates meeting the predicate; a wish, not a filter."},"Prefer-Output":{"properties":{"type":{"type":"string","const":"prefer","title":"Type","default":"prefer"},"slot":{"$ref":"#/components/schemas/SelectionSlot"},"predicate":{"oneOf":[{"$ref":"#/components/schemas/Predicate"},{"$ref":"#/components/schemas/AllOf-Output"},{"$ref":"#/components/schemas/AnyOf-Output"},{"$ref":"#/components/schemas/NotOf-Output"}],"title":"Predicate","discriminator":{"propertyName":"type","mapping":{"all":"#/components/schemas/AllOf-Output","any":"#/components/schemas/AnyOf-Output","not":"#/components/schemas/NotOf-Output","predicate":"#/components/schemas/Predicate"}}}},"additionalProperties":false,"type":"object","required":["slot","predicate"],"title":"Prefer","description":"Ranks first the slot's candidates meeting the predicate; a wish, not a filter."},"PressureLoss":{"properties":{"kind":{"$ref":"#/components/schemas/PressureLossKind","description":"Kind of pressure loss"},"value":{"type":"number","title":"Value","description":"Pressure loss (Pa)"}},"type":"object","required":["kind","value"],"title":"PressureLoss","description":"One pressure loss of the most unfavourable airflow path."},"PressureLossKind":{"type":"string","enum":["duct","plenum","outlet","return","margin"],"title":"PressureLossKind"},"Price-Input":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/BaseOptions-Input"},{"type":"null"}]},"is_placeholder":{"type":"boolean","title":"Is Placeholder","description":"True if price was auto-generated because no catalog items were found","default":false},"eligible_to_mpr":{"type":"boolean","title":"Eligible To Mpr","description":"Is the work eligible to the MPR subsidy?","default":true},"eligible_to_mpr_performance":{"type":"boolean","title":"Eligible To Mpr Performance","description":"Is the work eligible to the MPR performance subsidy?","default":true},"eligible_to_ecoptz":{"type":"boolean","title":"Eligible To Ecoptz","description":"Is the work eligible to the Eco PTZ?","default":true},"eligible_to_ecoptz_reno_globale":{"type":"boolean","title":"Eligible To Ecoptz Reno Globale","description":"Is the work eligible to the Eco PTZ for high perf reno?","default":true},"extra_options":{"anyOf":[{"items":{"$ref":"#/components/schemas/ExtraOptions-Input"},"type":"array"},{"type":"null"}],"title":"Extra Options"},"assets":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Assets","description":"List of URI assets for the technical visit"},"subcontractor_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Subcontractor Ids","default":[]},"subcontracting_scope":{"anyOf":[{"$ref":"#/components/schemas/SubcontractingScope"},{"type":"null"}],"description":"What the subcontractors do; null follows the work type"},"is_editable":{"type":"boolean","title":"Is Editable","description":"Whether this price item can be modified or deleted","default":true}},"type":"object","title":"Price","description":"A price item"},"Price-Output":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"data":{"anyOf":[{"$ref":"#/components/schemas/BaseOptions-Output"},{"type":"null"}]},"is_placeholder":{"type":"boolean","title":"Is Placeholder","description":"True if price was auto-generated because no catalog items were found","default":false},"eligible_to_mpr":{"type":"boolean","title":"Eligible To Mpr","description":"Is the work eligible to the MPR subsidy?","default":true},"eligible_to_mpr_performance":{"type":"boolean","title":"Eligible To Mpr Performance","description":"Is the work eligible to the MPR performance subsidy?","default":true},"eligible_to_ecoptz":{"type":"boolean","title":"Eligible To Ecoptz","description":"Is the work eligible to the Eco PTZ?","default":true},"eligible_to_ecoptz_reno_globale":{"type":"boolean","title":"Eligible To Ecoptz Reno Globale","description":"Is the work eligible to the Eco PTZ for high perf reno?","default":true},"extra_options":{"anyOf":[{"items":{"$ref":"#/components/schemas/ExtraOptions-Output"},"type":"array"},{"type":"null"}],"title":"Extra Options"},"assets":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Assets","description":"List of URI assets for the technical visit"},"subcontractor_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Subcontractor Ids","default":[]},"subcontracting_scope":{"anyOf":[{"$ref":"#/components/schemas/SubcontractingScope"},{"type":"null"}],"description":"What the subcontractors do; null follows the work type"},"is_editable":{"type":"boolean","title":"Is Editable","description":"Whether this price item can be modified or deleted","default":true}},"type":"object","title":"Price","description":"A price item"},"PriceSuggestion":{"properties":{"key":{"type":"string","title":"Key"},"item_id":{"type":"string","format":"uuid","title":"Item Id"},"title":{"type":"string","title":"Title"},"catalog_price":{"type":"number","title":"Catalog Price"},"quoted_price":{"type":"number","title":"Quoted Price","description":"Median unit price in signed quotes"},"gap":{"type":"number","title":"Gap","description":"(quoted - catalog) / catalog"},"signed_quotes":{"type":"integer","title":"Signed Quotes"},"examples":{"items":{"type":"string"},"type":"array","title":"Examples"}},"type":"object","required":["key","item_id","title","catalog_price","quoted_price","gap","signed_quotes","examples"],"title":"PriceSuggestion","description":"An ouvrage the company sells at another price than the catalog's."},"PricesDisplay":{"type":"string","enum":["BRANCH_DEFAULT","HIDDEN","SHOWN"],"title":"PricesDisplay","description":"Whether a scenario shows its prices: BRANCH_DEFAULT follows the branch's\nshow_prices_by_default, HIDDEN and SHOWN are the user's choice."},"PricingMode":{"type":"string","enum":["fixed","percentage_ht","percentage_ttc"],"title":"PricingMode"},"PriorityType":{"type":"string","enum":["comfort_summer","comfort_winter","energy_saving","environment","valeur_verte"],"title":"PriorityType"},"PrmSearch":{"properties":{"nom":{"type":"string","maxLength":255,"minLength":3,"title":"Nom","description":"Holder's last name or company name, 3 characters or more"}},"additionalProperties":false,"type":"object","required":["nom"],"title":"PrmSearch","description":"The name under which the contract is held at ENEDIS, to find the PRM."},"PrmSearchResult":{"properties":{"prm":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prm"}},"type":"object","required":["prm"],"title":"PrmSearchResult","description":"The one PRM ENEDIS knows at the lead's address under that name, if any."},"Product-Input":{"properties":{"type":{"type":"string","const":"product","title":"Type","default":"product"},"factors":{"items":{"oneOf":[{"$ref":"#/components/schemas/Constant"},{"$ref":"#/components/schemas/Driver"},{"$ref":"#/components/schemas/Product-Input"},{"$ref":"#/components/schemas/Ceil-Input"},{"$ref":"#/components/schemas/CatalogDefault"}],"discriminator":{"propertyName":"type","mapping":{"catalog_default":"#/components/schemas/CatalogDefault","ceil":"#/components/schemas/Ceil-Input","constant":"#/components/schemas/Constant","driver":"#/components/schemas/Driver","product":"#/components/schemas/Product-Input"}}},"type":"array","title":"Factors"}},"additionalProperties":false,"type":"object","required":["factors"],"title":"Product"},"Product-Output":{"properties":{"type":{"type":"string","const":"product","title":"Type","default":"product"},"factors":{"items":{"oneOf":[{"$ref":"#/components/schemas/Constant"},{"$ref":"#/components/schemas/Driver"},{"$ref":"#/components/schemas/Product-Output"},{"$ref":"#/components/schemas/Ceil-Output"},{"$ref":"#/components/schemas/CatalogDefault"}],"discriminator":{"propertyName":"type","mapping":{"catalog_default":"#/components/schemas/CatalogDefault","ceil":"#/components/schemas/Ceil-Output","constant":"#/components/schemas/Constant","driver":"#/components/schemas/Driver","product":"#/components/schemas/Product-Output"}}},"type":"array","title":"Factors"}},"additionalProperties":false,"type":"object","required":["factors"],"title":"Product"},"ProductCostEstimate":{"properties":{"total_ht":{"type":"number","title":"Total Ht"},"margin_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Margin Ht","description":"None: a line has no price or no purchase cost"},"minutes":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Minutes","description":"Labour time of the lines; None: a line's is unknown"},"margin_per_hour_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Margin Per Hour Ht","description":"The margin over the labour time; None without either"},"excluded":{"type":"boolean","title":"Excluded","description":"The rules leave no line: the product is not offered"},"lines":{"items":{"$ref":"#/components/schemas/CostLine"},"type":"array","title":"Lines"},"assumptions":{"items":{"$ref":"#/components/schemas/CostAssumption"},"type":"array","title":"Assumptions"},"unassumed_facts":{"items":{"type":"string"},"type":"array","title":"Unassumed Facts","description":"Work facts this product's rules read and nothing assumes: those rules leave the estimate unchanged"}},"type":"object","required":["total_ht","margin_ht","minutes","margin_per_hour_ht","excluded","lines","assumptions","unassumed_facts"],"title":"ProductCostEstimate"},"ProductCostSummariesQuery":{"properties":{"item_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":100,"minItems":1,"title":"Item Ids","description":"The products on screen"}},"type":"object","required":["item_ids"],"title":"ProductCostSummariesQuery"},"ProductCostSummary":{"properties":{"item_id":{"type":"string","format":"uuid","title":"Item Id"},"total_ht":{"type":"number","title":"Total Ht"},"excluded":{"type":"boolean","title":"Excluded","description":"The rules leave no line: the product is not offered"},"margin_per_hour_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Margin Per Hour Ht","description":"None without a cost or a known labour time on every line"}},"type":"object","required":["item_id","total_ht","excluded","margin_per_hour_ht"],"title":"ProductCostSummary","description":"What a list of products shows of an estimate."},"ProductionElec":{"properties":{"profile_conso":{"$ref":"#/components/schemas/ProfileConso","description":"profil de consommation d'électricité","default":"dpe"}},"type":"object","title":"ProductionElec"},"ProductionElecEnr":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/argile__engine__dpe__models__prod_enr__DonneeEntree","default":{"description":"No PV installation","reference":"NA","presence_production_pv":false,"enum_type_enr_id":1,"enum_etat_composant_id":1}},"donnee_intermediaire":{"$ref":"#/components/schemas/argile__engine__dpe__models__prod_enr__DonneeIntermediaire"},"panneaux_pv_collection":{"$ref":"#/components/schemas/PanneauxPvCollection","default":{"panneaux_pv":[]}},"production_elec":{"$ref":"#/components/schemas/ProductionElec","default":{"profile_conso":"dpe"}}},"type":"object","title":"ProductionElecEnr"},"ProductionElectricite":{"properties":{"production_pv":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Production Pv","description":"production d'électricité photovoltaique (kWhep/an)","readOnly":true},"conso_elec_ac":{"type":"number","title":"Conso Elec Ac","description":"électricité photovoltaique autoconsommée (kWhep/an)","readOnly":true},"conso_elec_ac_ch":{"type":"number","title":"Conso Elec Ac Ch","description":"électricité photovoltaique autoconsommée pour l'usage chauffage (les consommations finales sont déduites de cette valeur) (kWhep/an)","readOnly":true},"conso_elec_ac_ecs":{"type":"number","title":"Conso Elec Ac Ecs","description":"électricité photovoltaique autoconsommée pour l'usage ecs (les consommations finales sont déduites de cette valeur) (kWhep/an)","readOnly":true},"conso_elec_ac_fr":{"type":"number","title":"Conso Elec Ac Fr","description":"électricité photovoltaique autoconsommée pour l'usage climatisation (les consommations finales sont déduites de cette valeur) (kWhep/an)","readOnly":true},"conso_elec_ac_eclairage":{"type":"number","title":"Conso Elec Ac Eclairage","description":"électricité photovoltaique autoconsommée pour l'usage eclairage (les consommations finales sont déduites de cette valeur) (kWhep/an)","readOnly":true},"conso_elec_ac_auxiliaire":{"type":"number","title":"Conso Elec Ac Auxiliaire","description":"électricité photovoltaique autoconsommée pour l'usage auxiliaire (les consommations finales sont déduites de cette valeur) (kWhep/an)","readOnly":true},"conso_elec_ac_autre_usage":{"type":"number","title":"Conso Elec Ac Autre Usage","description":"électricité photovoltaique autoconsommée pour les autres usages de l'électricité (kWhep/an)","readOnly":true},"conso_elec_totale":{"type":"number","title":"Conso Elec Totale","description":"consommation électrique totale du logement avant autoconsommation PV (5 usages DPE + autres usages électriques) (kWhef/an)","readOnly":true}},"type":"object","required":["production_pv","conso_elec_ac","conso_elec_ac_ch","conso_elec_ac_ecs","conso_elec_ac_fr","conso_elec_ac_eclairage","conso_elec_ac_auxiliaire","conso_elec_ac_autre_usage","conso_elec_totale"],"title":"ProductionElectricite"},"ProfileConso":{"type":"string","enum":["dpe","regular"],"title":"ProfileConso"},"ProjectCreate":{"properties":{"status":{"anyOf":[{"$ref":"#/components/schemas/ProjectStatusEnum"},{"type":"null"}],"description":"Status of the project"},"priorities":{"anyOf":[{"items":{"$ref":"#/components/schemas/PriorityType"},"type":"array"},{"type":"null"}],"title":"Priorities","description":"List of objectives"},"energy_bill":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Energy Bill","description":"Annual energy bill of the domestic building"},"energy_readings":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/EnergyReading"},"propertyNames":{"$ref":"#/components/schemas/TypeEnergie"},"type":"object"},{"type":"null"}],"title":"Energy Readings","description":"Yearly consumption of each energy as entered, in €, kWh or its native unit (key: TypeEnergie id); the back prices it (ADR-024)"},"electricity_subscription":{"anyOf":[{"$ref":"#/components/schemas/ElectricitySubscription-Input"},{"type":"null"}],"description":"The household's electricity subscription as entered: base or HP/HC, monthly fee, kWh prices, off-peak slots; it prices the electricity"},"deperdition_override":{"anyOf":[{"$ref":"#/components/schemas/DeperditionOverride"},{"type":"null"}],"description":"User override for heat loss distribution"},"energy_price_overrides":{"anyOf":[{"additionalProperties":{"type":"number","exclusiveMaximum":5.0,"exclusiveMinimum":0.0},"propertyNames":{"$ref":"#/components/schemas/TypeEnergie"},"type":"object"},{"type":"null"}],"title":"Energy Price Overrides","description":"kWh price (€/kWh TTC) of an energy for this study, in place of the market grid's (key: TypeEnergie id); the subscription stays the grid's"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"lead_id":{"type":"string","format":"uuid","title":"Lead Id","description":"ID of the lead","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"answer_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Answer Id","description":"ID of the answer","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]}},"additionalProperties":false,"type":"object","required":["lead_id"],"title":"ProjectCreate","description":"ORM Model for a project"},"ProjectEnergy":{"properties":{"enum_type_energie_id":{"$ref":"#/components/schemas/TypeEnergie"},"price":{"$ref":"#/components/schemas/EnergyPrice"},"simulated":{"$ref":"#/components/schemas/EnergyUse"},"other_uses":{"$ref":"#/components/schemas/OtherUses"},"estimated_cost":{"type":"number","title":"Estimated Cost"},"current":{"$ref":"#/components/schemas/CurrentCost"},"usages":{"$ref":"#/components/schemas/UsageAmounts"},"uncovered":{"type":"number","title":"Uncovered"},"alert":{"anyOf":[{"$ref":"#/components/schemas/CalibrationAlert"},{"type":"null"}]},"reading":{"anyOf":[{"$ref":"#/components/schemas/EnergyReading"},{"type":"null"}]},"reading_in_units":{"anyOf":[{"$ref":"#/components/schemas/ReadingInUnits"},{"type":"null"}]},"native_unit":{"anyOf":[{"$ref":"#/components/schemas/NativeUnit"},{"type":"null"}]}},"type":"object","required":["enum_type_energie_id","price","simulated","other_uses","estimated_cost","current","usages","uncovered"],"title":"ProjectEnergy"},"ProjectGoal":{"type":"string","enum":["energy_saving","comfort_summer","comfort_winter","value","environment","rent","esthetic","compliance","financial_aid","humidity"],"title":"ProjectGoal"},"ProjectRead":{"properties":{"status":{"anyOf":[{"$ref":"#/components/schemas/ProjectStatusEnum"},{"type":"null"}],"description":"Status of the project"},"priorities":{"anyOf":[{"items":{"$ref":"#/components/schemas/PriorityType"},"type":"array"},{"type":"null"}],"title":"Priorities","description":"List of objectives"},"energy_bill":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Energy Bill","description":"Annual energy bill of the domestic building"},"energy_readings":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/EnergyReading"},"propertyNames":{"$ref":"#/components/schemas/TypeEnergie"},"type":"object"},{"type":"null"}],"title":"Energy Readings","description":"Yearly consumption of each energy as entered, in €, kWh or its native unit (key: TypeEnergie id); the back prices it (ADR-024)"},"electricity_subscription":{"anyOf":[{"$ref":"#/components/schemas/ElectricitySubscription-Output"},{"type":"null"}],"description":"The household's electricity subscription as entered: base or HP/HC, monthly fee, kWh prices, off-peak slots; it prices the electricity"},"deperdition_override":{"anyOf":[{"$ref":"#/components/schemas/DeperditionOverride"},{"type":"null"}],"description":"User override for heat loss distribution"},"energy_price_overrides":{"anyOf":[{"additionalProperties":{"type":"number","exclusiveMaximum":5.0,"exclusiveMinimum":0.0},"propertyNames":{"$ref":"#/components/schemas/TypeEnergie"},"type":"object"},{"type":"null"}],"title":"Energy Price Overrides","description":"kWh price (€/kWh TTC) of an energy for this study, in place of the market grid's (key: TypeEnergie id); the subscription stays the grid's"},"id":{"type":"string","format":"uuid","title":"Id","description":"ID of the project"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"lead_id":{"type":"string","format":"uuid","title":"Lead Id","description":"ID of the lead","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"answer_id":{"type":"string","format":"uuid","title":"Answer Id","description":"ID of the answer","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"scenario_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Scenario Ids","default":[]},"favorite_scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Favorite Scenario Id"},"data":{"$ref":"#/components/schemas/Logement","description":"Data of the project"},"ownership":{"anyOf":[{"$ref":"#/components/schemas/Ownership"},{"type":"null"}],"description":"Ownership of the project"},"electricity_consumption":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Electricity Consumption","description":"Estimated annual electricity consumption (kWh/an)"},"energies":{"items":{"$ref":"#/components/schemas/ProjectEnergy"},"type":"array","title":"Energies","description":"Each energy the current home consumes: price, simulated and other uses, Argile's estimate, and the cost the calibration retains (ADR-026)","default":[]},"estimated_energy_bill":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Estimated Energy Bill","description":"The household's yearly bill (€/year): the usable entered bills, Argile's estimate for the other energies"},"workflow":{"anyOf":[{"$ref":"#/components/schemas/DiagWorkflow"},{"type":"null"}],"description":"Workflow of the project"},"equivalent_adults":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Equivalent Adults","description":"The DPE's equivalent adults (Nadeq), sizing unmodeled uses without a\nhousehold size (ADR-023); None without a living area.","readOnly":true},"living_area":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Living Area","description":"Living area of the dwelling (m²), the one its Nadeq is computed on.","readOnly":true},"market_cost_by_usage":{"$ref":"#/components/schemas/UsageCosts","description":"Unscaled market bill split by usage (€/year).","readOnly":true},"electricity_subscription_defaults":{"$ref":"#/components/schemas/ElectricitySubscriptionDefaults","description":"What prices a subscription's empty fields: the market electricity.","readOnly":true}},"type":"object","required":["id","created_at","updated_at","lead_id","answer_id","data","workflow","equivalent_adults","living_area","market_cost_by_usage","electricity_subscription_defaults"],"title":"ProjectRead","description":"ORM Model for a project"},"ProjectStatusEnum":{"type":"integer","enum":[0,1,2],"title":"ProjectStatusEnum","description":"Enum for the status of a project"},"ProjectUpdate":{"properties":{"status":{"anyOf":[{"$ref":"#/components/schemas/ProjectStatusEnum"},{"type":"null"}],"description":"Status of the project"},"priorities":{"anyOf":[{"items":{"$ref":"#/components/schemas/PriorityType"},"type":"array"},{"type":"null"}],"title":"Priorities","description":"List of objectives"},"energy_bill":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Energy Bill","description":"Annual energy bill of the domestic building"},"energy_readings":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/EnergyReading"},"propertyNames":{"$ref":"#/components/schemas/TypeEnergie"},"type":"object"},{"type":"null"}],"title":"Energy Readings","description":"Yearly consumption of each energy as entered, in €, kWh or its native unit (key: TypeEnergie id); the back prices it (ADR-024)"},"electricity_subscription":{"anyOf":[{"$ref":"#/components/schemas/ElectricitySubscription-Input"},{"type":"null"}],"description":"The household's electricity subscription as entered: base or HP/HC, monthly fee, kWh prices, off-peak slots; it prices the electricity"},"deperdition_override":{"anyOf":[{"$ref":"#/components/schemas/DeperditionOverride"},{"type":"null"}],"description":"User override for heat loss distribution"},"energy_price_overrides":{"anyOf":[{"additionalProperties":{"type":"number","exclusiveMaximum":5.0,"exclusiveMinimum":0.0},"propertyNames":{"$ref":"#/components/schemas/TypeEnergie"},"type":"object"},{"type":"null"}],"title":"Energy Price Overrides","description":"kWh price (€/kWh TTC) of an energy for this study, in place of the market grid's (key: TypeEnergie id); the subscription stays the grid's"},"id":{"type":"string","format":"uuid","title":"Id","description":"ID of the project"},"favorite_scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Favorite Scenario Id"}},"additionalProperties":false,"type":"object","required":["id"],"title":"ProjectUpdate"},"ProviderChannel":{"type":"string","enum":["email","sms"],"title":"ProviderChannel","description":"Channel a messaging provider serves."},"PurchaseOrderKind":{"type":"string","enum":["supplier","no_supplier","stock"],"title":"PurchaseOrderKind","description":"A supplier's bon, the unsupplied bucket or the internal stock pick."},"PurchaseOrderLineRead":{"properties":{"quote_line_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Quote Line Id","description":"Quote line whose configured article produced this need"},"catalog_article_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Article Id","description":"Catalog article the line was snapshotted from; null once gone"},"title":{"type":"string","title":"Title","description":"Article title"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"ref_fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref Fournisseur"},"marque":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque"},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}],"description":"Unit of the quantities"},"useful_quantity":{"type":"number","minimum":0.0,"title":"Useful Quantity","description":"Quantity needed by the quote works; not editable"},"quantity_to_order":{"type":"number","minimum":0.0,"title":"Quantity To Order","description":"Quantity to order; defaults to ceil of the need"},"quantity_edited":{"type":"boolean","title":"Quantity Edited","description":"Set once the quantity is edited; never recomputed afterwards","default":false},"is_custom":{"type":"boolean","title":"Is Custom","description":"Hand-added line (manual, added article or duplicate)","default":false},"unit_price_ht":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Unit Price Ht","description":"Unit purchase price HT, seeded from cout_achat"},"position":{"type":"integer","title":"Position","description":"Display order within the bon","default":0},"id":{"type":"string","format":"uuid","title":"Id"},"total_ht":{"type":"number","title":"Total Ht","description":"Quantity to order × unit price HT","readOnly":true}},"type":"object","required":["title","useful_quantity","quantity_to_order","id","total_ht"],"title":"PurchaseOrderLineRead"},"PurchaseOrderRead":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"kind":{"$ref":"#/components/schemas/PurchaseOrderKind"},"position":{"type":"integer","title":"Position"},"supplier":{"anyOf":[{"$ref":"#/components/schemas/PurchaseOrderSupplierRead"},{"type":"null"}]},"supplier_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Supplier Name"},"supplier_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Supplier Code"},"status":{"$ref":"#/components/schemas/PurchaseOrderStatus"},"generated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Generated At"},"number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Number","description":"BDC-[quote ref]-[code]; filled by the set loader"},"lines":{"items":{"$ref":"#/components/schemas/PurchaseOrderLineRead"},"type":"array","title":"Lines"},"line_count":{"type":"integer","title":"Line Count","description":"Number of lines on the bon","readOnly":true},"total_ht":{"type":"number","title":"Total Ht","description":"Sum of the line totals, HT","readOnly":true}},"type":"object","required":["id","kind","position","supplier","supplier_name","supplier_code","status","generated_at","lines","line_count","total_ht"],"title":"PurchaseOrderRead"},"PurchaseOrderSetRead":{"properties":{"orders":{"items":{"$ref":"#/components/schemas/PurchaseOrderRead"},"type":"array","title":"Orders"},"out_of_sync":{"type":"boolean","title":"Out Of Sync","description":"The quote's needs drifted from the seeded lines","default":false}},"type":"object","required":["orders"],"title":"PurchaseOrderSetRead"},"PurchaseOrderStatus":{"type":"string","enum":["draft","generated"],"title":"PurchaseOrderStatus","description":"Draft until its PDF is generated; generation never locks the bon."},"PurchaseOrderSupplierRead":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"archived":{"type":"boolean","title":"Archived"}},"type":"object","required":["id","name","email","phone","logo","archived"],"title":"PurchaseOrderSupplierRead"},"PurchaseOrdersGenerated":{"properties":{"order_ids":{"items":{"type":"string","format":"uuid"},"type":"array","minItems":1,"title":"Order Ids"}},"type":"object","required":["order_ids"],"title":"PurchaseOrdersGenerated","description":"Bons whose PDF was just downloaded, to stamp as generated."},"Pv":{"properties":{"pv_groups":{"anyOf":[{"items":{"$ref":"#/components/schemas/ExistingPvGroup"},"type":"array"},{"type":"null"}],"title":"Pv Groups","description":"Existing PV module groups installed on the building"}},"type":"object","title":"Pv","description":"Current photovoltaic equipment declared during the technical visit."},"PvBattery-Input":{"properties":{"kind":{"anyOf":[{"$ref":"#/components/schemas/BatteryKind"},{"type":"null"}],"description":"Battery type (physical/virtual)"},"count":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Count","description":"Number of batteries"},"power_kw":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Power Kw","description":"Battery power (kW)"},"ac_box_distance_m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Ac Box Distance M","description":"Distance to the AC box (m)"},"internet_box_distance_m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Internet Box Distance M","description":"Distance to the internet box (m)"},"linky_distance_m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Linky Distance M","description":"Distance to the Linky meter (m)"},"assets":{"anyOf":[{"items":{"$ref":"#/components/schemas/Asset"},"type":"array"},{"type":"null"}],"title":"Assets","description":"Photos/documents of the battery"},"reference_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Level","description":"Reference level for mounting the battery"}},"type":"object","title":"PvBattery","description":"Battery of a PV installation."},"PvBattery-Output":{"properties":{"kind":{"anyOf":[{"$ref":"#/components/schemas/BatteryKind"},{"type":"null"}],"description":"Battery type (physical/virtual)"},"count":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Count","description":"Number of batteries"},"power_kw":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Power Kw","description":"Battery power (kW)"},"ac_box_distance_m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Ac Box Distance M","description":"Distance to the AC box (m)"},"internet_box_distance_m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Internet Box Distance M","description":"Distance to the internet box (m)"},"linky_distance_m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Linky Distance M","description":"Distance to the Linky meter (m)"},"assets":{"anyOf":[{"items":{"$ref":"#/components/schemas/Asset"},"type":"array"},{"type":"null"}],"title":"Assets","description":"Photos/documents of the battery"},"reference_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Level","description":"Reference level for mounting the battery"}},"type":"object","title":"PvBattery","description":"Battery of a PV installation."},"PvElectricityBill":{"properties":{"annual_kwh":{"type":"number","title":"Annual Kwh"},"annual_cost_eur":{"type":"number","title":"Annual Cost Eur","description":"Energy at the subscription tariff plus 12 monthly fees"},"average_price_eur_per_kwh":{"type":"number","title":"Average Price Eur Per Kwh","description":"Energy part only, HP/HC weighted by the hourly profile"}},"type":"object","required":["annual_kwh","annual_cost_eur","average_price_eur_per_kwh"],"title":"PvElectricityBill","description":"A year of household electricity at the subscription's tariff."},"PvGroundOverlay":{"properties":{"extent":{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4,"title":"Extent","description":"WGS84 bounding box of the images: west, south, east, north."},"images":{"items":{"items":{"type":"string"},"type":"array","maxItems":24,"minItems":24},"type":"array","maxItems":12,"minItems":12,"title":"Images","description":"12 months x 24 hours; base64 RGBA PNGs, black with alpha = share of days of the month the ground pixel is in the shade at that hour."}},"type":"object","required":["extent","images"],"title":"PvGroundOverlay","description":"Ground shade images for the calepinage shading view."},"PvGroup-Input":{"properties":{"reference":{"type":"string","title":"Reference","description":"Stable id of the group within the scenario"},"roof_section_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Roof Section Reference","description":"Reference to the parent RoofSection"},"catalog_item_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Item Id","description":"Reference to the catalog item used for this group. May point to a deleted item — consumers must tolerate misses."},"placement":{"anyOf":[{"$ref":"#/components/schemas/PvPlacement"},{"type":"null"}],"description":"Module placement orientation (horizontal/vertical)"},"has_support":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Support","description":"True if the modules are mounted on a dedicated support structure, False if installed directly on the roof."},"spacing_cm":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Spacing Cm","description":"Spacing between modules in centimeters"},"modules":{"items":{"$ref":"#/components/schemas/PvModule"},"type":"array","title":"Modules","description":"Modules belonging to this group"},"orientation_degrees":{"anyOf":[{"type":"number","exclusiveMaximum":360.0,"minimum":0.0},{"type":"null"}],"title":"Orientation Degrees","description":"Orientation of the group on the compass, in degrees (0° = North)."},"inclination_degrees":{"anyOf":[{"type":"number","maximum":90.0,"minimum":0.0},{"type":"null"}],"title":"Inclination Degrees","description":"Tilt of the modules from horizontal, in degrees. When unset, consumers derive it from the roof section or roofs."}},"type":"object","required":["reference"],"title":"PvGroup","description":"A group of solar panel modules."},"PvGroup-Output":{"properties":{"reference":{"type":"string","title":"Reference","description":"Stable id of the group within the scenario"},"roof_section_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Roof Section Reference","description":"Reference to the parent RoofSection"},"catalog_item_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Item Id","description":"Reference to the catalog item used for this group. May point to a deleted item — consumers must tolerate misses."},"placement":{"anyOf":[{"$ref":"#/components/schemas/PvPlacement"},{"type":"null"}],"description":"Module placement orientation (horizontal/vertical)"},"has_support":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Support","description":"True if the modules are mounted on a dedicated support structure, False if installed directly on the roof."},"spacing_cm":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Spacing Cm","description":"Spacing between modules in centimeters"},"modules":{"items":{"$ref":"#/components/schemas/PvModule"},"type":"array","title":"Modules","description":"Modules belonging to this group"},"orientation_degrees":{"anyOf":[{"type":"number","exclusiveMaximum":360.0,"minimum":0.0},{"type":"null"}],"title":"Orientation Degrees","description":"Orientation of the group on the compass, in degrees (0° = North)."},"inclination_degrees":{"anyOf":[{"type":"number","maximum":90.0,"minimum":0.0},{"type":"null"}],"title":"Inclination Degrees","description":"Tilt of the modules from horizontal, in degrees. When unset, consumers derive it from the roof section or roofs."}},"type":"object","required":["reference"],"title":"PvGroup","description":"A group of solar panel modules."},"PvGroupMetrics":{"properties":{"pv_group_reference":{"type":"string","title":"Pv Group Reference"},"module_count":{"type":"integer","title":"Module Count"},"power_total_kwc":{"type":"number","title":"Power Total Kwc"},"annual_production_kwh":{"type":"number","title":"Annual Production Kwh"}},"type":"object","required":["pv_group_reference","module_count","power_total_kwc","annual_production_kwh"],"title":"PvGroupMetrics"},"PvHypotheses":{"properties":{"inflation_rate":{"type":"number","title":"Inflation Rate","description":"Mean yearly electricity price inflation over the span"},"resale_price_eur_per_kwh":{"type":"number","title":"Resale Price Eur Per Kwh"},"resale_indexation_rate":{"type":"number","title":"Resale Indexation Rate"},"panel_degradation_rate":{"type":"number","title":"Panel Degradation Rate"}},"type":"object","required":["inflation_rate","resale_price_eur_per_kwh","resale_indexation_rate","panel_degradation_rate"],"title":"PvHypotheses","description":"Assumptions behind the projection, for the report's hypotheses note."},"PvInstallation-Input":{"properties":{"pose_type":{"anyOf":[{"$ref":"#/components/schemas/PvPoseType"},{"type":"null"}],"description":"How the installation is mounted"},"hems_to_install":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Hems To Install","description":"Whether a home energy management system (HEMS) is to install"},"hems_powered_equipments":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Hems Powered Equipments","description":"Equipments driven by the HEMS"},"battery":{"anyOf":[{"$ref":"#/components/schemas/PvBattery-Input"},{"type":"null"}]},"trench":{"anyOf":[{"$ref":"#/components/schemas/PvTrench"},{"type":"null"}]},"internet_connection":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Internet Connection","description":"Whether an internet connection is available on site"},"electrical_route_photos":{"anyOf":[{"items":{"$ref":"#/components/schemas/Asset"},"type":"array"},{"type":"null"}],"title":"Electrical Route Photos","description":"Photos of the electrical routing"},"cable_length_m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Cable Length M","description":"Cable length needed (m)"},"exterior_cable_routing":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Exterior Cable Routing","description":"Whether cables are routed outdoors"},"cat_flap_needed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cat Flap Needed","description":"Whether a roof cable pass-through is needed"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Free-text comment about the installation"},"roof_anchor_point":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Roof Anchor Point","description":"Whether a roof anchor point is present"},"nacelle_access":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Nacelle Access","description":"Whether nacelle access is needed"},"terrain_slope":{"anyOf":[{"$ref":"#/components/schemas/TerrainSlope"},{"type":"null"}],"description":"Slope of the access terrain"},"roof_access_height_m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Roof Access Height M","description":"Roof access height (m)"},"terrain_nature":{"anyOf":[{"$ref":"#/components/schemas/TerrainNature"},{"type":"null"}],"description":"Nature of the access terrain (soft/hard)"},"roof_access_type":{"anyOf":[{"$ref":"#/components/schemas/RoofAccessType"},{"type":"null"}],"description":"Means of accessing the roof"},"terrain_photos":{"anyOf":[{"items":{"$ref":"#/components/schemas/Asset"},"type":"array"},{"type":"null"}],"title":"Terrain Photos","description":"Photos of the access terrain"}},"type":"object","title":"PvInstallation","description":"Installation details collected during the technical visit for a PV work."},"PvInstallation-Output":{"properties":{"pose_type":{"anyOf":[{"$ref":"#/components/schemas/PvPoseType"},{"type":"null"}],"description":"How the installation is mounted"},"hems_to_install":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Hems To Install","description":"Whether a home energy management system (HEMS) is to install"},"hems_powered_equipments":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Hems Powered Equipments","description":"Equipments driven by the HEMS"},"battery":{"anyOf":[{"$ref":"#/components/schemas/PvBattery-Output"},{"type":"null"}]},"trench":{"anyOf":[{"$ref":"#/components/schemas/PvTrench"},{"type":"null"}]},"internet_connection":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Internet Connection","description":"Whether an internet connection is available on site"},"electrical_route_photos":{"anyOf":[{"items":{"$ref":"#/components/schemas/Asset"},"type":"array"},{"type":"null"}],"title":"Electrical Route Photos","description":"Photos of the electrical routing"},"cable_length_m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Cable Length M","description":"Cable length needed (m)"},"exterior_cable_routing":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Exterior Cable Routing","description":"Whether cables are routed outdoors"},"cat_flap_needed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cat Flap Needed","description":"Whether a roof cable pass-through is needed"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Free-text comment about the installation"},"roof_anchor_point":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Roof Anchor Point","description":"Whether a roof anchor point is present"},"nacelle_access":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Nacelle Access","description":"Whether nacelle access is needed"},"terrain_slope":{"anyOf":[{"$ref":"#/components/schemas/TerrainSlope"},{"type":"null"}],"description":"Slope of the access terrain"},"roof_access_height_m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Roof Access Height M","description":"Roof access height (m)"},"terrain_nature":{"anyOf":[{"$ref":"#/components/schemas/TerrainNature"},{"type":"null"}],"description":"Nature of the access terrain (soft/hard)"},"roof_access_type":{"anyOf":[{"$ref":"#/components/schemas/RoofAccessType"},{"type":"null"}],"description":"Means of accessing the roof"},"terrain_photos":{"anyOf":[{"items":{"$ref":"#/components/schemas/Asset"},"type":"array"},{"type":"null"}],"title":"Terrain Photos","description":"Photos of the access terrain"}},"type":"object","title":"PvInstallation","description":"Installation details collected during the technical visit for a PV work."},"PvInstallationMode":{"type":"string","enum":["resale_surplus","resale_total","self_consumption"],"title":"PvInstallationMode","description":"How an existing PV installation sells/uses its production."},"PvMetrics":{"properties":{"pv_group_metrics":{"items":{"$ref":"#/components/schemas/PvGroupMetrics"},"type":"array","title":"Pv Group Metrics"},"annual_consumption_kwh":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Annual Consumption Kwh"},"current_bill":{"anyOf":[{"$ref":"#/components/schemas/PvElectricityBill"},{"type":"null"}],"description":"Today's consumption, before the scenario's works"},"after_works_bill":{"anyOf":[{"$ref":"#/components/schemas/PvElectricityBill"},{"type":"null"}],"description":"The consumption the PV is computed on, when the works change it; None when it equals the current one"},"hypotheses":{"anyOf":[{"$ref":"#/components/schemas/PvHypotheses"},{"type":"null"}]},"self_consumption_rate":{"type":"number","title":"Self Consumption Rate"},"autonomy_rate":{"type":"number","title":"Autonomy Rate"},"self_consumption_savings_eur":{"type":"number","title":"Self Consumption Savings Eur"},"grid_resale_revenue_eur":{"type":"number","title":"Grid Resale Revenue Eur"},"self_consumed_kwh":{"type":"number","title":"Self Consumed Kwh","description":"First-year kWh used at home, battery discharge included"},"grid_injection_kwh":{"type":"number","title":"Grid Injection Kwh","description":"First-year kWh sent to the grid, battery losses excluded"},"existing_self_consumed_kwh":{"type":"number","title":"Existing Self Consumed Kwh","description":"First-year kWh the panels already there still cover","default":0.0},"existing_self_consumption_savings_eur":{"type":"number","title":"Existing Self Consumption Savings Eur","default":0.0},"battery_gain_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Gain Eur"},"battery_lifetime_years":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Lifetime Years"},"battery_replacement_cost_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Replacement Cost Eur"},"price_incl_tax_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Incl Tax Eur"},"net_cost_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Cost Eur"},"cumulative_savings_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cumulative Savings Eur"},"tri_percent":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tri Percent"},"payback_years":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Payback Years"},"analysis_span_years":{"type":"integer","title":"Analysis Span Years","description":"Years the projection runs over","default":0},"cumulative_savings_by_year":{"items":{"type":"number"},"type":"array","title":"Cumulative Savings By Year","description":"Nominal cumulative savings at the end of each year, 1 to the span, battery replacements included","default":[]},"without_battery":{"anyOf":[{"$ref":"#/components/schemas/PvWithoutBattery"},{"type":"null"}],"description":"None when the installation has no battery"},"module_count":{"type":"integer","title":"Module Count","readOnly":true},"power_total_kwc":{"type":"number","title":"Power Total Kwc","readOnly":true},"annual_production_kwh":{"type":"number","title":"Annual Production Kwh","readOnly":true},"total_annual_savings_eur":{"type":"number","title":"Total Annual Savings Eur","readOnly":true}},"type":"object","required":["pv_group_metrics","self_consumption_rate","autonomy_rate","self_consumption_savings_eur","grid_resale_revenue_eur","self_consumed_kwh","grid_injection_kwh","module_count","power_total_kwc","annual_production_kwh","total_annual_savings_eur"],"title":"PvMetrics"},"PvModule":{"properties":{"reference":{"type":"string","title":"Reference","description":"Stable id of the module within its group"},"center_wgs_84":{"anyOf":[{"$ref":"#/components/schemas/LatLng"},{"type":"null"}],"description":"Module center in WGS84 lat/lng"}},"type":"object","required":["reference"],"title":"PvModule","description":"One unit of solar panel module."},"PvModuleShading":{"properties":{"module_reference":{"type":"string","title":"Module Reference"},"sun_fractions":{"items":{"items":{"type":"number"},"type":"array","maxItems":24,"minItems":24},"type":"array","maxItems":12,"minItems":12,"title":"Sun Fractions","description":"12 months × 24 hours; share (0-1) of days of the month the module is in the sun at that hour. Hour index follows Google Solar's hourlyShade convention (local time of the site)."}},"type":"object","required":["module_reference","sun_fractions"],"title":"PvModuleShading","description":"Sun exposure of one calepinage module, per month and hour."},"PvPlacement":{"type":"string","enum":["horizontal","vertical"],"title":"PvPlacement"},"PvPoseType":{"type":"string","enum":["integrated_roof","on_roof","ground","terrace_roof"],"title":"PvPoseType","description":"How a PV installation is mounted."},"PvProduction":{"properties":{"taux_autoproduction":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Taux Autoproduction","description":"Taux d'autoproduction Tap"},"production_pv":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Production Pv","description":"Production d'électricité photovoltaïque (kWh)"},"conso_elec_ac":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Conso Elec Ac","description":"Électricité photovoltaïque autoconsommée (kWh)"}},"type":"object","title":"PvProduction","description":"PV production intermediates carried over from a source DPE.\n\nRestoring them on the reconstructed logement keeps the round-trip faithful\nto the published DPE instead of recomputing them from the panel geometry."},"PvSeriesPoint":{"properties":{"period_label":{"type":"string","title":"Period Label"},"production_kwh":{"type":"number","title":"Production Kwh"},"self_consumption_kwh":{"type":"number","title":"Self Consumption Kwh"},"grid_injection_kwh":{"type":"number","title":"Grid Injection Kwh"},"consumption_kwh":{"type":"number","title":"Consumption Kwh"},"battery_discharge_kwh":{"type":"number","title":"Battery Discharge Kwh"}},"type":"object","required":["period_label","production_kwh","self_consumption_kwh","grid_injection_kwh","consumption_kwh","battery_discharge_kwh"],"title":"PvSeriesPoint","description":"One point of the production/self-consumption chart series."},"PvSeriesRequest":{"properties":{"period":{"$ref":"#/components/schemas/ConsumptionPeriod"},"selected_month":{"$ref":"#/components/schemas/Month","default":1}},"type":"object","required":["period"],"title":"PvSeriesRequest","description":"Body of `POST /scenarios/{id}/pv-series` — mirrors the FE chart view."},"PvSeriesResponse":{"properties":{"period":{"$ref":"#/components/schemas/ConsumptionPeriod"},"points":{"items":{"$ref":"#/components/schemas/PvSeriesPoint"},"type":"array","title":"Points"},"daily_consumption_kwh":{"type":"number","title":"Daily Consumption Kwh"},"avg_daily_production_kwh":{"type":"number","title":"Avg Daily Production Kwh"}},"type":"object","required":["period","points","daily_consumption_kwh","avg_daily_production_kwh"],"title":"PvSeriesResponse","description":"Production/self-consumption series + daily stats for the FE chart."},"PvShadingResponse":{"properties":{"modules":{"items":{"$ref":"#/components/schemas/PvModuleShading"},"type":"array","title":"Modules"},"ground_overlay":{"$ref":"#/components/schemas/PvGroundOverlay"}},"type":"object","required":["modules","ground_overlay"],"title":"PvShadingResponse","description":"Per-module shading for the calepinage view.\n\nModules whose shading could not be resolved are omitted; the FE should fall\nback to full sun for them."},"PvTrench":{"properties":{"needed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Needed","description":"Whether a trench is needed"},"execution":{"anyOf":[{"$ref":"#/components/schemas/TrenchExecution"},{"type":"null"}],"description":"Who digs the trench"},"length_m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Length M","description":"Trench length (m)"},"soil_type":{"anyOf":[{"$ref":"#/components/schemas/SoilType"},{"type":"null"}],"description":"Soil nature of the trench"}},"type":"object","title":"PvTrench","description":"Trench for routing the PV cables."},"PvWithoutBattery":{"properties":{"self_consumption_rate":{"type":"number","title":"Self Consumption Rate"},"annual_savings_eur":{"type":"number","title":"Annual Savings Eur","description":"First-year self-consumption savings plus resale revenue"},"net_cost_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Net Cost Eur","description":"Net cost minus the battery's catalog price incl. tax"},"cumulative_savings_eur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cumulative Savings Eur"},"payback_years":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Payback Years"}},"type":"object","required":["self_consumption_rate","annual_savings_eur"],"title":"PvWithoutBattery","description":"The same installation without its battery, for the battery comparison."},"QualiteIsolation":{"properties":{"ubat":{"type":"number","title":"Ubat","description":"Ubat (W/m²K)","readOnly":true},"qualite_isol_enveloppe":{"$ref":"#/components/schemas/QualityType","description":"qualité d'isolation de l'enveloppe","readOnly":true},"qualite_isol_mur":{"anyOf":[{"$ref":"#/components/schemas/QualityType"},{"type":"null"}],"description":"qualité d'isolation des murs","readOnly":true},"qualite_isol_plancher_haut_toit_terrasse":{"anyOf":[{"$ref":"#/components/schemas/QualityType"},{"type":"null"}],"description":"qualité d'isolation de la toiture/planchers hauts partie toit terrasse","readOnly":true},"qualite_isol_plancher_haut_comble_perdu":{"anyOf":[{"$ref":"#/components/schemas/QualityType"},{"type":"null"}],"description":"qualité d'isolation de la toiture/planchers hauts partie comble perdue","readOnly":true},"qualite_isol_plancher_haut_comble_amenage":{"anyOf":[{"$ref":"#/components/schemas/QualityType"},{"type":"null"}],"description":"qualité d'isolation de la toiture/planchers hauts partie comble aménagé","readOnly":true},"qualite_isol_plancher_bas":{"anyOf":[{"$ref":"#/components/schemas/QualityType"},{"type":"null"}],"description":"qualité de l'isolation des planchers","readOnly":true},"qualite_isol_menuiserie":{"anyOf":[{"$ref":"#/components/schemas/QualityType"},{"type":"null"}],"description":"qualité d'isolation des menuiseries","readOnly":true},"qualite_isol_menuiserie_fenetre":{"anyOf":[{"$ref":"#/components/schemas/QualityType"},{"type":"null"}],"description":"qualité d'isolation des menuiseries seulement pour les fenêtres","readOnly":true},"qualite_isol_menuiserie_porte_fenetre":{"anyOf":[{"$ref":"#/components/schemas/QualityType"},{"type":"null"}],"description":"qualité d'isolation des menuiseries seulement pour les portes fenêtres","readOnly":true}},"type":"object","required":["ubat","qualite_isol_enveloppe","qualite_isol_mur","qualite_isol_plancher_haut_toit_terrasse","qualite_isol_plancher_haut_comble_perdu","qualite_isol_plancher_haut_comble_amenage","qualite_isol_plancher_bas","qualite_isol_menuiserie","qualite_isol_menuiserie_fenetre","qualite_isol_menuiserie_porte_fenetre"],"title":"QualiteIsolation"},"QualityType":{"type":"integer","enum":[1,2,3,4],"title":"QualityType","description":"Enum for the quality of an insulation"},"QuoteCreate":{"properties":{"tax_bracket":{"anyOf":[{"$ref":"#/components/schemas/TaxBracket"},{"type":"null"}],"description":"Tranche de revenu","examples":["modeste"]},"taxable_income":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taxable Income","description":"Revenu Fiscal de Référence (RFR)."},"tax_shares":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tax Shares","description":"Number of tax shares."},"region":{"anyOf":[{"$ref":"#/components/schemas/TaxRegion"},{"type":"null"}],"description":"Tax region of the tax payer: IDF (Île-de-France) or OTHER, as in the ANAH income thresholds.","examples":["IDF"]},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"project_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"ownership":{"anyOf":[{"$ref":"#/components/schemas/Ownership"},{"type":"null"}],"description":"Type d'occupation du logement."},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id","description":"ID of the quote in the external provider. ","examples":["1234"]},"num_mpr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Num Mpr","description":"Numéro MaPrimeRénov"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Quote's own custom display name (internal metadata, never printed on the client PDF)."},"status":{"type":"string","enum":["draft","pending","completed","sent","accepted","paid","delayed","error","to_emit","to_pay","partially_paid","abandoned"],"title":"Status","description":"Status of the quote","default":"draft"},"expired_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expired At","description":"Date of expiration","examples":["2021-01-01T00:00:00"]},"accepted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Accepted At","description":"Date of acceptance","examples":["2021-01-01T00:00:00"]},"works_start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Works Start At","description":"Date of works start","examples":["2021-01-01T00:00:00"]},"works_start_delay":{"anyOf":[{"$ref":"#/components/schemas/WorksStartDelay"},{"type":"null"}],"description":"Works start delay chosen by the salesperson."},"works_duration_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Works Duration Days","description":"Estimated works duration in days, printed on the quote."},"technical_visit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Technical Visit At","description":"Date of technical visit","examples":["2021-01-01T00:00:00"]},"general_info":{"$ref":"#/components/schemas/QuoteGeneralInfo-Input","description":"General information about the quote"},"hypothesis":{"$ref":"#/components/schemas/Hypothesis-Input","description":"Hypothesis for the quote"},"subsidy_deduction_mode":{"$ref":"#/components/schemas/SubsidyDeductionMode","description":"How subsidies are deducted across the project's installments.","default":"EACH_INVOICE"},"last_invoice_min_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Last Invoice Min Amount","description":"LAST_INVOICE: TTC the last installment keeps, snapshotted from the branch at creation. NULL on quotes created before the setting: their invoices keep the threshold rule."},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"funding":{"anyOf":[{"$ref":"#/components/schemas/Funding-Input"},{"type":"null"}]},"blocks":{"anyOf":[{"items":{"$ref":"#/components/schemas/Block-Input"},"type":"array"},{"type":"null"}],"title":"Blocks"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"lead_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Id"},"cee_fournisseur_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cee Fournisseur Id","description":"ID of the cee_fournisseur","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"catalog_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Id"}},"additionalProperties":false,"type":"object","required":["user_id"],"title":"QuoteCreate"},"QuoteDuplicate":{"properties":{"lead_id":{"type":"string","format":"uuid","title":"Lead Id"}},"additionalProperties":false,"type":"object","required":["lead_id"],"title":"QuoteDuplicate","description":"Payload for duplicating a quote onto a lead."},"QuoteGeneralInfo-Input":{"properties":{"type_accomodation":{"anyOf":[{"$ref":"#/components/schemas/AccomodationType"},{"type":"null"}]},"surface_habitable":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Habitable"},"annee_construction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Annee Construction"},"enum_periode_construction_id":{"anyOf":[{"$ref":"#/components/schemas/PeriodeConstruction"},{"type":"null"}]},"enum_zone_climatique_id":{"anyOf":[{"$ref":"#/components/schemas/ZoneClimatiqueId"},{"type":"null"}]},"site_address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Input"},{"type":"null"}]},"main_heater_before":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Main Heater Before"},"is_fossile_before":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Fossile Before"},"is_major_renovation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Major Renovation"},"should_display_energy_class":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Display Energy Class"},"cadastral_parcel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cadastral Parcel"},"altitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Altitude"},"surface_chauffee_pac":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Chauffee Pac"},"keeps_existing_heating":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Keeps Existing Heating"},"boiler_backup":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Boiler Backup"},"backup_generator_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backup Generator Reference"},"etas_poele":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Etas Poele"},"etas_pac":{"anyOf":[{"type":"number","maximum":5.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Etas Pac"},"reference_chaudiere_a_deposer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Chaudiere A Deposer"},"eprel_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Eprel Id"},"waste_management":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Waste Management"},"should_include_subsidies":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Include Subsidies"},"custom_anah_deposit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Custom Anah Deposit"},"should_include_custom_anah_deposit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Include Custom Anah Deposit"},"should_hide_housing_characteristics":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Hide Housing Characteristics"},"should_hide_energy_consumption":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Hide Energy Consumption"},"should_hide_dpe":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Hide Dpe"},"should_hide_cee_details":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Hide Cee Details"},"is_energy_renovation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Energy Renovation"},"ep_conso_before":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ep Conso Before"},"ep_conso_after":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ep Conso After"},"mar_company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mar Company Name"},"mar_company_siret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mar Company Siret"},"mar_company_n_certification":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mar Company N Certification"},"mar_company_certification_expiry_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Mar Company Certification Expiry Date"},"payment_status":{"anyOf":[{"type":"string","enum":["free","paid"]},{"type":"null"}],"title":"Payment Status"},"is_mar_also_auditeur":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Mar Also Auditeur"},"auditeur_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auditeur Id"},"auditeur_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auditeur Name"},"auditeur_siret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auditeur Siret"},"auditeur_certification_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auditeur Certification Number"},"audit_realization_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Audit Realization Date"},"audit_certification_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audit Certification Number"},"audit_software":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audit Software"},"audit_scenario_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audit Scenario Number"},"final_consumption_before":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Final Consumption Before"},"final_consumption_after":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Final Consumption After"},"ghg_emissions_before":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ghg Emissions Before"},"ghg_emissions_after":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ghg Emissions After"},"enum_type_emission_id":{"anyOf":[{"$ref":"#/components/schemas/TypeEmissionDistribution"},{"type":"null"}]}},"type":"object","title":"QuoteGeneralInfo","description":"General information for a quote."},"QuoteGeneralInfo-Output":{"properties":{"type_accomodation":{"anyOf":[{"$ref":"#/components/schemas/AccomodationType"},{"type":"null"}]},"surface_habitable":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Habitable"},"annee_construction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Annee Construction"},"enum_periode_construction_id":{"anyOf":[{"$ref":"#/components/schemas/PeriodeConstruction"},{"type":"null"}]},"enum_zone_climatique_id":{"anyOf":[{"$ref":"#/components/schemas/ZoneClimatiqueId"},{"type":"null"}]},"site_address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Output"},{"type":"null"}]},"main_heater_before":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Main Heater Before"},"is_fossile_before":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Fossile Before"},"is_major_renovation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Major Renovation"},"should_display_energy_class":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Display Energy Class"},"cadastral_parcel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cadastral Parcel"},"altitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Altitude"},"surface_chauffee_pac":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Chauffee Pac"},"keeps_existing_heating":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Keeps Existing Heating"},"boiler_backup":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Boiler Backup"},"backup_generator_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backup Generator Reference"},"etas_poele":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Etas Poele"},"etas_pac":{"anyOf":[{"type":"number","maximum":5.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Etas Pac"},"reference_chaudiere_a_deposer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Chaudiere A Deposer"},"eprel_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Eprel Id"},"waste_management":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Waste Management"},"should_include_subsidies":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Include Subsidies"},"custom_anah_deposit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Custom Anah Deposit"},"should_include_custom_anah_deposit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Include Custom Anah Deposit"},"should_hide_housing_characteristics":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Hide Housing Characteristics"},"should_hide_energy_consumption":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Hide Energy Consumption"},"should_hide_dpe":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Hide Dpe"},"should_hide_cee_details":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Should Hide Cee Details"},"is_energy_renovation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Energy Renovation"},"ep_conso_before":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ep Conso Before"},"ep_conso_after":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ep Conso After"},"mar_company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mar Company Name"},"mar_company_siret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mar Company Siret"},"mar_company_n_certification":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mar Company N Certification"},"mar_company_certification_expiry_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Mar Company Certification Expiry Date"},"payment_status":{"anyOf":[{"type":"string","enum":["free","paid"]},{"type":"null"}],"title":"Payment Status"},"is_mar_also_auditeur":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Mar Also Auditeur"},"auditeur_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auditeur Id"},"auditeur_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auditeur Name"},"auditeur_siret":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auditeur Siret"},"auditeur_certification_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auditeur Certification Number"},"audit_realization_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Audit Realization Date"},"audit_certification_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audit Certification Number"},"audit_software":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audit Software"},"audit_scenario_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audit Scenario Number"},"final_consumption_before":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Final Consumption Before"},"final_consumption_after":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Final Consumption After"},"ghg_emissions_before":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ghg Emissions Before"},"ghg_emissions_after":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ghg Emissions After"},"enum_type_emission_id":{"anyOf":[{"$ref":"#/components/schemas/TypeEmissionDistribution"},{"type":"null"}]}},"type":"object","title":"QuoteGeneralInfo","description":"General information for a quote."},"QuoteLineArticle-Input":{"properties":{"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"code_commercial":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Commercial"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/argile__engine__dpe__models__catalog_article__ItemType"},{"type":"null"}]},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}]},"cout_achat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Achat"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"public_price_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Public Price Ht"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"ref_fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref Fournisseur"},"marque":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque"},"fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fournisseur"},"supplier_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supplier Id"},"supply_mode":{"anyOf":[{"$ref":"#/components/schemas/ArticleSupplyMode"},{"type":"null"}]},"purchase_multiple":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Purchase Multiple"},"title":{"type":"string","title":"Title"},"catalog_article_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Article Id"},"quantity":{"type":"number","minimum":0.0,"title":"Quantity"},"is_quantity_linked":{"type":"boolean","title":"Is Quantity Linked","description":"True: `quantity` is per unit of the line, so the line quantity multiplies it. False: `quantity` is for the whole line.","default":true},"is_visible_on_quote":{"type":"boolean","title":"Is Visible On Quote","description":"Listed under its line on the quote sent to the client.","default":false}},"type":"object","required":["title","quantity"],"title":"QuoteLineArticle","description":"Catalog article configuration frozen on a quote line."},"QuoteLineArticle-Output":{"properties":{"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"code_commercial":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Commercial"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/ItemType-Output"},{"type":"null"}]},"unit":{"anyOf":[{"$ref":"#/components/schemas/UnitEnum"},{"type":"null"}]},"cout_achat":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cout Achat"},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"public_price_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Public Price Ht"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"ref_fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ref Fournisseur"},"marque":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque"},"fournisseur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fournisseur"},"supplier_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Supplier Id"},"supply_mode":{"anyOf":[{"$ref":"#/components/schemas/ArticleSupplyMode"},{"type":"null"}]},"purchase_multiple":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Purchase Multiple"},"title":{"type":"string","title":"Title"},"catalog_article_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Article Id"},"quantity":{"type":"number","minimum":0.0,"title":"Quantity"},"is_quantity_linked":{"type":"boolean","title":"Is Quantity Linked","description":"True: `quantity` is per unit of the line, so the line quantity multiplies it. False: `quantity` is for the whole line.","default":true},"is_visible_on_quote":{"type":"boolean","title":"Is Visible On Quote","description":"Listed under its line on the quote sent to the client.","default":false}},"type":"object","required":["title","quantity"],"title":"QuoteLineArticle","description":"Catalog article configuration frozen on a quote line."},"QuoteMargin":{"properties":{"sold_ht":{"type":"number","title":"Sold Ht"},"planned_cost_ht":{"type":"number","title":"Planned Cost Ht"},"margin_ht":{"type":"number","title":"Margin Ht"},"markup_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Markup Ratio","description":"Margin over the planned cost; null without a cost"},"margin_per_hour_minutes":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Margin Per Hour Minutes","description":"The labour time the margin per hour divides by"},"groups":{"items":{"$ref":"#/components/schemas/QuoteMarginGroup"},"type":"array","title":"Groups"},"global_discount_ht":{"type":"number","title":"Global Discount Ht","description":"Discounts of the whole quote, kept off the lines"},"moe_ht":{"type":"number","title":"Moe Ht","description":"Standalone main-d'œuvre forfait, sold at its cost"},"services_excluded":{"type":"boolean","title":"Services Excluded","description":"The branch leaves labour lines out of the margin"},"labour":{"$ref":"#/components/schemas/LabourMargin","description":"All the quote's labour, forfait and excluded lines included"},"materials":{"$ref":"#/components/schemas/MarginFigures"},"margin_per_hour_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Margin Per Hour Ht","description":"Whole margin per hour of labour, a forfait counting its estimated time, HT; null when a forfait has no time, without any hour, or when the branch leaves labour out"}},"type":"object","required":["sold_ht","planned_cost_ht","margin_ht","markup_ratio","groups","global_discount_ht","moe_ht","services_excluded","labour","materials"],"title":"QuoteMargin","description":"Margin of a quote; the global discount and the moe forfait weigh on the total."},"QuoteMarginArticle":{"properties":{"title":{"type":"string","title":"Title"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/ItemType-Output"},{"type":"null"}]},"quantity":{"type":"number","title":"Quantity"},"minutes":{"type":"number","title":"Minutes","description":"Hours of a labour article"},"sold_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Sold Ht","description":"Null without a price"},"planned_cost_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Planned Cost Ht","description":"Null without a cost"},"margin_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Margin Ht","description":"Null without a price or a cost"},"markup_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Markup Ratio"}},"type":"object","required":["title","item_type","quantity","minutes","sold_ht","planned_cost_ht","margin_ht","markup_ratio"],"title":"QuoteMarginArticle","description":"An article of a line, for the whole line's quantity.\n\nRead-only detail: only in FROM_ARTICLES mode do its amounts add up to the line."},"QuoteMarginGroup":{"properties":{"sold_ht":{"type":"number","title":"Sold Ht"},"planned_cost_ht":{"type":"number","title":"Planned Cost Ht"},"margin_ht":{"type":"number","title":"Margin Ht"},"markup_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Markup Ratio","description":"Margin over the planned cost; null without a cost"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"title":{"type":"string","title":"Title"},"minimum_markup_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Minimum Markup Ratio","description":"The branch's minimum markup for this work type"},"below_minimum":{"type":"boolean","title":"Below Minimum","description":"Costed and under the branch's minimum markup","default":false},"margin_shortfall_ht":{"type":"number","title":"Margin Shortfall Ht","description":"Margin missing to reach the minimum markup, HT","default":0.0},"margin_per_hour_ht":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Margin Per Hour Ht","description":"Whole margin per hour of labour, a forfait counting its estimated time, HT; null when a forfait has no time, without any hour, or when the branch leaves labour out"},"labour":{"$ref":"#/components/schemas/LabourMargin","description":"All the group's labour, excluded lines included"},"materials":{"$ref":"#/components/schemas/MarginFigures"},"lines":{"items":{"$ref":"#/components/schemas/QuoteMarginLine"},"type":"array","title":"Lines"},"excluded_lines":{"items":{"$ref":"#/components/schemas/QuoteMarginLine"},"type":"array","title":"Excluded Lines","description":"Labour lines the branch's rules leave out of the margin"}},"type":"object","required":["sold_ht","planned_cost_ht","margin_ht","markup_ratio","enum_type_travaux_id","title","labour","materials","lines","excluded_lines"],"title":"QuoteMarginGroup","description":"The lines of one work type (an untyped price line stands alone)."},"QuoteMarginLine":{"properties":{"sold_ht":{"type":"number","title":"Sold Ht"},"planned_cost_ht":{"type":"number","title":"Planned Cost Ht"},"margin_ht":{"type":"number","title":"Margin Ht"},"markup_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Markup Ratio","description":"Margin over the planned cost; null without a cost"},"line_id":{"type":"string","format":"uuid","title":"Line Id"},"title":{"type":"string","title":"Title"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/ItemType-Output"},{"type":"null"}]},"quantity":{"type":"number","title":"Quantity"},"cost_missing":{"type":"boolean","title":"Cost Missing","description":"No purchase cost entered: a labour line counts its price"},"is_editable":{"type":"boolean","title":"Is Editable","description":"Its price may be changed"},"labour":{"$ref":"#/components/schemas/LabourMargin"},"materials":{"$ref":"#/components/schemas/MarginFigures"},"articles":{"items":{"$ref":"#/components/schemas/QuoteMarginArticle"},"type":"array","title":"Articles"}},"type":"object","required":["sold_ht","planned_cost_ht","margin_ht","markup_ratio","line_id","title","item_type","quantity","cost_missing","is_editable","labour","materials","articles"],"title":"QuoteMarginLine","description":"One billed line: sold after its own discount, planned cost, margin."},"QuotePatch":{"properties":{"status":{"anyOf":[{"type":"string","enum":["draft","pending","completed","sent","accepted","paid","delayed","error","to_emit","to_pay","partially_paid","abandoned"]},{"type":"null"}],"title":"Status"}},"additionalProperties":false,"type":"object","title":"QuotePatch","description":"A partial quote update: only the fields sent change, none sent is a no-op."},"QuoteRead":{"properties":{"blocks":{"anyOf":[{"items":{"$ref":"#/components/schemas/Block-Output"},"type":"array"},{"type":"null"}],"title":"Blocks","description":"The lines of a block document; null on a legacy one"},"lines_in_blocks":{"type":"boolean","title":"Lines In Blocks","description":"True: the lines live in `blocks`; false: in `funding`","default":false},"tax_bracket":{"anyOf":[{"$ref":"#/components/schemas/TaxBracket"},{"type":"null"}],"description":"Tranche de revenu","examples":["modeste"]},"taxable_income":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taxable Income","description":"Revenu Fiscal de Référence (RFR)."},"tax_shares":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tax Shares","description":"Number of tax shares."},"region":{"anyOf":[{"$ref":"#/components/schemas/TaxRegion"},{"type":"null"}],"description":"Tax region of the tax payer: IDF (Île-de-France) or OTHER, as in the ANAH income thresholds.","examples":["IDF"]},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"project_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"ownership":{"anyOf":[{"$ref":"#/components/schemas/Ownership"},{"type":"null"}],"description":"Type d'occupation du logement."},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id","description":"ID of the quote in the external provider. ","examples":["1234"]},"num_mpr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Num Mpr","description":"Numéro MaPrimeRénov"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Quote's own custom display name (internal metadata, never printed on the client PDF)."},"status":{"type":"string","enum":["draft","pending","completed","sent","accepted","paid","delayed","error","to_emit","to_pay","partially_paid","abandoned"],"title":"Status","description":"Status of the quote","default":"draft"},"expired_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expired At","description":"Date of expiration","examples":["2021-01-01T00:00:00"]},"accepted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Accepted At","description":"Date of acceptance","examples":["2021-01-01T00:00:00"]},"works_start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Works Start At","description":"Date of works start","examples":["2021-01-01T00:00:00"]},"works_start_delay":{"anyOf":[{"$ref":"#/components/schemas/WorksStartDelay"},{"type":"null"}],"description":"Works start delay chosen by the salesperson."},"works_duration_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Works Duration Days","description":"Estimated works duration in days, printed on the quote."},"technical_visit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Technical Visit At","description":"Date of technical visit","examples":["2021-01-01T00:00:00"]},"general_info":{"$ref":"#/components/schemas/QuoteGeneralInfo-Output","description":"General information about the quote"},"hypothesis":{"$ref":"#/components/schemas/Hypothesis-Output","description":"Hypothesis for the quote"},"subsidy_deduction_mode":{"$ref":"#/components/schemas/SubsidyDeductionMode","description":"How subsidies are deducted across the project's installments.","default":"EACH_INVOICE"},"last_invoice_min_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Last Invoice Min Amount","description":"LAST_INVOICE: TTC the last installment keeps, snapshotted from the branch at creation. NULL on quotes created before the setting: their invoices keep the threshold rule."},"id":{"type":"string","format":"uuid","title":"Id"},"funding":{"anyOf":[{"$ref":"#/components/schemas/Funding-Output"},{"type":"null"}]},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"sent_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Sent At","description":"When the quote was first sent"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"user":{"anyOf":[{"$ref":"#/components/schemas/QuoteUserInfo"},{"type":"null"}]},"lead_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Id"},"lead":{"anyOf":[{"$ref":"#/components/schemas/LeadRead"},{"type":"null"}]},"cee_fournisseur_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cee Fournisseur Id","description":"ID of the cee_fournisseur","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"catalog_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Id"},"invoices":{"title":"Invoices"},"total_net_to_pay":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Net To Pay"},"is_attached_to_worksite":{"type":"boolean","title":"Is Attached To Worksite","default":false}},"type":"object","required":["id","created_at","updated_at","scenario_id","user_id","user","lead_id","lead","invoices"],"title":"QuoteRead"},"QuoteSuggestions":{"properties":{"analyzed_quotes":{"type":"integer","title":"Analyzed Quotes"},"signed_quotes":{"type":"integer","title":"Signed Quotes"},"rules":{"items":{"$ref":"#/components/schemas/QuotedRuleSuggestion"},"type":"array","title":"Rules"},"ouvrages":{"items":{"$ref":"#/components/schemas/OuvrageSuggestion"},"type":"array","title":"Ouvrages"},"prices":{"items":{"$ref":"#/components/schemas/PriceSuggestion"},"type":"array","title":"Prices"},"manufacturer":{"items":{"$ref":"#/components/schemas/ManufacturerSuggestion"},"type":"array","title":"Manufacturer","default":[]},"dismissed_keys":{"items":{"type":"string"},"type":"array","title":"Dismissed Keys","description":"Keys of the suggestions the catalog's users dismissed","default":[]}},"type":"object","required":["analyzed_quotes","signed_quotes","rules","ouvrages","prices"],"title":"QuoteSuggestions"},"QuoteUnitPriceModeUpdate":{"properties":{"unit_price_mode":{"$ref":"#/components/schemas/DisplayUnitPrice"}},"additionalProperties":false,"type":"object","required":["unit_price_mode"],"title":"QuoteUnitPriceModeUpdate","description":"The unit price mode a quote switches to, its lines repriced in it."},"QuoteUpdate":{"properties":{"tax_bracket":{"anyOf":[{"$ref":"#/components/schemas/TaxBracket"},{"type":"null"}],"description":"Tranche de revenu","examples":["modeste"]},"taxable_income":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taxable Income","description":"Revenu Fiscal de Référence (RFR)."},"tax_shares":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tax Shares","description":"Number of tax shares."},"region":{"anyOf":[{"$ref":"#/components/schemas/TaxRegion"},{"type":"null"}],"description":"Tax region of the tax payer: IDF (Île-de-France) or OTHER, as in the ANAH income thresholds.","examples":["IDF"]},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"project_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Project Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"ownership":{"anyOf":[{"$ref":"#/components/schemas/Ownership"},{"type":"null"}],"description":"Type d'occupation du logement."},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"num_mpr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Num Mpr","description":"Numéro MaPrimeRénov"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Quote's own custom display name (internal metadata, never printed on the client PDF)."},"status":{"type":"string","enum":["draft","pending","completed","sent","accepted","paid","delayed","error","to_emit","to_pay","partially_paid","abandoned"],"title":"Status","description":"Status of the quote","default":"draft"},"expired_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expired At","description":"Date of expiration","examples":["2021-01-01T00:00:00"]},"accepted_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Accepted At","description":"Date of acceptance","examples":["2021-01-01T00:00:00"]},"works_start_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Works Start At","description":"Date of works start","examples":["2021-01-01T00:00:00"]},"works_start_delay":{"anyOf":[{"$ref":"#/components/schemas/WorksStartDelay"},{"type":"null"}],"description":"Works start delay chosen by the salesperson."},"works_duration_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Works Duration Days","description":"Estimated works duration in days, printed on the quote."},"technical_visit_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Technical Visit At","description":"Date of technical visit","examples":["2021-01-01T00:00:00"]},"general_info":{"$ref":"#/components/schemas/QuoteGeneralInfo-Input","description":"General information about the quote"},"hypothesis":{"$ref":"#/components/schemas/Hypothesis-Input","description":"Hypothesis for the quote"},"subsidy_deduction_mode":{"$ref":"#/components/schemas/SubsidyDeductionMode","description":"How subsidies are deducted across the project's installments.","default":"EACH_INVOICE"},"last_invoice_min_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Last Invoice Min Amount","description":"LAST_INVOICE: TTC the last installment keeps, snapshotted from the branch at creation. NULL on quotes created before the setting: their invoices keep the threshold rule."},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"funding":{"anyOf":[{"$ref":"#/components/schemas/Funding-Input"},{"type":"null"}],"description":"Financing only: subsidies, loans, advances, discounts"},"blocks":{"anyOf":[{"items":{"$ref":"#/components/schemas/Block-Input"},"type":"array"},{"type":"null"}],"title":"Blocks","description":"The full block tree; replaces every line of the quote"},"scenario_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Scenario Id"},"lead_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Lead Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"source":{"anyOf":[{"type":"string","enum":["bdnb","geopf","lead","user","auto","import","rollback","system","urbs","opendata","salesforce","partner"]},{"type":"null"}],"title":"Source"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id"},"cee_fournisseur_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cee Fournisseur Id","description":"ID of the cee_fournisseur","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"catalog_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Id"}},"additionalProperties":false,"type":"object","required":["scenario_id"],"title":"QuoteUpdate"},"QuoteUserInfo":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}},"type":"object","required":["id"],"title":"QuoteUserInfo","description":"Simplified user information for quotes"},"QuoteValidityDuration":{"type":"string","enum":["fifteen_days","one_month","two_months","three_months"],"title":"QuoteValidityDuration"},"QuotedRuleSuggestion":{"properties":{"key":{"type":"string","title":"Key"},"kind":{"$ref":"#/components/schemas/RuleSuggestionKind"},"trigger":{"$ref":"#/components/schemas/ItemType-Output"},"target_item_id":{"type":"string","format":"uuid","title":"Target Item Id"},"target_title":{"type":"string","title":"Target Title"},"rule":{"$ref":"#/components/schemas/RuleWrite-Output"},"replaces_rule_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Replaces Rule Id"},"current_rule":{"anyOf":[{"$ref":"#/components/schemas/CurrentRule"},{"type":"null"}],"description":"The rule replaced (update) or already covering it (covered)"},"evidence":{"$ref":"#/components/schemas/Evidence"}},"type":"object","required":["key","kind","trigger","target_item_id","target_title","rule","evidence"],"title":"QuotedRuleSuggestion"},"RampantMaterial":{"type":"string","enum":["tuile_ardoise","bois_bardeaux","chaume","metal","inconnu"],"title":"RampantMaterial"},"Rampants":{"properties":{"knee_wall_height":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Knee Wall Height","description":"Hauteur de jambage","examples":[80.0]},"rafter_spacing":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Rafter Spacing","description":"Espacement entre chevrons","examples":[60.0]},"has_access":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Access","description":"Présence d'un accès aux rampants.","examples":[true]},"alternative_access":{"anyOf":[{"$ref":"#/components/schemas/RoofAlternativeAccess"},{"type":"null"}],"description":"Type d'accès alternatif si pas d'accès direct.","examples":["trapdoor"]},"has_batten":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Batten","description":"Présence de liteaux.","examples":[true]},"needs_batten_cutting":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Needs Batten Cutting","description":"Indique si une découpe des liteaux est nécessaire.","examples":[false]},"has_vapour_barrier":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Vapour Barrier","description":"Présence d'un pare-vapeur.","examples":[true]},"material":{"anyOf":[{"$ref":"#/components/schemas/RampantMaterial"},{"type":"null"}],"description":"Matériau de couverture du rampant.","examples":["tuile_ardoise"]}},"type":"object","title":"Rampants","description":"Thoses values are used from the user to calculate the rampants"},"ReachableUserRead":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"},"is_active":{"type":"boolean","title":"Is Active","default":true},"branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id"},"branch_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Branch Name"}},"type":"object","required":["id"],"title":"ReachableUserRead","description":"A user of a branch the requester reaches, in any of their companies."},"ReadingInUnits":{"properties":{"eur":{"type":"number","title":"Eur"},"kwh":{"type":"number","title":"Kwh"},"native":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Native"}},"type":"object","required":["eur","kwh"],"title":"ReadingInUnits","description":"One reading in each unit it can be entered in: € TTC, kWh as billed (PCS for\nnatural gas), the native unit if the energy has one."},"ReadingSource":{"type":"string","enum":["manual","meter","document"],"title":"ReadingSource"},"ReadingStatus":{"type":"string","enum":["pending","running","completed","failed"],"title":"ReadingStatus"},"ReadingUnit":{"type":"string","enum":["eur","kwh","native"],"title":"ReadingUnit"},"ReceptionFileGeneration":{"properties":{"workflow_id":{"type":"string","title":"Workflow Id"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"},"bundle_id":{"type":"string","format":"uuid","title":"Bundle Id"}},"type":"object","required":["workflow_id","bundle_id"],"title":"ReceptionFileGeneration"},"ReceptionSummary":{"properties":{"worksites":{"items":{"$ref":"#/components/schemas/ReceptionSummaryWorksite"},"type":"array","title":"Worksites"},"documents":{"items":{"$ref":"#/components/schemas/ReceptionSummaryDocument"},"type":"array","title":"Documents"}},"type":"object","required":["worksites","documents"],"title":"ReceptionSummary"},"ReceptionSummaryDocument":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"type":"string","title":"Title"}},"type":"object","required":["id","title"],"title":"ReceptionSummaryDocument"},"ReceptionSummaryLot":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"enum_type_travaux_id":{"$ref":"#/components/schemas/TypeTravaux"},"started_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Started At"},"ended_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Ended At"},"subcontractor_names":{"items":{"type":"string"},"type":"array","title":"Subcontractor Names"}},"type":"object","required":["id","enum_type_travaux_id","started_at","ended_at","subcontractor_names"],"title":"ReceptionSummaryLot","description":"A finished geste, as the client reads it in the works recap."},"ReceptionSummaryWorksite":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"name":{"type":"string","title":"Name"},"lots":{"items":{"$ref":"#/components/schemas/ReceptionSummaryLot"},"type":"array","title":"Lots"}},"type":"object","required":["id","name","lots"],"title":"ReceptionSummaryWorksite"},"RefacingColor":{"properties":{"type":{"type":"string","enum":["ral","hex","custom"],"title":"Type"},"identifier":{"type":"string","title":"Identifier"}},"type":"object","required":["type","identifier"],"title":"RefacingColor"},"ReferenceCollection":{"properties":{"reference":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"string"}],"maxLength":255,"minLength":1,"title":"Reference","description":"Référence de l'objet rénové"}},"type":"object","title":"ReferenceCollection"},"ReferenceScope":{"type":"string","enum":["company","branch"],"title":"ReferenceScope"},"RefrigerantCheck-Input":{"properties":{"heat_pump_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heat Pump Group Id","description":"The outdoor group, as OutdoorGroup.heat_pump_group_id"},"lines":{"items":{"$ref":"#/components/schemas/RefrigerantLineCheck"},"type":"array","title":"Lines","description":"One line per indoor unit the outdoor unit feeds","default":[]},"total_length":{"type":"number","title":"Total Length","description":"Sum of the lengths entered (m)"},"max_total_length":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Total Length","description":"Longest total the outdoor unit allows (m)"},"total_status":{"$ref":"#/components/schemas/RefrigerantLengthStatus","description":"The total within its limit, too long, or unknown"},"max_height_difference":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Height Difference","description":"Largest height difference the outdoor unit allows (m)"},"precharged_length":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Precharged Length","description":"Line length the factory charge covers (m)"},"additional_charge_g":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Additional Charge G","description":"Refrigerant to add for the lines beyond the precharged length (g); None without the maker's figures"},"liquid_line_diameter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Liquid Line Diameter","description":"Diameter of the liquid line (1/4\")"},"gas_line_diameter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gas Line Diameter","description":"Diameter of the gas line (3/8\")"}},"type":"object","required":["total_length","total_status"],"title":"RefrigerantCheck","description":"The refrigerant lines of one outdoor unit against its limits (read-only)."},"RefrigerantCheck-Output":{"properties":{"heat_pump_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heat Pump Group Id","description":"The outdoor group, as OutdoorGroup.heat_pump_group_id"},"lines":{"items":{"$ref":"#/components/schemas/RefrigerantLineCheck"},"type":"array","title":"Lines","description":"One line per indoor unit the outdoor unit feeds","default":[]},"total_length":{"type":"number","title":"Total Length","description":"Sum of the lengths entered (m)"},"max_total_length":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Total Length","description":"Longest total the outdoor unit allows (m)"},"total_status":{"$ref":"#/components/schemas/RefrigerantLengthStatus","description":"The total within its limit, too long, or unknown"},"max_height_difference":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Height Difference","description":"Largest height difference the outdoor unit allows (m)"},"precharged_length":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Precharged Length","description":"Line length the factory charge covers (m)"},"additional_charge_g":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Additional Charge G","description":"Refrigerant to add for the lines beyond the precharged length (g); None without the maker's figures"},"liquid_line_diameter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Liquid Line Diameter","description":"Diameter of the liquid line (1/4\")"},"gas_line_diameter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gas Line Diameter","description":"Diameter of the gas line (3/8\")"}},"type":"object","required":["total_length","total_status"],"title":"RefrigerantCheck","description":"The refrigerant lines of one outdoor unit against its limits (read-only)."},"RefrigerantLengthStatus":{"type":"string","enum":["within","too_long","unknown"],"title":"RefrigerantLengthStatus"},"RefrigerantLine-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"length":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Length","description":"Length of the refrigerant line"},"unit_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit Reference","description":"Reference of the indoor unit this line runs to"}},"type":"object","title":"RefrigerantLine","description":"Documentation model for a refrigerant line."},"RefrigerantLine-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Output"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Output"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"length":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Length","description":"Length of the refrigerant line"},"unit_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit Reference","description":"Reference of the indoor unit this line runs to"}},"type":"object","title":"RefrigerantLine","description":"Documentation model for a refrigerant line."},"RefrigerantLineCheck":{"properties":{"unit_reference":{"type":"string","title":"Unit Reference","description":"Reference of the indoor unit the line runs to"},"length":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Length","description":"Length entered for the line (m)"},"max_length":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Length","description":"Longest line the outdoor unit allows (m)"},"status":{"$ref":"#/components/schemas/RefrigerantLengthStatus","description":"The line within its limit, too long, or unknown"}},"type":"object","required":["unit_reference","status"],"title":"RefrigerantLineCheck","description":"One refrigerant line, from the outdoor unit to one indoor unit (read-only)."},"ReorderItem":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"position":{"type":"integer","title":"Position"}},"type":"object","required":["id","position"],"title":"ReorderItem","description":"Single item in a reorder request."},"ReorderRequest":{"properties":{"rules":{"items":{"$ref":"#/components/schemas/ReorderItem"},"type":"array","title":"Rules"}},"type":"object","required":["rules"],"title":"ReorderRequest","description":"Schema for reordering attribution rules."},"Replace-Input":{"properties":{"type":{"type":"string","const":"replace","title":"Type","default":"replace"},"target":{"oneOf":[{"$ref":"#/components/schemas/ItemRef"},{"$ref":"#/components/schemas/ItemQuery-Input"}],"title":"Target","discriminator":{"propertyName":"type","mapping":{"item_query":"#/components/schemas/ItemQuery-Input","item_ref":"#/components/schemas/ItemRef"}}},"by":{"$ref":"#/components/schemas/ItemRef"}},"additionalProperties":false,"type":"object","required":["target","by"],"title":"Replace"},"Replace-Output":{"properties":{"type":{"type":"string","const":"replace","title":"Type","default":"replace"},"target":{"oneOf":[{"$ref":"#/components/schemas/ItemRef"},{"$ref":"#/components/schemas/ItemQuery-Output"}],"title":"Target","discriminator":{"propertyName":"type","mapping":{"item_query":"#/components/schemas/ItemQuery-Output","item_ref":"#/components/schemas/ItemRef"}}},"by":{"$ref":"#/components/schemas/ItemRef"}},"additionalProperties":false,"type":"object","required":["target","by"],"title":"Replace"},"Report":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"type":{"$ref":"#/components/schemas/DocumentInstanceType"},"lead_id":{"type":"string","format":"uuid","title":"Lead Id"},"project_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Project Id"},"endpoint_method":{"type":"string","enum":["GET","POST"],"title":"Endpoint Method"},"endpoint_path":{"type":"string","title":"Endpoint Path"},"document_instance_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Document Instance Id"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"generated_document_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Generated Document Url"}},"type":"object","required":["id","name","type","lead_id","endpoint_method","endpoint_path"],"title":"Report","description":"Report model for listing available reports"},"ReportsListResponse":{"properties":{"reports":{"items":{"$ref":"#/components/schemas/Report"},"type":"array","title":"Reports"}},"type":"object","required":["reports"],"title":"ReportsListResponse","description":"Response model for listing reports"},"RequirementLevel":{"type":"string","enum":["required","recommended"],"title":"RequirementLevel","description":"How strongly a datasheet asks for an accessory."},"Roof":{"properties":{"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"opening":{"anyOf":[{"type":"string","enum":["door","trapdoor"]},{"type":"null"}],"title":"Opening"},"door":{"anyOf":[{"$ref":"#/components/schemas/argile__survey__diag__models__accessibility__Door"},{"type":"null"}]},"trapdoor":{"anyOf":[{"$ref":"#/components/schemas/Trapdoor"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"is_accessible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Accessible","description":"Indique si la toiture est accessible ou non.","examples":[true]},"area":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Area","default":100},"solive":{"anyOf":[{"type":"string","enum":["none","wood","metal","other","unknown"]},{"type":"null"}],"title":"Solive"},"reference_lnc":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Lnc","description":"Référence projet de l'objet local non chauffé qui peut être associé à la paroi . Dans le cas d'un espace tampon solarisé cette référence est celle de l'espace tampon."},"tv_coef_reduction_deperdition_id":{"anyOf":[{"type":"integer","maximum":283.0,"minimum":1.0},{"type":"null"}],"title":"Tv Coef Reduction Deperdition Id","description":"ID de la ligne de la table utilisée pour le calcul de coefficient de reduction des déperditions","examples":[1]},"surface_aiu":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Aiu","description":"Surface aiu : surface des parois du local non chauffé qui donnent sur des locaux chauffés."},"surface_aue":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Surface Aue","description":"Surface aue : surface des parois du local non chauffé en contact avec l'extérieur ou le sol"},"enum_cfg_isolation_lnc_id":{"anyOf":[{"$ref":"#/components/schemas/CfgIsolationLnc"},{"type":"null"}],"description":"Configuration de l'adjacence avec local non chauffé : local chauffé (non) isolé/local non chauffé (non) isolé/orientation véranda qui permet de calculer le b"},"surface_paroi_opaque":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Paroi Opaque","description":"Surface de paroi opaque","examples":[66.04]},"surface_to_insulate":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Surface To Insulate","description":"Surface effectivement à isoler sur ce plancher haut (≤ surface_paroi_opaque). Si non renseigné, on considère que toute la paroi est à isoler.","examples":[60.0]},"uph0_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uph0 Saisi","description":"Coefficient de transmission thermique du planchers hauts non isolé Saisi en direct par l'utilisateur (à justifier)"},"tv_uph0_id":{"anyOf":[{"type":"integer","maximum":14.0,"minimum":1.0},{"type":"null"}],"title":"Tv Uph0 Id","description":"ID de la ligne de la table utilisée pour le calcul du coefficient de transmission thermique uph0","examples":[8]},"enum_type_plancher_haut_id":{"anyOf":[{"$ref":"#/components/schemas/TypePlancherHaut"},{"type":"null"}],"description":"Type de plancher haut","examples":[8]},"enum_methode_saisie_u0_id":{"$ref":"#/components/schemas/MethodeSaisieU0","description":"Methode de saisie de U0 (inclus les justifications à produire en cas de saisie directe)","default":1,"examples":[2],"ge":1,"le":5},"uph_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uph Saisi","description":"Coefficient de transmission thermique du planchers_hauts saisi en direct par le diagnostiqueur(à justifier)"},"enum_type_isolation_id":{"anyOf":[{"$ref":"#/components/schemas/argile__engine__dpe__enum_types__type_isolation__TypeIsolation","ge":1,"le":9},{"type":"null"}],"description":"Type d'isolation du plancher haut (ITI/ITE…..)","examples":[2]},"enum_periode_isolation_id":{"anyOf":[{"$ref":"#/components/schemas/PeriodeIsolationEnum","ge":1,"le":10},{"type":"null"}],"description":"Période d'isolation à saisir si différent de la période de construction (cas d'une rénovation de la paroi)"},"epaisseur_isolation":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Epaisseur Isolation","description":"Epaisseur de l'isolation (si plusieurs isolant différents sommer leurs épaisseurs)"},"materiau_isolation":{"anyOf":[{"$ref":"#/components/schemas/MateriauIsolation"},{"type":"null"}],"description":"matériau d'isolation thermique"},"tv_uph_id":{"anyOf":[{"type":"integer","maximum":96.0,"minimum":1.0},{"type":"null"}],"title":"Tv Uph Id","description":"ID de la ligne de la table utilisée pour le calcul du coefficient de transmission thermique uph"},"enum_methode_saisie_u_id":{"$ref":"#/components/schemas/MethodeSaisieU","description":"Méthode de saisie du U (inclus les justifications à produire en cas de saisie directe)","default":2,"examples":[1],"ge":1,"le":10},"enum_etat_composant_id":{"anyOf":[{"$ref":"#/components/schemas/EtatComposant"},{"type":"null"}],"description":"Indique si le composant a été changé par rapport au logement initial","default":1},"insulation_condition":{"anyOf":[{"$ref":"#/components/schemas/InsulationCondition"},{"type":"null"}],"description":"Physical state of the existing insulation recorded during the technical visit (outside 3CL)"},"resistance_isolation":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Resistance Isolation","description":"Résistance thermique de l'isolation (si plusieurs isolant différents sommer leurs résistances)"},"enum_type_adjacence_id":{"$ref":"#/components/schemas/TypeAdjacence","description":"Type d'adjacence avec local non chauffé (LNC)","default":1,"examples":[1]},"to_isolate":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"To Isolate","description":"Is the roof to be isolated?"},"zones":{"anyOf":[{"items":{"$ref":"#/components/schemas/EnvelopeZone"},"type":"array"},{"type":"null"}],"title":"Zones","description":"Zones déperditives et non déperditives de la toiture"},"has_development_project":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Development Project","description":"Indique si il y'a un projet de développement associé à la toiture","examples":[true]},"deflectors_linear_meters":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Deflectors Linear Meters","description":"Métrage linéaire des déflecteurs à poser (combles perdus). None = pas de déflecteurs nécessaires ; un nombre (y compris 0) = déflecteurs nécessaires sur ce métrage.","examples":[12.0]},"rampants":{"anyOf":[{"$ref":"#/components/schemas/Rampants"},{"type":"null"}]}},"type":"object","title":"Roof"},"RoofAccessType":{"type":"string","enum":["ladder","nacelle","scaffolding"],"title":"RoofAccessType","description":"Equipment used to access the roof."},"RoofAlternativeAccess":{"type":"string","enum":["trapdoor","roof_passage"],"title":"RoofAlternativeAccess"},"RoofExitZone1":{"properties":{"chimney_stack_size":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Chimney Stack Size","description":"Size of the chimney stack"},"distance_to_neighbor_ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Distance To Neighbor Ok","description":"Distance to neighbor is OK"},"distance_to_window_ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Distance To Window Ok","description":"Distance to window is OK"}},"type":"object","title":"RoofExitZone1","description":"Zone 1 (roof exit): flue exits above the roofline (faîtage)."},"RoofExitZone2":{"properties":{"window_distance_ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Window Distance Ok","description":"Distance to window is OK"},"simple_wall_distance_ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Simple Wall Distance Ok","description":"Distance to simple wall is OK"},"wall_with_window_distance_ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Wall With Window Distance Ok","description":"Distance to wall with window is OK"},"neighbor_no_opening_ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Neighbor No Opening Ok","description":"Distance to neighbor without opening is OK"},"neighbor_with_opening_ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Neighbor With Opening Ok","description":"Distance to neighbor with opening is OK"}},"type":"object","title":"RoofExitZone2","description":"Zone 2 (roof exit): flue exits below the roofline, for pellet stoves only."},"RoofFrame":{"type":"string","enum":["metal","wood","concrete"],"title":"RoofFrame","description":"What supports the roof (charpente), independent of the covering."},"RoofFrameCondition":{"type":"string","enum":["good","average","bad"],"title":"RoofFrameCondition","description":"Condition of the roof frame."},"RoofMaterial":{"type":"string","enum":["concrete","gravel","bitumen","slate","tile","metal","fibro"],"title":"RoofMaterial","description":"Material of the roof section."},"RoofMaterialSubtype":{"type":"string","enum":["channel","flat","mechanical","zinc","steel","corrugated"],"title":"RoofMaterialSubtype","description":"Subtype of the roof material."},"RoofSection-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/RoofSectionAsset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"inclination":{"anyOf":[{"$ref":"#/components/schemas/InclinationKind"},{"type":"null"}]},"inclination_angle_degrees":{"anyOf":[{"type":"number","maximum":90.0,"minimum":0.0},{"type":"null"}],"title":"Inclination Angle Degrees"},"material":{"anyOf":[{"$ref":"#/components/schemas/RoofMaterial"},{"type":"null"}]},"material_subtype":{"anyOf":[{"$ref":"#/components/schemas/RoofMaterialSubtype"},{"type":"null"}]},"orientation_degrees":{"anyOf":[{"type":"number","exclusiveMaximum":360.0,"minimum":0.0},{"type":"null"}],"title":"Orientation Degrees","description":"Azimuth: 0=N, 90=E, 180=S, 270=W."},"detection_source":{"anyOf":[{"$ref":"#/components/schemas/RoofSectionDetectionSource"},{"type":"null"}]},"frame_type":{"anyOf":[{"$ref":"#/components/schemas/RoofFrame"},{"type":"null"}]},"frame_condition":{"anyOf":[{"$ref":"#/components/schemas/RoofFrameCondition"},{"type":"null"}]},"ridge_height_meters":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Ridge Height Meters"},"gutter_height_meters":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Gutter Height Meters"},"sealed_tiles":{"anyOf":[{"$ref":"#/components/schemas/YesNoUnknown"},{"type":"null"}]},"attic_accessible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Attic Accessible"},"attic_access":{"anyOf":[{"$ref":"#/components/schemas/AtticAccess-Input"},{"type":"null"}]},"under_tile_plate":{"anyOf":[{"$ref":"#/components/schemas/YesNoUnknown"},{"type":"null"}]},"significant_shading":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Significant Shading"},"broken_tiles":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Broken Tiles"}},"type":"object","title":"RoofSection","description":"Pan de toiture.\n\nSert à placer des modules photovoltaïques sur une toiture."},"RoofSection-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/RoofSectionAsset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Output"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Output"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"inclination":{"anyOf":[{"$ref":"#/components/schemas/InclinationKind"},{"type":"null"}]},"inclination_angle_degrees":{"anyOf":[{"type":"number","maximum":90.0,"minimum":0.0},{"type":"null"}],"title":"Inclination Angle Degrees"},"material":{"anyOf":[{"$ref":"#/components/schemas/RoofMaterial"},{"type":"null"}]},"material_subtype":{"anyOf":[{"$ref":"#/components/schemas/RoofMaterialSubtype"},{"type":"null"}]},"orientation_degrees":{"anyOf":[{"type":"number","exclusiveMaximum":360.0,"minimum":0.0},{"type":"null"}],"title":"Orientation Degrees","description":"Azimuth: 0=N, 90=E, 180=S, 270=W."},"detection_source":{"anyOf":[{"$ref":"#/components/schemas/RoofSectionDetectionSource"},{"type":"null"}]},"frame_type":{"anyOf":[{"$ref":"#/components/schemas/RoofFrame"},{"type":"null"}]},"frame_condition":{"anyOf":[{"$ref":"#/components/schemas/RoofFrameCondition"},{"type":"null"}]},"ridge_height_meters":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Ridge Height Meters"},"gutter_height_meters":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Gutter Height Meters"},"sealed_tiles":{"anyOf":[{"$ref":"#/components/schemas/YesNoUnknown"},{"type":"null"}]},"attic_accessible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Attic Accessible"},"attic_access":{"anyOf":[{"$ref":"#/components/schemas/AtticAccess-Output"},{"type":"null"}]},"under_tile_plate":{"anyOf":[{"$ref":"#/components/schemas/YesNoUnknown"},{"type":"null"}]},"significant_shading":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Significant Shading"},"broken_tiles":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Broken Tiles"}},"type":"object","title":"RoofSection","description":"Pan de toiture.\n\nSert à placer des modules photovoltaïques sur une toiture."},"RoofSectionAsset":{"properties":{"type":{"type":"string","enum":["video","sound","image","segmentation","marker","no_lidar_available","reconstruction_3d"],"title":"Type"},"coordinate":{"anyOf":[{"$ref":"#/components/schemas/AccomodationCoordinate"},{"type":"null"}]},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"attributes":{"items":{"$ref":"#/components/schemas/Attribute"},"type":"array","title":"Attributes","description":"A very broad field to store any relevant data related to this asset","default":[]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"tag":{"anyOf":[{"type":"string","enum":["wide","close","broken_tiles"]},{"type":"null"}],"title":"Tag"}},"additionalProperties":false,"type":"object","required":["type"],"title":"RoofSectionAsset"},"RoofSectionDetectionSource":{"type":"string","enum":["google_solar","lidar"],"title":"RoofSectionDetectionSource","description":"Origin of the roof section. None means it was drawn by hand."},"RoofSegmentSummary":{"properties":{"panels_count":{"type":"integer","title":"Panels Count","description":"The total number of panels on this segment."},"yearly_energy_dc_kwh":{"type":"number","title":"Yearly Energy Dc Kwh","description":"How much sunlight energy this part captures over a year, in DC kWh."},"pitch_degrees":{"type":"number","title":"Pitch Degrees","description":"Angle of the roof segment relative to the theoretical ground plane."},"azimuth_degrees":{"type":"number","title":"Azimuth Degrees","description":"Compass direction the roof segment is pointing in."},"segment_index":{"type":"integer","title":"Segment Index","description":"Index in roofSegmentStats of the corresponding stats."}},"type":"object","required":["panels_count","yearly_energy_dc_kwh","pitch_degrees","azimuth_degrees","segment_index"],"title":"RoofSegmentSummary"},"RoofType":{"type":"string","enum":["tile","slate","sheet_metal","zinc"],"title":"RoofType"},"RoofWindow":{"properties":{"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"manufacturing_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Manufacturing Year"},"has_label":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Label"},"velux_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Velux Code"}},"type":"object","title":"RoofWindow","description":"A roof window documented during the ventilation technical visit.\n\nOnly rooms without another window need one: the air inlets have to go on it."},"Room":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"function":{"anyOf":[{"$ref":"#/components/schemas/RoomFunction"},{"type":"null"}],"description":"Function of the room (living room, kitchen, etc.)"},"is_wet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Wet","description":"Whether the room is a wet room. Wet rooms are used to register ventilation elements.","default":false},"surface":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface","description":"Surface of the room in square meters"},"height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Height","description":"Height of the room in centimeters"},"temperature_setpoint":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temperature Setpoint","description":"Temperature setpoint for the room"},"emitters":{"items":{"$ref":"#/components/schemas/RoomEmitter"},"type":"array","title":"Emitters","description":"List of emitters in the room","default":[]},"is_advanced_sizing":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Advanced Sizing","description":"Whether the room envelope below drives its heat load, instead of the dwelling-wide pro-rata"},"enum_orientation_id":{"anyOf":[{"$ref":"#/components/schemas/Orientation","ge":1,"le":5},{"type":"null"}],"description":"Orientation de la pièce","examples":[2]},"walls":{"items":{"$ref":"#/components/schemas/Wall"},"type":"array","title":"Walls","description":"Deperditive wall segments of the room","default":[]},"ceilings":{"items":{"$ref":"#/components/schemas/Roof"},"type":"array","title":"Ceilings","description":"Deperditive ceilings of the room","default":[]},"low_floors":{"items":{"$ref":"#/components/schemas/FirstFloor"},"type":"array","title":"Low Floors","description":"Deperditive low floors of the room","default":[]},"openings":{"items":{"$ref":"#/components/schemas/RoomOpening"},"type":"array","title":"Openings","description":"Windows, French windows and doors of the room","default":[]}},"type":"object","title":"Room","description":"A room in a building"},"RoomChange":{"properties":{"room_id":{"type":"string","title":"Room Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"kind":{"$ref":"#/components/schemas/RoomChangeKind"},"level_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level Name"},"area_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Area M2"},"previous_area_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Previous Area M2"},"from_level_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"From Level Name"},"sources":{"items":{"$ref":"#/components/schemas/RoomChangeSource"},"type":"array","title":"Sources","description":"The rooms a merged room replaces","default":[]}},"type":"object","required":["room_id","name","kind","level_name","area_m2","previous_area_m2"],"title":"RoomChange","description":"What a save changed for one room, against the version it was edited from."},"RoomChangeKind":{"type":"string","enum":["merged","moved","resized","added","removed","renamed"],"title":"RoomChangeKind"},"RoomChangeSource":{"properties":{"room_id":{"type":"string","title":"Room Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"area_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Area M2"}},"type":"object","required":["room_id","name","area_m2"],"title":"RoomChangeSource"},"RoomCoverage":{"properties":{"room_reference":{"type":"string","title":"Room Reference"},"winter":{"anyOf":[{"$ref":"#/components/schemas/SeasonCoverage"},{"type":"null"}]},"summer":{"anyOf":[{"$ref":"#/components/schemas/SeasonCoverage"},{"type":"null"}]},"winter_contribution":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Winter Contribution","description":"A candidate unit's own power over the room's need, in %"},"summer_contribution":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Summer Contribution","description":"A candidate unit's own cooling power over the room's need, in %"}},"type":"object","required":["room_reference"],"title":"RoomCoverage","description":"Coverage of one room by the indoor units hung in it (air/air)."},"RoomEmitter":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/RoomEmitterAsset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"macro_category":{"anyOf":[{"$ref":"#/components/schemas/RoomEmitterMacroCategory"},{"type":"null"}],"description":"Macro catégorie de l'émetteur. Uniquement pour le front"},"category":{"anyOf":[{"$ref":"#/components/schemas/RoomEmitterCategory"},{"type":"null"}],"description":"Catégorie de l'émetteur. Uniquement pour le front"},"subtype":{"anyOf":[{"$ref":"#/components/schemas/RoomEmitterSubtype"},{"type":"null"}],"description":"Sous-type de l'émetteur. Uniquement pour le front"},"longueur_emetteur":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Longueur Emetteur","description":"Longueur de l'émetteur","donnee_entree":true},"largeur_emetteur":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Largeur Emetteur","description":"Largeur de l'émetteur","donnee_entree":true},"tv_type_emetteur_ch_id":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Tv Type Emetteur Ch Id","description":"ID de la ligne de la table utilisée pour le calcul du type d'émetteur de chauffage","examples":[1],"donnee_entree":true},"surface_plancher_chauffant":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Plancher Chauffant","description":"Surface du plancher chauffant"},"has_thermostatic_valve":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Thermostatic Valve","description":"Le radiateur est équipé d'une vanne thermostatique ; None = non renseigné, traité comme équipé"}},"type":"object","title":"RoomEmitter"},"RoomEmitterAsset":{"properties":{"type":{"type":"string","enum":["video","sound","image","segmentation","marker","no_lidar_available","reconstruction_3d"],"title":"Type"},"coordinate":{"anyOf":[{"$ref":"#/components/schemas/AccomodationCoordinate"},{"type":"null"}]},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"attributes":{"items":{"$ref":"#/components/schemas/Attribute"},"type":"array","title":"Attributes","description":"A very broad field to store any relevant data related to this asset","default":[]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"tag":{"anyOf":[{"type":"string","enum":["front","heated_floor_nourrices"]},{"type":"null"}],"title":"Tag"}},"additionalProperties":false,"type":"object","required":["type"],"title":"RoomEmitterAsset"},"RoomEmitterCategory":{"type":"string","enum":["panneaux_acier_horizontal","panneaux_acier_vertical","radiateur_en_fonte","radiateur_en_aluminium","convecteurs_eau_chaude","radiateurs_tubes_plats_horizontal","radiateurs_tubes_plats_vertical","radiateurs_tubes_ronds_horizontal","radiateurs_tubes_ronds_vertical","radiateurs_seches_serviettes","radiateurs_multi_colonnes_acier_vertical","lamellaire_panneau_plisse_en_acier","plancher_chauffant"],"title":"RoomEmitterCategory"},"RoomEmitterMacroCategory":{"type":"string","enum":["radiateur","plancher_chauffant"],"title":"RoomEmitterMacroCategory"},"RoomEmitterSubtype":{"type":"string","enum":["10","11","20","21","22","32","33","2 col","3 col","4 col","5 col","6 col","Pf = 80","Pf = 95","Pf = 140","Simple sans ailettes","Simple avec ailettes","Double","Simple","Pf = 120 éch simple","Pf = 170 éch simple","Pf = 220 éch simple","Pf = 120 éch double","Pf = 170 éch double","Pf = 220 éch double","2 colonnes","3 colonnes","4 colonnes","Pf = 65","Pf = 95","Pf = 120"],"title":"RoomEmitterSubtype","description":"Sous-type de l'émetteur, dépendant de la catégorie"},"RoomEmittersSizing":{"properties":{"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Nom donné à la pièce au relevé, None s'il n'a pas été saisi"},"method":{"$ref":"#/components/schemas/DeperditionsMethod","description":"Pièce calculée paroi par paroi, ou part du logement"},"deperditions":{"type":"number","title":"Deperditions","description":"Déperditions de la pièce après travaux (kW)"},"emitters_power_p50":{"type":"number","title":"Emitters Power P50"},"emitters_power":{"type":"number","title":"Emitters Power"},"coverage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Coverage","description":"Puissance émise / déperditions de la pièce"},"coverage_level":{"anyOf":[{"$ref":"#/components/schemas/CoverageLevel"},{"type":"null"}]},"missing_power":{"type":"number","title":"Missing Power","description":"Puissance à ajouter pour couvrir la pièce (kW)"},"emitters":{"items":{"$ref":"#/components/schemas/EmitterSizing"},"type":"array","title":"Emitters"}},"type":"object","required":["reference","method","deperditions","emitters_power_p50","emitters_power","coverage","coverage_level","missing_power","emitters"],"title":"RoomEmittersSizing"},"RoomFunction":{"type":"string","enum":["living_room","kitchen","bedroom","bathroom","bathroom_with_toilet","other_wet_room","toilet","hall","circulation","office","dining_room","other"],"title":"RoomFunction","description":"Room function types for rooms in a building"},"RoomNeed":{"properties":{"room_reference":{"type":"string","title":"Room Reference"},"heat_need":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heat Need","description":"Heating need at T_base, in kW; None when not heated"},"cool_need":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cool Need","description":"Cooling need, in kW; None when not cooled"}},"type":"object","required":["room_reference"],"title":"RoomNeed","description":"What one room an air/air work serves asks of it, whatever the units retained."},"RoomOpening":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"reference_ouvrant":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Ouvrant","description":"référence de l'ouvrant du diagnostic dont cette baie est issue (une fenêtre de nb_baie N est éclatée en N baies pour le DPE)","examples":["fenetre-1"]},"reference_paroi":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Paroi","description":"référence projet de la façade associé à la fenêtre","examples":["façade-1"]},"reference_wall_zone":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Wall Zone","description":"référence projet du mur (zone déperditive ou non) associé à la fenêtre","examples":["zone-1"]},"reference_asset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Asset","description":"Reference of the photo the window is placed on: a facade photo or an interior wall's (the wall's reference when its photo has none); unset means the facade's first photo"},"reference_lnc":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Lnc","description":"Référence projet de l'objet local non chauffé qui peut être associé à la paroi . Dans le cas d'un espace tampon solarisé cette référence est celle de l'espace tampon.","examples":["ref-garage-1"]},"annee_installation":{"anyOf":[{"type":"integer","maximum":2050.0,"minimum":1900.0},{"type":"null"}],"title":"Annee Installation","description":"Année d'installation de la fenêtre si différente de l'année de construction","examples":[2020],"export_to_dpe":false},"nb_baie":{"type":"number","maximum":1000.0,"minimum":0.0,"title":"Nb Baie","description":"Nombre de baies","default":1.0},"opening":{"anyOf":[{"type":"string","enum":["fenetre","porte_fenetre","porte"]},{"type":"null"}],"title":"Opening"},"opening_subtype":{"anyOf":[{"$ref":"#/components/schemas/OpeningSubtype"},{"type":"null"}]},"glazing":{"anyOf":[{"type":"string","enum":["simple_vitrage","double_vitrage","triple_vitrage"]},{"type":"null"}],"title":"Glazing"},"shutter":{"anyOf":[{"type":"string","enum":["none","jalousies","persiennes","sans_ajours"]},{"type":"null"}],"title":"Shutter"},"orientation":{"anyOf":[{"type":"string","enum":["north","south","east","west","horizontal"]},{"type":"null"}],"title":"Orientation"},"frame":{"anyOf":[{"type":"string","enum":["wood","pvc","alu"]},{"type":"null"}],"title":"Frame"},"unit_width":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Unit Width"},"unit_height":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Unit Height"},"dimensions_verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dimensions Verified","description":"Have the window dimensions been verified by the user?"},"to_replace":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"To Replace","description":"Is the window to be replaced?"},"status":{"anyOf":[{"$ref":"#/components/schemas/OpeningStatus"},{"type":"null"}],"description":"Planned status, written alongside to_replace by the front"},"tv_coef_reduction_deperdition_id":{"anyOf":[{"type":"integer","maximum":283.0,"minimum":1.0},{"type":"null"}],"title":"Tv Coef Reduction Deperdition Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de reduction des deperditions","default":1,"examples":[1]},"surface_aiu":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Aiu","description":"surface aiu : surface des parois du local non chauffé qui donnent sur des locaux chauffés.","examples":[null]},"surface_aue":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Surface Aue","description":"surface aue : surface des parois du local non chauffé en contact avec l'extérieur ou le sol","examples":[null]},"enum_cfg_isolation_lnc_id":{"anyOf":[{"$ref":"#/components/schemas/CfgIsolationLnc"},{"type":"null"}],"description":"configuration de l'adjacence avec local non chauffé : local chauffé (non) isolé/local non chauffé (non) isolé/orientation véranda qui permet de calculer le b","examples":[null]},"surface_totale_baie":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Totale Baie","description":"surface totale de paroi vitrée pour ce type de vitrage et sur cette orientation (nombre de baies x surface unitaire). La surface est la surface de la baie dans son ensemble. (vitrage + menuiserie inclus)","examples":[0.64]},"tv_ug_id":{"anyOf":[{"type":"integer","maximum":182.0,"minimum":1.0},{"type":"null"}],"title":"Tv Ug Id","description":"id de la ligne de la table utilisée pour le calcul du coefficent de transmission thermique du vitrage ug","examples":[8]},"enum_type_vitrage_id":{"anyOf":[{"$ref":"#/components/schemas/TypeVitrageEnum","ge":1,"le":6},{"type":"null"}],"description":"type de vitrage","examples":[2]},"enum_inclinaison_vitrage_id":{"anyOf":[{"$ref":"#/components/schemas/InclinaisonVitrageEnum","ge":1,"le":4},{"type":"null"}],"description":"inclinaison du vitrage","examples":[3]},"enum_type_gaz_lame_id":{"anyOf":[{"$ref":"#/components/schemas/TypeGazLameEnum","ge":1,"le":3},{"type":"null"}],"description":"type de gaz présent dans la lame","examples":[1]},"epaisseur_lame":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Epaisseur Lame","description":"épaisseur de la lame","examples":[16]},"vitrage_vir":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Vitrage Vir","description":"est-ce que le vitrage est à isolation renforcée ?","examples":[0]},"enum_methode_saisie_perf_vitrage_id":{"$ref":"#/components/schemas/MethodeSaisiePerfVitrage","description":"méthode de saisie des caractéristiques thermiques des vitrage (valeurs forfaitaires ou saisies en direct lorsque issu d'un justificatif)","default":1,"examples":[1],"ge":1,"le":15},"ug_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Ug Saisi","description":"coefficient de transmission thermique du vitrage saisi directement (nécessite une justification)","examples":[null]},"tv_uw_id":{"anyOf":[{"type":"integer","maximum":723.0,"minimum":1.0},{"type":"null"}],"title":"Tv Uw Id","description":"id de la ligne de la table utilisée pour le calcul du coefficent de transmission thermique de la baie uw. Dans le cas d'une interpolation/extrapolation prendre la valeur tabulée la plus proche","examples":[530]},"enum_type_materiaux_menuiserie_id":{"anyOf":[{"$ref":"#/components/schemas/TypeMateriauxMenuiserieEnum","ge":1,"le":7},{"type":"null"}],"description":"type de matériaux des menuiseries","examples":[3]},"enum_type_baie_id":{"anyOf":[{"$ref":"#/components/schemas/TypeBaieEnum","ge":1,"le":8},{"type":"null"}],"description":"type de baie","examples":[4]},"uw_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uw Saisi","description":"coefficient de transmission thermique de la baie saisi directement (nécessite une justification)","examples":[null]},"double_fenetre":{"type":"boolean","title":"Double Fenetre","description":"est-ce qu'il s'agit d'une double fenêtre ?","default":false,"examples":[false]},"uw_1":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uw 1","description":"Uw de la première fenêtre dans le cas d'une double fenêtre (par défaut la première fenêtre est toujours celle avec le Uw le plus élevé -> plus performante)","examples":[2.6]},"sw_1":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Sw 1","description":"Sw de la première fenêtre dans le cas d'une double fenêtre (par défaut la première fenêtre est toujours celle avec le Uw le plus élevé -> plus performante)","examples":[0.44]},"uw_2":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uw 2","description":"Uw de la deuxième fenêtre dans le cas d'une double fenêtre (par défaut la deuxième fenêtre est toujours celle avec le Uw le plus faible -> moins performante)","examples":[null]},"sw_2":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Sw 2","description":"Sw de la deuxième fenêtre dans le cas d'une double fenêtre (par défaut la deuxième fenêtre est toujours celle avec le Uw le plus faible -> moins performante)","examples":[null]},"tv_deltar_id":{"anyOf":[{"type":"integer","maximum":7.0,"minimum":1.0},{"type":"null"}],"title":"Tv Deltar Id","description":"id de la ligne de la table utilisée pour le calcul du delta de resistance de la protection mobile. (volets persienne etc..)","examples":[null]},"tv_ujn_id":{"anyOf":[{"type":"integer","maximum":236.0,"minimum":1.0},{"type":"null"}],"title":"Tv Ujn Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de transmission de la baie jour/nuit Ujn. Dans le cas d'une interpolation/extrapolation prendre la valeur tabulée la plus proche","examples":[null]},"enum_type_fermeture_id":{"anyOf":[{"$ref":"#/components/schemas/TypeFermeture","ge":1,"le":8},{"type":"null"}],"description":"type de fermeture associé à la baie (volets/persiennes etc..)","examples":[1]},"presence_protection_solaire_hors_fermeture":{"type":"boolean","title":"Presence Protection Solaire Hors Fermeture","description":"y a-t-il une protection solaire qui n'est pas considérée comme une fermeture (R=0 pour le calcul de Ujn) mais qui est prise en compte pour le calcul du confort d'été.","default":false,"examples":[false]},"ujn_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Ujn Saisi","description":"coefficient de transmission thermique de la baie avec ses protection solaires saisi directement (nécessite une justification)","examples":[null]},"presence_retour_isolation":{"type":"boolean","title":"Presence Retour Isolation","description":"y a-t-il un retour d'isolant de la paroi opaque sur la baie ?","default":false,"examples":[false]},"presence_joint":{"type":"boolean","title":"Presence Joint","description":"y a-t-il présence de joints sur la baie (utilisé pour le calcul de la perméabilité)","default":false,"examples":[false]},"largeur_dormant":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Largeur Dormant","description":"largeur du dormant de la baie (cm)","examples":[5]},"tv_sw_id":{"anyOf":[{"type":"integer","maximum":173.0,"minimum":1.0},{"type":"null"}],"title":"Tv Sw Id","description":"id de la ligne de la table utilisée pour le calcul du facteur solaire de la baie sw","examples":[6]},"sw_saisi":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Sw Saisi","description":"facteur solaire de la baie saisi directement (nécessite une justification)","examples":[null]},"enum_type_pose_id":{"$ref":"#/components/schemas/TypePose","description":"type de pose de la baie","default":3,"examples":[3],"ge":1,"le":4},"enum_orientation_id":{"anyOf":[{"$ref":"#/components/schemas/Orientation","ge":1,"le":5},{"type":"null"}],"description":"orientation de la baie","examples":[4]},"tv_coef_masque_proche_id":{"type":"integer","maximum":19.0,"minimum":1.0,"title":"Tv Coef Masque Proche Id","description":"id de la ligne de la table utilisée pour le calcul du coefficent de masque proche","default":19,"examples":[19]},"tv_coef_masque_lointain_homogene_id":{"anyOf":[{"type":"integer","maximum":12.0,"minimum":1.0},{"type":"null"}],"title":"Tv Coef Masque Lointain Homogene Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de masque homogène lointain","examples":[null]},"enum_type_adjacence_id":{"$ref":"#/components/schemas/TypeAdjacence","description":"type d'adjacence de la paroi","default":1,"examples":[1],"ge":1,"le":22},"masque_lointain_non_homogene_collection":{"anyOf":[{"$ref":"#/components/schemas/MasqueLointainNonHomogeneCollection"},{"type":"null"}]},"enum_etat_composant_id":{"anyOf":[{"$ref":"#/components/schemas/EtatComposant"},{"type":"null"}],"description":"indique si le composant a été changé par rapport au logement initial","default":1,"examples":[1]},"b":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"B","description":"coefficient de réduction des déperditions de la baie vitrée"},"ug":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Ug","description":"Ug final de la baie : soit saisi directement soit issu des tables forfaitaires"},"uw":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uw","description":"Uw final de la baie : soit saisi directement soit issu des tables forfaitaires"},"ujn":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Ujn","description":"Ujn final de la baie : soit saisi directement soit issu des tables forfaitaires"},"u_menuiserie":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"U Menuiserie","description":"U final de la menuiserie utilisé dans le calcul : soit Ujn dans le cas d'une baie avec protection solaire soit Uw dans le cas d'une baie sans protection solaire"},"sw":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Sw","description":"sw final de la baie: soit saisi directement soit issu des tables forfaitaires"},"fe1":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Fe1","description":"fe1 facteur d'ensoleillement calculé à partir de la table sur les masques proches"},"fe2":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Fe2","description":"fe2 facteur d'ensoleillement calculé soit à l'aide de la méthode masque lointain homogène ou méthode des masques lointains proches"}},"type":"object","title":"RoomOpening","description":"An opening of a room, described for PAC sizing only."},"RoomPowerSpread":{"properties":{"room_reference":{"type":"string","title":"Room Reference"},"part":{"type":"number","title":"Part","description":"Its part of the power, by the units' indices"},"kept":{"type":"number","title":"Kept","description":"Its part once capped at k times its need"},"received":{"type":"number","title":"Received","description":"What the other rooms' surpluses bring it"},"need":{"type":"number","title":"Need","description":"Its need, the coverage rate's divisor"},"target":{"type":"number","title":"Target","description":"What it asks for as the only generator"},"percentage":{"type":"integer","title":"Percentage","description":"(kept + received) over its need, in %"}},"type":"object","required":["room_reference","part","kept","received","need","target","percentage"],"title":"RoomPowerSpread","description":"A room's part of its outdoor unit's power and what the other rooms report to it,\nin kW (air/air)."},"RuleAdditionsRequest":{"properties":{"catalog_item_ids":{"items":{"type":"string","format":"uuid"},"type":"array","maxItems":100,"title":"Catalog Item Ids"}},"type":"object","required":["catalog_item_ids"],"title":"RuleAdditionsRequest","description":"Items the user is adding to a work by hand."},"RuleChange":{"properties":{"rule":{"$ref":"#/components/schemas/RuleWrite-Input"},"replaces":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Replaces","description":"The rule it replaces; None to add it"}},"type":"object","required":["rule"],"title":"RuleChange"},"RuleChangePreview":{"properties":{"works_evaluated":{"type":"integer","title":"Works Evaluated"},"works_changed":{"type":"integer","title":"Works Changed"},"works":{"items":{"$ref":"#/components/schemas/WorkRulePreview"},"type":"array","title":"Works"},"firings_by_rule":{"additionalProperties":{"type":"integer"},"type":"object","title":"Firings By Rule","description":"Times each rule the change adds or modifies fired"},"issues":{"items":{"$ref":"#/components/schemas/RuleIssue"},"type":"array","title":"Issues"},"firings":{"type":"integer","title":"Firings","description":"Times the rule fired on the works"}},"type":"object","required":["works_evaluated","works_changed","works","firings_by_rule","issues","firings"],"title":"RuleChangePreview","description":"A rule being written, previewed against the catalog's rules."},"RuleDraft":{"properties":{"trigger":{"type":"string","enum":["selected","picked","work"],"title":"Trigger"},"conditions":{"items":{"$ref":"#/components/schemas/RuleDraftCondition"},"type":"array","title":"Conditions"},"effect":{"type":"string","enum":["add","remove","exclude_self","prefer_self","add_self"],"title":"Effect"},"target_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Target Id","description":"The product added or removed; None if none was recognised"},"quantity_mode":{"type":"string","enum":["catalog","constant","driver"],"title":"Quantity Mode"},"quantity_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quantity Value","description":"The fixed quantity, in `constant` mode"},"quantity_fact":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quantity Fact","description":"The number fact read as the quantity, in `driver` mode"},"per":{"type":"string","enum":["line","once"],"title":"Per"}},"type":"object","required":["trigger","conditions","effect","target_id","quantity_mode","quantity_value","quantity_fact","per"],"title":"RuleDraft","description":"A rule as a product's editor fills it in, for the user to review and save."},"RuleDraftCondition":{"properties":{"fact":{"type":"string","title":"Fact"},"operator":{"$ref":"#/components/schemas/Operator"},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}],"title":"Value"}},"type":"object","required":["fact","operator","value"],"title":"RuleDraftCondition"},"RuleFiring":{"properties":{"rule_id":{"type":"string","title":"Rule Id"},"rule_name":{"type":"string","title":"Rule Name"},"kind":{"$ref":"#/components/schemas/RuleKind"},"outcome":{"$ref":"#/components/schemas/FiringOutcome"},"catalog_item_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Item Id"},"slot":{"anyOf":[{"$ref":"#/components/schemas/SelectionSlot"},{"type":"null"}]},"facts":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},"type":"object","title":"Facts","default":{}}},"type":"object","required":["rule_id","rule_name","kind","outcome"],"title":"RuleFiring"},"RuleIssue":{"properties":{"rule_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rule Id"},"code":{"$ref":"#/components/schemas/RuleIssueCode"},"fact":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fact","description":"The fact the issue is on"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value","description":"The value the fact cannot take"},"rule_names":{"items":{"type":"string"},"type":"array","title":"Rule Names","description":"The rules of one group nothing tells apart","default":[]},"group":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Group","description":"Their exclusive group"}},"type":"object","required":["rule_id","code"],"title":"RuleIssue","description":"Why a rule cannot be saved; the front words its code."},"RuleIssueCode":{"type":"string","enum":["objective_rule","unknown_fact","fact_out_of_place","not_comparable","expects_number","expects_two_numbers","expects_boolean","expects_text","value_not_allowed","expects_list","expects_single_value","quantity_not_number","target_missing","main_equipment_excluded","same_precision"],"title":"RuleIssueCode","description":"Why a rule cannot be saved; the front words it with the issue's fact or value."},"RuleKind":{"type":"string","enum":["filter","prefer","objective","add","exclude","replace","quantity"],"title":"RuleKind"},"RuleRead":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"kind":{"$ref":"#/components/schemas/RuleKind"},"work_types":{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array","title":"Work Types","description":"Work types the rule applies to; empty for every type","default":[]},"when":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/Predicate"},{"$ref":"#/components/schemas/AllOf-Output"},{"$ref":"#/components/schemas/AnyOf-Output"},{"$ref":"#/components/schemas/NotOf-Output"}],"discriminator":{"propertyName":"type","mapping":{"all":"#/components/schemas/AllOf-Output","any":"#/components/schemas/AnyOf-Output","not":"#/components/schemas/NotOf-Output","predicate":"#/components/schemas/Predicate"}}},{"type":"null"}],"title":"When","description":"None: the rule always applies"},"then":{"oneOf":[{"$ref":"#/components/schemas/AddItems-Output"},{"$ref":"#/components/schemas/Exclude-Output"},{"$ref":"#/components/schemas/Replace-Output"},{"$ref":"#/components/schemas/SetQuantity-Output"},{"$ref":"#/components/schemas/Filter-Output"},{"$ref":"#/components/schemas/Prefer-Output"}],"title":"Then","discriminator":{"propertyName":"type","mapping":{"add_items":"#/components/schemas/AddItems-Output","exclude":"#/components/schemas/Exclude-Output","filter":"#/components/schemas/Filter-Output","prefer":"#/components/schemas/Prefer-Output","replace":"#/components/schemas/Replace-Output","set_quantity":"#/components/schemas/SetQuantity-Output"}}},"priority":{"type":"integer","title":"Priority","description":"Breaks a tie between two equally specific rules","default":0},"exclusive_group":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exclusive Group","description":"Rules of one group exclude each other: the most specific that applies wins (two installation packages, say)"},"source_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Text","description":"The sentence the rule was written from, if any"},"enabled":{"type":"boolean","title":"Enabled","default":true},"id":{"type":"string","format":"uuid","title":"Id"},"position":{"type":"integer","title":"Position"}},"additionalProperties":false,"type":"object","required":["name","kind","then","id","position"],"title":"RuleRead"},"RuleScope":{"type":"string","enum":["work","line","once"],"title":"RuleScope","description":"How many times an added item is counted: once for the work, once per line\nfiring the rule (times that line's quantity), or once whatever lines fire it."},"RuleSuggestion":{"properties":{"action":{"$ref":"#/components/schemas/RuleSuggestionAction"},"line":{"$ref":"#/components/schemas/CatalogItemSelected-Output"},"current_quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Current Quantity"},"expected_quantity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Expected Quantity"}},"type":"object","required":["action","line","current_quantity","expected_quantity"],"title":"RuleSuggestion","description":"A change the rules call for: `line` is the one to add, or the work's own."},"RuleSuggestionAction":{"type":"string","enum":["add","remove","update"],"title":"RuleSuggestionAction"},"RuleSuggestionKind":{"type":"string","enum":["new","update","covered"],"title":"RuleSuggestionKind"},"RuleSuggestions":{"properties":{"suggestions":{"items":{"$ref":"#/components/schemas/RuleSuggestion"},"type":"array","title":"Suggestions"},"proposals":{"items":{"$ref":"#/components/schemas/CatalogItemSelected-Output"},"type":"array","title":"Proposals","description":"Products the work's defaults add that it does not hold"},"preferred":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Preferred","description":"The work type's products the rules rank first"}},"type":"object","required":["suggestions","proposals","preferred"],"title":"RuleSuggestions","description":"What an edit of a work makes the rules change, and the defaults it lacks;\nnothing is applied by the backend."},"RuleSuggestionsRequest":{"properties":{"previous":{"anyOf":[{"$ref":"#/components/schemas/Travaux-Input"},{"type":"null"}]},"current":{"$ref":"#/components/schemas/Travaux-Input"}},"type":"object","required":["current"],"title":"RuleSuggestionsRequest","description":"The work before an edit by hand, and after it; no `previous`: defaults only."},"RuleTrace":{"properties":{"firings":{"items":{"$ref":"#/components/schemas/RuleFiring"},"type":"array","title":"Firings"},"slots":{"items":{"$ref":"#/components/schemas/SlotDecision"},"type":"array","title":"Slots"},"steps":{"items":{"$ref":"#/components/schemas/SelectionStep"},"type":"array","title":"Steps"}},"type":"object","required":["firings","slots","steps"],"title":"RuleTrace"},"RuleTranslation":{"properties":{"draft":{"anyOf":[{"$ref":"#/components/schemas/RuleDraft"},{"type":"null"}],"description":"None: the sentence is not a rule the editor can write"}},"type":"object","required":["draft"],"title":"RuleTranslation"},"RuleTranslationRequest":{"properties":{"text":{"type":"string","maxLength":500,"minLength":1,"title":"Text","description":"The rule, in the user's words"}},"type":"object","required":["text"],"title":"RuleTranslationRequest"},"RuleWrite-Input":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"kind":{"$ref":"#/components/schemas/RuleKind"},"work_types":{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array","title":"Work Types","description":"Work types the rule applies to; empty for every type","default":[]},"when":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/Predicate"},{"$ref":"#/components/schemas/AllOf-Input"},{"$ref":"#/components/schemas/AnyOf-Input"},{"$ref":"#/components/schemas/NotOf-Input"}],"discriminator":{"propertyName":"type","mapping":{"all":"#/components/schemas/AllOf-Input","any":"#/components/schemas/AnyOf-Input","not":"#/components/schemas/NotOf-Input","predicate":"#/components/schemas/Predicate"}}},{"type":"null"}],"title":"When","description":"None: the rule always applies"},"then":{"oneOf":[{"$ref":"#/components/schemas/AddItems-Input"},{"$ref":"#/components/schemas/Exclude-Input"},{"$ref":"#/components/schemas/Replace-Input"},{"$ref":"#/components/schemas/SetQuantity-Input"},{"$ref":"#/components/schemas/Filter-Input"},{"$ref":"#/components/schemas/Prefer-Input"}],"title":"Then","discriminator":{"propertyName":"type","mapping":{"add_items":"#/components/schemas/AddItems-Input","exclude":"#/components/schemas/Exclude-Input","filter":"#/components/schemas/Filter-Input","prefer":"#/components/schemas/Prefer-Input","replace":"#/components/schemas/Replace-Input","set_quantity":"#/components/schemas/SetQuantity-Input"}}},"priority":{"type":"integer","title":"Priority","description":"Breaks a tie between two equally specific rules","default":0},"exclusive_group":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exclusive Group","description":"Rules of one group exclude each other: the most specific that applies wins (two installation packages, say)"},"source_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Text","description":"The sentence the rule was written from, if any"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"additionalProperties":false,"type":"object","required":["name","kind","then"],"title":"RuleWrite"},"RuleWrite-Output":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name"},"kind":{"$ref":"#/components/schemas/RuleKind"},"work_types":{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array","title":"Work Types","description":"Work types the rule applies to; empty for every type","default":[]},"when":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/Predicate"},{"$ref":"#/components/schemas/AllOf-Output"},{"$ref":"#/components/schemas/AnyOf-Output"},{"$ref":"#/components/schemas/NotOf-Output"}],"discriminator":{"propertyName":"type","mapping":{"all":"#/components/schemas/AllOf-Output","any":"#/components/schemas/AnyOf-Output","not":"#/components/schemas/NotOf-Output","predicate":"#/components/schemas/Predicate"}}},{"type":"null"}],"title":"When","description":"None: the rule always applies"},"then":{"oneOf":[{"$ref":"#/components/schemas/AddItems-Output"},{"$ref":"#/components/schemas/Exclude-Output"},{"$ref":"#/components/schemas/Replace-Output"},{"$ref":"#/components/schemas/SetQuantity-Output"},{"$ref":"#/components/schemas/Filter-Output"},{"$ref":"#/components/schemas/Prefer-Output"}],"title":"Then","discriminator":{"propertyName":"type","mapping":{"add_items":"#/components/schemas/AddItems-Output","exclude":"#/components/schemas/Exclude-Output","filter":"#/components/schemas/Filter-Output","prefer":"#/components/schemas/Prefer-Output","replace":"#/components/schemas/Replace-Output","set_quantity":"#/components/schemas/SetQuantity-Output"}}},"priority":{"type":"integer","title":"Priority","description":"Breaks a tie between two equally specific rules","default":0},"exclusive_group":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exclusive Group","description":"Rules of one group exclude each other: the most specific that applies wins (two installation packages, say)"},"source_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Text","description":"The sentence the rule was written from, if any"},"enabled":{"type":"boolean","title":"Enabled","default":true}},"additionalProperties":false,"type":"object","required":["name","kind","then"],"title":"RuleWrite"},"ScenarioCreate":{"properties":{"project_id":{"type":"string","format":"uuid","title":"Project Id","description":"ID of the project","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"template_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Template Id","description":"ID of the template","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"recommendation_only":{"type":"boolean","title":"Recommendation Only","default":false},"hypothesis":{"anyOf":[{"$ref":"#/components/schemas/ScenarioHypothesis-Input"},{"type":"null"}],"description":"Hypothesis of this project"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Title of the scenario"},"display_position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Position","description":"Position in which the scenario will be displayed"},"prices_display":{"$ref":"#/components/schemas/PricesDisplay","description":"A duplicate passes its source's; new plans follow branch","default":"BRANCH_DEFAULT"},"criteria":{"anyOf":[{"type":"string","enum":["empty","doremi_complete","doremi_complete_biomass","doremi_complete_heat_pump","complete_pac_hybrid","doremi_first_step","best_single_item","first_step_v2","ite_single_item","pac_air_air_single_item","pac_air_water_single_item","pac_plus_ite","pac_plus_ite_and_more","dualsun_max","dualsun_pac_ro_with_pv","pac_plus_panneaux_thermiques","cesi","ssc","energygo_complete","energygo_complete_minrac","energygo_insulation","energygo_single_insulation","energygo_multiple_insulation","energygo_pac","energygo_pac_insulation","energygo_pac_cet_or_pv","energygo_pv","energygo_redirection","gas","gas_hybrid","envelope","pac_plus_ventilation","wall_insulation","wall_and_roof_insulation","windows","pv"]},{"type":"null"}],"title":"Criteria","description":"Type of criteria for building the scenario"},"works":{"anyOf":[{"items":{"$ref":"#/components/schemas/Travaux-Input"},"type":"array"},{"type":"null"}],"title":"Works","description":"List of works"},"catalog_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Id","description":"ID of the catalog","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]}},"additionalProperties":false,"type":"object","required":["project_id"],"title":"ScenarioCreate","description":"Model for creating a scenario through the API (criteria/works based)"},"ScenarioCreateFromPrompt":{"properties":{"project_id":{"type":"string","format":"uuid","title":"Project Id","description":"ID of the project","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"template_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Template Id","description":"ID of the template","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"recommendation_only":{"type":"boolean","title":"Recommendation Only","default":false},"hypothesis":{"anyOf":[{"$ref":"#/components/schemas/ScenarioHypothesis-Input"},{"type":"null"}],"description":"Hypothesis of this project"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Title of the scenario"},"display_position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Position","description":"Position in which the scenario will be displayed"},"prices_display":{"$ref":"#/components/schemas/PricesDisplay","description":"A duplicate passes its source's; new plans follow branch","default":"BRANCH_DEFAULT"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"prompt":{"type":"string","title":"Prompt","description":"User prompt for the scenario"},"fallback_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fallback Prompt","description":"Fallback prompt for the scenario"}},"additionalProperties":false,"type":"object","required":["project_id","prompt"],"title":"ScenarioCreateFromPrompt","description":"Model for creating a scenario from a prompt through the API"},"ScenarioHypothesis-Input":{"properties":{"inflation_rate":{"anyOf":[{"type":"number"},{"items":{"type":"number"},"type":"array"}],"title":"Inflation Rate","description":"Inflation rate of energy core prices (%/yr)","default":0.05},"electricity_resale_price":{"anyOf":[{"type":"number"},{"items":{"type":"number"},"type":"array"}],"title":"Electricity Resale Price","description":"How much electricity is resaled (€)","default":0.011},"analysis_span":{"type":"integer","title":"Analysis Span","description":"How long should we run the analysis for? (year)","default":30},"disable_mpr_performance":{"type":"boolean","title":"Disable Mpr Performance","description":"Disable subventions for the MPR performance","default":false},"before_dpe":{"anyOf":[{"type":"string","enum":["A","B","C","D","E","F","G"]},{"type":"null"}],"title":"Before Dpe","description":"Force the DPE class (before renovation) to a specific value"},"after_dpe":{"anyOf":[{"type":"string","enum":["A","B","C","D","E","F","G"]},{"type":"null"}],"title":"After Dpe","description":"Force the DPE class (after renovation) to a specific value"},"ecoptz":{"$ref":"#/components/schemas/EcoPTZHypothesis","default":{"is_enabled":false}},"additional_loans":{"anyOf":[{"items":{"oneOf":[{"$ref":"#/components/schemas/Loan-Input"},{"$ref":"#/components/schemas/EcoPTZLoan-Input"},{"$ref":"#/components/schemas/EcairLoan-Input"}],"discriminator":{"propertyName":"type","mapping":{"conso":"#/components/schemas/Loan-Input","ecair":"#/components/schemas/EcairLoan-Input","ecoptz":"#/components/schemas/EcoPTZLoan-Input","immo":"#/components/schemas/Loan-Input","pre_financing_subsidies":"#/components/schemas/Loan-Input"}}},"type":"array"},{"type":"null"}],"title":"Additional Loans","description":"Loans hypothesis the user can set to finance the project. These loans will be added to the funding of the project. Eco-PTZ loans normally live in `ecoptz`, but legacy scenarios persist them here too, so the union must keep accepting `ecoptz` entries."},"additional_advances":{"anyOf":[{"items":{"$ref":"#/components/schemas/Advance"},"type":"array"},{"type":"null"}],"title":"Additional Advances","description":"Advances on subsidies set by the user. These advances are exposed in funding but must not be treated as loans."},"auto_advance":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Auto Advance","description":"Opt-in (disabled by default). When enabled, the backend injects a single advance covering the whole expected subsidies and ignores additional_advances. When disabled, additional_advances are used."},"aap_loan":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/Loan-Input"},{"$ref":"#/components/schemas/EcairLoan-Input"}],"discriminator":{"propertyName":"type","mapping":{"conso":"#/components/schemas/Loan-Input","ecair":"#/components/schemas/EcairLoan-Input","immo":"#/components/schemas/Loan-Input","pre_financing_subsidies":"#/components/schemas/Loan-Input"}}},{"type":"null"}],"title":"Aap Loan","description":"The laureate's loan of an AAP scenario, posed by the backend at creation and rebuilt in the funding; None once the adviser dropped it"},"manual_selection_work_types":{"anyOf":[{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array"},{"type":"null"}],"title":"Manual Selection Work Types","description":"Works that get no main product until the installer picks one: the backend still fills their data but leaves the product lines empty, and a quote cannot be created."},"subsidy_overrides":{"anyOf":[{"items":{"$ref":"#/components/schemas/SubsidyOverride"},"type":"array"},{"type":"null"}],"title":"Subsidy Overrides","description":"User-defined subsidy overrides. Can replace computed subsidies or add custom ones. Matching is done by type and enum_type_travaux_ids."},"t_base_ete":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Base Ete","description":"Override of the summer design outdoor temperature (°C) used for the Air-Air cooling sizing. Defaults to the climate-zone value when unset."},"temp_distribution_ch":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Temp Distribution Ch","description":"Température de distribution du chauffage en °C (valeurs autorisées: 35, 40, …, 75 par pas de 5°)"},"emitter_types":{"anyOf":[{"items":{"$ref":"#/components/schemas/TypeEmissionCategorie"},"type":"array"},{"type":"null"}],"title":"Emitter Types","description":"Types d'émetteurs (radiateurs, plancher chauffant, etc.)"},"works":{"items":{"$ref":"#/components/schemas/HypothesisTravaux-Input"},"type":"array","title":"Works","description":"List of works to perform"},"pare_vapeur":{"type":"boolean","title":"Pare Vapeur","description":"L'isolation thermique réalisée a nécessité la mise en place d'un pare-vapeur ou tout autre dispositif équivalent","default":true},"ventilation_type":{"anyOf":[{"type":"string","enum":["A","B"]},{"type":"null"}],"title":"Ventilation Type","description":"Type de VMC (A ou B) pour BAR-TH-127","default":"A"},"surface_capteurs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Capteurs","description":"Surface hors-tout totale de capteurs solaires vitrés (m²) pour BAR-TH-101. Doit être >= 2 m².","default":2.0},"profil_soutirage":{"anyOf":[{"type":"string","enum":["M","L","XL","XXL"]},{"type":"null"}],"title":"Profil Soutirage","description":"Profil de soutirage déclaré pour BAR-TH-101","default":"M"},"efficacite_energetique_cesi":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Efficacite Energetique Cesi","description":"Efficacité énergétique pour le chauffage de l'eau (%) pour BAR-TH-101"},"besoin_annuel_ecs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Besoin Annuel Ecs","description":"Besoin annuel en eau chaude sanitaire (B) en kWh/an pour BAR-TH-102"},"taux_couverture_solaire":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taux Couverture Solaire","description":"Taux de couverture par l'énergie solaire (T) en % pour BAR-TH-102"},"production_solaire_utile":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Production Solaire Utile","description":"Production solaire utile (PES) en kWh/an pour BAR-TH-102"},"classe_regulateur":{"anyOf":[{"$ref":"#/components/schemas/ClasseRegulateurPac"},{"type":"null"}],"description":"Classe du régulateur de la PAC pour BAR-TH-171 et BAR-TH-172"},"taux_couverture_pac":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Taux Couverture Pac","description":"Taux de couverture (%) des besoins annuels de chauffage par la PAC hors dispositif d'appoint, lu sur la note de dimensionnement, pour BAR-TH-159"},"cold_source":{"anyOf":[{"$ref":"#/components/schemas/ColdSource"},{"type":"null"}],"description":"Configuration de la source froide pour PAC géothermique ou solaire thermique"},"intents":{"items":{"$ref":"#/components/schemas/HypothesisTravaux-Input"},"type":"array","title":"Intents"},"works_architecture":{"anyOf":[{"type":"string","enum":["heat_pump_air_air","heat_pump_air_water"]},{"type":"null"}],"title":"Works Architecture"},"pacs":{"items":{"$ref":"#/components/schemas/FuturePAC-Input"},"type":"array","title":"Pacs"},"ventilation":{"anyOf":[{"$ref":"#/components/schemas/VentilationProject-Input"},{"type":"null"}]},"dhws":{"items":{"$ref":"#/components/schemas/FutureDHW-Input"},"type":"array","title":"Dhws"},"stoves":{"items":{"$ref":"#/components/schemas/FutureStove-Input"},"type":"array","title":"Stoves"}},"type":"object","title":"ScenarioHypothesis"},"ScenarioHypothesis-Output":{"properties":{"inflation_rate":{"anyOf":[{"type":"number"},{"items":{"type":"number"},"type":"array"}],"title":"Inflation Rate","description":"Inflation rate of energy core prices (%/yr)","default":0.05},"electricity_resale_price":{"anyOf":[{"type":"number"},{"items":{"type":"number"},"type":"array"}],"title":"Electricity Resale Price","description":"How much electricity is resaled (€)","default":0.011},"analysis_span":{"type":"integer","title":"Analysis Span","description":"How long should we run the analysis for? (year)","default":30},"disable_mpr_performance":{"type":"boolean","title":"Disable Mpr Performance","description":"Disable subventions for the MPR performance","default":false},"before_dpe":{"anyOf":[{"type":"string","pattern":"[A-G]"},{"type":"null"}],"title":"Before Dpe","description":"Force the DPE class (before renovation) to a specific value"},"after_dpe":{"anyOf":[{"type":"string","pattern":"[A-G]"},{"type":"null"}],"title":"After Dpe","description":"Force the DPE class (after renovation) to a specific value"},"ecoptz":{"$ref":"#/components/schemas/EcoPTZHypothesis","default":{"is_enabled":false}},"additional_loans":{"anyOf":[{"items":{"oneOf":[{"$ref":"#/components/schemas/Loan-Output"},{"$ref":"#/components/schemas/EcoPTZLoan-Output"},{"$ref":"#/components/schemas/EcairLoan-Output"}],"discriminator":{"propertyName":"type","mapping":{"conso":"#/components/schemas/Loan-Output","ecair":"#/components/schemas/EcairLoan-Output","ecoptz":"#/components/schemas/EcoPTZLoan-Output","immo":"#/components/schemas/Loan-Output","pre_financing_subsidies":"#/components/schemas/Loan-Output"}}},"type":"array"},{"type":"null"}],"title":"Additional Loans","description":"Loans hypothesis the user can set to finance the project. These loans will be added to the funding of the project. Eco-PTZ loans normally live in `ecoptz`, but legacy scenarios persist them here too, so the union must keep accepting `ecoptz` entries."},"additional_advances":{"anyOf":[{"items":{"$ref":"#/components/schemas/Advance"},"type":"array"},{"type":"null"}],"title":"Additional Advances","description":"Advances on subsidies set by the user. These advances are exposed in funding but must not be treated as loans."},"auto_advance":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Auto Advance","description":"Opt-in (disabled by default). When enabled, the backend injects a single advance covering the whole expected subsidies and ignores additional_advances. When disabled, additional_advances are used."},"aap_loan":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/Loan-Output"},{"$ref":"#/components/schemas/EcairLoan-Output"}],"discriminator":{"propertyName":"type","mapping":{"conso":"#/components/schemas/Loan-Output","ecair":"#/components/schemas/EcairLoan-Output","immo":"#/components/schemas/Loan-Output","pre_financing_subsidies":"#/components/schemas/Loan-Output"}}},{"type":"null"}],"title":"Aap Loan","description":"The laureate's loan of an AAP scenario, posed by the backend at creation and rebuilt in the funding; None once the adviser dropped it"},"manual_selection_work_types":{"anyOf":[{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array"},{"type":"null"}],"title":"Manual Selection Work Types","description":"Works that get no main product until the installer picks one: the backend still fills their data but leaves the product lines empty, and a quote cannot be created."},"subsidy_overrides":{"anyOf":[{"items":{"$ref":"#/components/schemas/SubsidyOverride"},"type":"array"},{"type":"null"}],"title":"Subsidy Overrides","description":"User-defined subsidy overrides. Can replace computed subsidies or add custom ones. Matching is done by type and enum_type_travaux_ids."},"t_base_ete":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Base Ete","description":"Override of the summer design outdoor temperature (°C) used for the Air-Air cooling sizing. Defaults to the climate-zone value when unset."},"temp_distribution_ch":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Temp Distribution Ch","description":"Température de distribution du chauffage en °C (valeurs autorisées: 35, 40, …, 75 par pas de 5°)"},"emitter_types":{"anyOf":[{"items":{"$ref":"#/components/schemas/TypeEmissionCategorie"},"type":"array"},{"type":"null"}],"title":"Emitter Types","description":"Types d'émetteurs (radiateurs, plancher chauffant, etc.)"},"works":{"items":{"$ref":"#/components/schemas/HypothesisTravaux-Output"},"type":"array","title":"Works","description":"List of works to perform"},"pare_vapeur":{"type":"boolean","title":"Pare Vapeur","description":"L'isolation thermique réalisée a nécessité la mise en place d'un pare-vapeur ou tout autre dispositif équivalent","default":true},"ventilation_type":{"anyOf":[{"type":"string","enum":["A","B"]},{"type":"null"}],"title":"Ventilation Type","description":"Type de VMC (A ou B) pour BAR-TH-127","default":"A"},"surface_capteurs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Capteurs","description":"Surface hors-tout totale de capteurs solaires vitrés (m²) pour BAR-TH-101. Doit être >= 2 m².","default":2.0},"profil_soutirage":{"anyOf":[{"type":"string","enum":["M","L","XL","XXL"]},{"type":"null"}],"title":"Profil Soutirage","description":"Profil de soutirage déclaré pour BAR-TH-101","default":"M"},"efficacite_energetique_cesi":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Efficacite Energetique Cesi","description":"Efficacité énergétique pour le chauffage de l'eau (%) pour BAR-TH-101"},"besoin_annuel_ecs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Besoin Annuel Ecs","description":"Besoin annuel en eau chaude sanitaire (B) en kWh/an pour BAR-TH-102"},"taux_couverture_solaire":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taux Couverture Solaire","description":"Taux de couverture par l'énergie solaire (T) en % pour BAR-TH-102"},"production_solaire_utile":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Production Solaire Utile","description":"Production solaire utile (PES) en kWh/an pour BAR-TH-102"},"classe_regulateur":{"anyOf":[{"$ref":"#/components/schemas/ClasseRegulateurPac"},{"type":"null"}],"description":"Classe du régulateur de la PAC pour BAR-TH-171 et BAR-TH-172"},"taux_couverture_pac":{"anyOf":[{"type":"number","maximum":100.0,"minimum":0.0},{"type":"null"}],"title":"Taux Couverture Pac","description":"Taux de couverture (%) des besoins annuels de chauffage par la PAC hors dispositif d'appoint, lu sur la note de dimensionnement, pour BAR-TH-159"},"cold_source":{"anyOf":[{"$ref":"#/components/schemas/ColdSource"},{"type":"null"}],"description":"Configuration de la source froide pour PAC géothermique ou solaire thermique"},"intents":{"items":{"$ref":"#/components/schemas/HypothesisTravaux-Output"},"type":"array","title":"Intents"},"works_architecture":{"anyOf":[{"type":"string","enum":["heat_pump_air_air","heat_pump_air_water"]},{"type":"null"}],"title":"Works Architecture"},"pacs":{"items":{"$ref":"#/components/schemas/FuturePAC-Output"},"type":"array","title":"Pacs"},"ventilation":{"anyOf":[{"$ref":"#/components/schemas/VentilationProject-Output"},{"type":"null"}]},"dhws":{"items":{"$ref":"#/components/schemas/FutureDHW-Output"},"type":"array","title":"Dhws"},"stoves":{"items":{"$ref":"#/components/schemas/FutureStove-Output"},"type":"array","title":"Stoves"}},"type":"object","title":"ScenarioHypothesis"},"ScenarioId":{"type":"integer","enum":[0,1,2,3,4,5,6,7],"title":"ScenarioId"},"ScenarioQuoteCreate":{"properties":{"price_indexes":{"items":{"type":"integer"},"type":"array","title":"Price Indexes"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"additionalProperties":false,"type":"object","required":["price_indexes"],"title":"ScenarioQuoteCreate","description":"Payload for creating a quote from some of a scenario's lines."},"ScenarioRead":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Title of the scenario"},"display_position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Position","description":"Position in which the scenario will be displayed"},"criteria":{"anyOf":[{"type":"string","enum":["empty","doremi_complete","doremi_complete_biomass","doremi_complete_heat_pump","complete_pac_hybrid","doremi_first_step","best_single_item","first_step_v2","ite_single_item","pac_air_air_single_item","pac_air_water_single_item","pac_plus_ite","pac_plus_ite_and_more","dualsun_max","dualsun_pac_ro_with_pv","pac_plus_panneaux_thermiques","cesi","ssc","energygo_complete","energygo_complete_minrac","energygo_insulation","energygo_single_insulation","energygo_multiple_insulation","energygo_pac","energygo_pac_insulation","energygo_pac_cet_or_pv","energygo_pv","energygo_redirection","gas","gas_hybrid","envelope","pac_plus_ventilation","wall_insulation","wall_and_roof_insulation","windows","pv"]},{"type":"null"}],"title":"Criteria","description":"Type of criteria for building the scenario"},"chat_travaux_input":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Travaux Input","description":"input used to generate the scenario with Chat-Travaux"},"is_chat_travaux_fallback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat Travaux Fallback","description":"Whether the scenario was generated with a prompt fallback"},"hypothesis":{"$ref":"#/components/schemas/ScenarioHypothesis-Output","description":"Hypothesis of this project"},"works":{"anyOf":[{"items":{"$ref":"#/components/schemas/Travaux-Output"},"type":"array"},{"type":"null"}],"title":"Works","description":"List of works"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id","description":"ID of the scenario in the external provider. Can be used to store also a stringified JSON object.","examples":["1234"]},"catalog_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Id","description":"ID of the catalog","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"redirect_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Url","description":"URL to redirect to after the scenario is created -- useful for homeserve oneclick"},"discount":{"anyOf":[{"$ref":"#/components/schemas/Discount"},{"type":"null"}],"description":"Global discount applied to the scenario"},"prices_display":{"$ref":"#/components/schemas/PricesDisplay","description":"Whether every price of the scenario shows in the app (works, funding, financing tab): the branch default, or the user's explicit choice.","default":"BRANCH_DEFAULT"},"id":{"type":"string","format":"uuid","title":"Id"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"project_id":{"type":"string","format":"uuid","title":"Project Id","description":"ID of the project","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"lead_id":{"type":"string","format":"uuid","title":"Lead Id","description":"ID of the lead","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"quote_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Quote Id","description":"ID of the quote","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id","description":"ID of the branch","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"prices_hidden":{"type":"boolean","title":"Prices Hidden","description":"prices_display, else the branch's show_prices_by_default","default":false},"template_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Template Id","description":"ID of the template","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"is_aap":{"type":"boolean","title":"Is Aap","description":"Built from an AAP template: works locked, one per lead","default":false},"eligible_work_ids":{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array","uniqueItems":true,"title":"Eligible Work Ids","description":"Eligible work ids","default":[]},"boiler_backup_context":{"anyOf":[{"$ref":"#/components/schemas/BoilerBackupContext"},{"type":"null"}]},"work_types_awaiting_selection":{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array","uniqueItems":true,"title":"Work Types Awaiting Selection","description":"Works left without main product until the installer picks it","default":[]},"pac_coverages":{"items":{"$ref":"#/components/schemas/WorkCoverage"},"type":"array","title":"Pac Coverages","description":"Taux de couverture de chaque geste PAC par son matériel","default":[]},"heat_loss_reduction_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heat Loss Reduction Ratio","description":"Share of the current home's NF EN 12831-1 design heat loss (project data deperditions.total, W) the whole plan removes (etape_travaux deperditions.total), 0..1, negative when losses grow; null when either side lacks data"},"dimensionnement":{"$ref":"#/components/schemas/BaseDimensionnement"},"finance":{"anyOf":[{"$ref":"#/components/schemas/Finance"},{"type":"null"}],"description":"A cost-based analysis"},"funding":{"anyOf":[{"$ref":"#/components/schemas/Funding-Output"},{"type":"null"}],"description":"Pricing, loans and subsidies"},"etape_travaux":{"anyOf":[{"$ref":"#/components/schemas/EtapeTravaux"},{"type":"null"}],"description":"Etape travaux of the scenario"},"is_obsolete":{"type":"boolean","title":"Is Obsolete","description":"Whether the scenario is obsolete compared to the answer"},"cee_fournisseur_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cee Fournisseur Id","description":"ID of the cee_fournisseur","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]}},"type":"object","required":["id","created_at","updated_at","project_id","lead_id","dimensionnement","funding","is_obsolete"],"title":"ScenarioRead","description":"Output from the API"},"ScenarioTemplateRead":{"properties":{"version":{"type":"integer","title":"Version","description":"Version of the object","default":1,"examples":[1]},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Title of the scenario template. If left empty, the prompt or criteria will be displayed"},"category":{"anyOf":[{"$ref":"#/components/schemas/CategoryType"},{"type":"null"}],"description":"Category of the scenario template"},"criteria":{"anyOf":[{"type":"string","enum":["empty","doremi_complete","doremi_complete_biomass","doremi_complete_heat_pump","complete_pac_hybrid","doremi_first_step","best_single_item","first_step_v2","ite_single_item","pac_air_air_single_item","pac_air_water_single_item","pac_plus_ite","pac_plus_ite_and_more","dualsun_max","dualsun_pac_ro_with_pv","pac_plus_panneaux_thermiques","cesi","ssc","energygo_complete","energygo_complete_minrac","energygo_insulation","energygo_single_insulation","energygo_multiple_insulation","energygo_pac","energygo_pac_insulation","energygo_pac_cet_or_pv","energygo_pv","energygo_redirection","gas","gas_hybrid","envelope","pac_plus_ventilation","wall_insulation","wall_and_roof_insulation","windows","pv"]},{"type":"null"}],"title":"Criteria","description":"Type of criteria for building the scenario"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt","description":"Prompt for ChatTravaux"},"fallback_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fallback Prompt","description":"Fallback prompt for ChatTravaux"},"priority":{"type":"number","title":"Priority","description":"Priority of the scenario template. The higher the number, the higher the more important the template is.","default":0},"auto_execute":{"type":"boolean","title":"Auto Execute","description":"Whether the scenario should be automatically executed. If not, it will be suggested to the user.","default":false},"hypothesis":{"anyOf":[{"$ref":"#/components/schemas/ScenarioHypothesis-Output"},{"type":"null"}],"description":"Default hypothesis settings for scenarios created from this"},"enum_type_travaux_ids":{"anyOf":[{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array"},{"type":"null"}],"title":"Enum Type Travaux Ids","description":"Explicit list of work types (TypeTravaux enum values) used to build the scenario. When set, the scenario is built directly from these works instead of from a criteria or a prompt."},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id","description":"ID of the user","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"company_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Company Id","description":"ID of the company","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id","description":"ID of the branch","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"catalog_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Id","description":"ID of the catalog","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]}},"type":"object","title":"ScenarioTemplateRead","description":"Model to create a scenario template"},"ScenarioUpdate":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Title of the scenario"},"display_position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Display Position","description":"Position in which the scenario will be displayed"},"criteria":{"anyOf":[{"type":"string","enum":["empty","doremi_complete","doremi_complete_biomass","doremi_complete_heat_pump","complete_pac_hybrid","doremi_first_step","best_single_item","first_step_v2","ite_single_item","pac_air_air_single_item","pac_air_water_single_item","pac_plus_ite","pac_plus_ite_and_more","dualsun_max","dualsun_pac_ro_with_pv","pac_plus_panneaux_thermiques","cesi","ssc","energygo_complete","energygo_complete_minrac","energygo_insulation","energygo_single_insulation","energygo_multiple_insulation","energygo_pac","energygo_pac_insulation","energygo_pac_cet_or_pv","energygo_pv","energygo_redirection","gas","gas_hybrid","envelope","pac_plus_ventilation","wall_insulation","wall_and_roof_insulation","windows","pv"]},{"type":"null"}],"title":"Criteria","description":"Type of criteria for building the scenario"},"chat_travaux_input":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chat Travaux Input","description":"input used to generate the scenario with Chat-Travaux"},"is_chat_travaux_fallback":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Chat Travaux Fallback","description":"Whether the scenario was generated with a prompt fallback"},"hypothesis":{"$ref":"#/components/schemas/ScenarioHypothesis-Input","description":"Hypothesis of this project"},"works":{"anyOf":[{"items":{"$ref":"#/components/schemas/Travaux-Input"},"type":"array"},{"type":"null"}],"title":"Works","description":"List of works"},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id"},"catalog_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Id","description":"ID of the catalog associated with this scenario for pricing"},"redirect_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redirect Url","description":"URL to redirect to after the scenario is created -- useful for homeserve oneclick"},"discount":{"anyOf":[{"$ref":"#/components/schemas/Discount"},{"type":"null"}],"description":"Global discount applied to the scenario"},"prices_display":{"$ref":"#/components/schemas/PricesDisplay","description":"Whether every price of the scenario shows in the app (works, funding, financing tab): the branch default, or the user's explicit choice.","default":"BRANCH_DEFAULT"},"id":{"type":"string","format":"uuid","title":"Id"},"is_aap":{"type":"boolean","title":"Is Aap","description":"Read-only, ignored","default":false},"cee_fournisseur_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Cee Fournisseur Id","description":"ID of the cee_fournisseur","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"restore_aap_loan":{"type":"boolean","title":"Restore Aap Loan","description":"Add the AAP loan back after the adviser dropped it","default":false}},"additionalProperties":false,"type":"object","required":["id"],"title":"ScenarioUpdate","description":"Model for updating a scenario through the API"},"SeasonCoverage":{"properties":{"percentage":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Percentage"},"band":{"$ref":"#/components/schemas/CoverageBand"},"status":{"type":"string","enum":["ok","under","over","over_tolerated","unknown"],"title":"Status"},"power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Power","description":"Power the rate divides, in kW (cooling power in summer)"},"need":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Need","description":"Need the rate divides by, in kW (cooling need in summer)"}},"type":"object","required":["percentage","band","status"],"title":"SeasonCoverage","description":"One season's coverage rate and the verdict the screens show."},"SeasonPowerSpread":{"properties":{"power":{"type":"number","title":"Power","description":"Its power at the base temperature, in kW"},"need":{"type":"number","title":"Need","description":"Its rooms' total need, in kW"},"percentage":{"type":"integer","title":"Percentage","description":"Its power over the need, in %"},"balanced":{"type":"boolean","title":"Balanced","description":"The surpluses make up every room's deficit"},"rooms":{"items":{"$ref":"#/components/schemas/RoomPowerSpread"},"type":"array","title":"Rooms"},"explanation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Explanation","description":"The power reported between rooms, in a sentence; None without any"},"coldest_catalog_temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Coldest Catalog Temperature","description":"Coldest point of its full-load curve when above the base temperature: the power is read there, not extrapolated"}},"type":"object","required":["power","need","percentage","balanced"],"title":"SeasonPowerSpread","description":"How one heat pump's power spreads over its rooms in one season (air/air)."},"Section-Input":{"properties":{"prices":{"items":{"$ref":"#/components/schemas/Price-Input"},"type":"array","title":"Prices","default":[]},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"is_editable":{"type":"boolean","title":"Is Editable","description":"Whether this section can be modified or deleted","default":true}},"type":"object","title":"Section"},"SelectedItem":{"properties":{"reference":{"type":"string","title":"Reference"},"surface":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Surface","description":"Per-work surface to insulate for this item (m²). When unset, the item's diagnosis surface is used as a fallback."},"catalog_item_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Catalog Item Id","description":"Id of the work catalog item (product) attached to this item. Lets different walls of the same work use different products."}},"type":"object","required":["reference"],"title":"SelectedItem","description":"A housing entity (mur, baie_vitree, plancher_bas, plancher_haut) targeted\nby a work. The optional ``surface`` is the per-work surface to insulate for\nthat item (m²); it is meaningful for insulation works only and lets two\nworks target the same wall with independent surfaces. The optional\n``catalog_item_id`` attaches the item to one of the work's ``catalog_items``,\nso different walls of the same work can use different products."},"SelectionCriterion":{"type":"string","enum":["target_power","band_ceiling","outdoor_temperature","flow_temperature","with_dhw","num_splits","target_volume","cet_architecture","cet_source","combustible","target_resistance","target_uw"],"title":"SelectionCriterion","description":"A target the selection compares the kept products with."},"SelectionCriterionValue":{"properties":{"criterion":{"$ref":"#/components/schemas/SelectionCriterion"},"value":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}],"title":"Value"}},"type":"object","required":["criterion","value"],"title":"SelectionCriterionValue"},"SelectionExplanation":{"properties":{"pool":{"items":{"$ref":"#/components/schemas/SelectionPoolCount"},"type":"array","title":"Pool","description":"In the order the filters apply"},"rules":{"items":{"$ref":"#/components/schemas/SelectionRuleFilter"},"type":"array","title":"Rules"},"criteria":{"items":{"$ref":"#/components/schemas/SelectionCriterionValue"},"type":"array","title":"Criteria","description":"The targets the kept products are compared with"}},"type":"object","required":["pool","rules","criteria"],"title":"SelectionExplanation","description":"How the selection narrowed the catalog down to a work's products."},"SelectionPoolCount":{"properties":{"step":{"$ref":"#/components/schemas/PoolStep"},"count":{"type":"integer","title":"Count","description":"Products the filter kept"}},"type":"object","required":["step","count"],"title":"SelectionPoolCount"},"SelectionRuleFilter":{"properties":{"rule_name":{"type":"string","title":"Rule Name"},"slot":{"anyOf":[{"$ref":"#/components/schemas/SelectionSlot"},{"type":"null"}]},"rejected":{"type":"integer","title":"Rejected","description":"Products the rule set aside"}},"type":"object","required":["rule_name","slot","rejected"],"title":"SelectionRuleFilter"},"SelectionSlot":{"type":"string","enum":["air_air_outdoor","air_air_indoor","air_air_pack","heat_pump","dhw_kit","main_equipment"],"title":"SelectionSlot","description":"A choice the selection makes among catalog candidates."},"SelectionStep":{"properties":{"name":{"type":"string","title":"Name"},"details":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},"type":"object","title":"Details","default":{}}},"type":"object","required":["name"],"title":"SelectionStep","description":"The branch of the selection that decided (by power, by layout, fallback)."},"SendDocumentByEmailRequest":{"properties":{"subject":{"type":"string","maxLength":998,"minLength":1,"title":"Subject"},"message":{"type":"string","maxLength":50000,"minLength":1,"title":"Message","description":"Plain text body"},"use_argile_sender":{"type":"boolean","title":"Use Argile Sender","description":"Send from Argile's path even with a connected mailbox","default":false},"idempotency_key":{"anyOf":[{"type":"string","maxLength":128,"minLength":1},{"type":"null"}],"title":"Idempotency Key"}},"type":"object","required":["subject","message"],"title":"SendDocumentByEmailRequest"},"SenderMode":{"type":"string","enum":["user_mailbox","argile_sender","blocked"],"title":"SenderMode","description":"Where the mail will leave from when the user clicks Send."},"SendingPreview":{"properties":{"mode":{"$ref":"#/components/schemas/SenderMode"},"mailbox_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mailbox Email"},"mailbox_status":{"anyOf":[{"$ref":"#/components/schemas/MailboxStatus"},{"type":"null"}]},"size_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Size Bytes","description":"Size of the attachment, None when not generated yet"},"limit_bytes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit Bytes","description":"The ceiling of the path the send takes"},"argile_limit_bytes":{"type":"integer","title":"Argile Limit Bytes","description":"Ceiling of Argile's sender, the 'Envoyer via Argile' path"},"exceeds_limit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Exceeds Limit","description":"None while the file's size is unknown"}},"type":"object","required":["mode","mailbox_email","mailbox_status","size_bytes","limit_bytes","argile_limit_bytes","exceeds_limit"],"title":"SendingPreview","description":"What the Send button will do, shown before the click: which address,\nand whether the attachment fits."},"SerializedEuler":{"properties":{"x":{"type":"number","title":"X"},"y":{"type":"number","title":"Y"},"z":{"type":"number","title":"Z"},"order":{"type":"string","title":"Order"}},"type":"object","required":["x","y","z","order"],"title":"SerializedEuler"},"SerializedPvPanel":{"properties":{"id":{"type":"string","title":"Id"},"position":{"$ref":"#/components/schemas/SerializedVector3"},"normal":{"$ref":"#/components/schemas/SerializedVector3"},"rotation":{"$ref":"#/components/schemas/SerializedEuler"},"width":{"type":"number","title":"Width"},"height":{"type":"number","title":"Height"},"orientation":{"type":"string","enum":["portrait","landscape"],"title":"Orientation"}},"type":"object","required":["id","position","normal","rotation","width","height","orientation"],"title":"SerializedPvPanel"},"SerializedVector3":{"properties":{"x":{"type":"number","title":"X"},"y":{"type":"number","title":"Y"},"z":{"type":"number","title":"Z"}},"type":"object","required":["x","y","z"],"title":"SerializedVector3"},"ServedRoom":{"properties":{"room_reference":{"type":"string","title":"Room Reference","description":"Reference of the room the unit serves"},"length":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Length","description":"Duct length (m), None until entered"},"duct_type":{"anyOf":[{"$ref":"#/components/schemas/DuctType"},{"type":"null"}],"description":"Duct type (insulated flexible by business default)"},"diameter":{"anyOf":[{"type":"number","gt":0},{"type":"null"}],"title":"Diameter","description":"Duct diameter (mm)"}},"type":"object","required":["room_reference"],"title":"ServedRoom","description":"A room an indoor unit serves; on a ducted unit, one outlet and its duct, a room\nwith two outlets holding two entries. The duct fields stay empty on other forms."},"SetQuantity-Input":{"properties":{"type":{"type":"string","const":"set_quantity","title":"Type","default":"set_quantity"},"target":{"oneOf":[{"$ref":"#/components/schemas/ItemRef"},{"$ref":"#/components/schemas/ItemQuery-Input"}],"title":"Target","discriminator":{"propertyName":"type","mapping":{"item_query":"#/components/schemas/ItemQuery-Input","item_ref":"#/components/schemas/ItemRef"}}},"quantity":{"oneOf":[{"$ref":"#/components/schemas/Constant"},{"$ref":"#/components/schemas/Driver"},{"$ref":"#/components/schemas/Product-Input"},{"$ref":"#/components/schemas/Ceil-Input"},{"$ref":"#/components/schemas/CatalogDefault"}],"title":"Quantity","discriminator":{"propertyName":"type","mapping":{"catalog_default":"#/components/schemas/CatalogDefault","ceil":"#/components/schemas/Ceil-Input","constant":"#/components/schemas/Constant","driver":"#/components/schemas/Driver","product":"#/components/schemas/Product-Input"}}}},"additionalProperties":false,"type":"object","required":["target","quantity"],"title":"SetQuantity"},"SetQuantity-Output":{"properties":{"type":{"type":"string","const":"set_quantity","title":"Type","default":"set_quantity"},"target":{"oneOf":[{"$ref":"#/components/schemas/ItemRef"},{"$ref":"#/components/schemas/ItemQuery-Output"}],"title":"Target","discriminator":{"propertyName":"type","mapping":{"item_query":"#/components/schemas/ItemQuery-Output","item_ref":"#/components/schemas/ItemRef"}}},"quantity":{"oneOf":[{"$ref":"#/components/schemas/Constant"},{"$ref":"#/components/schemas/Driver"},{"$ref":"#/components/schemas/Product-Output"},{"$ref":"#/components/schemas/Ceil-Output"},{"$ref":"#/components/schemas/CatalogDefault"}],"title":"Quantity","discriminator":{"propertyName":"type","mapping":{"catalog_default":"#/components/schemas/CatalogDefault","ceil":"#/components/schemas/Ceil-Output","constant":"#/components/schemas/Constant","driver":"#/components/schemas/Driver","product":"#/components/schemas/Product-Output"}}}},"additionalProperties":false,"type":"object","required":["target","quantity"],"title":"SetQuantity"},"Signature":{"properties":{"height":{"type":"number","title":"Height"},"width":{"type":"number","title":"Width"},"bottom":{"type":"number","title":"Bottom"},"left":{"type":"number","title":"Left"},"page_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page Number"},"pdf_field_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdf Field Name"},"recipient":{"anyOf":[{"type":"string","enum":["user","lead"]},{"type":"null"}],"title":"Recipient"}},"type":"object","required":["height","width","bottom","left"],"title":"Signature"},"SignatureEventRead":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"event_type":{"type":"string","enum":["create","sync","send","sign","error","activated","approved","canceled","declined","expired","reactivated","signer_declined","signer_done","signer_identification_succeeded","signer_link_opened","signer_notified"],"title":"Event Type","description":"Type of the event"},"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data","description":"Metadata for the event"},"request_id":{"type":"string","format":"uuid","title":"Request Id","description":"ID of the signature request associated with the event"}},"type":"object","required":["event_type","request_id"],"title":"SignatureEventRead","description":"Schema for reading signature events."},"SignatureRequestRead":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"status":{"type":"string","enum":["draft","pending","completed","rejected","error"],"title":"Status","description":"Status of the signature request","default":"pending"},"data":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Data","description":"Custom data for the request. It is used by the provider"},"document_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Document Ids","description":"IDs of the documents to be signed"},"signature_service_id":{"type":"string","format":"uuid","title":"Signature Service Id","description":"ID of the signature service associated with the request"}},"type":"object","required":["document_ids","signature_service_id"],"title":"SignatureRequestRead","description":"Schema for reading details of a signature request."},"SignatureServiceRead":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"name":{"type":"string","title":"Name","description":"Name of the signature service"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description of the signature service"},"priority":{"type":"integer","title":"Priority","description":"Priority of the service (lower is better)","default":0},"provider":{"type":"string","title":"Provider","description":"Signature provider type (e.g., yousign)"},"branch_id":{"type":"string","format":"uuid","title":"Branch Id","description":"Branch associated with the signature service"}},"type":"object","required":["name","provider","branch_id"],"title":"SignatureServiceRead","description":"Schema for reading details of a base signature service."},"SignatureWorkflowStarted":{"properties":{"workflow_id":{"type":"string","title":"Workflow Id","description":"Temporal workflow ID for tracking the async job"},"signature_request_id":{"type":"string","format":"uuid","title":"Signature Request Id","description":"ID of the signature request (status: PENDING)"},"status":{"type":"string","title":"Status","description":"Status of the workflow (e.g., 'started')","default":"started"},"message":{"type":"string","title":"Message","description":"Human-readable message about the workflow","default":"Signature request workflow started. PDFs are being generated."}},"type":"object","required":["workflow_id","signature_request_id"],"title":"SignatureWorkflowStarted","description":"Response schema when starting an async signature workflow."},"SimulatedArticlePrice":{"properties":{"article_index":{"type":"integer","title":"Article Index"},"price_ht_per_unit":{"type":"number","title":"Price Ht Per Unit"}},"type":"object","required":["article_index","price_ht_per_unit"],"title":"SimulatedArticlePrice","description":"An article's new price, by its rank in its line's articles."},"SimulatedLinePrice":{"properties":{"line_id":{"type":"string","format":"uuid","title":"Line Id"},"price_ht_per_unit":{"type":"number","title":"Price Ht Per Unit"},"price_ttc_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ttc Per Unit"},"articles":{"items":{"$ref":"#/components/schemas/SimulatedArticlePrice"},"type":"array","title":"Articles"}},"type":"object","required":["line_id","price_ht_per_unit","price_ttc_per_unit","articles"],"title":"SimulatedLinePrice","description":"The prices a corrected line takes, as the editor saves them."},"SingularPoint-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"nature":{"$ref":"#/components/schemas/SingularPointNature","default":"unspecified"},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur le point singulier"},"treatment_action":{"anyOf":[{"$ref":"#/components/schemas/SingularPointTreatmentAction"},{"type":"null"}],"description":"Action to take on the singular point","default":"a_reposer"},"count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Count","description":"Count of the singular point","default":1},"linear_meters":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Linear Meters","description":"Mètres linéaires du point singulier (utilisé pour les canalisations notamment)"},"reference_asset":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Asset","description":"Référence de la photo associée au point singulier"},"position":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"}],"type":"array","maxItems":2,"minItems":2,"description":"(longitude, latitude) in GeoJSON order (WGS84)."},{"type":"null"}],"title":"Position"}},"type":"object","title":"SingularPoint","description":"A singular point of a diag item that needs to be highlighted\nIt has a nature and can take a list of assets and a description."},"SingularPoint-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"nature":{"$ref":"#/components/schemas/SingularPointNature","default":"unspecified"},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur le point singulier"},"treatment_action":{"anyOf":[{"$ref":"#/components/schemas/SingularPointTreatmentAction"},{"type":"null"}],"description":"Action to take on the singular point","default":"a_reposer"},"count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Count","description":"Count of the singular point","default":1},"linear_meters":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Linear Meters","description":"Mètres linéaires du point singulier (utilisé pour les canalisations notamment)"},"reference_asset":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Asset","description":"Référence de la photo associée au point singulier"},"position":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"}],"type":"array","maxItems":2,"minItems":2,"description":"(longitude, latitude) in GeoJSON order (WGS84)."},{"type":"null"}],"title":"Position"}},"type":"object","title":"SingularPoint","description":"A singular point of a diag item that needs to be highlighted\nIt has a nature and can take a list of assets and a description."},"SingularPointNature":{"type":"string","enum":["acces_difficile","antenne","arrets_de_volet","barreaux_de_fenetres","boitier_electrique","borne_de_recharge_electrique","caches_panneaux","caisson_de_ventilation","conduit_de_cheminee","corniches_linteaux","debarras","deportation_enedis","descente_d_eau","escalier","fenetre","fenetre_de_toit","fibre_optique","garde_corps","gonds_de_volet","grille_de_ventilation","lampe","lucarne","luminaire","liaisons_frigorifiques","marquise","pac_air_air","points_electriques","point_d_eau","gaine_ventilation","points_hydrauliques","porte_garage","poutre","prises","profil_de_couronne","rambarde","radiateurs","rails_porte_garage","robinets","spots_lumineux","store_banne","trappe_de_visite","tuyau_evacuation","unite_exterieure","vanne_eau","ventouse_poele","vegetation","veranda","volet2_gonds","volet3_gonds","volet_roulant","chaudiere_murale","chauffe_eau","cheminee","mobilier","placard","plinthes","prise_tv_rj45","tablette_de_fenetre","thermostat","unspecified"],"title":"SingularPointNature"},"SingularPointTreatmentAction":{"type":"string","enum":["a_reposer","depose_seule","pas_de_depose"],"title":"SingularPointTreatmentAction","description":"Action to take on a singular point"},"SizingNoteCoverage":{"properties":{"percentage":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Percentage"},"band":{"$ref":"#/components/schemas/CoverageBand"},"status":{"type":"string","enum":["ok","under","over","over_tolerated","unknown"],"title":"Status"},"power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Power","description":"Power the rate divides, in kW (cooling power in summer)"},"need":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Need","description":"Need the rate divides by, in kW (cooling need in summer)"},"heat_need":{"anyOf":[{"$ref":"#/components/schemas/HeatNeedBreakdown"},{"type":"null"}]},"ground_extraction_power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ground Extraction Power","description":"Power drawn from the ground or the water table, in kW: power x (1 - 1/COP) at the cold source; None for an air PAC or no COP"},"emitters_sizing":{"anyOf":[{"$ref":"#/components/schemas/EmittersSizing"},{"type":"null"}],"description":"Rooms and emitters read at the note's water regime, each circuit at its own when it declares one"}},"type":"object","required":["percentage","band","status"],"title":"SizingNoteCoverage","description":"A PAC work's winter coverage under the sizing note's overrides, with the\nbreakdown of the need it divides by."},"SlotDecision":{"properties":{"slot":{"$ref":"#/components/schemas/SelectionSlot"},"chosen":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Chosen"},"candidate_count":{"type":"integer","title":"Candidate Count"},"ranked":{"items":{"$ref":"#/components/schemas/CandidateEval"},"type":"array","title":"Ranked"},"rejected_by_rule":{"additionalProperties":{"type":"integer"},"type":"object","title":"Rejected By Rule","default":{}}},"type":"object","required":["slot","chosen","candidate_count","ranked"],"title":"SlotDecision"},"SlotSuggestions":{"properties":{"slot":{"$ref":"#/components/schemas/SelectionSlot"},"total_count":{"type":"integer","title":"Total Count"},"candidates":{"items":{"$ref":"#/components/schemas/CandidateEval"},"type":"array","title":"Candidates"}},"type":"object","required":["slot","total_count","candidates"],"title":"SlotSuggestions"},"SoilType":{"type":"string","enum":["concrete","earth","gravel","stone","sand"],"title":"SoilType","description":"Nature of the soil where the trench is dug."},"Solaire":{"properties":{"max_num_modules":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Num Modules","description":"Maximum number of solar modules that can be installed"}},"type":"object","title":"Solaire","description":"Informations solaires du logement."},"Solar-Input":{"properties":{"max_num_modules":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Max Num Modules","description":"Maximum number of solar modules that can be installed"},"solar_panel_configs":{"items":{"$ref":"#/components/schemas/SolarPanelConfig"},"type":"array","title":"Solar Panel Configs","description":"Pre-computed optimal panel configurations from Google Solar API","default":[]},"api_panel_capacity_watts":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Api Panel Capacity Watts","description":"Reference panel power (Wc) used by Google Solar API to compute solar_panel_configs yields. Used to rescale the per-panel yield curve to the catalog panel actually installed."}},"type":"object","title":"Solar","description":"Solar potential data for the building."},"Solar-Output":{"properties":{"max_num_modules":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Max Num Modules","description":"Maximum number of solar modules that can be installed"},"solar_panel_configs":{"items":{"$ref":"#/components/schemas/SolarPanelConfig"},"type":"array","title":"Solar Panel Configs","description":"Pre-computed optimal panel configurations from Google Solar API","default":[]},"api_panel_capacity_watts":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Api Panel Capacity Watts","description":"Reference panel power (Wc) used by Google Solar API to compute solar_panel_configs yields. Used to rescale the per-panel yield curve to the catalog panel actually installed."}},"type":"object","title":"Solar","description":"Solar potential data for the building."},"SolarPanelConfig":{"properties":{"panels_count":{"type":"integer","title":"Panels Count","description":"Total number of panels."},"yearly_energy_dc_kwh":{"type":"number","title":"Yearly Energy Dc Kwh","description":"How much sunlight energy this layout captures over a year, in DC kWh."},"roof_segment_summaries":{"items":{"$ref":"#/components/schemas/RoofSegmentSummary"},"type":"array","title":"Roof Segment Summaries","description":"Information about the production of each roof segment with panels."}},"type":"object","required":["panels_count","yearly_energy_dc_kwh","roof_segment_summaries"],"title":"SolarPanelConfig"},"Sortie":{"properties":{"deperdition":{"$ref":"#/components/schemas/Deperdition","description":"Déperditions par poste"},"apport_et_besoin":{"$ref":"#/components/schemas/ApportEtBesoin","description":"Apport et besoin d'énergie"},"production_electricite":{"$ref":"#/components/schemas/ProductionElectricite","description":"Production d'électricité"},"sortie_par_energie_collection":{"$ref":"#/components/schemas/SortieParEnergieCollection","description":"Sortie par énergie"},"ef_conso":{"$ref":"#/components/schemas/EfConso","description":"Consommation en énergie finale"},"ep_conso":{"$ref":"#/components/schemas/EpConso","description":"Consommation en énergie primaire"},"emission_ges":{"$ref":"#/components/schemas/EmissionGes","description":"Émissions des gaz à effet de serre"},"cout":{"$ref":"#/components/schemas/Cout","description":"Coûts des consommations"},"confort_ete":{"$ref":"#/components/schemas/ConfortEte"},"qualite_isolation":{"$ref":"#/components/schemas/QualiteIsolation"},"qualite_air":{"$ref":"#/components/schemas/QualityType","description":"Qualité de l'air de la ventilation en place","readOnly":true,"export_to_dpe":false}},"type":"object","required":["qualite_air"],"title":"Sortie"},"SortieParEnergie":{"properties":{"enum_type_energie_id":{"$ref":"#/components/schemas/TypeEnergie","description":"type d'énergie","ge":1,"le":15},"conso_ch":{"type":"number","title":"Conso Ch","description":"consommation de chauffage en énergie finale pour l'énergie considérée (kWhef/an)","readOnly":true},"conso_ch_depensier":{"type":"number","title":"Conso Ch Depensier","description":"consommation de chauffage en énergie finale pour l'énergie considérée (kWhef/an)","readOnly":true},"conso_fr":{"type":"number","title":"Conso Fr","readOnly":true},"conso_fr_depensier":{"type":"number","title":"Conso Fr Depensier","readOnly":true},"conso_ecs":{"type":"number","title":"Conso Ecs","description":"consommation d'ECS en énergie finale pour l'énergie considérée (kWhef/an)","readOnly":true},"conso_ecs_depensier":{"type":"number","title":"Conso Ecs Depensier","description":"consommation d'ECS en énergie finale pour l'énergie considérée (kWhef/an)","readOnly":true},"conso_aux":{"type":"number","title":"Conso Aux","description":"consommation auxiliaire en énergie finale pour l'énergie considérée (kWhef/an)","readOnly":true},"conso_eclairage":{"type":"number","title":"Conso Eclairage","description":"consommation d'éclairage en énergie finale pour l'énergie considérée (kWhef/an)","readOnly":true},"conso_5_usages":{"type":"number","title":"Conso 5 Usages","description":"consommation totale en énergie finale pour l'énergie considérée (kWhef/an)","readOnly":true},"conso_5_usages_depensier":{"type":"number","title":"Conso 5 Usages Depensier","description":"consommation totale en énergie finale pour l'énergie considérée (kWhef/an)","readOnly":true},"emission_ges_ch":{"type":"number","title":"Emission Ges Ch","description":"estimation GES de chauffage pour l'énergie considérée (kgCO2/an)","readOnly":true},"emission_ges_ecs":{"type":"number","title":"Emission Ges Ecs","description":"estimation GES d'ECS pour l'énergie considérée (kgCO2/an)","readOnly":true},"emission_ges_5_usages":{"type":"number","title":"Emission Ges 5 Usages","description":"estimation GES totale pour l'énergie considérée (kgCO2/an)","readOnly":true},"cout_ch":{"type":"number","title":"Cout Ch","description":"coût lié au chauffage pour l'énergie considérée (€)","readOnly":true},"cout_ch_depensier":{"type":"number","title":"Cout Ch Depensier","description":"coût lié au chauffage pour l'énergie considérée (€)","readOnly":true},"cout_ecs":{"type":"number","title":"Cout Ecs","description":"coût lié à l'ECS pour l'énergie considérée (€)","readOnly":true},"cout_ecs_depensier":{"type":"number","title":"Cout Ecs Depensier","description":"coût lié à l'ECS pour l'énergie considérée (€)","readOnly":true},"cout_fr":{"type":"number","title":"Cout Fr","description":"coût lié au refroidissement pour l'énergie considérée (€)","readOnly":true},"cout_fr_depensier":{"type":"number","title":"Cout Fr Depensier","description":"coût lié au refroidissement pour l'énergie considérée (€)","readOnly":true},"cout_eclairage":{"type":"number","title":"Cout Eclairage","description":"coût lié à l'éclairage pour l'énergie considérée (€)","readOnly":true},"cout_aux":{"type":"number","title":"Cout Aux","description":"coût lié aux auxiliaires pour l'énergie considérée (€)","readOnly":true},"cout_5_usages":{"type":"number","title":"Cout 5 Usages","description":"coût total pour l'énergie considérée (€)","readOnly":true}},"type":"object","required":["enum_type_energie_id","conso_ch","conso_ch_depensier","conso_fr","conso_fr_depensier","conso_ecs","conso_ecs_depensier","conso_aux","conso_eclairage","conso_5_usages","conso_5_usages_depensier","emission_ges_ch","emission_ges_ecs","emission_ges_5_usages","cout_ch","cout_ch_depensier","cout_ecs","cout_ecs_depensier","cout_fr","cout_fr_depensier","cout_eclairage","cout_aux","cout_5_usages"],"title":"SortieParEnergie"},"SortieParEnergieCollection":{"properties":{"sortie_par_energie":{"items":{"$ref":"#/components/schemas/SortieParEnergie"},"type":"array","minItems":1,"title":"Sortie Par Energie"}},"type":"object","title":"SortieParEnergieCollection"},"SourceCET":{"type":"string","enum":["air_extrait","air_ambiant","air_exterieur","eau_nappe"],"title":"SourceCET","description":"Source de chaleur du CET (P10_3)."},"SplitHeadTarget":{"properties":{"power_rating":{"type":"number","title":"Power Rating"},"room_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Reference"},"unit_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit Reference"}},"type":"object","required":["power_rating"],"title":"SplitHeadTarget","description":"What one indoor head must carry, and the room it was sized on."},"StartPeriod":{"type":"string","enum":["asap","in_6_months","idk","waiting","info","other"],"title":"StartPeriod"},"StatusCountsResponse":{"properties":{"by_status":{"additionalProperties":{"type":"integer"},"type":"object","title":"By Status"},"by_group":{"additionalProperties":{"type":"integer"},"propertyNames":{"$ref":"#/components/schemas/LeadStatusGroup"},"type":"object","title":"By Group"}},"type":"object","required":["by_status","by_group"],"title":"StatusCountsResponse"},"SteadyLoad":{"properties":{"detected":{"type":"boolean","title":"Detected"},"power_kw":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Power Kw"},"days":{"type":"integer","title":"Days"}},"type":"object","required":["detected","power_kw","days"],"title":"SteadyLoad","description":"A load holding one power for hours on warm days: a spa, a pool pump, a car.\nHeating hides it on cold days, so its energy is a floor."},"StoveAsset":{"properties":{"type":{"type":"string","enum":["video","sound","image","segmentation","marker","no_lidar_available","reconstruction_3d"],"title":"Type"},"coordinate":{"anyOf":[{"$ref":"#/components/schemas/AccomodationCoordinate"},{"type":"null"}]},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"attributes":{"items":{"$ref":"#/components/schemas/Attribute"},"type":"array","title":"Attributes","description":"A very broad field to store any relevant data related to this asset","default":[]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"tag":{"anyOf":[{"type":"string","enum":["stove_ceiling","stove_location","stove_location_narrow","stove_conduit_interior","stove_conduit_interior_2","stove_future_path","stove_future_path_2","stove_future_path_3","stove_air_entry","stove_exterior_wide","stove_exterior_narrow","stove_wall_interior","stove_wall_exterior"]},{"type":"null"}],"title":"Tag"}},"additionalProperties":false,"type":"object","required":["type"],"title":"StoveAsset"},"StoveFit":{"type":"string","enum":["adapted","undersized","oversized"],"title":"StoveFit"},"StoveSuggestion":{"properties":{"catalog_item_id":{"type":"string","format":"uuid","title":"Catalog Item Id"},"fit":{"anyOf":[{"$ref":"#/components/schemas/StoveFit"},{"type":"null"}],"description":"How its power compares to the need; none without a power"}},"type":"object","required":["catalog_item_id"],"title":"StoveSuggestion"},"StoveSuggestions":{"properties":{"heating_need_kw":{"type":"number","title":"Heating Need Kw","description":"Peak need of the surface the stove heats, in kW"},"candidates":{"items":{"$ref":"#/components/schemas/StoveSuggestion"},"type":"array","title":"Candidates","description":"The catalog's other stoves fitting the answers, best first"}},"type":"object","required":["heating_need_kw","candidates"],"title":"StoveSuggestions"},"StoveUsage":{"type":"string","enum":["main","secondary"],"title":"StoveUsage"},"StoveWallMaterial":{"type":"string","enum":["concrete","stone","brick","plaster","wood","tile"],"title":"StoveWallMaterial"},"SubcontractingScope":{"type":"string","enum":["supply_and_installation","installation","supply_and_commissioning"],"title":"SubcontractingScope","description":"What a subcontractor performs on a work, as the quote states it."},"SubscriptionLicenseAssignPayload":{"properties":{"plan_id":{"type":"string","format":"uuid","title":"Plan Id"}},"type":"object","required":["plan_id"],"title":"SubscriptionLicenseAssignPayload","description":"Body for PUT /users/{user_id}/license."},"SubscriptionLicenseRead":{"properties":{"revoked_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Revoked At","description":"Revocation date, null if active"},"id":{"type":"string","format":"uuid","title":"Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"subscription_item_id":{"type":"string","format":"uuid","title":"Subscription Item Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"user":{"anyOf":[{"$ref":"#/components/schemas/LicenseUserRead"},{"type":"null"}]},"current_period_end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Current Period End"},"plan":{"anyOf":[{"$ref":"#/components/schemas/SubscriptionPlanRead"},{"type":"null"}]}},"type":"object","required":["id","subscription_item_id","created_at"],"title":"SubscriptionLicenseRead"},"SubscriptionPlanRead":{"properties":{"code":{"$ref":"#/components/schemas/PlanCode","description":"Plan tier code"},"name":{"type":"string","title":"Name","description":"Plan display name"},"feature_flags":{"type":"integer","title":"Feature Flags","description":"Bitfield of features unlocked by this plan","default":0},"id":{"type":"string","format":"uuid","title":"Id"},"unit_amount":{"type":"integer","title":"Unit Amount"},"annual_unit_amount":{"type":"integer","title":"Annual Unit Amount"},"stripe_price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stripe Price Id"},"annual_stripe_price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Annual Stripe Price Id"},"discounted_unit_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Discounted Unit Amount"},"discounted_annual_unit_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Discounted Annual Unit Amount"}},"type":"object","required":["code","name","id","unit_amount","annual_unit_amount"],"title":"SubscriptionPlanRead"},"Subsidy-Input":{"properties":{"amount":{"type":"number","title":"Amount"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"upper_bound":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Upper Bound"},"type":{"$ref":"#/components/schemas/SubsidyType"},"data":{"anyOf":[{"$ref":"#/components/schemas/SubsidyOptions-Input"},{"type":"null"}]},"enum_type_travaux_ids":{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array","title":"Enum Type Travaux Ids"}},"type":"object","required":["amount","type","enum_type_travaux_ids"],"title":"Subsidy","description":"A subsidy"},"Subsidy-Output":{"properties":{"amount":{"type":"number","title":"Amount"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"upper_bound":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Upper Bound"},"type":{"$ref":"#/components/schemas/SubsidyType"},"data":{"anyOf":[{"$ref":"#/components/schemas/SubsidyOptions-Output"},{"type":"null"}]},"enum_type_travaux_ids":{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array","title":"Enum Type Travaux Ids"}},"type":"object","required":["amount","type","enum_type_travaux_ids"],"title":"Subsidy","description":"A subsidy"},"SubsidyCriterion":{"properties":{"code":{"$ref":"#/components/schemas/SubsidyCriterionCode"},"met":{"type":"boolean","title":"Met","default":true},"criterion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Criterion"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"},"minimum":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Minimum"},"fiches":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Fiches"}},"type":"object","required":["code"],"title":"SubsidyCriterion"},"SubsidyCriterionCode":{"type":"string","enum":["cee_fiche_bought","cee_performance","cee_primary_residence","cee_fossil_replaced","cee_coal_replaced","cee_individual_house","cee_approved_model","cee_cumulable","mpr_ownership","mpr_building_age","mpr_dpe_class","mpr_dpe_gain","mpr_insulation_works","mpr_forfait_open"],"title":"SubsidyCriterionCode","description":"A condition the granted subsidy met; each mirrors a refusal reason."},"SubsidyDeductionMode":{"type":"string","enum":["EACH_INVOICE","LAST_INVOICE","NO_DEDUCTION"],"title":"SubsidyDeductionMode","description":"How subsidies are deducted across a project's installments.\n\nEACH_INVOICE spreads subsidies proportionally over every installment.\nLAST_INVOICE charges the full TTC on each installment and deducts all\nsubsidies on the last one. NO_DEDUCTION never deducts subsidies."},"SubsidyEligibilityRead":{"properties":{"ineligibilities":{"items":{"$ref":"#/components/schemas/SubsidyIneligibilityGroup"},"type":"array","title":"Ineligibilities","description":"One entry per scheme having something to explain","default":[]},"warnings":{"items":{"$ref":"#/components/schemas/SubsidyWarning"},"type":"array","title":"Warnings","description":"Missing inputs the estimation ran without","default":[]}},"type":"object","title":"SubsidyEligibilityRead","description":"Why the plan carries less subsidy than expected, grouped by scheme."},"SubsidyEstimation":{"properties":{"subsidies":{"items":{"$ref":"#/components/schemas/Subsidy-Output"},"type":"array","title":"Subsidies"},"warnings":{"items":{"$ref":"#/components/schemas/SubsidyWarning"},"type":"array","title":"Warnings"}},"type":"object","title":"SubsidyEstimation","description":"Computed subsidies, plus the typed reasons the estimation could not run."},"SubsidyIneligibilityGroup":{"properties":{"type":{"$ref":"#/components/schemas/SubsidyType"},"reasons":{"items":{"oneOf":[{"$ref":"#/components/schemas/MprOwnershipNotEligible"},{"$ref":"#/components/schemas/MprDisabledByHypothesis"},{"$ref":"#/components/schemas/MprBuildingTooRecent"},{"$ref":"#/components/schemas/MprDpeClassNotAllowed"},{"$ref":"#/components/schemas/MprFossilHeatingNotReplaced"},{"$ref":"#/components/schemas/MprFossilEquipmentInHouse"},{"$ref":"#/components/schemas/MprNotEnoughInsulationWorks"},{"$ref":"#/components/schemas/MprDpeGainTooLow"},{"$ref":"#/components/schemas/CeeFicheNotBought"},{"$ref":"#/components/schemas/CeeRequiresCoalReplacement"},{"$ref":"#/components/schemas/CeeRequiresFossilReplacement"},{"$ref":"#/components/schemas/CeeRequiresPrimaryResidence"},{"$ref":"#/components/schemas/CeeRequiresIndividualHouse"},{"$ref":"#/components/schemas/CeeHeatPumpModelNotApproved"},{"$ref":"#/components/schemas/CeeSupersededByOtherWork"},{"$ref":"#/components/schemas/CeeNonCumulable"},{"$ref":"#/components/schemas/CeePowerAboveLimit"},{"$ref":"#/components/schemas/CeePerformanceBelowMinimum"},{"$ref":"#/components/schemas/CeeWindowPerformanceNotMet"},{"$ref":"#/components/schemas/CeeRequiresLiquidOrGasBackup"},{"$ref":"#/components/schemas/CeeHeatPumpDhwOnly"},{"$ref":"#/components/schemas/CeeVentilationNotHygro"}],"discriminator":{"propertyName":"code","mapping":{"cee_fiche_not_bought":"#/components/schemas/CeeFicheNotBought","cee_heat_pump_dhw_only":"#/components/schemas/CeeHeatPumpDhwOnly","cee_heat_pump_model_not_approved":"#/components/schemas/CeeHeatPumpModelNotApproved","cee_non_cumulable":"#/components/schemas/CeeNonCumulable","cee_performance_below_minimum":"#/components/schemas/CeePerformanceBelowMinimum","cee_power_above_limit":"#/components/schemas/CeePowerAboveLimit","cee_requires_coal_replacement":"#/components/schemas/CeeRequiresCoalReplacement","cee_requires_fossil_replacement":"#/components/schemas/CeeRequiresFossilReplacement","cee_requires_individual_house":"#/components/schemas/CeeRequiresIndividualHouse","cee_requires_liquid_or_gas_backup":"#/components/schemas/CeeRequiresLiquidOrGasBackup","cee_requires_primary_residence":"#/components/schemas/CeeRequiresPrimaryResidence","cee_superseded_by_other_work":"#/components/schemas/CeeSupersededByOtherWork","cee_ventilation_not_hygro":"#/components/schemas/CeeVentilationNotHygro","cee_window_performance_not_met":"#/components/schemas/CeeWindowPerformanceNotMet","mpr_building_too_recent":"#/components/schemas/MprBuildingTooRecent","mpr_disabled_by_hypothesis":"#/components/schemas/MprDisabledByHypothesis","mpr_dpe_class_not_allowed":"#/components/schemas/MprDpeClassNotAllowed","mpr_dpe_gain_too_low":"#/components/schemas/MprDpeGainTooLow","mpr_fossil_equipment_in_house":"#/components/schemas/MprFossilEquipmentInHouse","mpr_fossil_heating_not_replaced":"#/components/schemas/MprFossilHeatingNotReplaced","mpr_not_enough_insulation_works":"#/components/schemas/MprNotEnoughInsulationWorks","mpr_ownership_not_eligible":"#/components/schemas/MprOwnershipNotEligible"}}},"type":"array","title":"Reasons"}},"type":"object","required":["type","reasons"],"title":"SubsidyIneligibilityGroup","description":"Every reason one scheme granted nothing.\n\nA reason blocking several schemes is repeated under each: the back states\nwhat applies where, the front decides what to show.\n\nAn absent group means \"nothing to explain\", never \"granted\" — the two\ndiffer, since an estimation that is not computable stays silent (see\n`SubsidyWarning`). Granted schemes are read off `funding.subsidies`."},"SubsidyOptions-Input":{"properties":{"singular_point_nature":{"anyOf":[{"$ref":"#/components/schemas/SingularPointNature"},{"type":"null"}]},"singular_point_treatment_action":{"anyOf":[{"$ref":"#/components/schemas/SingularPointTreatmentAction"},{"type":"null"}]},"type_boiler":{"anyOf":[{"$ref":"#/components/schemas/GasBoilerType"},{"type":"null"}]},"combustible":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Combustible"},"output_zones":{"anyOf":[{"items":{"$ref":"#/components/schemas/OutputZone"},"type":"array"},{"type":"null"}],"title":"Output Zones"},"dimension_width":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Width"},"dimension_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Height"},"dimension_depth":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Depth"},"couleur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Couleur"},"puissance_minimale":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Minimale"},"puissance_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Max"},"has_inertia":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Inertia"},"rendement_nominal":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rendement Nominal"},"puissance_charge_partielle":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Charge Partielle"},"rendement_charge_partielle":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rendement Charge Partielle"},"puissance_electrique":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Electrique"},"tirage_min_cheminee":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tirage Min Cheminee"},"tirage_max_cheminee":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tirage Max Cheminee"},"volume_eau_corp_chauffe":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Volume Eau Corp Chauffe"},"min_return_temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Return Temperature"},"poids":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Poids"},"norme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Norme"},"num_modules":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Modules"},"num_splits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Splits"},"type_split":{"anyOf":[{"$ref":"#/components/schemas/TypeSplit"},{"type":"null"}]},"surface_mini_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Mini M2"},"available_static_pressure":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Available Static Pressure","description":"Available static pressure of the ducted unit (Pa)"},"ratio_combinaison_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ratio Combinaison Max"},"max_connected_indoor_power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Connected Indoor Power","description":"Maximum total indoor power the outdoor unit accepts (kW)"},"nominal_airflow":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Nominal Airflow","description":"Nominal airflow of the ducted unit (m³/h)"},"max_airflow":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Airflow","description":"Maximum airflow of the ducted unit (m³/h)"},"min_airflow":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Airflow","description":"Minimum airflow the ducted unit modulates down to (m³/h)"},"max_static_pressure":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Static Pressure","description":"Maximum adjustable static pressure of the ducted unit (Pa)"},"duct_type":{"anyOf":[{"$ref":"#/components/schemas/DuctType"},{"type":"null"}],"description":"Duct type of the duct, outlet or plenum"},"diameter":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Diameter","description":"Diameter of the duct, outlet or spigot (mm)"},"num_spigots":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Spigots","description":"Number of spigots on the plenum"},"plenum_side":{"anyOf":[{"$ref":"#/components/schemas/PlenumSide"},{"type":"null"}],"description":"Plenum side (supply or return), None = supply"},"has_filter":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Filter","description":"The return plenum or grille includes a filter"},"motorized":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Motorized","description":"The plenum has motorized zone dampers (zoning)"},"spigots":{"anyOf":[{"items":{"$ref":"#/components/schemas/PlenumSpigots"},"type":"array"},{"type":"null"}],"title":"Spigots","description":"Spigots of the plenum grouped by diameter"},"install_locations":{"anyOf":[{"items":{"$ref":"#/components/schemas/DuctedInstallLocation"},"type":"array"},{"type":"null"}],"title":"Install Locations","description":"Locations the manufacturer allows for the ducted unit, None = not declared"},"max_refrigerant_line_length":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Refrigerant Line Length","description":"Longest refrigerant line the outdoor unit allows to one indoor unit (m)"},"max_total_refrigerant_line_length":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Total Refrigerant Line Length","description":"Longest total of the refrigerant lines of a multi-split outdoor unit (m)"},"max_refrigerant_height_difference":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Refrigerant Height Difference","description":"Largest height difference between the outdoor unit and an indoor unit (m)"},"precharged_refrigerant_line_length":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Precharged Refrigerant Line Length","description":"Total line length the factory charge of the outdoor unit covers (m)"},"additional_refrigerant_charge_g_per_m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Additional Refrigerant Charge G Per M","description":"Refrigerant to add per meter of line beyond the precharged length (g/m)"},"liquid_line_diameter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Liquid Line Diameter","description":"Diameter of the liquid line, as the maker writes it (1/4\")"},"gas_line_diameter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gas Line Diameter","description":"Diameter of the gas line, as the maker writes it (3/8\")"},"type_installation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Installation"},"type_ventilation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Ventilation"},"marque_caisson":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque Caisson"},"reference_caisson":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Caisson"},"type_caisson":{"anyOf":[{"$ref":"#/components/schemas/TypeCaisson"},{"type":"null"}]},"puissance_absorbee":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Absorbee"},"marque_bouches_extraction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque Bouches Extraction"},"reference_bouches_extraction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Bouches Extraction"},"marque_bouches_entree":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque Bouches Entree"},"reference_bouches_entree":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Bouches Entree"},"productivite_capteurs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Productivite Capteurs"},"surface_capteurs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Capteurs"},"certification_capteurs":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Certification Capteurs"},"capteurs_hybrides":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Capteurs Hybrides"},"num_panels_in_kit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Panels In Kit"},"voc":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Voc"},"isc":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Isc"},"vpmax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Vpmax"},"ipmax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ipmax"},"coeff_temp_puissance":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Coeff Temp Puissance"},"noct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Noct"},"technologie_cellule":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Technologie Cellule"},"dimension_longueur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Longueur"},"dimension_largeur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Largeur"},"tension_nominale":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tension Nominale"},"tension_min_mppt":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tension Min Mppt"},"tension_max_mppt":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tension Max Mppt"},"rendement":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rendement"},"micro_onduleur":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Micro Onduleur"},"onduleur_hybride":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Onduleur Hybride"},"nominal_power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Nominal Power"},"mppt_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mppt Count"},"max_dc_input_power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Dc Input Power"},"max_ac_output_power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Ac Output Power"},"battery_useful_capacity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Useful Capacity"},"battery_nominal_capacity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Nominal Capacity"},"battery_depth_of_discharge":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Depth Of Discharge"},"battery_capacity_input_mode":{"anyOf":[{"$ref":"#/components/schemas/BatteryCapacityInputMode"},{"type":"null"}]},"battery_roundtrip_efficiency":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Roundtrip Efficiency"},"battery_max_discharge_power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Max Discharge Power"},"battery_max_charge_power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Max Charge Power"},"battery_nominal_voltage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Nominal Voltage"},"battery_max_current":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Max Current"},"battery_cycle_life":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Battery Cycle Life"},"source_cet":{"anyOf":[{"items":{"$ref":"#/components/schemas/SourceCET"},"type":"array"},{"type":"null"}],"title":"Source Cet"},"contenance":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Contenance"},"volume_ballon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Volume Ballon"},"profil_soutirage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profil Soutirage"},"efficacite_energetique":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Efficacite Energetique"},"efficacite_ecs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Efficacite Ecs"},"capacite_stockage_ballon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Capacite Stockage Ballon"},"surface_chauffee":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Chauffee"},"type_stockage_ecs":{"anyOf":[{"$ref":"#/components/schemas/TypeStockageEcs"},{"type":"null"}]},"cable_interconnexion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cable Interconnexion"},"cable_alimentation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cable Alimentation"},"power_aux_elec":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Power Aux Elec"},"intensite_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Intensite Max"},"diametre_sortie_circuit_chauffage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Diametre Sortie Circuit Chauffage"},"diametre_entree_circuit_chauffage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Diametre Entree Circuit Chauffage"},"contenance_ballon_echangeur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Contenance Ballon Echangeur"},"contenance_vase_expansion":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Contenance Vase Expansion"},"volume_eau_min_fonctionnement":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Volume Eau Min Fonctionnement"},"volume_eau_interne":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Volume Eau Interne"},"volume_tampon_integre":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Volume Tampon Integre"},"power_aux_hydraulic":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Power Aux Hydraulic"},"type_refrigerant":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Refrigerant"},"charge_fluide_frigorigene":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Charge Fluide Frigorigene"},"gwp":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gwp"},"puissance_sonore_ui":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Sonore Ui"},"puissance_sonore_ui_nuit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Sonore Ui Nuit"},"dimension_ui_width":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Ui Width"},"dimension_ui_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Ui Height"},"dimension_ui_depth":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Ui Depth"},"poids_ui":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Poids Ui"},"puissance_sonore_ue":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Sonore Ue"},"dimension_ue_width":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Ue Width"},"dimension_ue_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Ue Height"},"dimension_ue_depth":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Ue Depth"},"poids_ue":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Poids Ue"},"estimated_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated Minutes"},"puissance_nominale_per_temp_35":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Nominale Per Temp 35"},"puissance_nominale_per_temp_55":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Nominale Per Temp 55"},"puissance_max_per_temp_35":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Max Per Temp 35"},"puissance_max_per_temp_45":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Max Per Temp 45"},"puissance_max_per_temp_55":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Max Per Temp 55"},"puissance_max_per_temp_65":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Max Per Temp 65"},"puissance_max_per_temp_70":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Max Per Temp 70"},"puissance_max_per_temp_75":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Max Per Temp 75"},"puissance_nominale_basse_temp":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Nominale Basse Temp"},"puissance_nominale_moy_temp":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Nominale Moy Temp"},"puissance_frigorifique":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Frigorifique"},"puissance_calorifique":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Calorifique"},"puissance_calorifique_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Calorifique Min"},"puissance_calorifique_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Calorifique Max"},"puissance_frigorifique_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Frigorifique Min"},"puissance_frigorifique_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Frigorifique Max"},"puissance_calo_per_temp":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Calo Per Temp"},"puissance_calo_max_per_temp":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Calo Max Per Temp"},"puissance_frigo_per_temp":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Frigo Per Temp"},"puissance_frigo_max_per_temp":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Frigo Max Per Temp"},"etas":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas"},"etas_35":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas 35"},"etas_55":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas 55"},"etas_35_eau_nappe":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas 35 Eau Nappe"},"etas_55_eau_nappe":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas 55 Eau Nappe"},"etas_65":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas 65"},"etas_ecs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas Ecs"},"scop_35":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scop 35"},"scop":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scop"},"scop_ecs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scop Ecs"},"seer":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Seer"},"conso_annuelle_chauffage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Conso Annuelle Chauffage"},"conso_annuelle_froid":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Conso Annuelle Froid"},"eer":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Eer"},"spf":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Spf"},"cop":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cop"},"cop_ecs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cop Ecs"},"cop_per_temp_35":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Cop Per Temp 35"},"cop_per_temp_55":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Cop Per Temp 55"},"cop_per_temp_en_14825_35":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Cop Per Temp En 14825 35"},"cop_per_temp_en_14825_55":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Cop Per Temp En 14825 55"},"t_bivalence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Bivalence"},"t_cut_off":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Cut Off"},"t_cut_off_froid":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Cut Off Froid"},"t_max_heating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Max Heating"},"t_min_cooling":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Min Cooling"},"max_water_temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Water Temperature"},"puissance_nominale":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Nominale"},"phases":{"anyOf":[{"items":{"type":"string","enum":["mono","tri"]},"type":"array"},{"type":"null"}],"title":"Phases"},"temperature":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Temperature"},"temperature_max_depart":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temperature Max Depart"},"regulateur":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Regulateur"},"application_basse_temp":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Application Basse Temp"},"application_moy_temp":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Application Moy Temp"},"application_haute_temp":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Application Haute Temp"},"mode_fonctionnement":{"anyOf":[{"$ref":"#/components/schemas/ModeFonctionnement"},{"type":"null"}]},"classe_regulateur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Classe Regulateur"},"pac_architecture":{"anyOf":[{"$ref":"#/components/schemas/PacArchitecture"},{"type":"null"}]},"cascade_role":{"anyOf":[{"$ref":"#/components/schemas/CascadeRole"},{"type":"null"}]},"cascade_max_followers":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Cascade Max Followers"},"cascade_pack_units":{"anyOf":[{"type":"integer","minimum":2.0},{"type":"null"}],"title":"Cascade Pack Units"},"flexibilite":{"anyOf":[{"$ref":"#/components/schemas/FlexibilitePac"},{"type":"null"}]},"pac_cold_source_type":{"anyOf":[{"$ref":"#/components/schemas/PacColdSourceType"},{"type":"null"}]},"idu":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idu"},"odu":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Odu"},"nb_zones_chauffage":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Zones Chauffage"},"compatible_hybridation_chaudiere_existante":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Compatible Hybridation Chaudiere Existante"},"compatible_hybridation_chaudiere_neuve":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Compatible Hybridation Chaudiere Neuve"},"chaudiere_gaz_incluse":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Chaudiere Gaz Incluse"},"surface":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface"},"marque":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"gamme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gamme"},"annee_sortie_gamme":{"anyOf":[{"type":"integer","maximum":2100.0,"minimum":1950.0},{"type":"null"}],"title":"Annee Sortie Gamme"},"niveau_gamme":{"anyOf":[{"$ref":"#/components/schemas/NiveauGamme"},{"type":"null"}]},"eprel_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Eprel Id"},"date_validite":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Validite"},"classe_energetique":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Classe Energetique"},"classe_energetique_froid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Classe Energetique Froid"},"numero_ademe":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Numero Ademe"},"debut_commercialisation":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Debut Commercialisation"},"fin_commercialisation":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Fin Commercialisation"},"reference_remplacement":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Remplacement"},"famille_tarifaire":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Famille Tarifaire"},"code_commercial":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Commercial"},"gtin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gtin"},"eco_contribution_deee":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Eco Contribution Deee"},"date_tarif":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date Tarif"},"date_mise_a_jour":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Mise A Jour"},"lien_fiche_uniclima":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lien Fiche Uniclima"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"},"fiche_technique_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiche Technique Url"},"notice_produit_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notice Produit Url"},"notice_mise_en_service_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notice Mise En Service Url"},"etiquette_produit_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Etiquette Produit Url"},"documents_libres":{"anyOf":[{"items":{"$ref":"#/components/schemas/DocumentLibre"},"type":"array"},{"type":"null"}],"title":"Documents Libres"},"fichiers_cao":{"anyOf":[{"items":{"$ref":"#/components/schemas/FichierCao"},"type":"array"},{"type":"null"}],"title":"Fichiers Cao"},"keymark_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keymark Url"},"keymark_registration_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keymark Registration Number"},"resistance":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Resistance"},"epaisseur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Epaisseur"},"has_vapor_barrier":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Vapor Barrier"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Material"},"type_isolation":{"anyOf":[{"$ref":"#/components/schemas/argile__engine__dpe__models__technical_properties__insulation__TypeIsolation"},{"type":"null"}]},"type_materiau_isolant":{"anyOf":[{"$ref":"#/components/schemas/TypeMateriauIsolant"},{"type":"null"}]},"selected_indices":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Selected Indices"},"acermi":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acermi"},"code_ouvrage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Ouvrage"},"sw":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Sw"},"uw":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Uw"},"window_material_modifiers":{"anyOf":[{"$ref":"#/components/schemas/WindowMaterialPriceModifiers-Input"},{"type":"null"}]},"window_color_modifiers":{"anyOf":[{"$ref":"#/components/schemas/WindowColorPriceModifiers-Input"},{"type":"null"}]},"window_vantaux_modifiers":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Window Vantaux Modifiers"},"window_opening_modifiers":{"anyOf":[{"$ref":"#/components/schemas/WindowOpeningPriceModifiers-Input"},{"type":"null"}]},"window_glazing_type_modifiers":{"anyOf":[{"$ref":"#/components/schemas/WindowGlazingTypePriceModifiers-Input"},{"type":"null"}]},"window_glazing_option_modifiers":{"anyOf":[{"$ref":"#/components/schemas/WindowGlazingOptionPriceModifiers-Input"},{"type":"null"}]},"window_handle_modifiers":{"anyOf":[{"$ref":"#/components/schemas/WindowHandlePriceModifiers-Input"},{"type":"null"}]},"window_dimension_modifiers":{"anyOf":[{"$ref":"#/components/schemas/WindowDimensionPriceModifiers-Input"},{"type":"null"}]},"limit_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Limit M2"},"before_limit_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Before Limit M2"},"num_windows":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Num Windows"},"is_combustible":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Combustible"},"is_coal":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Coal"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"type":{"anyOf":[{"type":"string","enum":["mpr_ecretement_ht","mpr_ecretement_ttc","mpr_performance","cee_heat_wood","cee_heat","aide_locale","bar_th_174"]},{"type":"null"}],"title":"Type"},"max_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Rate"},"max_rate_tax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Rate Tax"},"max_rate_pretax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Rate Pretax"},"fiche_cee":{"anyOf":[{"$ref":"#/components/schemas/FicheCEE"},{"type":"null"}]},"version_ah":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version Ah"},"expired_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expired At"},"cee_type":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/CEEType"},{"type":"null"}],"title":"Cee Type"},"origin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Origin"},"zone_climatique":{"anyOf":[{"$ref":"#/components/schemas/ZoneClimatiqueType"},{"type":"null"}]},"factor":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Factor"},"num_hops":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Num Hops"},"type_accomodation":{"anyOf":[{"$ref":"#/components/schemas/AccomodationType"},{"type":"null"}]},"shab":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Shab"},"cumac":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cumac"},"is_fossile_before":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Fossile Before"},"nombre_appartements":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nombre Appartements"},"coefficient_r":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Coefficient R"},"num_valves":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Valves"},"efficacite_energetique_cesi":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Efficacite Energetique Cesi"},"besoin_annuel_ecs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Besoin Annuel Ecs"},"taux_couverture_solaire":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taux Couverture Solaire"},"production_solaire_utile":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Production Solaire Utile"},"taux_couverture":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Taux Couverture"},"subcontractor_ids":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Subcontractor Ids"},"steps":{"items":{"$ref":"#/components/schemas/SubsidyStep"},"type":"array","title":"Steps","default":[]},"criteria":{"items":{"$ref":"#/components/schemas/SubsidyCriterion"},"type":"array","title":"Criteria","default":[]}},"type":"object","title":"SubsidyOptions"},"SubsidyOptions-Output":{"additionalProperties":true,"type":"object"},"SubsidyOverride":{"properties":{"amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amount"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"type":{"$ref":"#/components/schemas/SubsidyType"},"enum_type_travaux_ids":{"items":{"$ref":"#/components/schemas/TypeTravaux"},"type":"array","title":"Enum Type Travaux Ids"},"is_replacement":{"type":"boolean","title":"Is Replacement","default":true},"is_deleted":{"type":"boolean","title":"Is Deleted","default":false},"tax_brackets":{"anyOf":[{"items":{"$ref":"#/components/schemas/TaxBracket"},"type":"array"},{"type":"null"}],"title":"Tax Brackets"}},"type":"object","required":["type"],"title":"SubsidyOverride","description":"Represents a user-defined subsidy override.\n\nCan either:\n- Replace a computed subsidy (by matching type + enum_type_travaux_ids)\n- Add a new custom subsidy (if no match found)\n- Delete a computed subsidy (when is_deleted is True)"},"SubsidyStep":{"properties":{"kind":{"$ref":"#/components/schemas/SubsidyStepKind"},"value":{"type":"number","title":"Value"},"type_accomodation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Accomodation"},"etas_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas Min"},"etas_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas Max"},"zone_climatique":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Zone Climatique"},"scop_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scop Min"},"scop_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scop Max"},"dpe_gain":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Dpe Gain"},"rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rate"},"surface":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface"},"tax_bracket":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tax Bracket"},"ceiling":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ceiling","description":"ELIGIBLE_EXPENSE (MPR par geste): expense ceiling of this work alone, in € incl. tax, before the work price caps it; already multiplied by the m² or windows of a per-unit ceiling"}},"type":"object","required":["kind","value"],"title":"SubsidyStep"},"SubsidyStepKind":{"type":"string","enum":["cumac_forfait","cumac_per_m2","surface","windows","surface_factor","zone_factor","bonus_factor","cumac","mwh_cumac_price","upper_bound","lower_bound","mpr_forfait","eligible_expense","cap_rate","ecretement","eligible_expense_ht","expense_ceiling","funding_rate","thermal_bonus","ttc_ceiling"],"title":"SubsidyStepKind","description":"One term of a subsidy amount, in the order the calculator applies it."},"SubsidyType":{"type":"string","enum":["cee","region","department","city","mpr_efficacite","mpr_performance","mar","prime_autoconsommation","ma_prime_adapt","ma_prime_logement_decent"],"title":"SubsidyType","description":"Funding scheme granting a subsidy; persisted in `Funding` JSONB payloads."},"SubsidyWarning":{"type":"string","enum":["missing_housing_data","missing_thermal_data","missing_ownership"],"title":"SubsidyWarning","description":"Why an estimation is not computable, as opposed to not eligible."},"SubtractedEnvelopeZone":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"is_insulable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Insulable","description":"Is the wall zone insulable for an ITE"},"is_deperditive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Deperditive","description":"Is the wall zone related to a heated zone?"},"to_isolate":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"To Isolate","description":"Is the wall zone to be isolated (ITE/ITI)?"},"surface_paroi_totale":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Paroi Totale","description":"Surface of the wall zone","examples":[10.5]},"shape":{"anyOf":[{"$ref":"#/components/schemas/ZoneShape"},{"type":"null"}],"description":"Shape of the wall zone"},"max_width":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Width","description":"Maximum width of the wall zone"},"max_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Height","description":"Maximum height of the wall zone"},"min_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Height","description":"Minimum height of the wall zone, used to compute a pentagon or trapezoid surface"},"enum_type_adjacence_id":{"anyOf":[{"$ref":"#/components/schemas/TypeAdjacence","ge":1,"le":22},{"type":"null"}],"description":"DEPRECATED type d'adjacence de la zone de paroi","examples":[1]},"coating_only":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Coating Only","description":"Is the wall zone to be coated only?"},"no_insulation_reason":{"anyOf":[{"$ref":"#/components/schemas/NoInsulationReason"},{"type":"null"}],"description":"Reason why the zone is not isolated (used only when the zone is neither to be isolated nor coated)"},"reference_asset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Asset","description":"Reference of the asset associated to the zone"},"needs_scaffolding":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Needs Scaffolding","description":"Indique si un échafaudage est nécessaire pour cette zone de mur (sélectionné lors de la visite technique)"},"auto_measured_edges":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Auto Measured Edges","description":"Edge lengths in meters"},"auto_surface_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Auto Surface Ratio","description":"Calibration constant captured at AI measurement time, equal to surface_paroi_totale (m²) divided by the normalized polygon area at creation."},"auto_moge_object_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auto Moge Object Id","description":"MoGe call id, replayed for remeasure."},"auto_photo_size_px":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Auto Photo Size Px","description":"Pixel dimensions [height, width] of the source photo, used to rasterize the stored normalized polygon when remeasuring."}},"type":"object","title":"SubtractedEnvelopeZone","description":"A subtracted zone is a zone that is subtracted from an envelope zone.\nIt is used to compute the insulable surface of the envelope zone."},"SuggestedHeatPumpUnit":{"properties":{"catalog_item_id":{"type":"string","format":"uuid","title":"Catalog Item Id"},"quantity":{"type":"integer","title":"Quantity","default":1}},"type":"object","required":["catalog_item_id"],"title":"SuggestedHeatPumpUnit"},"SummerComfortResponse":{"properties":{"not_ready_reason":{"anyOf":[{"type":"string","enum":["weather_loading","no_coordinates","envelope_unreadable"]},{"type":"null"}],"title":"Not Ready Reason"},"weather":{"anyOf":[{"$ref":"#/components/schemas/SummerComfortWeather"},{"type":"null"}]},"before":{"anyOf":[{"$ref":"#/components/schemas/DwellingComfort"},{"type":"null"}]},"after":{"anyOf":[{"$ref":"#/components/schemas/DwellingComfort"},{"type":"null"}]},"model_version":{"type":"string","title":"Model Version","default":"summer-comfort@1"}},"type":"object","title":"SummerComfortResponse","description":"`before` and `after` are None, with a reason, while an input is missing."},"SummerComfortWeather":{"properties":{"start":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Start"},"end":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"End"},"temperature_source":{"type":"string","enum":["meteo_france_observed","meteo_france_typical","pvgis_typical"],"title":"Temperature Source"},"sun_source":{"type":"string","const":"pvgis_typical","title":"Sun Source"},"stations":{"items":{"type":"string"},"type":"array","title":"Stations"},"hot_week_start":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Hot Week Start"}},"type":"object","required":["start","end","temperature_source","sun_source","stations","hot_week_start"],"title":"SummerComfortWeather"},"SupplierBase":{"properties":{"name":{"type":"string","title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Input"},{"type":"null"}],"description":"Address of the supplier"},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["name"],"title":"SupplierBase","description":"Company-wide material supplier, printed on purchase order headers."},"SupplierListRead":{"properties":{"name":{"type":"string","title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Output"},{"type":"null"}],"description":"Address of the supplier"},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"id":{"type":"string","format":"uuid","title":"Id"},"company_id":{"type":"string","format":"uuid","title":"Company Id"},"code":{"type":"string","title":"Code"},"archived":{"type":"boolean","title":"Archived"},"article_count":{"type":"integer","title":"Article Count"}},"type":"object","required":["name","id","company_id","code","archived","article_count"],"title":"SupplierListRead","description":"List row: the supplier plus the number of catalog articles attached."},"SupplierRead":{"properties":{"name":{"type":"string","title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Output"},{"type":"null"}],"description":"Address of the supplier"},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"id":{"type":"string","format":"uuid","title":"Id"},"company_id":{"type":"string","format":"uuid","title":"Company Id"},"code":{"type":"string","title":"Code"},"archived":{"type":"boolean","title":"Archived"}},"type":"object","required":["name","id","company_id","code","archived"],"title":"SupplierRead","description":"Read a supplier."},"SupplierUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"address":{"anyOf":[{"$ref":"#/components/schemas/TAdresse-Input"},{"type":"null"}],"description":"Address of the supplier"},"logo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"archived":{"type":"boolean","title":"Archived","default":false}},"type":"object","title":"SupplierUpdate","description":"Partial update; only the provided fields are applied."},"SupportInstallationState":{"type":"string","enum":["to_do","existing"],"title":"SupportInstallationState","description":"État d'avancement du support au sol (PAC air/air)."},"SupportInstalledBy":{"type":"string","enum":["client","installer"],"title":"SupportInstalledBy","description":"Qui réalise le support au sol (PAC air/air)."},"TAdresse-Input":{"properties":{"adresse_brut":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Adresse Brut","description":"libéllé l'adresse postale du bien saisi par le diagnostiqueur sans le code postal ni la commune (FORMAT ATTENDU : Numéro de l'adresse dans la voie + Indice de répétition associé au numéro (par exemple bis, a…) + Nom de la voie en minuscules accentuées)","examples":["1 rue de la paix"]},"code_postal_brut":{"anyOf":[{"type":"string","pattern":"[0-9]{1}[A-Za-z0-9]{1}[0-9]{3}"},{"type":"null"}],"title":"Code Postal Brut","description":"code postal de l'adresse brute saisie par le diagnostiqueur","examples":["75001"]},"nom_commune_brut":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Nom Commune Brut","description":"nom de commune brute saisie par le diagnostiqueur","examples":["Paris"]},"label_brut":{"type":"string","maxLength":255,"title":"Label Brut","description":"libellé complet de l'adresse postale du bien saisi par le diagnostiqueur (FORMAT ATTENDU : Numéro de l'adresse dans la voie + Indice de répétition associé au numéro (par exemple bis, a…) + Nom de la voie en minuscules accentuées + Code postal du bureau de distribution de la voie + Nom officiel de la commune actuelle)","default":"N/A","examples":["1 rue de la paix 75001 Paris"]},"label_brut_avec_complement":{"type":"string","maxLength":255,"minLength":1,"title":"Label Brut Avec Complement","description":"libellé complet d'adresse complète qui est l'adresse postale du bien précédé par l'ensemble des compléments d'adresses nécessaires à la bonne localisation du bien saisi par le diagnostiqueur (FORMAT ATTENDU : Compléments d'adresses + Numéro de l'adresse dans la voie + Indice de répétition associé au numéro (par exemple bis, a…) + Nom de la voie en minuscules accentuées + Code postal du bureau de distribution de la voie + Nom officiel de la commune actuelle)","default":"N/A","examples":["1 rue de la paix 75001 Paris"]},"enum_statut_geocodage_ban_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Enum Statut Geocodage Ban Id","description":"statut de l'appareillement à la BAN de l'adresse","examples":[1]},"ban_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ban Name","description":"nom de la voie avec le numéro","examples":["1 rue de la paix"]},"ban_date_appel":{"anyOf":[{"$ref":"#/components/schemas/XmlDate"},{"type":"null"}],"description":"date d'appel à la ban","examples":[[2021,1,1,null]]},"ban_id":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ban Id","description":"identifiant de la BAN referençant l'adresse","examples":["751010000AA"]},"ban_label":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ban Label","description":"label de l'adresse au format ban","examples":["1 rue de la paix"]},"ban_housenumber":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ban Housenumber","description":"Numéro éventuel de l'adresse dans la voie (champ BAN)","examples":["1"]},"ban_street":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ban Street","description":"Nom de la voie en minuscules accentuées avec les noms alternatifs éventuels (champ BAN)","examples":["rue de la paix"]},"ban_citycode":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ban Citycode","description":"code insee de la commune de l'adresse géocodée ban","examples":["75101"]},"ban_postcode":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ban Postcode","description":"code postal de la commune de l'adresse géocodée ban","examples":["75001"]},"ban_city":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ban City","description":"nom de la commune de l'adresse géocodée ban","examples":["Paris"]},"ban_type":{"anyOf":[{"$ref":"#/components/schemas/TAdresseBanType"},{"type":"null"}],"description":"type de résultat ban : housenumber/street/locality/municipality","examples":["housenumber"]},"ban_score":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Ban Score","description":"score de match entre le label brut et le résultat de géocodage de la BAN","examples":[0.9]},"ban_x":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ban X","description":"coordonnée x du géolocalisant ban : longitude WGS84 (degrés) sur la plupart des lignes, Lambert 93 (epsg 2154) sur les anciennes ; distinguer par la magnitude (|x| < 10 => degrés)","examples":[0.9]},"ban_y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ban Y","description":"coordonnée y du géolocalisant ban : latitude WGS84 (degrés) sur la plupart des lignes, Lambert 93 (epsg 2154) sur les anciennes ; distinguer par la magnitude (|y| < 60 => degrés)","examples":[0.9]},"compl_nom_residence":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Compl Nom Residence","description":"complement d'adresses : nom de la residence","examples":["les jardins de la paix"]},"compl_ref_batiment":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Compl Ref Batiment","description":"complement d'adresse : référence du bâtiment ( ex. A,B ,1,2,3,4)","examples":["A"]},"compl_etage_appartement":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Compl Etage Appartement","description":"complement d'adresses : etage du logement (cas de l'appartement) sous format entier 0 =RDC","examples":[1]},"compl_ref_cage_escalier":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Compl Ref Cage Escalier","description":"complement d'adresses : reference de cage d'escalire&gt;","examples":["A"]},"compl_ref_logement":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Compl Ref Logement","description":"complement d'adresses : reference du logement dans le bâtiment (appartement ex. 10, A13, 3eme gauche)","examples":["A"]}},"type":"object","title":"TAdresse"},"TAdresse-Output":{"properties":{"adresse_brut":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Adresse Brut","description":"libéllé l'adresse postale du bien saisi par le diagnostiqueur sans le code postal ni la commune (FORMAT ATTENDU : Numéro de l'adresse dans la voie + Indice de répétition associé au numéro (par exemple bis, a…) + Nom de la voie en minuscules accentuées)","examples":["1 rue de la paix"]},"code_postal_brut":{"anyOf":[{"type":"string","pattern":"[0-9]{1}[A-Za-z0-9]{1}[0-9]{3}"},{"type":"null"}],"title":"Code Postal Brut","description":"code postal de l'adresse brute saisie par le diagnostiqueur","examples":["75001"]},"nom_commune_brut":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Nom Commune Brut","description":"nom de commune brute saisie par le diagnostiqueur","examples":["Paris"]},"label_brut":{"type":"string","maxLength":255,"title":"Label Brut","description":"libellé complet de l'adresse postale du bien saisi par le diagnostiqueur (FORMAT ATTENDU : Numéro de l'adresse dans la voie + Indice de répétition associé au numéro (par exemple bis, a…) + Nom de la voie en minuscules accentuées + Code postal du bureau de distribution de la voie + Nom officiel de la commune actuelle)","default":"N/A","examples":["1 rue de la paix 75001 Paris"]},"label_brut_avec_complement":{"type":"string","maxLength":255,"minLength":1,"title":"Label Brut Avec Complement","description":"libellé complet d'adresse complète qui est l'adresse postale du bien précédé par l'ensemble des compléments d'adresses nécessaires à la bonne localisation du bien saisi par le diagnostiqueur (FORMAT ATTENDU : Compléments d'adresses + Numéro de l'adresse dans la voie + Indice de répétition associé au numéro (par exemple bis, a…) + Nom de la voie en minuscules accentuées + Code postal du bureau de distribution de la voie + Nom officiel de la commune actuelle)","default":"N/A","examples":["1 rue de la paix 75001 Paris"]},"enum_statut_geocodage_ban_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Enum Statut Geocodage Ban Id","description":"statut de l'appareillement à la BAN de l'adresse","examples":[1]},"ban_name":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ban Name","description":"nom de la voie avec le numéro","examples":["1 rue de la paix"]},"ban_date_appel":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"description":"date d'appel à la ban","examples":[[2021,1,1,null]]},"ban_id":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ban Id","description":"identifiant de la BAN referençant l'adresse","examples":["751010000AA"]},"ban_label":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ban Label","description":"label de l'adresse au format ban","examples":["1 rue de la paix"]},"ban_housenumber":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ban Housenumber","description":"Numéro éventuel de l'adresse dans la voie (champ BAN)","examples":["1"]},"ban_street":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ban Street","description":"Nom de la voie en minuscules accentuées avec les noms alternatifs éventuels (champ BAN)","examples":["rue de la paix"]},"ban_citycode":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ban Citycode","description":"code insee de la commune de l'adresse géocodée ban","examples":["75101"]},"ban_postcode":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ban Postcode","description":"code postal de la commune de l'adresse géocodée ban","examples":["75001"]},"ban_city":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ban City","description":"nom de la commune de l'adresse géocodée ban","examples":["Paris"]},"ban_type":{"anyOf":[{"$ref":"#/components/schemas/TAdresseBanType"},{"type":"null"}],"description":"type de résultat ban : housenumber/street/locality/municipality","examples":["housenumber"]},"ban_score":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Ban Score","description":"score de match entre le label brut et le résultat de géocodage de la BAN","examples":[0.9]},"ban_x":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ban X","description":"coordonnée x du géolocalisant ban : longitude WGS84 (degrés) sur la plupart des lignes, Lambert 93 (epsg 2154) sur les anciennes ; distinguer par la magnitude (|x| < 10 => degrés)","examples":[0.9]},"ban_y":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ban Y","description":"coordonnée y du géolocalisant ban : latitude WGS84 (degrés) sur la plupart des lignes, Lambert 93 (epsg 2154) sur les anciennes ; distinguer par la magnitude (|y| < 60 => degrés)","examples":[0.9]},"compl_nom_residence":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Compl Nom Residence","description":"complement d'adresses : nom de la residence","examples":["les jardins de la paix"]},"compl_ref_batiment":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Compl Ref Batiment","description":"complement d'adresse : référence du bâtiment ( ex. A,B ,1,2,3,4)","examples":["A"]},"compl_etage_appartement":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Compl Etage Appartement","description":"complement d'adresses : etage du logement (cas de l'appartement) sous format entier 0 =RDC","examples":[1]},"compl_ref_cage_escalier":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Compl Ref Cage Escalier","description":"complement d'adresses : reference de cage d'escalire&gt;","examples":["A"]},"compl_ref_logement":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Compl Ref Logement","description":"complement d'adresses : reference du logement dans le bâtiment (appartement ex. 10, A13, 3eme gauche)","examples":["A"]},"formatted_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Formatted Number","description":"Extract house number from ban_street or ban_housenumber if available.\nUses regex to robustly retrieve the house number.","readOnly":true},"formatted_street":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Formatted Street","description":"Format the street name to remove the house number if present and the zip code\nand anything after the zip code.\ne.g. 20 rue de la Paix => rue de la Paix\nrue de la Paix, 75001 Paris => rue de la Paix","readOnly":true}},"type":"object","required":["formatted_number","formatted_street"],"title":"TAdresse"},"TAdresseBanType":{"type":"string","enum":["housenumber","street","municipality","locality"],"title":"TAdresseBanType"},"TagRead":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"name":{"type":"string","maxLength":50,"title":"Name","description":"Name of the tag","examples":["Urgent","High Priority","VIP Client"]},"color":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Color","description":"Hex color code for the tag","examples":["#FF5733","#33FF57","#3357FF"]},"description":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Description","description":"Optional description of the tag","examples":["For clients requiring urgent attention"]},"event_type":{"anyOf":[{"$ref":"#/components/schemas/Event"},{"type":"null"}],"description":"Type of event that triggers the webhook"},"company_id":{"type":"string","format":"uuid","title":"Company Id"}},"type":"object","required":["name","company_id"],"title":"TagRead","description":"Schema for reading a tag"},"TaggedAsset_str_":{"properties":{"type":{"type":"string","enum":["video","sound","image","segmentation","marker","no_lidar_available","reconstruction_3d"],"title":"Type"},"coordinate":{"anyOf":[{"$ref":"#/components/schemas/AccomodationCoordinate"},{"type":"null"}]},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"attributes":{"items":{"$ref":"#/components/schemas/Attribute"},"type":"array","title":"Attributes","description":"A very broad field to store any relevant data related to this asset","default":[]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"tag":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tag"}},"additionalProperties":false,"type":"object","required":["type"],"title":"TaggedAsset[str]"},"TaxBracket":{"type":"string","enum":["tres_modeste","modeste","intermediaire","superieure"],"title":"TaxBracket"},"TaxRegion":{"type":"string","enum":["IDF","OTHER"],"title":"TaxRegion"},"TechnicalProperties-Input":{"properties":{"singular_point_nature":{"anyOf":[{"$ref":"#/components/schemas/SingularPointNature"},{"type":"null"}]},"singular_point_treatment_action":{"anyOf":[{"$ref":"#/components/schemas/SingularPointTreatmentAction"},{"type":"null"}]},"type_boiler":{"anyOf":[{"$ref":"#/components/schemas/GasBoilerType"},{"type":"null"}]},"combustible":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Combustible"},"output_zones":{"anyOf":[{"items":{"$ref":"#/components/schemas/OutputZone"},"type":"array"},{"type":"null"}],"title":"Output Zones"},"dimension_width":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Width"},"dimension_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Height"},"dimension_depth":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Depth"},"couleur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Couleur"},"puissance_minimale":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Minimale"},"puissance_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Max"},"has_inertia":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Inertia"},"rendement_nominal":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rendement Nominal"},"puissance_charge_partielle":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Charge Partielle"},"rendement_charge_partielle":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rendement Charge Partielle"},"puissance_electrique":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Electrique"},"tirage_min_cheminee":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tirage Min Cheminee"},"tirage_max_cheminee":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tirage Max Cheminee"},"volume_eau_corp_chauffe":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Volume Eau Corp Chauffe"},"min_return_temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Return Temperature"},"poids":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Poids"},"norme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Norme"},"num_modules":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Modules"},"num_splits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Splits"},"type_split":{"anyOf":[{"$ref":"#/components/schemas/TypeSplit"},{"type":"null"}]},"surface_mini_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Mini M2"},"available_static_pressure":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Available Static Pressure","description":"Available static pressure of the ducted unit (Pa)"},"ratio_combinaison_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ratio Combinaison Max"},"max_connected_indoor_power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Connected Indoor Power","description":"Maximum total indoor power the outdoor unit accepts (kW)"},"nominal_airflow":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Nominal Airflow","description":"Nominal airflow of the ducted unit (m³/h)"},"max_airflow":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Airflow","description":"Maximum airflow of the ducted unit (m³/h)"},"min_airflow":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Airflow","description":"Minimum airflow the ducted unit modulates down to (m³/h)"},"max_static_pressure":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Static Pressure","description":"Maximum adjustable static pressure of the ducted unit (Pa)"},"duct_type":{"anyOf":[{"$ref":"#/components/schemas/DuctType"},{"type":"null"}],"description":"Duct type of the duct, outlet or plenum"},"diameter":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Diameter","description":"Diameter of the duct, outlet or spigot (mm)"},"num_spigots":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Spigots","description":"Number of spigots on the plenum"},"plenum_side":{"anyOf":[{"$ref":"#/components/schemas/PlenumSide"},{"type":"null"}],"description":"Plenum side (supply or return), None = supply"},"has_filter":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Filter","description":"The return plenum or grille includes a filter"},"motorized":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Motorized","description":"The plenum has motorized zone dampers (zoning)"},"spigots":{"anyOf":[{"items":{"$ref":"#/components/schemas/PlenumSpigots"},"type":"array"},{"type":"null"}],"title":"Spigots","description":"Spigots of the plenum grouped by diameter"},"install_locations":{"anyOf":[{"items":{"$ref":"#/components/schemas/DuctedInstallLocation"},"type":"array"},{"type":"null"}],"title":"Install Locations","description":"Locations the manufacturer allows for the ducted unit, None = not declared"},"max_refrigerant_line_length":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Refrigerant Line Length","description":"Longest refrigerant line the outdoor unit allows to one indoor unit (m)"},"max_total_refrigerant_line_length":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Total Refrigerant Line Length","description":"Longest total of the refrigerant lines of a multi-split outdoor unit (m)"},"max_refrigerant_height_difference":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Refrigerant Height Difference","description":"Largest height difference between the outdoor unit and an indoor unit (m)"},"precharged_refrigerant_line_length":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Precharged Refrigerant Line Length","description":"Total line length the factory charge of the outdoor unit covers (m)"},"additional_refrigerant_charge_g_per_m":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Additional Refrigerant Charge G Per M","description":"Refrigerant to add per meter of line beyond the precharged length (g/m)"},"liquid_line_diameter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Liquid Line Diameter","description":"Diameter of the liquid line, as the maker writes it (1/4\")"},"gas_line_diameter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gas Line Diameter","description":"Diameter of the gas line, as the maker writes it (3/8\")"},"type_installation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Installation"},"type_ventilation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Ventilation"},"marque_caisson":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque Caisson"},"reference_caisson":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Caisson"},"type_caisson":{"anyOf":[{"$ref":"#/components/schemas/TypeCaisson"},{"type":"null"}]},"puissance_absorbee":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Absorbee"},"marque_bouches_extraction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque Bouches Extraction"},"reference_bouches_extraction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Bouches Extraction"},"marque_bouches_entree":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque Bouches Entree"},"reference_bouches_entree":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Bouches Entree"},"productivite_capteurs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Productivite Capteurs"},"surface_capteurs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Capteurs"},"certification_capteurs":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Certification Capteurs"},"capteurs_hybrides":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Capteurs Hybrides"},"num_panels_in_kit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Panels In Kit"},"voc":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Voc"},"isc":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Isc"},"vpmax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Vpmax"},"ipmax":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ipmax"},"coeff_temp_puissance":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Coeff Temp Puissance"},"noct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Noct"},"technologie_cellule":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Technologie Cellule"},"dimension_longueur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Longueur"},"dimension_largeur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Largeur"},"tension_nominale":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tension Nominale"},"tension_min_mppt":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tension Min Mppt"},"tension_max_mppt":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tension Max Mppt"},"rendement":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rendement"},"micro_onduleur":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Micro Onduleur"},"onduleur_hybride":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Onduleur Hybride"},"nominal_power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Nominal Power"},"mppt_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Mppt Count"},"max_dc_input_power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Dc Input Power"},"max_ac_output_power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Ac Output Power"},"battery_useful_capacity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Useful Capacity"},"battery_nominal_capacity":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Nominal Capacity"},"battery_depth_of_discharge":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Depth Of Discharge"},"battery_capacity_input_mode":{"anyOf":[{"$ref":"#/components/schemas/BatteryCapacityInputMode"},{"type":"null"}]},"battery_roundtrip_efficiency":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Roundtrip Efficiency"},"battery_max_discharge_power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Max Discharge Power"},"battery_max_charge_power":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Max Charge Power"},"battery_nominal_voltage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Nominal Voltage"},"battery_max_current":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Battery Max Current"},"battery_cycle_life":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Battery Cycle Life"},"source_cet":{"anyOf":[{"items":{"$ref":"#/components/schemas/SourceCET"},"type":"array"},{"type":"null"}],"title":"Source Cet"},"contenance":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Contenance"},"volume_ballon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Volume Ballon"},"profil_soutirage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profil Soutirage"},"efficacite_energetique":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Efficacite Energetique"},"efficacite_ecs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Efficacite Ecs"},"capacite_stockage_ballon":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Capacite Stockage Ballon"},"surface_chauffee":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Chauffee"},"type_stockage_ecs":{"anyOf":[{"$ref":"#/components/schemas/TypeStockageEcs"},{"type":"null"}]},"cable_interconnexion":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cable Interconnexion"},"cable_alimentation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cable Alimentation"},"power_aux_elec":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Power Aux Elec"},"intensite_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Intensite Max"},"diametre_sortie_circuit_chauffage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Diametre Sortie Circuit Chauffage"},"diametre_entree_circuit_chauffage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Diametre Entree Circuit Chauffage"},"contenance_ballon_echangeur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Contenance Ballon Echangeur"},"contenance_vase_expansion":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Contenance Vase Expansion"},"volume_eau_min_fonctionnement":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Volume Eau Min Fonctionnement"},"volume_eau_interne":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Volume Eau Interne"},"volume_tampon_integre":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Volume Tampon Integre"},"power_aux_hydraulic":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Power Aux Hydraulic"},"type_refrigerant":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type Refrigerant"},"charge_fluide_frigorigene":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Charge Fluide Frigorigene"},"gwp":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Gwp"},"puissance_sonore_ui":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Sonore Ui"},"puissance_sonore_ui_nuit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Sonore Ui Nuit"},"dimension_ui_width":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Ui Width"},"dimension_ui_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Ui Height"},"dimension_ui_depth":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Ui Depth"},"poids_ui":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Poids Ui"},"puissance_sonore_ue":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Sonore Ue"},"dimension_ue_width":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Ue Width"},"dimension_ue_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Ue Height"},"dimension_ue_depth":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Dimension Ue Depth"},"poids_ue":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Poids Ue"},"estimated_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated Minutes"},"puissance_nominale_per_temp_35":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Nominale Per Temp 35"},"puissance_nominale_per_temp_55":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Nominale Per Temp 55"},"puissance_max_per_temp_35":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Max Per Temp 35"},"puissance_max_per_temp_45":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Max Per Temp 45"},"puissance_max_per_temp_55":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Max Per Temp 55"},"puissance_max_per_temp_65":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Max Per Temp 65"},"puissance_max_per_temp_70":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Max Per Temp 70"},"puissance_max_per_temp_75":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Max Per Temp 75"},"puissance_nominale_basse_temp":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Nominale Basse Temp"},"puissance_nominale_moy_temp":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Nominale Moy Temp"},"puissance_frigorifique":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Frigorifique"},"puissance_calorifique":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Calorifique"},"puissance_calorifique_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Calorifique Min"},"puissance_calorifique_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Calorifique Max"},"puissance_frigorifique_min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Frigorifique Min"},"puissance_frigorifique_max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Frigorifique Max"},"puissance_calo_per_temp":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Calo Per Temp"},"puissance_calo_max_per_temp":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Calo Max Per Temp"},"puissance_frigo_per_temp":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Frigo Per Temp"},"puissance_frigo_max_per_temp":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Puissance Frigo Max Per Temp"},"etas":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas"},"etas_35":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas 35"},"etas_55":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas 55"},"etas_35_eau_nappe":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas 35 Eau Nappe"},"etas_55_eau_nappe":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas 55 Eau Nappe"},"etas_65":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas 65"},"etas_ecs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Etas Ecs"},"scop_35":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scop 35"},"scop":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scop"},"scop_ecs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Scop Ecs"},"seer":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Seer"},"conso_annuelle_chauffage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Conso Annuelle Chauffage"},"conso_annuelle_froid":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Conso Annuelle Froid"},"eer":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Eer"},"spf":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Spf"},"cop":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cop"},"cop_ecs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cop Ecs"},"cop_per_temp_35":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Cop Per Temp 35"},"cop_per_temp_55":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Cop Per Temp 55"},"cop_per_temp_en_14825_35":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Cop Per Temp En 14825 35"},"cop_per_temp_en_14825_55":{"anyOf":[{"additionalProperties":{"type":"number"},"type":"object"},{"type":"null"}],"title":"Cop Per Temp En 14825 55"},"t_bivalence":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Bivalence"},"t_cut_off":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Cut Off"},"t_cut_off_froid":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Cut Off Froid"},"t_max_heating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Max Heating"},"t_min_cooling":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"T Min Cooling"},"max_water_temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Water Temperature"},"puissance_nominale":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Puissance Nominale"},"phases":{"anyOf":[{"items":{"type":"string","enum":["mono","tri"]},"type":"array"},{"type":"null"}],"title":"Phases"},"temperature":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Temperature"},"temperature_max_depart":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Temperature Max Depart"},"regulateur":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Regulateur"},"application_basse_temp":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Application Basse Temp"},"application_moy_temp":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Application Moy Temp"},"application_haute_temp":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Application Haute Temp"},"mode_fonctionnement":{"anyOf":[{"$ref":"#/components/schemas/ModeFonctionnement"},{"type":"null"}]},"classe_regulateur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Classe Regulateur"},"pac_architecture":{"anyOf":[{"$ref":"#/components/schemas/PacArchitecture"},{"type":"null"}]},"cascade_role":{"anyOf":[{"$ref":"#/components/schemas/CascadeRole"},{"type":"null"}]},"cascade_max_followers":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Cascade Max Followers"},"cascade_pack_units":{"anyOf":[{"type":"integer","minimum":2.0},{"type":"null"}],"title":"Cascade Pack Units"},"flexibilite":{"anyOf":[{"$ref":"#/components/schemas/FlexibilitePac"},{"type":"null"}]},"pac_cold_source_type":{"anyOf":[{"$ref":"#/components/schemas/PacColdSourceType"},{"type":"null"}]},"idu":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Idu"},"odu":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Odu"},"nb_zones_chauffage":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Nb Zones Chauffage"},"compatible_hybridation_chaudiere_existante":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Compatible Hybridation Chaudiere Existante"},"compatible_hybridation_chaudiere_neuve":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Compatible Hybridation Chaudiere Neuve"},"chaudiere_gaz_incluse":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Chaudiere Gaz Incluse"},"surface":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface"},"marque":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Marque"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"gamme":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gamme"},"annee_sortie_gamme":{"anyOf":[{"type":"integer","maximum":2100.0,"minimum":1950.0},{"type":"null"}],"title":"Annee Sortie Gamme"},"niveau_gamme":{"anyOf":[{"$ref":"#/components/schemas/NiveauGamme"},{"type":"null"}]},"eprel_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Eprel Id"},"date_validite":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Validite"},"classe_energetique":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Classe Energetique"},"classe_energetique_froid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Classe Energetique Froid"},"numero_ademe":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Numero Ademe"},"debut_commercialisation":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Debut Commercialisation"},"fin_commercialisation":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Fin Commercialisation"},"reference_remplacement":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Remplacement"},"famille_tarifaire":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Famille Tarifaire"},"code_commercial":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Commercial"},"gtin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gtin"},"eco_contribution_deee":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Eco Contribution Deee"},"date_tarif":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date Tarif"},"date_mise_a_jour":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Mise A Jour"},"lien_fiche_uniclima":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lien Fiche Uniclima"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"},"fiche_technique_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fiche Technique Url"},"notice_produit_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notice Produit Url"},"notice_mise_en_service_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notice Mise En Service Url"},"etiquette_produit_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Etiquette Produit Url"},"documents_libres":{"anyOf":[{"items":{"$ref":"#/components/schemas/DocumentLibre"},"type":"array"},{"type":"null"}],"title":"Documents Libres"},"fichiers_cao":{"anyOf":[{"items":{"$ref":"#/components/schemas/FichierCao"},"type":"array"},{"type":"null"}],"title":"Fichiers Cao"},"keymark_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keymark Url"},"keymark_registration_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keymark Registration Number"},"resistance":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Resistance"},"epaisseur":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Epaisseur"},"has_vapor_barrier":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Vapor Barrier"},"material":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Material"},"type_isolation":{"anyOf":[{"$ref":"#/components/schemas/argile__engine__dpe__models__technical_properties__insulation__TypeIsolation"},{"type":"null"}]},"type_materiau_isolant":{"anyOf":[{"$ref":"#/components/schemas/TypeMateriauIsolant"},{"type":"null"}]},"selected_indices":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Selected Indices"},"acermi":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acermi"},"code_ouvrage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Ouvrage"},"sw":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Sw"},"uw":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Uw"},"window_material_modifiers":{"anyOf":[{"$ref":"#/components/schemas/WindowMaterialPriceModifiers-Input"},{"type":"null"}]},"window_color_modifiers":{"anyOf":[{"$ref":"#/components/schemas/WindowColorPriceModifiers-Input"},{"type":"null"}]},"window_vantaux_modifiers":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"type":"object"},{"type":"null"}],"title":"Window Vantaux Modifiers"},"window_opening_modifiers":{"anyOf":[{"$ref":"#/components/schemas/WindowOpeningPriceModifiers-Input"},{"type":"null"}]},"window_glazing_type_modifiers":{"anyOf":[{"$ref":"#/components/schemas/WindowGlazingTypePriceModifiers-Input"},{"type":"null"}]},"window_glazing_option_modifiers":{"anyOf":[{"$ref":"#/components/schemas/WindowGlazingOptionPriceModifiers-Input"},{"type":"null"}]},"window_handle_modifiers":{"anyOf":[{"$ref":"#/components/schemas/WindowHandlePriceModifiers-Input"},{"type":"null"}]},"window_dimension_modifiers":{"anyOf":[{"$ref":"#/components/schemas/WindowDimensionPriceModifiers-Input"},{"type":"null"}]}},"type":"object","title":"TechnicalProperties","description":"Combined technical properties from all categories."},"TechnicalProperties-Output":{"additionalProperties":true,"type":"object"},"TempDistributionCh":{"type":"integer","enum":[1,2,3,4],"title":"TempDistributionCh"},"Template":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"support":{"$ref":"#/components/schemas/MessageSupportType"},"subject":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subject","description":"Subject of the template","examples":["Hello"]},"cc":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cc","description":"Send a copy of the message to the lead","examples":[true]},"content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content","description":"Content of the template","examples":["Hello"]},"lead_event":{"anyOf":[{"type":"string","enum":["USER_READ","USER_CREATE","USER_UPDATE","USER_DELETE","USER_TOGGLE_ACTIVE","USER_REACTIVATED","FORGOT_PASSWORD","COMPANY_READ","COMPANY_UPDATE","BRANCH_CREATE","BRANCH_READ","BRANCH_UPDATE","BRANCH_DELETE","DOC_INSTANCE_CREATE","DOC_INSTANCE_READ","DOC_INSTANCE_UPDATE","DOC_INSTANCE_DELETE","DOC_INSTANCE_SEND","DOC_TEMPLATE_CREATE","DOC_TEMPLATE_READ","DOC_TEMPLATE_UPDATE","DOC_TEMPLATE_DELETE","QUOTE_CREATE","QUOTE_READ","QUOTE_UPDATE","QUOTE_DELETE","QUOTE_TO_INVOICE_CONVERT","PURCHASE_ORDER_UPDATE","INVOICE_CREATE","INVOICE_READ","INVOICE_UPDATE","INVOICE_DELETE","CREDIT_NOTE_CREATE","CREDIT_NOTE_READ","CREDIT_NOTE_UPDATE","CREDIT_NOTE_DELETE","CREDIT_NOTE_VALIDATE","PAYMENT_RECORD_CREATE","PAYMENT_RECORD_READ","PAYMENT_RECORD_UPDATE","PAYMENT_RECORD_DELETE","FEC_CREATE","FEC_READ","FEC_UPDATE","FEC_DELETE","PAYMENT_CLAIMS_READ","PAYMENT_CLAIMS_CREATE","PAYMENT_CLAIMS_UPDATE","SCAN_CREATE","SCAN_READ","SCAN_UPDATE","SCAN_DELETE","ANSWER_READ","ANSWER_CREATE","ANSWER_UPDATE","ANSWER_DELETE","RENDER_CREATE","RENDER_READ","RENDER_UPDATE","RENDER_DELETE","LEAD_READ","LEAD_CREATE","LEAD_UPDATE","LEAD_DELETE","DPE_SEND_PROJECT","DPE_SEND_REPORT","DPE_READ","DPE_CREATE","DPE_DELETE","DPE_UPDATE","SCENARIO_TEMPLATE_READ","SCENARIO_TEMPLATE_CREATE","SCENARIO_TEMPLATE_UPDATE","SCENARIO_TEMPLATE_DELETE","CATALOG_CREATE","CATALOG_READ","CATALOG_UPDATE","CATALOG_DELETE","CATALOG_OVERWRITE","CATALOG_DUPLICATE","PROJECT_CREATE","PROJECT_READ","PROJECT_UPDATE","PROJECT_DELETE","SCENARIO_CREATE","SCENARIO_READ","SCENARIO_UPDATE","SCENARIO_DELETE","SIGNATURE_CREATE","SIGNATURE_READ","SIGNATURE_UPDATE","SIGNATURE_DELETE","COMMERCIAL_PLAN_CREATE","COMMERCIAL_PLAN_READ","COMMERCIAL_PLAN_UPDATE","COMMERCIAL_PLAN_DELETE","WEBHOOK_CREATE","WEBHOOK_READ","WEBHOOK_UPDATE","WEBHOOK_DELETE","UNSUBSCRIBE","GPDR_CONSENT","REMINDER","INVITE","SUBMIT","LEAD_STATUS_MANAGE","SUBSCRIPTION_READ","SUBSCRIPTION_WRITE","WORKSITE_UPDATE","WORKSITE_FIELD_UPDATE"]},{"type":"null"}],"title":"Lead Event"},"user_event":{"anyOf":[{"type":"string","enum":["USER_READ","USER_CREATE","USER_UPDATE","USER_DELETE","USER_TOGGLE_ACTIVE","USER_REACTIVATED","FORGOT_PASSWORD","COMPANY_READ","COMPANY_UPDATE","BRANCH_CREATE","BRANCH_READ","BRANCH_UPDATE","BRANCH_DELETE","DOC_INSTANCE_CREATE","DOC_INSTANCE_READ","DOC_INSTANCE_UPDATE","DOC_INSTANCE_DELETE","DOC_INSTANCE_SEND","DOC_TEMPLATE_CREATE","DOC_TEMPLATE_READ","DOC_TEMPLATE_UPDATE","DOC_TEMPLATE_DELETE","QUOTE_CREATE","QUOTE_READ","QUOTE_UPDATE","QUOTE_DELETE","QUOTE_TO_INVOICE_CONVERT","PURCHASE_ORDER_UPDATE","INVOICE_CREATE","INVOICE_READ","INVOICE_UPDATE","INVOICE_DELETE","CREDIT_NOTE_CREATE","CREDIT_NOTE_READ","CREDIT_NOTE_UPDATE","CREDIT_NOTE_DELETE","CREDIT_NOTE_VALIDATE","PAYMENT_RECORD_CREATE","PAYMENT_RECORD_READ","PAYMENT_RECORD_UPDATE","PAYMENT_RECORD_DELETE","FEC_CREATE","FEC_READ","FEC_UPDATE","FEC_DELETE","PAYMENT_CLAIMS_READ","PAYMENT_CLAIMS_CREATE","PAYMENT_CLAIMS_UPDATE","SCAN_CREATE","SCAN_READ","SCAN_UPDATE","SCAN_DELETE","ANSWER_READ","ANSWER_CREATE","ANSWER_UPDATE","ANSWER_DELETE","RENDER_CREATE","RENDER_READ","RENDER_UPDATE","RENDER_DELETE","LEAD_READ","LEAD_CREATE","LEAD_UPDATE","LEAD_DELETE","DPE_SEND_PROJECT","DPE_SEND_REPORT","DPE_READ","DPE_CREATE","DPE_DELETE","DPE_UPDATE","SCENARIO_TEMPLATE_READ","SCENARIO_TEMPLATE_CREATE","SCENARIO_TEMPLATE_UPDATE","SCENARIO_TEMPLATE_DELETE","CATALOG_CREATE","CATALOG_READ","CATALOG_UPDATE","CATALOG_DELETE","CATALOG_OVERWRITE","CATALOG_DUPLICATE","PROJECT_CREATE","PROJECT_READ","PROJECT_UPDATE","PROJECT_DELETE","SCENARIO_CREATE","SCENARIO_READ","SCENARIO_UPDATE","SCENARIO_DELETE","SIGNATURE_CREATE","SIGNATURE_READ","SIGNATURE_UPDATE","SIGNATURE_DELETE","COMMERCIAL_PLAN_CREATE","COMMERCIAL_PLAN_READ","COMMERCIAL_PLAN_UPDATE","COMMERCIAL_PLAN_DELETE","WEBHOOK_CREATE","WEBHOOK_READ","WEBHOOK_UPDATE","WEBHOOK_DELETE","UNSUBSCRIBE","GPDR_CONSENT","REMINDER","INVITE","SUBMIT","LEAD_STATUS_MANAGE","SUBSCRIPTION_READ","SUBSCRIPTION_WRITE","WORKSITE_UPDATE","WORKSITE_FIELD_UPDATE"]},{"type":"null"}],"title":"User Event"},"extensions":{"anyOf":[{"items":{"$ref":"#/components/schemas/TemplateExtension"},"type":"array"},{"type":"null"}],"title":"Extensions"},"company_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Company Id","description":"ID of the company","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id","description":"ID of the branch","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]}},"type":"object","required":["support","company_id","branch_id"],"title":"Template"},"TemplateExtension":{"type":"integer","enum":[1,2,3,4],"title":"TemplateExtension"},"TemplateProductInfo":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"brand_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand Name"},"item_type":{"anyOf":[{"$ref":"#/components/schemas/ItemType-Output"},{"type":"null"}]},"price_ht_per_unit":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Ht Per Unit"},"tax_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Tax Rate"},"power_kw":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Power Kw"},"properties":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Properties"}},"type":"object","required":["id","title","description","brand_name","item_type","price_ht_per_unit","tax_rate","power_kw","properties"],"title":"TemplateProductInfo","description":"Info about a single template product."},"TemplateProductsResponse":{"properties":{"products":{"items":{"$ref":"#/components/schemas/TemplateProductInfo"},"type":"array","title":"Products"}},"type":"object","required":["products"],"title":"TemplateProductsResponse","description":"Response for listing template products."},"TerrainNature":{"type":"string","enum":["soft","hard"],"title":"TerrainNature","description":"Firmness of the terrain giving access to the installation."},"TerrainSlope":{"type":"string","enum":["flat","gentle","steep"],"title":"TerrainSlope","description":"Slope of the terrain giving access to the installation."},"ThermalBridge":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"reference_1":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference 1","description":"Référence du premier objet lié au pont thermique"},"reference_2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference 2","description":"Référence du deuxième objet lié au pont thermique"},"tv_pont_thermique_id":{"anyOf":[{"type":"integer","maximum":137.0,"minimum":1.0},{"type":"null"}],"title":"Tv Pont Thermique Id","description":"ID de la ligne de la table utilisée pour le calcul de la valeur du pont thermique k"},"l":{"type":"number","title":"L","description":"Longueur du pont thermique (m)","gt":0.0},"pourcentage_valeur_pont_thermique":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.5},{"type":"null"}],"title":"Pourcentage Valeur Pont Thermique","description":"Pourcentage de prise en compte de la valeur du pont thermique"},"enum_type_liaison_id":{"$ref":"#/components/schemas/TypeLiaison","description":"Type de liaison du pont thermique"},"enum_etat_composant_id":{"anyOf":[{"$ref":"#/components/schemas/EtatComposant"},{"type":"null"}],"description":"Indique si le composant a été changé par rapport au logement initial"},"enum_methode_saisie_pont_thermique_id":{"anyOf":[{"$ref":"#/components/schemas/MethodeSaisieK"},{"type":"null"}],"description":"Méthode de saisie du pont thermique"},"k_saisi":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"K Saisi","description":"Valeur du pont thermique saisie"},"k":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"K","description":"Conductivité thermique (W/K/m)"}},"type":"object","required":["l","enum_type_liaison_id"],"title":"ThermalBridge"},"ThermalFit":{"properties":{"baseline_kwh_per_day":{"type":"number","title":"Baseline Kwh Per Day"},"heating_base_c":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heating Base C"},"heating_kwh_per_degree_day":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heating Kwh Per Degree Day"},"cooling_base_c":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cooling Base C"},"cooling_kwh_per_degree_day":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Cooling Kwh Per Degree Day"},"r2":{"type":"number","title":"R2"},"days_fitted":{"type":"integer","title":"Days Fitted"}},"type":"object","required":["baseline_kwh_per_day","heating_base_c","heating_kwh_per_degree_day","cooling_base_c","cooling_kwh_per_degree_day","r2","days_fitted"],"title":"ThermalFit","description":"Daily energy left after standby and water heater against the day's mean\noutdoor temperature: a + h·(Tb − T)⁺ + c·(T − Tc)⁺."},"ThermalSource":{"type":"string","enum":["dpe","collected"],"title":"ThermalSource","description":"Which sortie (thermal output) the project should expose.\n\n`DPE` swaps `data.sortie` with the one extracted from the attached official\nDPE; `COLLECTED` keeps the sortie computed from the FlashDiag."},"TopRightBanner":{"properties":{"url":{"type":"string","title":"Url"},"width":{"type":"integer","maximum":400.0,"minimum":20.0,"title":"Width"},"height":{"type":"integer","maximum":400.0,"minimum":20.0,"title":"Height"}},"type":"object","required":["url","width","height"],"title":"TopRightBanner","description":"Banner image displayed in the top-right of report pages."},"Trapdoor":{"properties":{"width":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Width","description":"Largeur de la trappe","examples":[1.0]},"elevation":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Elevation","description":"Hauteur de la trappe","examples":[1.0]},"length":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Length","description":"Longueur de la trappe","examples":[1.0]}},"type":"object","title":"Trapdoor","description":"Trapdoor specifications"},"Travaux-Input":{"properties":{"reference_collection":{"anyOf":[{"$ref":"#/components/schemas/ReferenceCollection"},{"type":"null"}],"description":"Collection de références de l'objet rénové"},"cout":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Cout","description":"Coût des travaux correspondants (€TTC) OBSOLETE"},"data":{"anyOf":[{"$ref":"#/components/schemas/Options-Input"},{"type":"null"}],"description":"Extra data to parameter the work"},"catalog_items":{"items":{"$ref":"#/components/schemas/CatalogItemSelected-Input"},"type":"array","title":"Catalog Items","description":"Liste des items du catalogue sélectionnés pour ce travail"},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score","description":"Pertinence of this work. A high score means we strongly recommend this work. A 0 score means we don't recommend it."},"enum_type_travaux_id":{"$ref":"#/components/schemas/TypeTravaux","description":"Type de travaux","ge":0,"le":999}},"type":"object","required":["enum_type_travaux_id"],"title":"Travaux","description":"Works model used in scenarios. Requires enum_type_travaux_id."},"Travaux-Output":{"properties":{"reference_collection":{"anyOf":[{"$ref":"#/components/schemas/ReferenceCollection"},{"type":"null"}],"description":"Collection de références de l'objet rénové"},"cout":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Cout","description":"Coût des travaux correspondants (€TTC) OBSOLETE"},"data":{"anyOf":[{"$ref":"#/components/schemas/Options-Output"},{"type":"null"}],"description":"Extra data to parameter the work"},"catalog_items":{"items":{"$ref":"#/components/schemas/CatalogItemSelected-Output"},"type":"array","title":"Catalog Items","description":"Liste des items du catalogue sélectionnés pour ce travail"},"score":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Score","description":"Pertinence of this work. A high score means we strongly recommend this work. A 0 score means we don't recommend it."},"enum_type_travaux_id":{"$ref":"#/components/schemas/TypeTravaux","description":"Type de travaux","ge":0,"le":999},"enum_lot_travaux_audit_id":{"$ref":"#/components/schemas/LotTravauxAudit","description":"Lot concerné par les travaux","readOnly":true},"description_travaux_collection":{"$ref":"#/components/schemas/DescriptionTravauxCollection-Output","description":"Collection de descriptifs de travaux","readOnly":true}},"type":"object","required":["enum_type_travaux_id","enum_lot_travaux_audit_id","description_travaux_collection"],"title":"Travaux","description":"Works model used in scenarios. Requires enum_type_travaux_id."},"TravauxCollection":{"properties":{"travaux":{"items":{"$ref":"#/components/schemas/Travaux-Output"},"type":"array","title":"Travaux"}},"type":"object","title":"TravauxCollection"},"TravauxInduits":{"properties":{"cout":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Cout","description":"Coût des travaux correspondants (€TTC)"},"cout_min":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Cout Min","description":"Coût minimum des travaux correspondants (€TTC)"},"description":{"type":"string","title":"Description","description":"Descriptif des critères de performances minimales à respecter vis-à-vis des dispositions législatives et règlementaires, et, le cas échéant, pour bénéficier des aides financières associées"}},"type":"object","required":["description"],"title":"TravauxInduits"},"TravauxInduitsCollection":{"properties":{"travaux_induits":{"items":{"$ref":"#/components/schemas/TravauxInduits"},"type":"array","title":"Travaux Induits"}},"type":"object","required":["travaux_induits"],"title":"TravauxInduitsCollection"},"TravauxResume":{"properties":{"enum_travaux_resume_id":{"$ref":"#/components/schemas/TravauxResumeId","description":"Travaux élémentaires à sélectionner par l'auditeur, pour affichage en p.8 de la trame de l'audit"}},"type":"object","required":["enum_travaux_resume_id"],"title":"TravauxResume"},"TravauxResumeCollection":{"properties":{"travaux_resume":{"items":{"$ref":"#/components/schemas/TravauxResume"},"type":"array","title":"Travaux Resume","description":"Travaux élémentaires sélectionnés par l'auditeur"}},"type":"object","required":["travaux_resume"],"title":"TravauxResumeCollection","description":":ivar travaux_resume: travaux élémentaire sélectionné par\n    l'auditeur"},"TravauxResumeId":{"type":"integer","enum":[0,1,2,3,4,5,6,7,8,9,10,11],"title":"TravauxResumeId"},"TrenchExecution":{"type":"string","enum":["internal","external"],"title":"TrenchExecution","description":"Who digs the cable trench."},"TypeAdjacence":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22],"title":"TypeAdjacence"},"TypeBaieEnum":{"type":"integer","enum":[1,2,3,4,5,6,7,8],"title":"TypeBaieEnum"},"TypeCET":{"type":"string","enum":["monobloc","gainable","split"],"title":"TypeCET","description":"Type of thermodynamic water heater (CET)"},"TypeCaisson":{"type":"string","enum":["basse_consommation","standard","basse_pression"],"title":"TypeCaisson","description":"Type de caisson de ventilation."},"TypeChauffage":{"type":"integer","enum":[1,2],"title":"TypeChauffage"},"TypeDhwFuture":{"type":"string","enum":["cet","electric_tank"],"title":"TypeDhwFuture","description":"Type of future DHW system"},"TypeDoublage":{"type":"integer","enum":[1,2,3,4,5],"title":"TypeDoublage"},"TypeElectricTank":{"type":"string","enum":["accumulator_horizontal","accumulator_vertical_category_b","accumulator_vertical_category_c","accumulator_vertical_other"],"title":"TypeElectricTank","description":"Type of electric water tank"},"TypeEmissionCategorie":{"type":"string","enum":["effet_joule","rayonnement","soufflage","radiateur_hydraulique","plancher_chauffant","plafond_chauffant","autres"],"title":"TypeEmissionCategorie"},"TypeEmissionDistribution":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"title":"TypeEmissionDistribution"},"TypeEnergie":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],"title":"TypeEnergie"},"TypeEnr":{"type":"integer","enum":[1,2,3,4,5,6,7],"title":"TypeEnr"},"TypeFermeture":{"type":"integer","enum":[1,2,3,4,5,6,7,8],"title":"TypeFermeture"},"TypeGazLameEnum":{"type":"integer","enum":[1,2,3],"title":"TypeGazLameEnum"},"TypeGenerateurCh":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171],"title":"TypeGenerateurCh"},"TypeGenerateurEcs":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134],"title":"TypeGenerateurEcs"},"TypeGenerateurFr":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],"title":"TypeGenerateurFr"},"TypeInstallation":{"type":"integer","enum":[1,2,3,4],"title":"TypeInstallation"},"TypeInstallationSolaire":{"type":"integer","enum":[1,2,3,4],"title":"TypeInstallationSolaire"},"TypeLiaison":{"type":"integer","enum":[1,2,3,4,5],"title":"TypeLiaison"},"TypeMateriauIsolant":{"type":"string","enum":["mineral","biosource","synthetique","autre"],"title":"TypeMateriauIsolant","description":"Type de matériau isolant (nature du matériau)."},"TypeMateriauxMenuiserieEnum":{"type":"integer","enum":[1,2,3,4,5,6,7],"title":"TypeMateriauxMenuiserieEnum"},"TypePlancherBas":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14],"title":"TypePlancherBas"},"TypePlancherHaut":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],"title":"TypePlancherHaut"},"TypePoele":{"type":"string","enum":["poele_bois","poele_granules"],"title":"TypePoele"},"TypePorte":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],"title":"TypePorte"},"TypePose":{"type":"integer","enum":[1,2,3,4],"title":"TypePose"},"TypeRegulation":{"type":"integer","enum":[1,2],"title":"TypeRegulation"},"TypeSplit":{"type":"string","enum":["mural","console","au_sol","cassette","plafond","monobloc","split","gainable"],"title":"TypeSplit","description":"Type / architecture d'un équipement thermodynamique.\n\nCouvre à la fois les types de split air-air (mural, console, etc.) et\nl'architecture d'un chauffe-eau thermodynamique (monobloc, gainable,\nsplit). Les valeurs sont mutuellement exclusives par catégorie de\nproduit ; côté code on s'appuie sur le contexte (item_type / work\ntype) pour interpréter la valeur."},"TypeStockageEcs":{"type":"integer","enum":[1,2,3],"title":"TypeStockageEcs"},"TypeTravaux":{"type":"integer","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,29,30,31,32,33,60,101,102,103,104,105,106,107,108,109,110,111,112,113,201,202,203,401],"title":"TypeTravaux"},"TypeVentilation":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"title":"TypeVentilation"},"TypeVitrageEnum":{"type":"integer","enum":[1,2,3,4,5,6],"title":"TypeVitrageEnum"},"Uncertainty":{"properties":{"section":{"$ref":"#/components/schemas/argile__survey__uncertainty__schemas__Section"},"rule":{"anyOf":[{"$ref":"#/components/schemas/UncertaintyRule"},{"$ref":"#/components/schemas/EnvelopeRule"}],"title":"Rule"},"level":{"$ref":"#/components/schemas/Level-Output"},"confidence":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Confidence","description":"Probability that the value is right, when a model gives one"},"ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Ratio","description":"Measured ratio the rule compares with its bounds"},"validated":{"type":"boolean","title":"Validated","description":"A person last edited or confirmed the value at `pointer`","default":false},"pointer":{"type":"string","title":"Pointer","description":"Answer value to confirm with POST confirm-field","readOnly":true}},"type":"object","required":["section","rule","level","pointer"],"title":"Uncertainty"},"UncertaintyReport":{"properties":{"source":{"$ref":"#/components/schemas/DataSource"},"uncertainties":{"items":{"$ref":"#/components/schemas/Uncertainty"},"type":"array","title":"Uncertainties"},"sections_to_validate":{"items":{"$ref":"#/components/schemas/argile__survey__uncertainty__schemas__Section"},"type":"array","title":"Sections To Validate","description":"Sections with a medium or high uncertainty not validated"}},"type":"object","required":["source","uncertainties","sections_to_validate"],"title":"UncertaintyReport"},"UncertaintyRule":{"type":"string","enum":["heating_missing","heating_from_building_dpe","heating_predicted","dhw_missing","dhw_from_building_dpe","dhw_predicted","ventilation_missing","ventilation_from_building_dpe","ventilation_predicted","empty_envelope","no_windows","windows_too_few","windows_too_many","unknown_inputs","wall_longer_than_dwelling","walls_off_shab","surface_from_open_data","levels_from_open_data"],"title":"UncertaintyRule"},"UnitContribution":{"properties":{"catalog_item_id":{"type":"string","format":"uuid","title":"Catalog Item Id"},"cascade_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cascade Group Id"},"winter_contribution":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Winter Contribution","description":"One box's power at the cascade's temperature over the need, in %"}},"type":"object","required":["catalog_item_id"],"title":"UnitContribution","description":"What one box of a hydronic heat pump's line brings to its circuits, read\nwhere the whole cascade is."},"UnitCoverage":{"properties":{"unit_reference":{"type":"string","title":"Unit Reference"},"room_references":{"items":{"type":"string"},"type":"array","title":"Room References"},"winter":{"anyOf":[{"$ref":"#/components/schemas/SeasonCoverage"},{"type":"null"}]},"summer":{"anyOf":[{"$ref":"#/components/schemas/SeasonCoverage"},{"type":"null"}]},"winter_contribution":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Winter Contribution","description":"One box's power over the served rooms' need, in %"},"summer_contribution":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Summer Contribution","description":"One box's cooling power over the served rooms' need, in %"}},"type":"object","required":["unit_reference"],"title":"UnitCoverage","description":"Coverage of the rooms an indoor unit serves by every unit serving only them,\nand what one box of this unit brings to them (air/air)."},"UnitEnum":{"type":"string","enum":["unique","number","ml","m2","l","kw","kwh","kwc","h"],"title":"UnitEnum"},"UniteExterieureAsset":{"properties":{"type":{"type":"string","enum":["video","sound","image","segmentation","marker","no_lidar_available","reconstruction_3d"],"title":"Type"},"coordinate":{"anyOf":[{"$ref":"#/components/schemas/AccomodationCoordinate"},{"type":"null"}]},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"attributes":{"items":{"$ref":"#/components/schemas/Attribute"},"type":"array","title":"Attributes","description":"A very broad field to store any relevant data related to this asset","default":[]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"tag":{"anyOf":[{"type":"string","const":"concrete_slab"},{"type":"null"}],"title":"Tag"}},"additionalProperties":false,"type":"object","required":["type"],"title":"UniteExterieureAsset"},"UpcomingPrice":{"properties":{"public_price_ht":{"type":"number","title":"Public Price Ht"},"effective_from":{"type":"string","format":"date","title":"Effective From"},"change_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Change Rate"},"price_list_name":{"type":"string","title":"Price List Name"}},"type":"object","required":["public_price_ht","effective_from","change_rate","price_list_name"],"title":"UpcomingPrice"},"UsageAmount":{"properties":{"cost":{"type":"number","title":"Cost","default":0.0},"kwh":{"type":"number","title":"Kwh","default":0.0}},"type":"object","title":"UsageAmount","description":"One usage of one energy on a bill (€/year, kWh/year)."},"UsageAmounts":{"properties":{"chauffage":{"$ref":"#/components/schemas/UsageAmount"},"ecs":{"$ref":"#/components/schemas/UsageAmount"},"refroidissement":{"$ref":"#/components/schemas/UsageAmount"},"eclairage":{"$ref":"#/components/schemas/UsageAmount"},"auxiliaires":{"$ref":"#/components/schemas/UsageAmount"},"autres_usages":{"$ref":"#/components/schemas/UsageAmount"}},"type":"object","title":"UsageAmounts","description":"One energy's bill split by usage, subscription apart."},"UsageBreakdown":{"properties":{"chauffage":{"type":"number","title":"Chauffage"},"ecs":{"type":"number","title":"Ecs"},"refroidissement":{"type":"number","title":"Refroidissement"},"eclairage":{"type":"number","title":"Eclairage"},"auxiliaires":{"type":"number","title":"Auxiliaires"},"autres_usages":{"type":"number","title":"Autres Usages"},"abonnement":{"type":"number","title":"Abonnement"}},"type":"object","required":["chauffage","ecs","refroidissement","eclairage","auxiliaires","autres_usages","abonnement"],"title":"UsageBreakdown","description":"One entered bill split by usage (€/year); the items sum to the bill."},"UsageCosts":{"properties":{"chauffage":{"type":"number","title":"Chauffage"},"ecs":{"type":"number","title":"Ecs"},"froid":{"type":"number","title":"Froid"},"eclairage":{"type":"number","title":"Eclairage"},"auxiliaires":{"type":"number","title":"Auxiliaires"}},"type":"object","required":["chauffage","ecs","froid","eclairage","auxiliaires"],"title":"UsageCosts","description":"A yearly bill split by usage, subscription shared pro rata (€/year)."},"UsageGenerateur":{"type":"integer","enum":[1,2,3],"title":"UsageGenerateur"},"UsagePrincipal":{"type":"string","enum":["Indifférencié","Dépendance","Tertiaire","Résidentiel collectif","Résidentiel individuel","Secondaire","Primaire"],"title":"UsagePrincipal","description":"Enumération des types d'usage principal"},"UseEnergy":{"properties":{"standby_kwh":{"type":"number","title":"Standby Kwh"},"water_heater_kwh":{"type":"number","title":"Water Heater Kwh"},"heating_kwh":{"type":"number","title":"Heating Kwh"},"cooling_kwh":{"type":"number","title":"Cooling Kwh"},"steady_load_kwh":{"type":"number","title":"Steady Load Kwh"},"other_kwh":{"type":"number","title":"Other Kwh"},"total_kwh":{"type":"number","title":"Total Kwh","readOnly":true}},"type":"object","required":["standby_kwh","water_heater_kwh","heating_kwh","cooling_kwh","steady_load_kwh","other_kwh","total_kwh"],"title":"UseEnergy","description":"Energy of each use over a period, in kWh; the five add up to the meter."},"UserCreatePayload":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"email":{"type":"string","title":"Email"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"},"sectors":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Sectors"},"notify_summary":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify Summary"},"cc_on_messages":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cc On Messages"},"branch_id":{"type":"string","format":"uuid","title":"Branch Id"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"},"is_admin":{"type":"boolean","title":"Is Admin","default":false},"scope":{"$ref":"#/components/schemas/UserScopeType","default":"COLLABORATOR"},"role":{"anyOf":[{"$ref":"#/components/schemas/UserRoleType"},{"type":"null"}]},"roles":{"anyOf":[{"items":{"$ref":"#/components/schemas/UserRoleType"},"type":"array"},{"type":"null"}],"title":"Roles"}},"type":"object","required":["email","branch_id"],"title":"UserCreatePayload","description":"Schema for POST /users: unlisted fields are silently ignored.\n\nhelpers.apply_admin_scope_rules_on_create enforces the scope and role rules."},"UserRead":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"email":{"type":"string","title":"Email","description":"Adresse email","examples":["john.doe@gmail.com"]},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name","description":"First name of the user","examples":["John"]},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name","description":"Last name of the user","examples":["Doe"]},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"Numéro de téléphone","examples":["+33612345678"]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description of the user","examples":["Description of the user"]},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url","description":"URL of the user's profile photo","examples":["https://example.com/photo.jpg"]},"connected_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Connected At","description":"Date of when the user was last connected","default":"2026-11-12T10:32:17.297695","examples":["2021-01-01T00:00:00"]},"platform_tour_seen_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Platform Tour Seen At","description":"Date of first close of the platform tour","examples":["2021-01-01T00:00:00"]},"sectors":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Sectors","description":"Sectors of the user","examples":[["Sector 1","Sector 2"]]},"notify_summary":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify Summary","description":"Notify the summary of leads","examples":[true]},"cc_on_messages":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cc On Messages","description":"Receive a copy of all communications","examples":[true]},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone","description":"IANA timezone of the user's working hours","examples":["Europe/Paris"]},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id","description":"External authentication provider ID (Clerk user ID)","examples":["user_2ABC123DEF456GHI"]},"is_active":{"type":"boolean","title":"Is Active","description":"Whether the user account is active. Inactive users cannot log in.","default":true,"examples":[true]},"permission_flags":{"type":"integer","title":"Permission Flags","description":"Bitfield for user permissions","default":0},"scope":{"$ref":"#/components/schemas/UserScopeType","description":"Scope of the user (enterprise, branch, collaborator)","default":"COLLABORATOR"},"roles":{"items":{"$ref":"#/components/schemas/UserRoleType"},"type":"array","title":"Roles","description":"At most one job role, plus TEAM_ADMIN","examples":[["TEAM_ADMIN"]]},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"updated_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated At"},"branch_id":{"type":"string","format":"uuid","title":"Branch Id"},"branch_ids":{"anyOf":[{"items":{"type":"string","format":"uuid"},"type":"array"},{"type":"null"}],"title":"Branch Ids"},"company_id":{"type":"string","format":"uuid","title":"Company Id"},"feature_flags":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Feature Flags"},"role":{"anyOf":[{"$ref":"#/components/schemas/UserRoleType"},{"type":"null"}],"readOnly":true},"is_admin":{"type":"boolean","title":"Is Admin","readOnly":true}},"type":"object","required":["email","created_at","updated_at","branch_id","company_id","role","is_admin"],"title":"UserRead","description":"User model for reading"},"UserRoleType":{"type":"string","enum":["REGULAR","PARTNER","WORKS_MANAGER","INSTALLER","MANDATAIRE","MANAGER","OWNER","ADMIN","TEAM_ADMIN"],"title":"UserRoleType"},"UserScopeType":{"type":"string","enum":["ENTERPRISE","BRANCH","COLLABORATOR"],"title":"UserScopeType"},"UserSearchFilters":{"properties":{"branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"}},"type":"object","title":"UserSearchFilters","description":"Fields for filtering users. All are optional."},"UserToken":{"properties":{"token":{"type":"string","title":"Token"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"read_only":{"type":"boolean","title":"Read Only","default":false},"password_reset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password Reset"},"legacy":{"type":"boolean","title":"Legacy","default":false}},"type":"object","required":["token","user_id"],"title":"UserToken","description":"Token model for logging in"},"UserUpdatePayload":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"role":{"anyOf":[{"$ref":"#/components/schemas/UserRoleType"},{"type":"null"}]},"roles":{"anyOf":[{"items":{"$ref":"#/components/schemas/UserRoleType"},"type":"array"},{"type":"null"}],"title":"Roles"},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name"},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url"},"sectors":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Sectors"},"notify_summary":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify Summary"},"cc_on_messages":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cc On Messages"},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone"},"branch_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Branch Id"},"password":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Password"},"is_admin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Admin"},"scope":{"anyOf":[{"$ref":"#/components/schemas/UserScopeType"},{"type":"null"}]}},"type":"object","required":["id"],"title":"UserUpdatePayload","description":"Schema for PATCH /users partial updates.\n\nOnly listed fields can be updated. Any other field (e.g. permission_flags,\nexternal_id, is_active) is silently ignored via extra=\"ignore\". Restricted\nfields (is_admin, scope) are declared here but further filtered at runtime\nby helpers.filter_restricted_fields."},"UserWithId":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"email":{"type":"string","title":"Email","description":"Adresse email","examples":["john.doe@gmail.com"]},"first_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"First Name","description":"First name of the user","examples":["John"]},"last_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Name","description":"Last name of the user","examples":["Doe"]},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone","description":"Numéro de téléphone","examples":["+33612345678"]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description of the user","examples":["Description of the user"]},"photo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Photo Url","description":"URL of the user's profile photo","examples":["https://example.com/photo.jpg"]},"connected_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Connected At","description":"Date of when the user was last connected","default":"2026-11-12T10:32:17.297695","examples":["2021-01-01T00:00:00"]},"platform_tour_seen_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Platform Tour Seen At","description":"Date of first close of the platform tour","examples":["2021-01-01T00:00:00"]},"sectors":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Sectors","description":"Sectors of the user","examples":[["Sector 1","Sector 2"]]},"notify_summary":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify Summary","description":"Notify the summary of leads","examples":[true]},"cc_on_messages":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cc On Messages","description":"Receive a copy of all communications","examples":[true]},"timezone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Timezone","description":"IANA timezone of the user's working hours","examples":["Europe/Paris"]},"external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"External Id","description":"External authentication provider ID (Clerk user ID)","examples":["user_2ABC123DEF456GHI"]},"is_active":{"type":"boolean","title":"Is Active","description":"Whether the user account is active. Inactive users cannot log in.","default":true,"examples":[true]},"permission_flags":{"type":"integer","title":"Permission Flags","description":"Bitfield for user permissions","default":0},"scope":{"$ref":"#/components/schemas/UserScopeType","description":"Scope of the user (enterprise, branch, collaborator)","default":"COLLABORATOR"},"roles":{"items":{"$ref":"#/components/schemas/UserRoleType"},"type":"array","title":"Roles","description":"At most one job role, plus TEAM_ADMIN","examples":[["TEAM_ADMIN"]]},"branch_id":{"type":"string","format":"uuid","title":"Branch Id","description":"ID of the branch","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"role":{"anyOf":[{"$ref":"#/components/schemas/UserRoleType"},{"type":"null"}],"readOnly":true},"is_admin":{"type":"boolean","title":"Is Admin","readOnly":true}},"type":"object","required":["email","branch_id","role","is_admin"],"title":"UserWithId","description":"User model with an ID"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"Valorization":{"properties":{"installation_mode":{"anyOf":[{"$ref":"#/components/schemas/PvInstallationMode"},{"type":"null"}]},"resale_price_per_kwh":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Resale Price Per Kwh","description":"Resale price per kWh (€)"}},"type":"object","title":"Valorization","description":"How the PV production is valued (resale mode + resale price).\n\nWhen ``installation_mode`` is ``self_consumption`` the resale price is null."},"Variable-Input":{"properties":{"height":{"type":"number","title":"Height"},"width":{"type":"number","title":"Width"},"bottom":{"type":"number","title":"Bottom"},"left":{"type":"number","title":"Left"},"page_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page Number"},"pdf_field_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdf Field Name"},"title":{"type":"string","title":"Title"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"access_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Path"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"depends_on":{"items":{"type":"string","enum":["quote","project","scenario","invoice"]},"type":"array","title":"Depends On","default":[]},"type":{"anyOf":[{"type":"string","enum":["str","int","float","bool","null","date"]},{"type":"null"}],"title":"Type"},"value":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string","format":"date"},{"type":"string","format":"date-time"},{"type":"null"}],"title":"Value"},"status":{"type":"string","enum":["pending","manual","auto"],"title":"Status","default":"pending"}},"type":"object","required":["height","width","bottom","left","title"],"title":"Variable"},"VatBreakdownItem":{"properties":{"rate":{"type":"number","title":"Rate"},"base":{"type":"number","title":"Base"},"amount":{"type":"number","title":"Amount"}},"type":"object","required":["rate","base","amount"],"title":"VatBreakdownItem","description":"One VAT line of an installment: tax `rate` (fraction, e.g. 0.055 for\n5.5 %), HT `base`, and VAT `amount`."},"Vent-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"nature":{"anyOf":[{"type":"string","enum":["bouche_de_ventilation","sortie_d_air"]},{"type":"null"}],"title":"Nature"},"room_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Reference"}},"type":"object","title":"Vent","description":"A vent represents an opening from which air can flow.\nIt can also be a humid room from which we\ncan install a vent in the future"},"Vent-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Output"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Output"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"nature":{"anyOf":[{"type":"string","enum":["bouche_de_ventilation","sortie_d_air"]},{"type":"null"}],"title":"Nature"},"room_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Reference"}},"type":"object","title":"Vent","description":"A vent represents an opening from which air can flow.\nIt can also be a humid room from which we\ncan install a vent in the future"},"Ventilation-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"enum_type_ventilation_id":{"$ref":"#/components/schemas/TypeVentilation"},"plusieurs_facade_exposee":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Plusieurs Facade Exposee"},"tv_q4pa_conv_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tv Q4Pa Conv Id"},"q4pa_conv_saisi":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Q4Pa Conv Saisi"},"enum_methode_saisie_q4pa_conv_id":{"anyOf":[{"$ref":"#/components/schemas/MethodeSaisieQ4paConv"},{"type":"null"}]},"tv_debits_ventilation_id":{"anyOf":[{"$ref":"#/components/schemas/TypeVentilation"},{"type":"null"}]},"enum_etat_composant_id":{"anyOf":[{"$ref":"#/components/schemas/EtatComposant"},{"type":"null"}]},"vents":{"anyOf":[{"items":{"$ref":"#/components/schemas/Vent-Input"},"type":"array"},{"type":"null"}],"title":"Vents"},"ventilation_boxes":{"anyOf":[{"items":{"$ref":"#/components/schemas/VentilationBox-Input"},"type":"array"},{"type":"null"}],"title":"Ventilation Boxes"},"ducts":{"anyOf":[{"items":{"$ref":"#/components/schemas/VentilationDuct-Input"},"type":"array"},{"type":"null"}],"title":"Ducts"},"surface_ventile":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Ventile","description":"Surface ventilée. Dans le cas d'une seule ventilation c'est la surface habitable totale. Dans le cas d'un DPE immeuble ou d'un DPE appartement à partir de l'immeuble c'est la surface de l'installation à l'immeuble qu'il faut renseigner","examples":[100.0]},"ventilation_post_2012":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ventilation Post 2012","description":"Est-ce que le système de ventilation est postérieur à 2012 ?","examples":[false]},"ref_produit_ventilation":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ref Produit Ventilation","description":"Référence produit et marque du système de ventilation","examples":["DF 2012"]},"cle_repartition_ventilation":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Cle Repartition Ventilation","description":"Clé de répartition pour passer des consommations bâtiments au consommation logement dans le cas DPE appartement calculé à partir du DPE immeuble UNIQUEMENT. Voir section 8.5.4 du document guide pour plus de détail. Pour la ventilation il s'agit du rapport surface habitable logement / surface habitable immeuble","examples":[0.5]},"pvent_moy":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Pvent Moy","description":"Puissance de la ventilation moyenne soit saisie soit calculée avec la méthode proposée"},"q4pa_conv":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Q4Pa Conv","description":"q4pa conv final soit issue d'une saisie de mesure à l'étanchéité à l'air soit d'une valeur forfaitaire. valeur conventionnelle de la perméabilité sous 4Pa (m3/(h.m2))"},"conso_auxiliaire_ventilation":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Conso Auxiliaire Ventilation","description":"Consommation des auxiliaires de ventilation. Dans le cas d'un DPE immeuble ou d'un DPE appartement à partir de l'immeuble c'est la consommation de l'installation à l'immeuble qu'il faut saisir."},"hperm":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Hperm","description":"Déperdition thermique par renouvellement d'air due au vent"},"hvent":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Hvent","description":"Déperdition thermique par renouvellement d'air due au système de ventilation"},"insufflation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Insufflation","description":"Est-ce que le système de ventilation est insufflation","examples":[false]}},"type":"object","required":["enum_type_ventilation_id"],"title":"Ventilation"},"VentilationBox-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"age":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Age"},"to_replace":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"To Replace"}},"type":"object","title":"VentilationBox","description":"Documentation model for a ventilation box (caisson de ventilation).\nIt is used for VMC based ventilation systems (SF, DF, etc.)."},"VentilationBox-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Output"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Output"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"age":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Age"},"to_replace":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"To Replace"}},"type":"object","title":"VentilationBox","description":"Documentation model for a ventilation box (caisson de ventilation).\nIt is used for VMC based ventilation systems (SF, DF, etc.)."},"VentilationCollection":{"properties":{"ventilation":{"items":{"$ref":"#/components/schemas/argile__engine__dpe__models__ventilation__models__Ventilation"},"type":"array","minItems":1,"title":"Ventilation"}},"type":"object","title":"VentilationCollection","description":"Properties may be  the right way to go to avoid calling a private attribute _logement\nBut haven't done that all the time"},"VentilationContext":{"properties":{"housing":{"anyOf":[{"$ref":"#/components/schemas/VentilationHousing"},{"type":"null"}]},"controls":{"anyOf":[{"$ref":"#/components/schemas/VentilationControls"},{"type":"null"}]}},"type":"object","title":"VentilationContext","description":"What the dwelling imposes on a ventilation, surveyed on site.\n\nNeither the housing nor the safety checks belong to an equipment item, and\nboth are answered before any ventilation type is picked — so they hang off\nthe diagnosis rather than off a Ventilation."},"VentilationControls":{"properties":{"combustion_appliance":{"anyOf":[{"type":"string","enum":["yes","planned","no"]},{"type":"null"}],"title":"Combustion Appliance"},"combustion_appliance_sealing":{"anyOf":[{"type":"string","enum":["sealed","not_sealed"]},{"type":"null"}],"title":"Combustion Appliance Sealing"},"has_air_conditioner":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Air Conditioner"},"has_radiator_under_window_with_air_inlet":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Radiator Under Window With Air Inlet"}},"type":"object","title":"VentilationControls","description":"Safety checks collected during the ventilation technical visit.\n\nA combustion appliance or a missing differential protection constrains the\nfuture installation, so these answers hang off the diagnosis like\nVentilationHousing rather than off an equipment item."},"VentilationDuct-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"length":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Length","description":"Length of the duct"}},"type":"object","title":"VentilationDuct","description":"Documentation model for a ventilation duct."},"VentilationDuct-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Output"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Output"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"length":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Length","description":"Length of the duct"}},"type":"object","title":"VentilationDuct","description":"Documentation model for a ventilation duct."},"VentilationFlowsBreakdown":{"properties":{"q_inf_add":{"type":"number","title":"Q Inf Add","description":"Infiltration through the envelope and inlets (Formula 28)"},"q_atd_50":{"type":"number","title":"Q Atd 50","description":"Air-inlet (ATD) flow at 50 Pa (Formula 30)"},"q_sup":{"type":"number","title":"Q Sup","description":"Mechanical supply"},"q_exh":{"type":"number","title":"Q Exh","description":"Mechanical extract"},"q_min":{"type":"number","title":"Q Min","description":"Zone hygienic minimum f_i-z · Σ n_min · V (Formulas 16, 33)"},"main_rooms":{"type":"integer","title":"Main Rooms","description":"Pièces principales (surface proxy) behind the minimum"},"q_total":{"type":"number","title":"Q Total","description":"Outdoor air entering: max(envelope, hygienic top-up) + supply"},"governing":{"$ref":"#/components/schemas/VentilationGoverningFlow","description":"Term of Formula (17) contributing most to H_V"},"eta_rec":{"type":"number","title":"Eta Rec","description":"Flow-weighted heat-recovery efficiency η_rec"}},"type":"object","required":["q_inf_add","q_atd_50","q_sup","q_exh","q_min","main_rooms","q_total","governing","eta_rec"],"title":"VentilationFlowsBreakdown","description":"Terms of Formula (17) behind H_V, so the caller can say why n is what it is."},"VentilationGoverningFlow":{"type":"string","enum":["envelope","hygienic_minimum","mechanical"],"title":"VentilationGoverningFlow","description":"Which term of Formula (17) contributes most to H_V."},"VentilationHousing":{"properties":{"typology":{"anyOf":[{"type":"string","enum":["t1","t2","t3","t4","t5","t6_or_more"]},{"type":"null"}],"title":"Typology"},"has_basement":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Basement"},"attic_type":{"anyOf":[{"type":"string","enum":["converted","unconverted","none"]},{"type":"null"}],"title":"Attic Type"},"attic_floor_material":{"anyOf":[{"type":"string","enum":["wood","concrete","hollow_core","other"]},{"type":"null"}],"title":"Attic Floor Material"},"intermediate_floor_material":{"anyOf":[{"type":"string","enum":["wood","concrete","mixed"]},{"type":"null"}],"title":"Intermediate Floor Material"},"roof_inclination":{"anyOf":[{"$ref":"#/components/schemas/InclinationKind"},{"type":"null"}]},"roof_material":{"anyOf":[{"$ref":"#/components/schemas/RoofMaterial"},{"type":"null"}]},"roof_material_subtype":{"anyOf":[{"$ref":"#/components/schemas/RoofMaterialSubtype"},{"type":"null"}]},"attic_access":{"anyOf":[{"type":"string","enum":["present","to_create","to_replace"]},{"type":"null"}],"title":"Attic Access"},"attic_access_assets":{"anyOf":[{"items":{"$ref":"#/components/schemas/Asset"},"type":"array"},{"type":"null"}],"title":"Attic Access Assets"}},"type":"object","title":"VentilationHousing","description":"Housing characteristics collected during the ventilation technical visit.\n\nThese answers describe the dwelling itself rather than an equipment item,\nso they hang off the diagnosis instead of a Ventilation."},"VentilationProject-Input":{"properties":{"installations":{"anyOf":[{"items":{"$ref":"#/components/schemas/Ventilation-Input"},"type":"array"},{"type":"null"}],"title":"Installations"},"technical_casing":{"anyOf":[{"type":"string","enum":["not_needed","by_company","by_client"]},{"type":"null"}],"title":"Technical Casing"},"doors_to_undercut":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Doors To Undercut"},"air_inlets_to_create":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Air Inlets To Create"},"window_interior_color":{"anyOf":[{"type":"string","enum":["white","anthracite_grey","beige","wood","other"]},{"type":"null"}],"title":"Window Interior Color"},"window_interior_color_other":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Window Interior Color Other"},"window_exterior_color":{"anyOf":[{"type":"string","enum":["white","anthracite_grey","beige","wood","other"]},{"type":"null"}],"title":"Window Exterior Color"},"window_exterior_color_other":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Window Exterior Color Other"},"roof_windows":{"anyOf":[{"items":{"$ref":"#/components/schemas/RoofWindow"},"type":"array"},{"type":"null"}],"title":"Roof Windows"}},"type":"object","title":"VentilationProject","description":"What the ventilation technical visit plans to install, and the adaptations\nit requires.\n\nThe installations are plural because the 3CL model has no id for a\ncombination: « VMC + VMR » is encoded as two of them."},"VentilationProject-Output":{"properties":{"installations":{"anyOf":[{"items":{"$ref":"#/components/schemas/argile__survey__diag__models__ventilation__Ventilation-Output"},"type":"array"},{"type":"null"}],"title":"Installations"},"technical_casing":{"anyOf":[{"type":"string","enum":["not_needed","by_company","by_client"]},{"type":"null"}],"title":"Technical Casing"},"doors_to_undercut":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Doors To Undercut"},"air_inlets_to_create":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Air Inlets To Create"},"window_interior_color":{"anyOf":[{"type":"string","enum":["white","anthracite_grey","beige","wood","other"]},{"type":"null"}],"title":"Window Interior Color"},"window_interior_color_other":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Window Interior Color Other"},"window_exterior_color":{"anyOf":[{"type":"string","enum":["white","anthracite_grey","beige","wood","other"]},{"type":"null"}],"title":"Window Exterior Color"},"window_exterior_color_other":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Window Exterior Color Other"},"roof_windows":{"anyOf":[{"items":{"$ref":"#/components/schemas/RoofWindow"},"type":"array"},{"type":"null"}],"title":"Roof Windows"}},"type":"object","title":"VentilationProject","description":"What the ventilation technical visit plans to install, and the adaptations\nit requires.\n\nThe installations are plural because the 3CL model has no id for a\ncombination: « VMC + VMR » is encoded as two of them."},"Veranda":{"properties":{"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"tv_coef_reduction_deperdition_id":{"anyOf":[{"type":"integer","maximum":283.0,"minimum":1.0},{"type":"null"}],"title":"Tv Coef Reduction Deperdition Id","description":"Ligne de la table du coefficient b"},"enum_cfg_isolation_lnc_id":{"$ref":"#/components/schemas/CfgIsolationLnc","description":"Configuration d'isolation de l'espace tampon"},"tv_coef_transparence_ets_id":{"type":"integer","maximum":21.0,"minimum":1.0,"title":"Tv Coef Transparence Ets Id","description":"Ligne de la table du coefficient T"},"bver":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Bver","description":"Coefficient de réduction des déperditions"},"coef_transparence_ets":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Coef Transparence Ets","description":"Coefficient de transparence T"},"baies":{"items":{"$ref":"#/components/schemas/VerandaBaie"},"type":"array","minItems":1,"title":"Baies","description":"Baies de l'espace tampon vers l'extérieur"}},"type":"object","required":["enum_cfg_isolation_lnc_id","tv_coef_transparence_ets_id","baies"],"title":"Veranda","description":"Espace tampon solarisé carried from a source DPE.\n\nRestoring it on the reconstructed logement keeps the véranda solar gains\n(§6.3) through the round-trip; the flashdiag has no véranda editor yet."},"VerandaBaie":{"properties":{"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"enum_orientation_id":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Enum Orientation Id","description":"Orientation de la baie"},"enum_inclinaison_vitrage_id":{"type":"integer","maximum":4.0,"minimum":1.0,"title":"Enum Inclinaison Vitrage Id","description":"Inclinaison du vitrage"},"surface_totale_baie":{"type":"number","title":"Surface Totale Baie","description":"Surface totale de la baie","gt":0.0},"nb_baie":{"type":"number","exclusiveMinimum":0.0,"title":"Nb Baie","description":"Nombre de baies","default":1}},"type":"object","required":["enum_orientation_id","enum_inclinaison_vitrage_id","surface_totale_baie"],"title":"VerandaBaie","description":"Baie vitrée entre l'espace tampon solarisé et l'extérieur (§6.3)."},"VersionSource":{"type":"string","enum":["ai","user"],"title":"VersionSource","description":"Who drew a plan version: the reader, or someone in the editor."},"VersionStatus":{"type":"string","enum":["draft","saved"],"title":"VersionStatus"},"Wall":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/WallAsset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"references_murs":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"References Murs","description":"List of wall references that should be merged together. Used to keep data from the first referred wall while merging polygons.","examples":[["wall-1","wall-2"]]},"numeros_niveaux":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Numeros Niveaux","description":"Numéros des niveaux couverts par la paroi (0 = RDC). Renseigné par l'auto-complétion de l'enveloppe.","examples":[[0,1]]},"zones":{"anyOf":[{"items":{"$ref":"#/components/schemas/EnvelopeZone"},"type":"array"},{"type":"null"}],"title":"Zones","description":"Zones déperditives et non déperditives du mur"},"interior_insulation_walls":{"anyOf":[{"items":{"$ref":"#/components/schemas/InteriorInsulationWall"},"type":"array"},{"type":"null"}],"title":"Interior Insulation Walls","description":"Murs des pièces le long de la façade à isoler par l'intérieur"},"roof_overhang":{"anyOf":[{"type":"number","ge":0.0,"le":0.0},{"type":"null"}],"title":"Roof Overhang","description":"Débord de toiture en cm"},"reference_parois":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":255},{"type":"null"}],"title":"Reference Parois","description":"Référence des planchers bas ou des planchers hauts connexes à la paroi","examples":[["plancher_haut-1"]]},"reference_lnc":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Lnc","description":"référence projet de l'objet local non chauffé qui peut être associé à la paroi . Dans le cas d'un espace tampon solarisé cette référence est celle de l'espace tampon.","examples":["ref-garage-1"]},"coordinates":{"anyOf":[{"prefixItems":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":3,"minItems":3},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":3,"minItems":3}],"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Coordinates","description":"Coordonnées de la paroi"},"tv_coef_reduction_deperdition_id":{"anyOf":[{"type":"integer","maximum":283.0,"minimum":1.0},{"type":"null"}],"title":"Tv Coef Reduction Deperdition Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de reduction des deperditions","examples":[1]},"surface_aiu":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Aiu","description":"surface aiu : surface des parois du local non chauffé qui donnent sur des locaux chauffés."},"surface_aue":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Surface Aue","description":"surface aue : surface des parois du local non chauffé en contact avec l'extérieur ou le sol"},"enum_cfg_isolation_lnc_id":{"anyOf":[{"$ref":"#/components/schemas/CfgIsolationLnc"},{"type":"null"}],"description":"configuration de l'adjacence avec local non chauffé : local chauffé (non) isolé/local non chauffé (non) isolé/orientation véranda qui permet de calculer le b"},"enum_type_adjacence_id":{"$ref":"#/components/schemas/TypeAdjacence","description":"type d'adjacence de la paroi","default":1,"examples":[1],"ge":1,"le":22},"enum_orientation_id":{"anyOf":[{"$ref":"#/components/schemas/Orientation","ge":1,"le":5},{"type":"null"}],"description":"orientation du mur","examples":[2]},"surface_paroi_totale":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Paroi Totale","description":"Surface de paroi opaque + paroi vitrée de la paroi + surface des portes","examples":[24.03]},"surface_paroi_opaque":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Paroi Opaque","description":"Surface de paroi opaque (sans baies vitrées sans portes)","examples":[18.01]},"surface_to_insulate":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Surface To Insulate","description":"Surface effectivement à isoler sur ce mur (≤ surface_paroi_opaque). Si non renseigné, on considère que toute la paroi est à isoler.","examples":[16.0]},"umur0_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Umur0 Saisi","description":"Coefficient de transmission thermique du mur non isolé Saisi en direct par l'utilisateur (à justifier). Coefficient de transmission thermique du mur non isolé (avec pris en compte de l'enduit et du doublage). C'est bien le U du mur \"nu\" avec l'ensemble des éléments hors isolations rapportée"},"tv_umur0_id":{"anyOf":[{"type":"integer","maximum":157.0,"minimum":1.0},{"type":"null"}],"title":"Tv Umur0 Id","description":"id de la ligne de la table utilisée pour le calcul du Umur0","examples":[11]},"epaisseur_structure":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Epaisseur Structure","description":"épaisseur de la partie structure de la paroi (sans l'isolation intérieure ou extérieure) (cm)","examples":[65.0]},"width":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Width","description":"Largeur maximale de la paroi (cas d'une paroi non rectangulaire)","examples":[300.0]},"height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Height","description":"Hauteur maximale de la paroi (cas d'une paroi non rectangulaire)","examples":[300.0]},"enum_materiaux_structure_mur_id":{"$ref":"#/components/schemas/MateriauxStructureMur","description":"matériaux de structure de la paroi","default":1,"examples":[2],"ge":1,"le":27},"enum_methode_saisie_u0_id":{"anyOf":[{"$ref":"#/components/schemas/MethodeSaisieU0","ge":1,"le":5},{"type":"null"}],"description":"méthode de saisie de U0 (inclus les justifications à produire en cas de saisie directe)","examples":[2]},"paroi_ancienne":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Paroi Ancienne","description":"la paroi est une paroi ancienne sur laquelle a été appliquée un \"enduit isolant\" (renduit=0,7m².K.W-1) 0 : non 1 : oui. (Attention ! nom de propriété pas tout à fait explicite) OBSOLETE -> remplacé par enduit_isolant_paroi_ancienne","examples":[false]},"enduit_isolant_paroi_ancienne":{"type":"boolean","title":"Enduit Isolant Paroi Ancienne","description":"est ce qu'un enduit isolant est présent sur la paroi si celle-ci est une paroi ancienne (pierres, terre, mur à colombage, brique ancienne) (renduit=0,7m².K.W-1) 0 : non 1 : oui. (renommage de la propriété paroi_ancienne -> enduit_isolant_paroi_ancienne)","default":false},"umur_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Umur Saisi","description":"Coefficient de transmission thermique du mur saisi en direct par le diagnostiqueur(à justifier)"},"enum_type_doublage_id":{"$ref":"#/components/schemas/TypeDoublage","description":"type de doublage intérieur du mur.(précision de la nature du doublage ou de l'épaisseur de la lame d'air en cas de doublage indéterminé.)","default":1,"examples":[2],"ge":1,"le":5},"enum_type_isolation_id":{"anyOf":[{"$ref":"#/components/schemas/argile__engine__dpe__enum_types__type_isolation__TypeIsolation","ge":1,"le":9},{"type":"null"}],"description":"type d'isolation du mur (ITI/ITE…..)"},"enum_periode_isolation_id":{"anyOf":[{"$ref":"#/components/schemas/PeriodeIsolationEnum","ge":1,"le":10},{"type":"null"}],"description":"période d'isolation à saisir si différent de la période de construction (cas d'une rénovation de la paroi)"},"resistance_isolation":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Resistance Isolation","description":"résistance de l'isolation"},"epaisseur_isolation":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Epaisseur Isolation","description":"épaisseur de l'isolation (si plusieurs isolants différents sommer leurs épaisseurs) (cm)"},"materiau_isolation":{"anyOf":[{"$ref":"#/components/schemas/MateriauIsolation"},{"type":"null"}],"description":"matériau d'isolation thermique"},"tv_umur_id":{"anyOf":[{"type":"integer","maximum":48.0,"minimum":1.0},{"type":"null"}],"title":"Tv Umur Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de transmission thermique umur"},"enum_methode_saisie_u_id":{"$ref":"#/components/schemas/MethodeSaisieU","description":"méthode de saisie du U (inclus les justifications à produire en cas de saisie directe)","default":2,"examples":[1],"ge":1,"le":10},"enum_etat_composant_id":{"anyOf":[{"$ref":"#/components/schemas/EtatComposant"},{"type":"null"}],"description":"indique si le composant a été changé par rapport au logement initial"},"insulation_condition":{"anyOf":[{"$ref":"#/components/schemas/InsulationCondition"},{"type":"null"}],"description":"Physical state of the existing insulation recorded during the technical visit (outside 3CL)"},"b":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"B","description":"coefficient de réduction des déperditions du mur"},"umur":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Umur","description":"Coefficient de transmission thermique du mur"},"umur0":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Umur0","description":"Coefficient de transmission thermique du mur non isolé final (avec pris en compte de l'enduit et du doublage). C'est bien le U du mur \"nu\" avec l'ensemble des éléments hors isolations rapportée"}},"type":"object","title":"Wall"},"WallAsset":{"properties":{"type":{"type":"string","enum":["video","sound","image","segmentation","marker","no_lidar_available","reconstruction_3d"],"title":"Type"},"coordinate":{"anyOf":[{"$ref":"#/components/schemas/AccomodationCoordinate"},{"type":"null"}]},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"attributes":{"items":{"$ref":"#/components/schemas/Attribute"},"type":"array","title":"Attributes","description":"A very broad field to store any relevant data related to this asset","default":[]},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"tag":{"anyOf":[{"type":"string","const":"ravalement_sketch"},{"type":"null"}],"title":"Tag"}},"additionalProperties":false,"type":"object","required":["type"],"title":"WallAsset"},"WallEdge":{"properties":{"position_m":{"type":"number","minimum":0.0,"title":"Position M","description":"Metres from the view's left side (left, right edges) or top side (top, bottom edges)"},"source":{"$ref":"#/components/schemas/WallEdgeSource"}},"type":"object","required":["position_m","source"],"title":"WallEdge","description":"One edge of the measured wall, placed on its face-on view."},"WallEdgeSource":{"type":"string","enum":["corner","floor","ceiling","frame","manual"],"title":"WallEdgeSource","description":"What placed a wall edge: a side wall, the floor or the ceiling the AI saw\nmeet the wall, the end of the video's frame, or the technician's hand."},"WallEdges":{"properties":{"left":{"$ref":"#/components/schemas/WallEdge"},"right":{"$ref":"#/components/schemas/WallEdge"},"top":{"$ref":"#/components/schemas/WallEdge"},"bottom":{"$ref":"#/components/schemas/WallEdge"}},"type":"object","required":["left","right","top","bottom"],"title":"WallEdges","description":"The outline the wall's size is measured between, on its face-on view."},"WallElevation":{"properties":{"url":{"type":"string","maxLength":2048,"title":"Url","description":"Image of the wall seen face on"},"width_px":{"type":"integer","exclusiveMinimum":0.0,"title":"Width Px","description":"Image width (px)"},"height_px":{"type":"integer","exclusiveMinimum":0.0,"title":"Height Px","description":"Image height (px)"},"m_per_px":{"type":"number","exclusiveMinimum":0.0,"title":"M Per Px","description":"Metres of wall covered by one pixel"}},"type":"object","required":["url","width_px","height_px","m_per_px"],"title":"WallElevation","description":"The wall seen face on, rectified from its video: one pixel covers\n`m_per_px` metres of the wall plane, so two pixels give a distance."},"WallExit":{"properties":{"material":{"anyOf":[{"$ref":"#/components/schemas/WallToTraverseMaterial"},{"type":"null"}],"description":"Material of wall to traverse for flue exit"},"thickness":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Thickness","description":"Wall thickness in cm"},"conduit_height_from_ground":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Conduit Height From Ground","description":"Conduit height from ground in meters"},"zone":{"anyOf":[{"$ref":"#/components/schemas/WallExitZone"},{"type":"null"}],"description":"Wall exit distance checks"}},"type":"object","title":"WallExit","description":"Properties for a wall-mounted flue exit (sortie par le mur)."},"WallExitZone":{"properties":{"window_distance_ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Window Distance Ok","description":"Distance to window is OK"},"simple_wall_distance_ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Simple Wall Distance Ok","description":"Distance to simple wall is OK"},"wall_with_window_distance_ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Wall With Window Distance Ok","description":"Distance to wall with window is OK"},"fence_distance_ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Fence Distance Ok","description":"Distance to fence is OK"},"roof_edge_distance_ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Roof Edge Distance Ok","description":"Distance to roof edge is OK"},"ground_distance_ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ground Distance Ok","description":"Distance to ground is OK"},"neighbor_no_opening_ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Neighbor No Opening Ok","description":"Distance to neighbor without opening is OK"},"neighbor_with_opening_ok":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Neighbor With Opening Ok","description":"Distance to neighbor with opening is OK"}},"type":"object","title":"WallExitZone","description":"Wall exit zone: distance checks for wall-mounted flue exit."},"WallPhotoMeasure":{"properties":{"surface_area_m2":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Surface Area M2","description":"Measured surface (m²)"},"edge_lengths_m":{"anyOf":[{"items":{"type":"number"},"type":"array"},{"type":"null"}],"title":"Edge Lengths M","description":"Length of each outline edge (m)"},"auto_surface_ratio":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Auto Surface Ratio","description":"m² per unit of outline area on the photo, to resize the surface while the outline is moved"},"moge_object_id":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Moge Object Id","description":"MoGe call to replay when the outline is measured again"},"mask_shape":{"anyOf":[{"prefixItems":[{"type":"integer"},{"type":"integer"}],"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Mask Shape","description":"[height, width] of the measured photo"}},"type":"object","title":"WallPhotoMeasure","description":"What the AI measured on the photo of a wall; the outline it was measured\non is the wall's `multi_polygon`, in 0-1 coordinates of the photo."},"WallToTraverseMaterial":{"type":"string","enum":["concrete","stone","wood"],"title":"WallToTraverseMaterial"},"WallVideoMeasure":{"properties":{"width_m":{"type":"number","exclusiveMinimum":0.0,"title":"Width M","description":"Measured width (m)"},"height_m":{"type":"number","exclusiveMinimum":0.0,"title":"Height M","description":"Measured height (m)"},"elevation":{"$ref":"#/components/schemas/WallElevation"},"edges":{"anyOf":[{"$ref":"#/components/schemas/WallEdges"},{"type":"null"}],"description":"The wall's outline on the view, as adjusted since; unset for measures taken before edges were found"}},"type":"object","required":["width_m","height_m","elevation"],"title":"WallVideoMeasure","description":"The size the AI measured on the video of a wall, kept with its face-on\nview so that the measure can be shown again and new distances taken."},"WatchPoint":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"company_id":{"type":"string","format":"uuid","title":"Company Id","description":"ID of the company","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"present_enum_type_travaux_id":{"$ref":"#/components/schemas/TypeTravaux","description":"Travaux present"},"missing_enum_type_travaux_id":{"$ref":"#/components/schemas/TypeTravaux","description":"Travaux missing in the watch point"},"enum_watch_point_type":{"$ref":"#/components/schemas/WatchPointType","description":"Type of watch point"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"Title of the watch point"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description of the watch point"},"our_advice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Our Advice","description":"Our advice about the watch point"},"image_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Name","description":"Name of the image for the watch point. Image are stored in the company dedicated folder in the fronted repo"}},"type":"object","required":["company_id","present_enum_type_travaux_id","missing_enum_type_travaux_id","enum_watch_point_type"],"title":"WatchPoint","description":"ORM Model for a watch point\nRepresents a watch point for a company.\nA watch point is a defined by a missing travaux and a present travaux.\nThis combination is not unique and is associated to a watch point type.\nIt is also associated to a URL where more information can be found."},"WatchPointType":{"type":"string","enum":["risque_durabilite","securite_incendie","condensation","fuite_air","risque_sante","perf_enveloppe","perf_syst","surf_hab","delais","complexification","fatigue_morale","maintenance","accessibilite","esthetique","inconfort_th","inconfort_visuel","surconso","surcout_travaux"],"title":"WatchPointType","description":"Enumération des types de points de surveillance."},"WaterHeater":{"properties":{"detected":{"type":"boolean","title":"Detected"},"mode":{"anyOf":[{"type":"string","enum":["off_peak","continuous"]},{"type":"null"}],"title":"Mode"},"power_kw":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Power Kw"},"starts":{"items":{"type":"string"},"type":"array","title":"Starts"}},"type":"object","required":["detected","mode","power_kw","starts"],"title":"WaterHeater","description":"The resistive water heater, when seen: on the off-peak contact, or off it\nand read on vacant days, where only its standing losses show."},"WaterTemperaturePower":{"properties":{"water_temperature":{"type":"integer","title":"Water Temperature"},"emitters_power":{"type":"number","title":"Emitters Power","description":"Puissance émise à cette température d'eau (kW)"},"insufficient_rooms":{"items":{"$ref":"#/components/schemas/RoomEmittersSizing"},"type":"array","title":"Insufficient Rooms","description":"Pièces à radiateurs sous-couvertes à cette température : tant qu'il en reste, elle n'est pas conseillée"}},"type":"object","required":["water_temperature","emitters_power","insufficient_rooms"],"title":"WaterTemperaturePower"},"Weather":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"enum_zone_climatique_id":{"anyOf":[{"$ref":"#/components/schemas/ZoneClimatiqueId","ge":1,"le":8},{"type":"null"}],"description":"Zone climatique du logement"},"altitude":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Altitude","description":"Altitude du logement"},"enum_classe_altitude_id":{"anyOf":[{"$ref":"#/components/schemas/ClasseAltitudeEnum","ge":1,"le":3},{"type":"null"}],"description":"Classe d'altitude du logement"},"batiment_materiaux_anciens":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Batiment Materiaux Anciens","description":"Est ce que le bâtiment est principalement composé de matériaux anciens pour ses murs"}},"type":"object","title":"Weather"},"WebhookCreate":{"properties":{"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"branch_id":{"type":"string","format":"uuid","title":"Branch Id","description":"ID of the branch this webhook belongs to"},"event_type":{"$ref":"#/components/schemas/Event","description":"Type of event that triggers the webhook","examples":["LEAD_CREATED"]},"callback_url":{"type":"string","title":"Callback Url","description":"URL to be called when the event occurs","examples":["https://api.example.com/webhook"]},"is_active":{"type":"boolean","title":"Is Active","description":"Whether the webhook is active","default":true},"headers":{"items":{"$ref":"#/components/schemas/WebhookHeader"},"type":"array","maxItems":20,"title":"Headers","description":"Extra HTTP headers sent with every delivery","default":[],"examples":[[{"name":"x-gateway-apikey","value":"..."}]]}},"type":"object","required":["branch_id","event_type","callback_url"],"title":"WebhookCreate","description":"Schema for creating a new webhook"},"WebhookHeader":{"properties":{"name":{"type":"string","maxLength":128,"minLength":1,"title":"Name"},"value":{"type":"string","maxLength":2048,"title":"Value"}},"type":"object","required":["name","value"],"title":"WebhookHeader","description":"One extra HTTP header sent with every delivery (e.g. a gateway API key)."},"WebhookHeaderName":{"properties":{"name":{"type":"string","maxLength":128,"minLength":1,"title":"Name"}},"type":"object","required":["name"],"title":"WebhookHeaderName","description":"Header name only: values are write-only, like the secret."},"WebhookHeaderPatch":{"properties":{"name":{"type":"string","maxLength":128,"minLength":1,"title":"Name"},"value":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Value"}},"type":"object","required":["name","value"],"title":"WebhookHeaderPatch","description":"Update entry: a blank value keeps the stored one, null removes the header."},"WebhookList":{"properties":{"webhooks":{"items":{"$ref":"#/components/schemas/WebhookRead"},"type":"array","title":"Webhooks"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["webhooks","total"],"title":"WebhookList","description":"Schema for listing webhooks with pagination"},"WebhookRead":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"branch_id":{"type":"string","format":"uuid","title":"Branch Id"},"event_type":{"$ref":"#/components/schemas/Event"},"callback_url":{"type":"string","title":"Callback Url"},"is_active":{"type":"boolean","title":"Is Active"},"headers":{"items":{"$ref":"#/components/schemas/WebhookHeaderName"},"type":"array","title":"Headers"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["id","branch_id","event_type","callback_url","is_active","headers","created_at","updated_at"],"title":"WebhookRead","description":"Schema for reading webhook data"},"WebhookReadWithSecret":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"branch_id":{"type":"string","format":"uuid","title":"Branch Id"},"event_type":{"$ref":"#/components/schemas/Event"},"callback_url":{"type":"string","title":"Callback Url"},"is_active":{"type":"boolean","title":"Is Active"},"headers":{"items":{"$ref":"#/components/schemas/WebhookHeaderName"},"type":"array","title":"Headers"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"secret":{"type":"string","title":"Secret"}},"type":"object","required":["id","branch_id","event_type","callback_url","is_active","headers","created_at","updated_at","secret"],"title":"WebhookReadWithSecret","description":"Schema returned on create and regenerate-secret, includes the secret."},"WebhookUpdate":{"properties":{"event_type":{"anyOf":[{"$ref":"#/components/schemas/Event"},{"type":"null"}],"description":"Type of event that triggers the webhook"},"callback_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Callback Url","description":"URL to be called when the event occurs"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active","description":"Whether the webhook is active"},"headers":{"anyOf":[{"items":{"$ref":"#/components/schemas/WebhookHeaderPatch"},"type":"array","maxItems":20,"description":"Merged by name into the stored headers: blank keeps, null removes"},{"type":"null"}],"title":"Headers"}},"type":"object","title":"WebhookUpdate","description":"Schema for updating an existing webhook"},"WindowColorPriceModifiers-Input":{"properties":{"pvc_white":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"pvc_other":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"alu_white":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"alu_grey":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"alu_anthracite":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"alu_other":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"pvc_alu_white":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"pvc_alu_grey":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"pvc_alu_anthracite":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"pvc_alu_other":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"wood_pin":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"wood_sapin":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"wood_meranti":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"wood_special":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"wood_alu_pin":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"wood_alu_sapin":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"wood_alu_meranti":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"wood_alu_special":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]}},"type":"object","title":"WindowColorPriceModifiers","description":"Price modifiers for window colors by material."},"WindowColorPriceModifiers-Output":{"properties":{"pvc_white":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"pvc_other":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"alu_white":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"alu_grey":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"alu_anthracite":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"alu_other":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"pvc_alu_white":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"pvc_alu_grey":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"pvc_alu_anthracite":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"pvc_alu_other":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"wood_pin":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"wood_sapin":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"wood_meranti":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"wood_special":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"wood_alu_pin":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"wood_alu_sapin":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"wood_alu_meranti":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"wood_alu_special":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]}},"type":"object","title":"WindowColorPriceModifiers","description":"Price modifiers for window colors by material."},"WindowConfiguration":{"properties":{"kind":{"anyOf":[{"$ref":"#/components/schemas/WindowKindEnum"},{"type":"null"}]},"material":{"$ref":"#/components/schemas/WindowMaterialEnum","default":"pvc"},"color":{"type":"string","title":"Color","default":"white"},"vantaux":{"type":"integer","title":"Vantaux","default":1},"opening_type":{"$ref":"#/components/schemas/WindowOpeningTypeEnum","default":"battant"},"glazing_type":{"$ref":"#/components/schemas/WindowGlazingTypeEnum","default":"double"},"glazing_option":{"$ref":"#/components/schemas/WindowGlazingOptionEnum","default":"none"},"handle_type":{"$ref":"#/components/schemas/WindowHandleTypeEnum","default":"none"},"width":{"type":"number","title":"Width","default":100},"height":{"type":"number","title":"Height","default":120}},"type":"object","title":"WindowConfiguration","description":"Configuration for a single window type."},"WindowDimensionPriceModifiers-Input":{"properties":{"width_per_cm":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Width Per Cm"},"height_per_cm":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Height Per Cm"},"base_width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Base Width"},"base_height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Base Height"}},"type":"object","title":"WindowDimensionPriceModifiers","description":"Price modifiers for window dimensions."},"WindowDimensionPriceModifiers-Output":{"additionalProperties":true,"type":"object"},"WindowGlazingOptionEnum":{"type":"string","enum":["none","phonique","security"],"title":"WindowGlazingOptionEnum"},"WindowGlazingOptionPriceModifiers-Input":{"properties":{"none":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"phonique":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"security":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]}},"type":"object","title":"WindowGlazingOptionPriceModifiers","description":"Price modifiers for glazing options."},"WindowGlazingOptionPriceModifiers-Output":{"properties":{"none":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"phonique":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"security":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]}},"type":"object","title":"WindowGlazingOptionPriceModifiers","description":"Price modifiers for glazing options."},"WindowGlazingTypeEnum":{"type":"string","enum":["double","triple"],"title":"WindowGlazingTypeEnum"},"WindowGlazingTypePriceModifiers-Input":{"properties":{"double":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"triple":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]}},"type":"object","title":"WindowGlazingTypePriceModifiers","description":"Price modifiers for glazing types."},"WindowGlazingTypePriceModifiers-Output":{"properties":{"double":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"triple":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]}},"type":"object","title":"WindowGlazingTypePriceModifiers","description":"Price modifiers for glazing types."},"WindowHandlePriceModifiers-Input":{"properties":{"none":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"simple":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"button":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"key":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]}},"type":"object","title":"WindowHandlePriceModifiers","description":"Price modifiers for handle types."},"WindowHandlePriceModifiers-Output":{"properties":{"none":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"simple":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"button":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"key":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]}},"type":"object","title":"WindowHandlePriceModifiers","description":"Price modifiers for handle types."},"WindowHandleTypeEnum":{"type":"string","enum":["none","simple","button","key"],"title":"WindowHandleTypeEnum"},"WindowKindEnum":{"type":"string","enum":["fenetre","porte_fenetre","fenetre_toit","porte"],"title":"WindowKindEnum"},"WindowMaterialEnum":{"type":"string","enum":["pvc","alu","pvc_alu","wood","wood_alu"],"title":"WindowMaterialEnum"},"WindowMaterialPriceModifiers-Input":{"properties":{"pvc":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"alu":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"pvc_alu":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"wood":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"wood_alu":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]}},"type":"object","title":"WindowMaterialPriceModifiers","description":"Price modifiers for window materials."},"WindowMaterialPriceModifiers-Output":{"properties":{"pvc":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"alu":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"pvc_alu":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"wood":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"wood_alu":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]}},"type":"object","title":"WindowMaterialPriceModifiers","description":"Price modifiers for window materials."},"WindowOpeningPriceModifiers-Input":{"properties":{"battant":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"oscillo_battant":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"oscillo_battant_battant":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]},"coulissant":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Input"},{"type":"null"}]}},"type":"object","title":"WindowOpeningPriceModifiers","description":"Price modifiers for window opening types."},"WindowOpeningPriceModifiers-Output":{"properties":{"battant":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"oscillo_battant":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"oscillo_battant_battant":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]},"coulissant":{"anyOf":[{"$ref":"#/components/schemas/WindowPriceModifier-Output"},{"type":"null"}]}},"type":"object","title":"WindowOpeningPriceModifiers","description":"Price modifiers for window opening types."},"WindowOpeningTypeEnum":{"type":"string","enum":["battant","oscillo_battant","oscillo_battant_battant","coulissant"],"title":"WindowOpeningTypeEnum"},"WindowPriceModifier-Input":{"properties":{"label":{"type":"string","title":"Label"},"rel_amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rel Amount"},"rel_percentage":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rel Percentage"}},"type":"object","required":["label"],"title":"WindowPriceModifier","description":"Price modifier for a window configuration option."},"WindowPriceModifier-Output":{"additionalProperties":true,"type":"object"},"Windows":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"reference_ouvrant":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Ouvrant","description":"référence de l'ouvrant du diagnostic dont cette baie est issue (une fenêtre de nb_baie N est éclatée en N baies pour le DPE)","examples":["fenetre-1"]},"reference_paroi":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Paroi","description":"référence projet de la façade associé à la fenêtre","examples":["façade-1"]},"reference_wall_zone":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Wall Zone","description":"référence projet du mur (zone déperditive ou non) associé à la fenêtre","examples":["zone-1"]},"reference_asset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Asset","description":"Reference of the photo the window is placed on: a facade photo or an interior wall's (the wall's reference when its photo has none); unset means the facade's first photo"},"reference_lnc":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Lnc","description":"Référence projet de l'objet local non chauffé qui peut être associé à la paroi . Dans le cas d'un espace tampon solarisé cette référence est celle de l'espace tampon.","examples":["ref-garage-1"]},"annee_installation":{"anyOf":[{"type":"integer","maximum":2050.0,"minimum":1900.0},{"type":"null"}],"title":"Annee Installation","description":"Année d'installation de la fenêtre si différente de l'année de construction","examples":[2020],"export_to_dpe":false},"nb_baie":{"type":"number","maximum":1000.0,"minimum":0.0,"title":"Nb Baie","description":"Nombre de baies","default":1.0},"opening":{"anyOf":[{"type":"string","enum":["fenetre","porte_fenetre","fenetre_toit"]},{"type":"null"}],"title":"Opening"},"opening_subtype":{"anyOf":[{"$ref":"#/components/schemas/OpeningSubtype"},{"type":"null"}]},"glazing":{"anyOf":[{"type":"string","enum":["simple_vitrage","double_vitrage","triple_vitrage"]},{"type":"null"}],"title":"Glazing"},"shutter":{"anyOf":[{"type":"string","enum":["none","jalousies","persiennes","sans_ajours"]},{"type":"null"}],"title":"Shutter"},"orientation":{"anyOf":[{"type":"string","enum":["north","south","east","west","horizontal"]},{"type":"null"}],"title":"Orientation"},"frame":{"anyOf":[{"type":"string","enum":["wood","pvc","alu"]},{"type":"null"}],"title":"Frame"},"unit_width":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Unit Width"},"unit_height":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Unit Height"},"dimensions_verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dimensions Verified","description":"Have the window dimensions been verified by the user?"},"to_replace":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"To Replace","description":"Is the window to be replaced?"},"status":{"anyOf":[{"$ref":"#/components/schemas/OpeningStatus"},{"type":"null"}],"description":"Planned status, written alongside to_replace by the front"},"tv_coef_reduction_deperdition_id":{"anyOf":[{"type":"integer","maximum":283.0,"minimum":1.0},{"type":"null"}],"title":"Tv Coef Reduction Deperdition Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de reduction des deperditions","default":1,"examples":[1]},"surface_aiu":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Aiu","description":"surface aiu : surface des parois du local non chauffé qui donnent sur des locaux chauffés.","examples":[null]},"surface_aue":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Surface Aue","description":"surface aue : surface des parois du local non chauffé en contact avec l'extérieur ou le sol","examples":[null]},"enum_cfg_isolation_lnc_id":{"anyOf":[{"$ref":"#/components/schemas/CfgIsolationLnc"},{"type":"null"}],"description":"configuration de l'adjacence avec local non chauffé : local chauffé (non) isolé/local non chauffé (non) isolé/orientation véranda qui permet de calculer le b","examples":[null]},"surface_totale_baie":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Totale Baie","description":"surface totale de paroi vitrée pour ce type de vitrage et sur cette orientation (nombre de baies x surface unitaire). La surface est la surface de la baie dans son ensemble. (vitrage + menuiserie inclus)","examples":[0.64]},"tv_ug_id":{"anyOf":[{"type":"integer","maximum":182.0,"minimum":1.0},{"type":"null"}],"title":"Tv Ug Id","description":"id de la ligne de la table utilisée pour le calcul du coefficent de transmission thermique du vitrage ug","examples":[8]},"enum_type_vitrage_id":{"anyOf":[{"$ref":"#/components/schemas/TypeVitrageEnum","ge":1,"le":6},{"type":"null"}],"description":"type de vitrage","examples":[2]},"enum_inclinaison_vitrage_id":{"anyOf":[{"$ref":"#/components/schemas/InclinaisonVitrageEnum","ge":1,"le":4},{"type":"null"}],"description":"inclinaison du vitrage","examples":[3]},"enum_type_gaz_lame_id":{"anyOf":[{"$ref":"#/components/schemas/TypeGazLameEnum","ge":1,"le":3},{"type":"null"}],"description":"type de gaz présent dans la lame","examples":[1]},"epaisseur_lame":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Epaisseur Lame","description":"épaisseur de la lame","examples":[16]},"vitrage_vir":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Vitrage Vir","description":"est-ce que le vitrage est à isolation renforcée ?","examples":[0]},"enum_methode_saisie_perf_vitrage_id":{"$ref":"#/components/schemas/MethodeSaisiePerfVitrage","description":"méthode de saisie des caractéristiques thermiques des vitrage (valeurs forfaitaires ou saisies en direct lorsque issu d'un justificatif)","default":1,"examples":[1],"ge":1,"le":15},"ug_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Ug Saisi","description":"coefficient de transmission thermique du vitrage saisi directement (nécessite une justification)","examples":[null]},"tv_uw_id":{"anyOf":[{"type":"integer","maximum":723.0,"minimum":1.0},{"type":"null"}],"title":"Tv Uw Id","description":"id de la ligne de la table utilisée pour le calcul du coefficent de transmission thermique de la baie uw. Dans le cas d'une interpolation/extrapolation prendre la valeur tabulée la plus proche","examples":[530]},"enum_type_materiaux_menuiserie_id":{"anyOf":[{"$ref":"#/components/schemas/TypeMateriauxMenuiserieEnum","ge":1,"le":7},{"type":"null"}],"description":"type de matériaux des menuiseries","examples":[3]},"enum_type_baie_id":{"anyOf":[{"$ref":"#/components/schemas/TypeBaieEnum","ge":1,"le":8},{"type":"null"}],"description":"type de baie","examples":[4]},"uw_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uw Saisi","description":"coefficient de transmission thermique de la baie saisi directement (nécessite une justification)","examples":[null]},"double_fenetre":{"type":"boolean","title":"Double Fenetre","description":"est-ce qu'il s'agit d'une double fenêtre ?","default":false,"examples":[false]},"uw_1":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uw 1","description":"Uw de la première fenêtre dans le cas d'une double fenêtre (par défaut la première fenêtre est toujours celle avec le Uw le plus élevé -> plus performante)","examples":[2.6]},"sw_1":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Sw 1","description":"Sw de la première fenêtre dans le cas d'une double fenêtre (par défaut la première fenêtre est toujours celle avec le Uw le plus élevé -> plus performante)","examples":[0.44]},"uw_2":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uw 2","description":"Uw de la deuxième fenêtre dans le cas d'une double fenêtre (par défaut la deuxième fenêtre est toujours celle avec le Uw le plus faible -> moins performante)","examples":[null]},"sw_2":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Sw 2","description":"Sw de la deuxième fenêtre dans le cas d'une double fenêtre (par défaut la deuxième fenêtre est toujours celle avec le Uw le plus faible -> moins performante)","examples":[null]},"tv_deltar_id":{"anyOf":[{"type":"integer","maximum":7.0,"minimum":1.0},{"type":"null"}],"title":"Tv Deltar Id","description":"id de la ligne de la table utilisée pour le calcul du delta de resistance de la protection mobile. (volets persienne etc..)","examples":[null]},"tv_ujn_id":{"anyOf":[{"type":"integer","maximum":236.0,"minimum":1.0},{"type":"null"}],"title":"Tv Ujn Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de transmission de la baie jour/nuit Ujn. Dans le cas d'une interpolation/extrapolation prendre la valeur tabulée la plus proche","examples":[null]},"enum_type_fermeture_id":{"anyOf":[{"$ref":"#/components/schemas/TypeFermeture","ge":1,"le":8},{"type":"null"}],"description":"type de fermeture associé à la baie (volets/persiennes etc..)","examples":[1]},"presence_protection_solaire_hors_fermeture":{"type":"boolean","title":"Presence Protection Solaire Hors Fermeture","description":"y a-t-il une protection solaire qui n'est pas considérée comme une fermeture (R=0 pour le calcul de Ujn) mais qui est prise en compte pour le calcul du confort d'été.","default":false,"examples":[false]},"ujn_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Ujn Saisi","description":"coefficient de transmission thermique de la baie avec ses protection solaires saisi directement (nécessite une justification)","examples":[null]},"presence_retour_isolation":{"type":"boolean","title":"Presence Retour Isolation","description":"y a-t-il un retour d'isolant de la paroi opaque sur la baie ?","default":false,"examples":[false]},"presence_joint":{"type":"boolean","title":"Presence Joint","description":"y a-t-il présence de joints sur la baie (utilisé pour le calcul de la perméabilité)","default":false,"examples":[false]},"largeur_dormant":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Largeur Dormant","description":"largeur du dormant de la baie (cm)","examples":[5]},"tv_sw_id":{"anyOf":[{"type":"integer","maximum":173.0,"minimum":1.0},{"type":"null"}],"title":"Tv Sw Id","description":"id de la ligne de la table utilisée pour le calcul du facteur solaire de la baie sw","examples":[6]},"sw_saisi":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Sw Saisi","description":"facteur solaire de la baie saisi directement (nécessite une justification)","examples":[null]},"enum_type_pose_id":{"$ref":"#/components/schemas/TypePose","description":"type de pose de la baie","default":3,"examples":[3],"ge":1,"le":4},"enum_orientation_id":{"anyOf":[{"$ref":"#/components/schemas/Orientation","ge":1,"le":5},{"type":"null"}],"description":"orientation de la baie","examples":[4]},"tv_coef_masque_proche_id":{"type":"integer","maximum":19.0,"minimum":1.0,"title":"Tv Coef Masque Proche Id","description":"id de la ligne de la table utilisée pour le calcul du coefficent de masque proche","default":19,"examples":[19]},"tv_coef_masque_lointain_homogene_id":{"anyOf":[{"type":"integer","maximum":12.0,"minimum":1.0},{"type":"null"}],"title":"Tv Coef Masque Lointain Homogene Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de masque homogène lointain","examples":[null]},"enum_type_adjacence_id":{"$ref":"#/components/schemas/TypeAdjacence","description":"type d'adjacence de la paroi","default":1,"examples":[1],"ge":1,"le":22},"masque_lointain_non_homogene_collection":{"anyOf":[{"$ref":"#/components/schemas/MasqueLointainNonHomogeneCollection"},{"type":"null"}]},"enum_etat_composant_id":{"anyOf":[{"$ref":"#/components/schemas/EtatComposant"},{"type":"null"}],"description":"indique si le composant a été changé par rapport au logement initial","default":1,"examples":[1]},"b":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"B","description":"coefficient de réduction des déperditions de la baie vitrée"},"ug":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Ug","description":"Ug final de la baie : soit saisi directement soit issu des tables forfaitaires"},"uw":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uw","description":"Uw final de la baie : soit saisi directement soit issu des tables forfaitaires"},"ujn":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Ujn","description":"Ujn final de la baie : soit saisi directement soit issu des tables forfaitaires"},"u_menuiserie":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"U Menuiserie","description":"U final de la menuiserie utilisé dans le calcul : soit Ujn dans le cas d'une baie avec protection solaire soit Uw dans le cas d'une baie sans protection solaire"},"sw":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Sw","description":"sw final de la baie: soit saisi directement soit issu des tables forfaitaires"},"fe1":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Fe1","description":"fe1 facteur d'ensoleillement calculé à partir de la table sur les masques proches"},"fe2":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Fe2","description":"fe2 facteur d'ensoleillement calculé soit à l'aide de la méthode masque lointain homogène ou méthode des masques lointains proches"}},"type":"object","title":"Windows"},"WinterComfort":{"properties":{"mean_surface_temperature":{"type":"number","title":"Mean Surface Temperature","description":"Area-weighted indoor face of the envelope at θ_e"},"felt_temperature":{"type":"number","title":"Felt Temperature","description":"Mean of the air at θ_int and of the envelope faces"}},"type":"object","required":["mean_surface_temperature","felt_temperature"],"title":"WinterComfort","description":"What the occupant feels on the coldest design day, heated to θ_int."},"WorkCoverage":{"properties":{"enum_type_travaux_id":{"$ref":"#/components/schemas/TypeTravaux"},"winter":{"anyOf":[{"$ref":"#/components/schemas/SeasonCoverage"},{"type":"null"}]},"summer":{"anyOf":[{"$ref":"#/components/schemas/SeasonCoverage"},{"type":"null"}]},"rooms":{"items":{"$ref":"#/components/schemas/RoomCoverage"},"type":"array","title":"Rooms"},"units":{"items":{"$ref":"#/components/schemas/UnitCoverage"},"type":"array","title":"Units"},"room_needs":{"items":{"$ref":"#/components/schemas/RoomNeed"},"type":"array","title":"Room Needs"},"groups":{"items":{"$ref":"#/components/schemas/GroupCoverage"},"type":"array","title":"Groups"}},"type":"object","required":["enum_type_travaux_id"],"title":"WorkCoverage","description":"Coverage of a PAC work by its retained equipment; None seasons do not apply."},"WorkImpact":{"properties":{"type_travaux":{"$ref":"#/components/schemas/TypeTravaux"},"dpe_class_gain":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Dpe Class Gain","description":"DPE classes gained by this work alone (whole classes, the engine's A-G letter after the double EP/GES threshold; 2 means G → E, negative when the work degrades the class); null when the engine lacks data to simulate it"},"primary_energy_reduction_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Primary Energy Reduction Ratio","description":"Share of the current primary energy (5 uses, kWhep/m²/year) this work alone removes, 0..1, negative when it adds consumption; null when the engine lacks data"},"heat_loss_reduction_ratio":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Heat Loss Reduction Ratio","description":"Share of the current envelope heat loss coefficient (3CL GV, W/K: walls, floors, roofs, openings, thermal bridges and air renewal) this work alone removes, 0..1; null for a work outside the walls, floors, roofs and openings lots, or when the engine lacks data"}},"type":"object","required":["type_travaux"],"title":"WorkImpact","description":"What one work of the plan brings when applied alone to the current home."},"WorkItemRead":{"properties":{"enum_type_travaux_id":{"$ref":"#/components/schemas/TypeTravaux"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"scenario_id":{"type":"string","format":"uuid","title":"Scenario Id"},"status_id":{"type":"string","format":"uuid","title":"Status Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["enum_type_travaux_id","id","scenario_id","status_id","created_at","updated_at"],"title":"WorkItemRead","description":"Schema for work item response"},"WorkRetrievalMode":{"type":"string","enum":["latest","exhaustive"],"title":"WorkRetrievalMode","description":"Enum for work retrieval mode"},"WorkRulePreview":{"properties":{"scenario_id":{"type":"string","format":"uuid","title":"Scenario Id"},"work_type":{"$ref":"#/components/schemas/TypeTravaux"},"added":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Added"},"removed":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Removed"},"quantity_changed":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Quantity Changed"},"price_before":{"type":"number","title":"Price Before"},"price_after":{"type":"number","title":"Price After"}},"type":"object","required":["scenario_id","work_type","added","removed","quantity_changed","price_before","price_after"],"title":"WorkRulePreview","description":"What a rule change does to one work's lines, against the catalog's rules."},"WorkSelectionPreviewRequest":{"properties":{"boiler_backup":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Boiler Backup"},"independent_boiler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Independent Boiler"},"backup_generator_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Backup Generator Reference"},"install_gas_boiler":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Install Gas Boiler"},"phase":{"anyOf":[{"type":"string","enum":["mono","tri"]},{"type":"null"}],"title":"Phase"},"pac_architecture":{"anyOf":[{"$ref":"#/components/schemas/PacArchitecture"},{"type":"null"}]},"unites_interieures":{"anyOf":[{"items":{"$ref":"#/components/schemas/argile__engine__dpe__models__etape_travaux__options__heat_pump_units__UniteInterieure-Input"},"type":"array"},{"type":"null"}],"title":"Unites Interieures","description":"Indoor units converted along with the change"},"mode_fonctionnement":{"anyOf":[{"$ref":"#/components/schemas/ModeFonctionnement"},{"type":"null"}]},"usage":{"anyOf":[{"$ref":"#/components/schemas/UsageGenerateur"},{"type":"null"}]},"enum_type_stockage_ecs_id":{"anyOf":[{"$ref":"#/components/schemas/TypeStockageEcs"},{"type":"null"}]},"storage_volume":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Storage Volume"},"household_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Household Size"},"has_dishwasher":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Dishwasher"},"has_bathtub":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Bathtub"}},"type":"object","title":"WorkSelectionPreviewRequest","description":"The pending configuration change, as the dialog is about to apply it."},"WorkSelectionPreviewWithBackup":{"properties":{"work":{"$ref":"#/components/schemas/Travaux-Output"},"gas_boiler_work":{"anyOf":[{"$ref":"#/components/schemas/Travaux-Output"},{"type":"null"}]}},"type":"object","required":["work"],"title":"WorkSelectionPreviewWithBackup"},"WorkStatusRead":{"properties":{"label":{"type":"string","title":"Label"},"color_scheme":{"type":"string","title":"Color Scheme"},"priority":{"type":"integer","title":"Priority"},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id"},"branch_id":{"type":"string","format":"uuid","title":"Branch Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["label","color_scheme","priority","id","branch_id","created_at","updated_at"],"title":"WorkStatusRead","description":"Schema for work status response"},"WorkflowResponse":{"properties":{"workflow_id":{"type":"string","title":"Workflow Id"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Run Id"}},"type":"object","required":["workflow_id"],"title":"WorkflowResponse","description":"Response after starting a workflow."},"WorksStartDelay":{"type":"string","enum":["within_3_months","within_6_months","within_12_months","see_terms"],"title":"WorksStartDelay","description":"Works start delay printed on the quote; None prints `works_start_at`."},"WorksiteCreate":{"properties":{"name":{"type":"string","title":"Name","description":"Display name, e.g. 'Dubois/Chantier #1'"},"quote_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Quote Ids"},"commercial_plan_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Commercial Plan Ids"}},"type":"object","required":["name"],"title":"WorksiteCreate","description":"Payload for creating a new worksite.\n\nA worksite can be seeded from quotes, from commercial plans (programmes de\ntravaux estimatifs), from both, or from neither (an empty worksite created\nfrom scratch). All source lists default to empty."},"WorksiteListResponse":{"properties":{"items":{"items":{"$ref":"#/components/schemas/WorksiteRead"},"type":"array","title":"Items"}},"type":"object","required":["items"],"title":"WorksiteListResponse","description":"Wrapper for list-of-worksites responses."},"WorksiteRead":{"properties":{"name":{"type":"string","title":"Name","description":"Display name, e.g. 'Dubois/Chantier #1'"},"id":{"type":"string","format":"uuid","title":"Id"},"lead_id":{"type":"string","format":"uuid","title":"Lead Id"},"branch_id":{"type":"string","format":"uuid","title":"Branch Id"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"quote_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Quote Ids"},"commercial_plan_ids":{"items":{"type":"string","format":"uuid"},"type":"array","title":"Commercial Plan Ids"},"actual_start":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Actual Start"},"actual_end":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Actual End"},"closed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Closed At"},"closed_by_user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Closed By User Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"lots":{"items":{"$ref":"#/components/schemas/LotRead"},"type":"array","title":"Lots"},"tasks_total":{"type":"integer","title":"Tasks Total"},"tasks_done":{"type":"integer","title":"Tasks Done"},"progress":{"type":"number","title":"Progress"}},"type":"object","required":["name","id","lead_id","branch_id","reference","quote_ids","commercial_plan_ids","actual_start","actual_end","closed_at","closed_by_user_id","created_at","updated_at","lots","tasks_total","tasks_done","progress"],"title":"WorksiteRead","description":"A worksite as exposed by the API (with nested lots)."},"XmlDate":{"prefixItems":[{"type":"integer","title":"Year"},{"type":"integer","title":"Month"},{"type":"integer","title":"Day"},{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Offset"}],"type":"array","maxItems":4,"minItems":3},"YesNoUnknown":{"type":"string","enum":["no","yes","unknown"],"title":"YesNoUnknown","description":"Ternary answer for on-site observations."},"Zone":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/argile__engine__dpe__models__envelop__zone__DonneeEntree"},"donnee_intermediaire":{"$ref":"#/components/schemas/argile__engine__dpe__models__envelop__zone__DonneeIntermediaire"}},"type":"object","required":["donnee_entree"],"title":"Zone"},"ZoneClimatiqueId":{"type":"integer","enum":[1,2,3,4,5,6,7,8],"title":"ZoneClimatiqueId"},"ZoneClimatiqueType":{"type":"string","enum":["H1","H2","H3"],"title":"ZoneClimatiqueType"},"ZoneCollection":{"properties":{"zone":{"items":{"$ref":"#/components/schemas/Zone"},"type":"array","title":"Zone","description":"Liste des zones de paroi"}},"type":"object","title":"ZoneCollection"},"ZoneEmitter-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/RoomEmitterAsset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"macro_category":{"anyOf":[{"$ref":"#/components/schemas/RoomEmitterMacroCategory"},{"type":"null"}],"description":"Macro catégorie de l'émetteur. Uniquement pour le front"},"category":{"anyOf":[{"$ref":"#/components/schemas/RoomEmitterCategory"},{"type":"null"}],"description":"Catégorie de l'émetteur. Uniquement pour le front"},"subtype":{"anyOf":[{"$ref":"#/components/schemas/RoomEmitterSubtype"},{"type":"null"}],"description":"Sous-type de l'émetteur. Uniquement pour le front"},"longueur_emetteur":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Longueur Emetteur","description":"Longueur de l'émetteur","donnee_entree":true},"largeur_emetteur":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Largeur Emetteur","description":"Largeur de l'émetteur","donnee_entree":true},"tv_type_emetteur_ch_id":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Tv Type Emetteur Ch Id","description":"ID de la ligne de la table utilisée pour le calcul du type d'émetteur de chauffage","examples":[1],"donnee_entree":true},"surface_plancher_chauffant":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Plancher Chauffant","description":"Surface du plancher chauffant"},"has_thermostatic_valve":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Thermostatic Valve","description":"Le radiateur est équipé d'une vanne thermostatique ; None = non renseigné, traité comme équipé"},"room_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Reference","description":"Référence de la pièce du diagnostic portant l'émetteur"}},"type":"object","title":"ZoneEmitter"},"ZoneEmitter-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/RoomEmitterAsset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Output"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Output"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"macro_category":{"anyOf":[{"$ref":"#/components/schemas/RoomEmitterMacroCategory"},{"type":"null"}],"description":"Macro catégorie de l'émetteur. Uniquement pour le front"},"category":{"anyOf":[{"$ref":"#/components/schemas/RoomEmitterCategory"},{"type":"null"}],"description":"Catégorie de l'émetteur. Uniquement pour le front"},"subtype":{"anyOf":[{"$ref":"#/components/schemas/RoomEmitterSubtype"},{"type":"null"}],"description":"Sous-type de l'émetteur. Uniquement pour le front"},"longueur_emetteur":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Longueur Emetteur","description":"Longueur de l'émetteur","donnee_entree":true},"largeur_emetteur":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Largeur Emetteur","description":"Largeur de l'émetteur","donnee_entree":true},"tv_type_emetteur_ch_id":{"anyOf":[{"type":"integer","minimum":1.0},{"type":"null"}],"title":"Tv Type Emetteur Ch Id","description":"ID de la ligne de la table utilisée pour le calcul du type d'émetteur de chauffage","examples":[1],"donnee_entree":true},"surface_plancher_chauffant":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Plancher Chauffant","description":"Surface du plancher chauffant"},"has_thermostatic_valve":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Thermostatic Valve","description":"Le radiateur est équipé d'une vanne thermostatique ; None = non renseigné, traité comme équipé"},"room_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Reference","description":"Référence de la pièce du diagnostic portant l'émetteur"}},"type":"object","title":"ZoneEmitter"},"ZoneShape":{"type":"string","enum":["rectangle","pentagon","triangle","trapezoid","auto_detected","other"],"title":"ZoneShape","description":"Shapes available for wall zones."},"argile__documents__doc_instances__models__document__Variable":{"properties":{"height":{"type":"number","title":"Height"},"width":{"type":"number","title":"Width"},"bottom":{"type":"number","title":"Bottom"},"left":{"type":"number","title":"Left"},"page_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page Number"},"pdf_field_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdf Field Name"},"title":{"type":"string","title":"Title"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"access_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Path"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"depends_on":{"items":{"type":"string","enum":["quote","project","scenario","invoice"]},"type":"array","title":"Depends On","default":[]},"type":{"anyOf":[{"type":"string","enum":["str","int","float","bool","null","date"]},{"type":"null"}],"title":"Type"},"value":{"anyOf":[{"type":"string"},{"type":"integer"},{"type":"number"},{"type":"boolean"},{"type":"string","format":"date"},{"type":"string","format":"date-time"},{"type":"null"}],"title":"Value"},"status":{"type":"string","enum":["pending","manual","auto"],"title":"Status","default":"pending"}},"type":"object","required":["height","width","bottom","left","title"],"title":"Variable"},"argile__documents__doc_templates__models__Variable":{"properties":{"height":{"type":"number","title":"Height"},"width":{"type":"number","title":"Width"},"bottom":{"type":"number","title":"Bottom"},"left":{"type":"number","title":"Left"},"page_number":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Page Number"},"pdf_field_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pdf Field Name"},"title":{"type":"string","title":"Title"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"access_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Access Path"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"depends_on":{"items":{"type":"string","enum":["quote","project","scenario","invoice"]},"type":"array","title":"Depends On","default":[]},"type":{"anyOf":[{"type":"string","enum":["str","int","float","bool","null","date"]},{"type":"null"}],"title":"Type"}},"type":"object","required":["height","width","bottom","left","title"],"title":"Variable"},"argile__engine__dpe__enum_types__type_isolation__TypeIsolation":{"type":"integer","enum":[1,2,3,4,5,6,7,8,9],"title":"TypeIsolation"},"argile__engine__dpe__models__catalog_article__ItemType":{"type":"string","enum":["product","service","point_singulier","poele","unite_interieure","unite_exterieure","unites_int_ext","module_hydraulique","bizone","carte_pilotage","vase_expansion","ballon_tampon","pompe_relevage","ballon_ecs","chauffe_eau","sonde_temp_ext","sonde_temp_int","tete_thermostat","thermostat","regulation","cable_frigo","cable_electrique","goulotte","kit_raccordement","gaine","plenum","bouche_soufflage","grille_reprise","support_mural","support_sol","radiateur","plancher_chauffant","ventilo_convecteur","bouche_vmc","entree_air_vmc","gaine_vmc","caisson_vmc","kit_vmc","vmr","panneau_solaire","onduleur","batterie","kit_pv","optimiseur","micro_onduleur","coffret_protection","structure_fixation","systeme_pilotage","isolant","echafaudage","embrasure","tablette","rail_depart","menuiserie","porte","fenetre_de_toit","porte_fenetre","volet","travaux_electriques","reprise_peinture","chaudiere","fumisterie","plaque_au_sol","plaque_murale"],"title":"ItemType","description":"Catalog item types organized by work category."},"argile__engine__dpe__models__cool__climatisation__DonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"surface_clim":{"type":"number","title":"Surface Clim","description":"Surface climatisée : si le logement n'est pas climatisé dans son ensemble la surface climatisée peut être inférieure à la surface totale du logement. Dans le cas spécifique d'un DPE immeuble avec installation individuelle échantillonée : saisir la surface climatisée par la totalité des logements représentés par le logement moyen surface_clim = Shmoy*Nblgt. Dans le cas d'un DPE immeuble ou d'un DPE appartement à partir de l'immeuble c'est la surface de l'installation à l'immeuble qu'il faut renseigner","examples":[100.0],"gt":0.0},"tv_seer_id":{"anyOf":[{"type":"integer","maximum":6.0,"minimum":1.0},{"type":"null"}],"title":"Tv Seer Id","description":"ID de la ligne de la table utilisée pour le calcul du coefficient d'efficience énergétique du système de climatisation seer","examples":[1]},"nombre_logement_echantillon":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Nombre Logement Echantillon","description":"Nombre de logements représentés par le logement échantillon dans le cas d'un DPE immeuble avec installation de climatisation individuelle. (à ne renseigner que dans ce cas précis)","examples":[100.0]},"enum_methode_calcul_conso_id":{"$ref":"#/components/schemas/MethodeCalculConso","description":"Méthode de calcul de consommation de froid : simple, ou cas particuliers installation collective virtualisée ou installation individuelle échantilonnée (dpe immeuble)","examples":[1],"ge":1,"le":6},"enum_periode_installation_fr_id":{"$ref":"#/components/schemas/PeriodeInstallationFr","description":"Période d'installation du système de refroidissement","examples":[1],"ge":1,"le":3},"cle_repartition_clim":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Cle Repartition Clim","description":"Clé de répartition pour passer des consommations bâtiments au consommation logement dans le cas DPE appartement calculé à partir du DPE immeuble UNIQUEMENT. Voir section 8.5.4 du document guide pour plus de détail.","examples":[0.5]},"enum_type_generateur_fr_id":{"$ref":"#/components/schemas/TypeGenerateurFr","description":"Type de générateur de froid","examples":[1],"ge":1,"le":23},"enum_type_energie_id":{"anyOf":[{"$ref":"#/components/schemas/TypeEnergie","ge":1,"le":15},{"type":"null"}],"description":"Type d'énergie consommée par le générateur de froid","examples":[1]},"enum_methode_saisie_carac_sys_id":{"$ref":"#/components/schemas/MethodeSaisieCaracSys","description":"Méthode de saisie du seer : lecture de table forfaitaire ou saisie justifiée","examples":[1]},"ref_produit_fr":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ref Produit Fr","description":"Référence produit et marque du générateur de froid","examples":["ref_produit_fr"]},"enum_etat_composant_id":{"$ref":"#/components/schemas/EtatComposant","description":"Indique si le composant a été changé par rapport au logement initial","default":1,"examples":[1]}},"type":"object","required":["surface_clim","enum_methode_calcul_conso_id","enum_periode_installation_fr_id","enum_type_generateur_fr_id","enum_methode_saisie_carac_sys_id"],"title":"DonneeEntree"},"argile__engine__dpe__models__cool__climatisation__DonneeIntermediaire":{"properties":{"eer":{"anyOf":[{"type":"number","maximum":15.0,"minimum":0.0},{"type":"null"}],"title":"Eer","description":"Coefficient d'efficience énergétique du système de climatisation final (SEER * 0,95)","examples":[1.0],"__compute_if_none":"compute_eer"},"besoin_fr":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Besoin Fr","description":"Besoin de refroidissement annuel. Dans le cas d'un DPE immeuble ou d'un DPE appartement à partir de l'immeuble c'est le besoin de l'installation à l'immeuble qu'il faut saisir.","__compute_if_none":"compute_cool_requirement"},"conso_fr":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Conso Fr","description":"Consommation de refroidissement annuel (kWh). Dans le cas d'un DPE immeuble ou d'un DPE appartement à partir de l'immeuble c'est la consommation de l'installation à l'immeuble qu'il faut saisir.","__compute_if_none":"compute_cool_consumption"},"conso_fr_depensier":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Conso Fr Depensier","description":"Consommation de refroidissement annuel pour le scénario dépensier (kWh). Dans le cas d'un DPE immeuble ou d'un DPE appartement à partir de l'immeuble c'est la consommation de l'installation à l'immeuble qu'il faut saisir.","__compute_if_none":"compute_cool_consumption_expensive"}},"type":"object","title":"DonneeIntermediaire"},"argile__engine__dpe__models__dhw__generator__DonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"reference_generateur_mixte":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Generateur Mixte","description":"Référence commune pour un générateur mixte chauffage ECS. Cette référence est identique pour les deux parties du générateur (chauffage et ECS) et est utilisé pour faire le lien entre les deux","examples":["reference_generateur_mixte"]},"enum_type_generateur_ecs_id":{"$ref":"#/components/schemas/TypeGenerateurEcs","description":"Type de générateur d'ECS","examples":[1]},"annee_installation":{"anyOf":[{"type":"integer","maximum":2050.0,"minimum":1900.0},{"type":"null"}],"title":"Annee Installation","description":"Année d'installation du générateur d'ECS","examples":[2020],"export_to_dpe":false},"ref_produit_generateur_ecs":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ref Produit Generateur Ecs","description":"Référence produit et marque du générateur d'ECS","examples":["ref_produit_generateur_ecs"]},"enum_usage_generateur_id":{"$ref":"#/components/schemas/UsageGenerateur","description":"Usages assurés par le générateur (chauffage/ecs/chauffage+ecs)","examples":[1],"ge":1,"le":3},"enum_type_energie_id":{"$ref":"#/components/schemas/TypeEnergie","description":"Type d'énergie consommée par le générateur d'ECS","examples":[1],"ge":1,"le":15},"tv_generateur_combustion_id":{"anyOf":[{"type":"integer","maximum":103.0,"minimum":1.0},{"type":"null"}],"title":"Tv Generateur Combustion Id","description":"ID de la ligne de la table utilisée pour le calcul des paramètres du générateur à combustion Rpn,Rpint,Qp0,Pveil","examples":[1]},"enum_methode_saisie_carac_sys_id":{"$ref":"#/components/schemas/MethodeSaisieCaracSys","description":"Méthode de saisie des performances du système d'ECS","examples":[1],"ge":1,"le":8},"tv_pertes_stockage_id":{"anyOf":[{"type":"integer","maximum":16.0,"minimum":1.0},{"type":"null"}],"title":"Tv Pertes Stockage Id","description":"ID de la ligne de la table utilisée pour le calcul des pertes de stockage pour les ballons électriques","examples":[1]},"tv_scop_id":{"anyOf":[{"type":"integer","maximum":88.0,"minimum":1.0},{"type":"null"}],"title":"Tv Scop Id","description":"ID de la ligne de la table utilisée pour le calcul du coefficient de performance du système thermodynamique (SCOP)","examples":[1]},"enum_periode_installation_ecs_thermo_id":{"anyOf":[{"type":"integer","maximum":3.0,"minimum":1.0},{"type":"null"}],"title":"Enum Periode Installation Ecs Thermo Id","description":"Période d'installation du système thermodynamique","examples":[1]},"identifiant_reseau_chaleur":{"anyOf":[{"type":"string","pattern":"[0-9]{4}[C-F]"},{"type":"null"}],"title":"Identifiant Reseau Chaleur","description":"","examples":["1234C"]},"date_arrete_reseau_chaleur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Date Arrete Reseau Chaleur","description":"","examples":["2020-01-01"]},"tv_reseau_chaleur_id":{"anyOf":[{"type":"integer","maximum":797.0,"minimum":1.0},{"type":"null"}],"title":"Tv Reseau Chaleur Id","description":"","examples":[1]},"enum_type_stockage_ecs_id":{"$ref":"#/components/schemas/TypeStockageEcs","description":"","examples":[1],"ge":1,"le":3},"position_volume_chauffe":{"type":"boolean","title":"Position Volume Chauffe","description":"","examples":[true]},"position_volume_chauffe_stockage":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Position Volume Chauffe Stockage","description":"Est ce que le générateur est positionné dans le volume chauffé. (pour le calcul des pertes de génération récupérables)","examples":[true]},"volume_stockage":{"type":"number","title":"Volume Stockage","description":"","examples":[1.0],"ge":0.0},"presence_ventouse":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Presence Ventouse","description":"","default":false,"examples":[true]},"enum_etat_composant_id":{"$ref":"#/components/schemas/EtatComposant","description":"","default":1,"examples":[1]},"pn_saisi":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Pn Saisi","description":"Puissance nominale du générateur saisie par l'utilisateur (kW)","examples":[21.0],"export_to_dpe":false},"presence_ventilateur":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Presence Ventilateur","description":"Présence de ventilateur ou autre dispositif de circulation d’air ou de produit de combustion dans le circuit de combustion.","examples":[true,false],"export_to_dpe":false},"name_generateur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name Generateur","readOnly":true}},"type":"object","required":["enum_type_generateur_ecs_id","enum_usage_generateur_id","enum_type_energie_id","enum_methode_saisie_carac_sys_id","enum_type_stockage_ecs_id","position_volume_chauffe","volume_stockage","name_generateur"],"title":"DonneeEntree"},"argile__engine__dpe__models__dhw__generator__DonneeIntermediaire":{"properties":{"pn":{"anyOf":[{"type":"number","gt":100},{"type":"null"}],"title":"Pn","description":"Puissance nominale du générateur à combustion. Dans le cas d'un générateur virtualisé pour DPE appartement avec ECS collective saisir Pe = a*Pn(collectif) (W)","__compute_if_none":"compute_nominal_power"},"qp0":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Qp0","description":"Pertes à l'arret du générateur à combustion. Dans le cas d'un générateur virtualisé pour DPE appartement avec ECS collective saisir Qp0 correspondant à Pe = a*Pn(collectif) (W)","__compute_if_none":"compute_qp0"},"pveilleuse":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Pveilleuse","description":"Puissance de la veilleuse du générateur à combustion (W)","__compute_if_none":"compute_pveilleuse"},"rpn":{"anyOf":[{"type":"number","maximum":1.5,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Rpn","description":"Rendement de génération à pleine charge du générateur à combustion (0-1,5)","__compute_if_none":"compute_rpn"},"cop":{"anyOf":[{"type":"number","maximum":8.0,"exclusiveMinimum":1.0},{"type":"null"}],"title":"Cop","description":"COP du chauffe-eau thermodynamique (inclus le rendement de stockage) (0-20)","__compute_if_none":"compute_cop"},"ratio_besoin_ecs":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Ratio Besoin Ecs","description":"Ratio du besoin ecs de l'installation affecté au générateur. Ce ratio est de 1 pour les installations classiques et de 0,5 pour les installations d'ECS avec deux générateurs","__compute_if_none":"compute_ratio_dhw_requirement"},"rendement_generation":{"anyOf":[{"type":"number","maximum":1.5,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Rendement Generation","description":"Rg : rendement de génération dans le cas où le rendement de stockage est séparé du rendement de génération (ballon éléctrique ou ballon séparé de la production) (0-1,5)","__compute_if_none":"compute_generation_yield"},"rendement_generation_depensier":{"anyOf":[{"type":"number","maximum":1.5,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Rendement Generation Depensier","description":"Rg : rendement de génération dans le cas où le rendement de stockage est séparé du rendement de génération (ballon éléctrique ou ballon séparé de la production) (0-1,5)","__compute_if_none":"compute_generation_yield_expensive"},"rendement_generation_stockage":{"anyOf":[{"type":"number","maximum":1.5,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Rendement Generation Stockage","description":"RgxRs : rendement de génération x rendement de stockage pour les systèmes pour lesquels le ballon est intégré au système de production ou réseau de chaleur (0-1,5)","__compute_if_none":"compute_generation_storage_yield"},"rendement_generation_stockage_depensier":{"anyOf":[{"type":"number","maximum":1.5,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Rendement Generation Stockage Depensier","description":"RgxRs : rendement de génération x rendement de stockage pour les systèmes pour lesquels le ballon est intégré au système de production ou réseau de chaleur (0-1,5)","__compute_if_none":"compute_generation_storage_yield_expensive"},"rendement_stockage":{"anyOf":[{"type":"number","maximum":1.5,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Rendement Stockage","description":"Rs : rendement de stockage dans le cas où le rendement de stockage est séparé du rendement de génération (ballon éléctrique ou ballon séparé de la production) sinon égal à 1 (0-1)","__compute_if_none":"compute_storage_yield"},"generator_quality":{"anyOf":[{"$ref":"#/components/schemas/QualityType"},{"type":"null"}],"description":"Qualité de performance du générateur en fonction de son COP ou de son rendement","__compute_if_none":"compute_generator_quality"},"conso_ecs":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Conso Ecs","readOnly":true},"conso_ecs_depensier":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Conso Ecs Depensier","readOnly":true}},"type":"object","required":["conso_ecs","conso_ecs_depensier"],"title":"DonneeIntermediaire"},"argile__engine__dpe__models__dhw__installation__DonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"enum_cfg_installation_ecs_id":{"$ref":"#/components/schemas/CfgInstallationEcs","description":"Code de configuration de l'installation d'ECS (installation simple, avec solaire ou avec plusieurs systèmes d'ECS)","examples":[1,2,3]},"enum_type_installation_id":{"$ref":"#/components/schemas/TypeInstallation","description":"Code du type d'installation d'ECS (collective ou individuelle)","examples":[1,2,3,4],"ge":1,"le":4},"enum_methode_calcul_conso_id":{"type":"integer","maximum":6.0,"minimum":1.0,"title":"Enum Methode Calcul Conso Id","description":"Méthode de calcul de consommation d'ECS : simple, ou cas particuliers installation collective virtualisée ou installation individuelle échantilonnée (dpe immeuble)","examples":[1,2,3,4,5,6]},"ratio_virtualisation":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Ratio Virtualisation","description":"Ratio de virtualisation de l'installation collective lorsque l'on rapporte des usages collectifs à un appartement (a = Shabappartement/Shabtotale)","examples":[0.5,0.6,0.7,0.8,0.9,1.0]},"cle_repartition_ecs":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Cle Repartition Ecs","description":"Clé de répartition pour passer des consommations bâtiments au consommation logement dans le cas DPE appartement calculé à partir du DPE immeuble UNIQUEMENT. Voir section 8.5.4 du document guide pour plus de détail","examples":[0.5,0.6,0.7,0.8,0.9,1.0]},"surface_habitable":{"type":"number","title":"Surface Habitable","description":"Surface habitable correspondant au(x) logement(x) desservi(s) par l'installation d'ECS.(surface habitable du logement ou de la totalité des logements de l'immeuble) Dans le cas spécifique d'un DPE immeuble avec installation individuelle échantillonée :saisir la surface de la totalité des logements représentés par le logement moyen surface_habitable= Shmoy*Nblgt. Dans le cas d'un DPE immeuble ou d'un DPE appartement à partir de l'immeuble c'est la surface de l'installation à l'immeuble qu'il faut renseigner","examples":[50.0,60.0,70.0,80.0,90.0,100.0],"gt":0.0},"nombre_logement":{"type":"number","exclusiveMinimum":0.0,"title":"Nombre Logement","description":"Nombre de logements desservis par l'installation d'ECS. Dans le cas d'un DPE immeuble avec installation individuelle échantillonée : saisir le nombre de logements qui sont équipés de ce type d'installation d'ECS.","default":1.0,"examples":[1.0,2.0,3.0,4.0,5.0]},"rdim":{"type":"number","exclusiveMinimum":0.0,"title":"Rdim","description":"Nombre d'installations identiques. Ce paramètre est utilisé pour dénombrer les installations identiques considérées lors d'un calcul d'échantillonage. Ce nombre peut être non entier en cas d'application de la méthode d'échantillonage (pour une installation sans échantillonage rdim=1)","default":1.0,"examples":[1.0,2.0,3.0,4.0,5.0]},"nombre_niveau_installation_ecs":{"type":"integer","exclusiveMinimum":0.0,"title":"Nombre Niveau Installation Ecs","description":"Nombre de niveaux desservis par l'installation d'ECS (très souvent égal au nombre de niveaux du bâtiment)","examples":[1,2,3,4,5]},"fecs_saisi":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Fecs Saisi","description":"Facteur de couverture solaire pour l'ECS saisi directement lorsque celui-ci peut être justifié","examples":[0.5,0.6,0.7,0.8,0.9,1.0]},"tv_facteur_couverture_solaire_id":{"anyOf":[{"type":"integer","maximum":48.0,"minimum":1.0},{"type":"null"}],"title":"Tv Facteur Couverture Solaire Id","description":"ID de la ligne de la table utilisée pour le calcul du facteur de couverture solaire","examples":[1,2,3,4,5]},"enum_methode_saisie_fact_couv_sol_id":{"anyOf":[{"$ref":"#/components/schemas/MethodeSaisieFactCouvSol","ge":1,"le":2},{"type":"null"}],"description":"Méthode de saisie du facteur de couverture solaire pour l'ECS (saisi en direct justifié ou calculé à partir de la table)","examples":[1,2]},"enum_type_installation_solaire_id":{"anyOf":[{"$ref":"#/components/schemas/TypeInstallationSolaire","ge":1,"le":4},{"type":"null"}],"description":"Type d'installation solaire (ECS+Chauffage , ECS solaire seule etc…)","examples":[1,2,3,4]},"tv_rendement_distribution_ecs_id":{"type":"integer","maximum":8.0,"minimum":1.0,"title":"Tv Rendement Distribution Ecs Id","description":"ID de la ligne de la table utilisée pour le calcul du rendement de distribution de l'installation d'ECS","examples":[1,2,3,4,5]},"enum_bouclage_reseau_ecs_id":{"$ref":"#/components/schemas/BouclageReseauEcs","description":"Type de bouclage du réseau d'ECS pour la prise en compte des consommations d'auxiliaires de distribution","examples":[1,2,3]},"reseau_distribution_isole":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reseau Distribution Isole","description":"Est-ce que le réseau de distribution est isolé ?","examples":[true,false]},"enum_etat_composant_id":{"$ref":"#/components/schemas/EtatComposant","description":"Indique si le composant a été changé par rapport au logement initial","default":1,"examples":[1,2]}},"type":"object","required":["enum_cfg_installation_ecs_id","enum_type_installation_id","enum_methode_calcul_conso_id","surface_habitable","nombre_niveau_installation_ecs","tv_rendement_distribution_ecs_id","enum_bouclage_reseau_ecs_id"],"title":"DonneeEntree"},"argile__engine__dpe__models__dhw__installation__DonneeIntermediaire":{"properties":{"rendement_distribution":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Rendement Distribution","description":"Rendement de distribution de l'installation d'ECS","examples":[0.5,0.6,0.7,0.8,0.9,1.0],"__compute_if_none":"compute_rendement_distribution"},"fecs":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Fecs","description":"Facteur de couverture solaire de l'ECS","examples":[0.0],"__compute_if_none":"compute_fecs"},"production_ecs_solaire":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Production Ecs Solaire","description":"Production d'ECS solaire annuelle (kWh)","examples":[0.0],"__compute_if_none":"compute_production_ecs_solaire"},"besoin_ecs":{"type":"number","title":"Besoin Ecs","readOnly":true},"besoin_ecs_depensier":{"type":"number","title":"Besoin Ecs Depensier","readOnly":true},"conso_ecs":{"type":"number","title":"Conso Ecs","readOnly":true},"conso_ecs_depensier":{"type":"number","title":"Conso Ecs Depensier","readOnly":true}},"type":"object","required":["besoin_ecs","besoin_ecs_depensier","conso_ecs","conso_ecs_depensier"],"title":"DonneeIntermediaire"},"argile__engine__dpe__models__envelop__baie_ets__DonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"enum_orientation_id":{"type":"integer","maximum":5.0,"minimum":1.0,"title":"Enum Orientation Id","description":"orientation de la baie"},"enum_inclinaison_vitrage_id":{"type":"integer","maximum":4.0,"minimum":1.0,"title":"Enum Inclinaison Vitrage Id","description":"inclinaison du vitrage"},"surface_totale_baie":{"type":"number","title":"Surface Totale Baie","description":"surface totale de paroi vitrée pour ce type de vitrage et sur cette orientation (nombre de baies x surface unitaire). La surface est la surface de la baie dans son ensemble. (vitrage + menuiserie inclus)","examples":[2.0],"gt":0.0},"nb_baie":{"type":"number","exclusiveMinimum":0.0,"title":"Nb Baie","description":"nombre de baies"},"enum_etat_composant_id":{"$ref":"#/components/schemas/EtatComposant","description":"indique si le composant a été changé par rapport au logement initial","default":1}},"type":"object","required":["enum_orientation_id","enum_inclinaison_vitrage_id","surface_totale_baie","nb_baie"],"title":"DonneeEntree"},"argile__engine__dpe__models__envelop__baie_vitree__DonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"reference_ouvrant":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Ouvrant","description":"référence de l'ouvrant du diagnostic dont cette baie est issue. Champ Argile, non exporté dans le DPE officiel.","examples":["fenetre-1"],"export_to_dpe":false},"reference_paroi":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Paroi","description":"référence projet de l'objet paroi qui est associé à l'objet baie vitrée. La codification et utilisation des références peut différer entre logiciels mais il devrait être attendu que reference_paroi est la référence d'une paroi de type mur,plancher_haut ou plancher_bas","examples":["ref-paroi-1"]},"reference_wall_zone":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Wall Zone","description":"référence projet de la zone de paroi qui contient cette baie vitrée. Utilisée pour soustraire la surface de la baie de la surface déperditive de sa zone parent. Champ Argile, non exporté dans le DPE officiel.","examples":["zone-1"],"export_to_dpe":false},"reference_lnc":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Lnc","description":"référence projet de l'objet local non chauffé qui peut être associé à la paroi. Dans le cas d'un espace tampon solarisé cette référence est celle de l'espace tampon.","examples":["ref-garage-1"]},"tv_coef_reduction_deperdition_id":{"anyOf":[{"type":"integer","maximum":283.0,"minimum":1.0},{"type":"null"}],"title":"Tv Coef Reduction Deperdition Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de reduction des deperditions","examples":[1]},"surface_aiu":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Aiu","description":"surface aiu : surface des parois du local non chauffé qui donnent sur des locaux chauffés.","examples":[null]},"surface_aue":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Surface Aue","description":"surface aue : surface des parois du local non chauffé en contact avec l'extérieur ou le sol","examples":[null]},"enum_cfg_isolation_lnc_id":{"anyOf":[{"$ref":"#/components/schemas/CfgIsolationLnc"},{"type":"null"}],"description":"configuration de l'adjacence avec local non chauffé : local chauffé (non) isolé/local non chauffé (non) isolé/orientation véranda qui permet de calculer le b","examples":[null]},"surface_totale_baie":{"type":"number","title":"Surface Totale Baie","description":"surface totale de paroi vitrée pour ce type de vitrage et sur cette orientation (nombre de baies x surface unitaire). La surface est la surface de la baie dans son ensemble. (vitrage + menuiserie inclus)","examples":[0.64],"gt":0.0},"nb_baie":{"type":"number","exclusiveMinimum":0.0,"title":"Nb Baie","description":"nombre de baies","examples":[1.0]},"tv_ug_id":{"anyOf":[{"type":"integer","maximum":182.0,"minimum":1.0},{"type":"null"}],"title":"Tv Ug Id","description":"id de la ligne de la table utilisée pour le calcul du coefficent de transmission thermique du vitrage ug","examples":[8]},"enum_type_vitrage_id":{"$ref":"#/components/schemas/TypeVitrageEnum","description":"type de vitrage","examples":[2],"ge":1,"le":6},"enum_inclinaison_vitrage_id":{"$ref":"#/components/schemas/InclinaisonVitrageEnum","description":"inclinaison du vitrage","examples":[3],"ge":1,"le":4},"enum_type_gaz_lame_id":{"anyOf":[{"$ref":"#/components/schemas/TypeGazLameEnum","ge":1,"le":3},{"type":"null"}],"description":"type de gaz présent dans la lame","examples":[1]},"epaisseur_lame":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Epaisseur Lame","description":"épaisseur de la lame","examples":[16]},"vitrage_vir":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Vitrage Vir","description":"est-ce que le vitrage est à isolation renforcée ?","examples":[0]},"enum_methode_saisie_perf_vitrage_id":{"$ref":"#/components/schemas/MethodeSaisiePerfVitrage","description":"méthode de saisie des caractéristiques thermiques des vitrage (valeurs forfaitaires ou saisies en direct lorsque issu d'un justificatif)","examples":[1],"ge":1,"le":15},"ug_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Ug Saisi","description":"coefficient de transmission thermique du vitrage saisi directement (nécessite une justification)","examples":[null]},"tv_uw_id":{"anyOf":[{"type":"integer","maximum":723.0,"minimum":1.0},{"type":"null"}],"title":"Tv Uw Id","description":"id de la ligne de la table utilisée pour le calcul du coefficent de transmission thermique de la baie uw. Dans le cas d'une interpolation/extrapolation prendre la valeur tabulée la plus proche","examples":[530]},"enum_type_materiaux_menuiserie_id":{"$ref":"#/components/schemas/TypeMateriauxMenuiserieEnum","description":"type de matériaux des menuiseries","examples":[3],"ge":1,"le":7},"enum_type_baie_id":{"$ref":"#/components/schemas/TypeBaieEnum","description":"type de baie","examples":[4],"ge":1,"le":8},"uw_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uw Saisi","description":"coefficient de transmission thermique de la baie saisi directement (nécessite une justification)","examples":[null]},"double_fenetre":{"type":"boolean","title":"Double Fenetre","description":"est-ce qu'il s'agit d'une double fenêtre ?","examples":[false]},"uw_1":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uw 1","description":"Uw de la première fenêtre dans le cas d'une double fenêtre (par défaut la première fenêtre est toujours celle avec le Uw le plus élevé -> plus performante)","examples":[2.6]},"sw_1":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Sw 1","description":"Sw de la première fenêtre dans le cas d'une double fenêtre (par défaut la première fenêtre est toujours celle avec le Uw le plus élevé -> plus performante)","examples":[0.44]},"uw_2":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uw 2","description":"Uw de la deuxième fenêtre dans le cas d'une double fenêtre (par défaut la deuxième fenêtre est toujours celle avec le Uw le plus faible -> moins performante)","examples":[null]},"sw_2":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Sw 2","description":"Sw de la deuxième fenêtre dans le cas d'une double fenêtre (par défaut la deuxième fenêtre est toujours celle avec le Uw le plus faible -> moins performante)","examples":[null]},"tv_deltar_id":{"anyOf":[{"type":"integer","maximum":7.0,"minimum":1.0},{"type":"null"}],"title":"Tv Deltar Id","description":"id de la ligne de la table utilisée pour le calcul du delta de resistance de la protection mobile. (volets persienne etc..)","examples":[null]},"tv_ujn_id":{"anyOf":[{"type":"integer","maximum":236.0,"minimum":1.0},{"type":"null"}],"title":"Tv Ujn Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de transmission de la baie jour/nuit Ujn. Dans le cas d'une interpolation/extrapolation prendre la valeur tabulée la plus proche","examples":[null]},"enum_type_fermeture_id":{"$ref":"#/components/schemas/TypeFermeture","description":"type de fermeture associé à la baie (volets/persiennes etc..)","examples":[1],"ge":1,"le":8},"presence_protection_solaire_hors_fermeture":{"type":"boolean","title":"Presence Protection Solaire Hors Fermeture","description":"y a-t-il une protection solaire qui n'est pas considérée comme une fermeture (R=0 pour le calcul de Ujn) mais qui est prise en compte pour le calcul du confort d'été.","default":false,"examples":[false]},"ujn_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Ujn Saisi","description":"coefficient de transmission thermique de la baie avec ses protection solaires saisi directement (nécessite une justification)","examples":[null]},"presence_retour_isolation":{"type":"boolean","title":"Presence Retour Isolation","description":"y a-t-il un retour d'isolant de la paroi opaque sur la baie ?","examples":[false]},"presence_joint":{"type":"boolean","title":"Presence Joint","description":"y a-t-il présence de joints sur la baie (utilisé pour le calcul de la perméabilité)","default":false,"examples":[false]},"largeur_dormant":{"type":"number","title":"Largeur Dormant","description":"largeur du dormant de la baie (cm)","examples":[5],"gt":0.0},"tv_sw_id":{"anyOf":[{"type":"integer","maximum":173.0,"minimum":1.0},{"type":"null"}],"title":"Tv Sw Id","description":"id de la ligne de la table utilisée pour le calcul du facteur solaire de la baie sw","examples":[6]},"sw_saisi":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Sw Saisi","description":"facteur solaire de la baie saisi directement (nécessite une justification)","examples":[null]},"enum_type_pose_id":{"$ref":"#/components/schemas/TypePose","description":"type de pose de la baie","examples":[1],"ge":1,"le":4},"enum_orientation_id":{"$ref":"#/components/schemas/Orientation","description":"orientation de la baie","examples":[4],"ge":1,"le":5},"tv_coef_masque_proche_id":{"type":"integer","maximum":19.0,"minimum":1.0,"title":"Tv Coef Masque Proche Id","description":"id de la ligne de la table utilisée pour le calcul du coefficent de masque proche","examples":[19]},"tv_coef_masque_lointain_homogene_id":{"anyOf":[{"type":"integer","maximum":12.0,"minimum":1.0},{"type":"null"}],"title":"Tv Coef Masque Lointain Homogene Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de masque homogène lointain","examples":[null]},"enum_type_adjacence_id":{"$ref":"#/components/schemas/TypeAdjacence","description":"type d'adjacence de la paroi","examples":[10]},"masque_lointain_non_homogene_collection":{"anyOf":[{"$ref":"#/components/schemas/MasqueLointainNonHomogeneCollection"},{"type":"null"}]},"enum_etat_composant_id":{"$ref":"#/components/schemas/EtatComposant","description":"indique si le composant a été changé par rapport au logement initial","default":1,"examples":[1]},"annee_installation":{"anyOf":[{"type":"integer","maximum":2050.0,"minimum":1900.0},{"type":"null"}],"title":"Annee Installation","description":"Année d'installation de la fenêtre si différente de l'année de construction","examples":[2020],"export_to_dpe":false}},"type":"object","required":["surface_totale_baie","nb_baie","enum_type_vitrage_id","enum_inclinaison_vitrage_id","enum_methode_saisie_perf_vitrage_id","enum_type_materiaux_menuiserie_id","enum_type_baie_id","double_fenetre","enum_type_fermeture_id","presence_retour_isolation","largeur_dormant","enum_type_pose_id","enum_orientation_id","tv_coef_masque_proche_id","enum_type_adjacence_id"],"title":"DonneeEntree"},"argile__engine__dpe__models__envelop__baie_vitree__DonneeIntermediaire":{"properties":{"b":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"B","description":"coefficient de réduction des déperditions de la baie vitrée","__compute_if_none":"compute_b"},"ug":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Ug","description":"Ug final de la baie : soit saisi directement soit issu des tables forfaitaires","__compute_if_none":"compute_ug"},"uw":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uw","description":"Uw final de la baie : soit saisi directement soit issu des tables forfaitaires","__compute_if_none":"compute_uw"},"ujn":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Ujn","description":"Ujn final de la baie : soit saisi directement soit issu des tables forfaitaires","__compute_if_none":"compute_ujn"},"u_menuiserie":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"U Menuiserie","description":"U final de la menuiserie utilisé dans le calcul : soit Ujn dans le cas d'une baie avec protection solaire soit Uw dans le cas d'une baie sans protection solaire","__compute_if_none":"compute_u_menuiserie"},"sw":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Sw","description":"sw final de la baie: soit saisi directement soit issu des tables forfaitaires","__compute_if_none":"compute_sw"},"fe1":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Fe1","description":"fe1 facteur d'ensoleillement calculé à partir de la table sur les masques proches","__compute_if_none":"compute_fe1"},"fe2":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Fe2","description":"fe2 facteur d'ensoleillement calculé soit à l'aide de la méthode masque lointain homogène ou méthode des masques lointains proches","__compute_if_none":"compute_fe2"},"sse":{"type":"number","title":"Sse","readOnly":true},"qualite_isolation":{"anyOf":[{"$ref":"#/components/schemas/QualityType"},{"type":"null"}],"readOnly":true}},"type":"object","required":["sse","qualite_isolation"],"title":"DonneeIntermediaire"},"argile__engine__dpe__models__envelop__baie_vitree_double_fenetre__DonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"tv_ug_id":{"anyOf":[{"type":"integer","maximum":182.0,"minimum":1.0},{"type":"null"}],"title":"Tv Ug Id","description":"id de la ligne de la table utilisée pour le calcul du coefficent de transmission thermique du vitrage ug"},"enum_type_vitrage_id":{"$ref":"#/components/schemas/TypeVitrageEnum","description":"type de vitrage","ge":1,"le":6},"enum_inclinaison_vitrage_id":{"$ref":"#/components/schemas/InclinaisonVitrageEnum","description":"inclinaison du vitrage","ge":1,"le":4},"enum_type_gaz_lame_id":{"anyOf":[{"$ref":"#/components/schemas/TypeGazLameEnum","ge":1,"le":3},{"type":"null"}],"description":"type de gaz présent dans la lame"},"epaisseur_lame":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Epaisseur Lame","description":"épaisseur de la lame"},"vitrage_vir":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Vitrage Vir","description":"est-ce que le vitrage est à isolation renforcée ?"},"enum_methode_saisie_perf_vitrage_id":{"$ref":"#/components/schemas/MethodeSaisiePerfVitrage","description":"méthode de saisie des caractéristiques thermiques des vitrages (valeurs forfaitaires ou saisies en direct lorsque issu d'un justificatif)","ge":1,"le":15},"ug_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Ug Saisi","description":"coefficient de transmission thermique du vitrage saisi directement (nécessite une justification)"},"tv_uw_id":{"anyOf":[{"type":"integer","maximum":723.0,"minimum":1.0},{"type":"null"}],"title":"Tv Uw Id","description":"id de la ligne de la table utilisée pour le calcul du coefficent de transmission thermique de la baie uw. Dans le cas d'une interpolation/extrapolation prendre la valeur tabulée la plus proche"},"enum_type_materiaux_menuiserie_id":{"$ref":"#/components/schemas/TypeMateriauxMenuiserieEnum","description":"type de matériaux des menuiseries","ge":1,"le":7},"enum_type_baie_id":{"$ref":"#/components/schemas/TypeBaieEnum","description":"type de baie","ge":1,"le":8},"uw_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uw Saisi","description":"coefficient de transmission thermique de la baie saisi directement (nécessite une justification)"},"tv_sw_id":{"anyOf":[{"type":"integer","maximum":173.0,"minimum":1.0},{"type":"null"}],"title":"Tv Sw Id","description":"id de la ligne de la table utilisée pour le calcul du facteur solaire de la baie sw"},"sw_saisi":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Sw Saisi","description":"facteur solaire de la baie saisi directement (nécessite une justification)"},"enum_type_pose_id":{"type":"integer","maximum":4.0,"minimum":1.0,"title":"Enum Type Pose Id","description":"type de pose de la baie"},"annee_installation":{"anyOf":[{"type":"integer","maximum":2050.0,"minimum":1900.0},{"type":"null"}],"title":"Annee Installation","description":"Année d'installation de la fenêtre si différente de l'année de construction","examples":[2020],"export_to_dpe":false}},"type":"object","required":["enum_type_vitrage_id","enum_inclinaison_vitrage_id","enum_methode_saisie_perf_vitrage_id","enum_type_materiaux_menuiserie_id","enum_type_baie_id","enum_type_pose_id"],"title":"DonneeEntree"},"argile__engine__dpe__models__envelop__baie_vitree_double_fenetre__DonneeIntermediaire":{"properties":{"ug":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Ug","description":"Ug final de la baie : soit saisi directement soit issu des tables forfaitaires","__compute_if_none":"compute_ug"},"uw":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uw","description":"Uw final de la baie : soit saisi directement soit issu des tables forfaitaires","__compute_if_none":"compute_uw"},"sw":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Sw","description":"sw final de la baie: soit saisi directement soit issu des tables forfaitaires","__compute_if_none":"compute_sw"}},"type":"object","title":"DonneeIntermediaire"},"argile__engine__dpe__models__envelop__ets__DonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"tv_coef_reduction_deperdition_id":{"anyOf":[{"type":"integer","maximum":283.0,"minimum":1.0},{"type":"null"}],"title":"Tv Coef Reduction Deperdition Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de reduction des deperditions","examples":[272]},"enum_cfg_isolation_lnc_id":{"$ref":"#/components/schemas/CfgIsolationLnc","description":"configuration de l'adjacence avec local non chauffé : local chauffé (non) isolé/local non chauffé (non) isolé/orientation véranda qui permet de calculer le b","examples":[9]},"tv_coef_transparence_ets_id":{"type":"integer","maximum":21.0,"minimum":1.0,"title":"Tv Coef Transparence Ets Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de transparence de l'espace tampon solarisé","examples":[1]},"enum_etat_composant_id":{"$ref":"#/components/schemas/EtatComposant","description":"indique si le composant a été changé par rapport au logement initial","default":1,"examples":[1]}},"type":"object","required":["enum_cfg_isolation_lnc_id","tv_coef_transparence_ets_id"],"title":"DonneeEntree"},"argile__engine__dpe__models__envelop__ets__DonneeIntermediaire":{"properties":{"coef_transparence_ets":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Coef Transparence Ets","description":"coefficient de transparence de l'espace tampon solarisé T (déterminé à partir des parois vitrées de l'espace tampon solarisé)","__compute_if_none":"compute_coef_transparence"},"bver":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Bver","description":"coefficient de reduction des déperditions de l'espace tampon solarisé","__compute_if_none":"compute_bver"}},"type":"object","title":"DonneeIntermediaire"},"argile__engine__dpe__models__envelop__mur__DonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"reference_lnc":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Lnc","description":"reference projet de l'objet local non chauffé qui peut être associé à la paroi . Dans le cas d'un espace tampon solarisé cette référence est celle de l'espace tampon.","examples":["ref-garage-1"]},"reference_parois":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":255},{"type":"null"}],"title":"Reference Parois","description":"Référence du plancher bas (préfix plancher_bas) ou du plancher haut (préfix plancher_haut) associé à la paroi","examples":[["plancher_bas-1"]]},"coordinates":{"anyOf":[{"prefixItems":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":3,"minItems":3},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":3,"minItems":3}],"type":"array","maxItems":2,"minItems":2},{"type":"null"}],"title":"Coordinates","description":"Coordonnées de la paroi"},"tv_coef_reduction_deperdition_id":{"anyOf":[{"type":"integer","maximum":283.0,"minimum":1.0},{"type":"null"}],"title":"Tv Coef Reduction Deperdition Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de reduction des deperditions","examples":[1]},"surface_aiu":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Aiu","description":"surface aiu : surface des parois du local non chauffé qui donnent sur des locaux chauffés."},"surface_aue":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Surface Aue","description":"surface aue : surface des parois du local non chauffé en contact avec l'extérieur ou le sol"},"enum_cfg_isolation_lnc_id":{"anyOf":[{"$ref":"#/components/schemas/CfgIsolationLnc"},{"type":"null"}],"description":"configuration de l'adjacence avec local non chauffé : local chauffé (non) isolé/local non chauffé (non) isolé/orientation véranda qui permet de calculer le b"},"enum_type_adjacence_id":{"anyOf":[{"$ref":"#/components/schemas/TypeAdjacence"},{"type":"null"}],"description":"type d'adjacence de la paroi","examples":[1]},"enum_orientation_id":{"anyOf":[{"$ref":"#/components/schemas/Orientation","ge":1,"le":5},{"type":"null"}],"description":"orientation du mur","examples":[2]},"surface_paroi_totale":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Paroi Totale","description":"Surface de paroi opaque + paroi vitrée de la paroi + surface des portes","examples":[24.03]},"surface_paroi_opaque":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Paroi Opaque","description":"Surface de paroi opaque (sans baies vitrées sans portes)","examples":[18.01]},"umur0_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Umur0 Saisi","description":"Coefficient de transmission thermique du mur non isolé Saisi en direct par l'utilisateur (à justifier). Coefficient de transmission thermique du mur non isolé (avec pris en compte de l'enduit et du doublage). C'est bien le U du mur \"nu\" avec l'ensemble des éléments hors isolations rapportée"},"tv_umur0_id":{"anyOf":[{"type":"integer","maximum":157.0,"minimum":1.0},{"type":"null"}],"title":"Tv Umur0 Id","description":"id de la ligne de la table utilisée pour le calcul du Umur0","examples":[11]},"epaisseur_structure":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Epaisseur Structure","description":"epaisseur de la partie structure de la paroi (sans l'isolation intérieure ou extérieure) (cm)","examples":[65.0]},"enum_materiaux_structure_mur_id":{"anyOf":[{"$ref":"#/components/schemas/MateriauxStructureMur","ge":1,"le":27},{"type":"null"}],"description":"matériaux de structure de la paroi","examples":[2]},"enum_methode_saisie_u0_id":{"anyOf":[{"$ref":"#/components/schemas/MethodeSaisieU0","ge":1,"le":5},{"type":"null"}],"description":"methode de saisie de U0 (inclus les justifications à produire en cas de saisie directe)","examples":[2]},"paroi_ancienne":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Paroi Ancienne","description":"la paroi est une paroi ancienne sur laquelle a été appliquée un enduit isolant (renduit=0,7m².K.W-1) 0 : non 1 : oui. (Attention ! nom de propriété pas tout à fait explicite) OBSOLETE -> remplacé par enduit_isolant_paroi_ancienne","examples":[false]},"enduit_isolant_paroi_ancienne":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Enduit Isolant Paroi Ancienne","description":"est ce qu'un enduit isolant est présent sur la paroi si celle-ci est une paroi ancienne (pierres, terre, mur à colombage, brique ancienne) (renduit=0,7m².K.W-1) 0 : non 1 : oui. (renommage de la propriété paroi_ancienne -> enduit_isolant_paroi_ancienne)"},"umur_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Umur Saisi","description":"Coefficient de transmission thermique du mur saisi en direct par le diagnostiqueur(à justifier)"},"enum_type_doublage_id":{"anyOf":[{"$ref":"#/components/schemas/TypeDoublage","ge":1,"le":5},{"type":"null"}],"description":"type de doublage intérieur du mur.(précision de la nature du doublage ou de l'épaisseur de la lame d'air en cas de doublage indéterminé.)","examples":[3]},"enum_type_isolation_id":{"anyOf":[{"$ref":"#/components/schemas/argile__engine__dpe__enum_types__type_isolation__TypeIsolation","ge":1,"le":9},{"type":"null"}],"description":"type d'isolation du mur (ITI/ITE…..)"},"enum_periode_isolation_id":{"anyOf":[{"$ref":"#/components/schemas/PeriodeIsolationEnum","ge":1,"le":10},{"type":"null"}],"description":"periode d'isolation à saisir si différent de la période de construction (cas d'une rénovation de la paroi)"},"resistance_isolation":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Resistance Isolation","description":"resistance isolation"},"epaisseur_isolation":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Epaisseur Isolation","description":"epaisseur de l'isolation (si plusieurs isolant différents sommer leurs épaisseurs) (cm)"},"lambda_isolation":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Lambda Isolation","description":"conductivité thermique de l'isolant (W/m.K)"},"tv_umur_id":{"anyOf":[{"type":"integer","maximum":48.0,"minimum":1.0},{"type":"null"}],"title":"Tv Umur Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de transmission thermique umur"},"enum_methode_saisie_u_id":{"anyOf":[{"$ref":"#/components/schemas/MethodeSaisieU","ge":1,"le":10},{"type":"null"}],"description":"methode de saisie du U (inclus les justifications à produire en cas de saisie directe)","examples":[1]},"enum_etat_composant_id":{"anyOf":[{"$ref":"#/components/schemas/EtatComposant"},{"type":"null"}],"description":"indique si le composant a été changé par rapport au logement initial"}},"type":"object","title":"DonneeEntree"},"argile__engine__dpe__models__envelop__mur__DonneeIntermediaire":{"properties":{"b":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"B","description":"coefficient de réduction des déperditions du mur","__compute_if_none":"compute_b"},"umur":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Umur","description":"Coefficient de transmission thermique du mur","__compute_if_none":"compute_umur"},"umur0":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Umur0","description":"Coefficient de transmission thermique du mur non isolé final (avec pris en compte de l'enduit et du doublage). C'est bien le U du mur \"nu\" avec l'ensemble des éléments hors isolations rapportée","__compute_if_none":"compute_umur0"},"qualite_isolation":{"anyOf":[{"$ref":"#/components/schemas/QualityType"},{"type":"null"}],"readOnly":true},"surface_isolable":{"type":"number","title":"Surface Isolable","description":"Returns the surface of the wall that can be insulated.\nThis is the surface of the opaque part of the wall.","readOnly":true},"surface_deperditive":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Surface Deperditive","description":"Returns the surface of the wall that contributes to heat loss.\nThis is the surface of the opaque part of the wall.","readOnly":true}},"type":"object","required":["qualite_isolation","surface_isolable","surface_deperditive"],"title":"DonneeIntermediaire"},"argile__engine__dpe__models__envelop__plancher_bas__DonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"reference_lnc":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Lnc","description":"Référence projet de l'objet local non chauffé qui peut être associé à la paroi . Dans le cas d'un espace tampon solarisé cette référence est celle de l'espace tampon.","examples":["LNC-1"]},"tv_coef_reduction_deperdition_id":{"anyOf":[{"type":"integer","maximum":283.0,"minimum":1.0},{"type":"null"}],"title":"Tv Coef Reduction Deperdition Id","description":"ID de la ligne de la table utilisée pour le calcul de coefficient de reduction des déperditions","examples":[6]},"surface_aiu":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Aiu","description":"Surface aiu : surface des parois du local non chauffé qui donnent sur des locaux chauffés.","examples":[1.0]},"surface_aue":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Surface Aue","description":"Surface aue : surface des parois du local non chauffé en contact avec l'extérieur ou le sol","examples":[1.0]},"enum_cfg_isolation_lnc_id":{"anyOf":[{"$ref":"#/components/schemas/CfgIsolationLnc"},{"type":"null"}],"description":"Configuration de l'adjacence avec local non chauffé : local chauffé (non) isolé/local non chauffé (non) isolé/orientation véranda qui permet de calculer le b"},"surface_paroi_opaque":{"type":"number","title":"Surface Paroi Opaque","description":"Surface de paroi opaque","examples":[66.04],"gt":0.0},"upb0_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Upb0 Saisi","description":"Coefficient de transmission thermique du planchers bas non isolé Saisi en direct par l'utilisateur (à justifier)"},"tv_upb0_id":{"anyOf":[{"type":"integer","maximum":12.0,"minimum":1.0},{"type":"null"}],"title":"Tv Upb0 Id","description":"ID de la ligne de la table utilisée pour le calcul du coefficient de transmission thermique upb0","examples":[9]},"enum_type_plancher_bas_id":{"$ref":"#/components/schemas/TypePlancherBas","description":"Type de plancher bas","examples":[9],"ge":1,"le":14},"enum_methode_saisie_u0_id":{"$ref":"#/components/schemas/MethodeSaisieU0","description":"Méthode de saisie de U0 (inclus les justifications à produire en cas de saisie directe)","examples":[2],"ge":1,"le":5},"upb_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Upb Saisi","description":"Coefficient de transmission thermique du planchers_bas saisi en direct par le diagnostiqueur(à justifier)","examples":[0.1]},"enum_type_isolation_id":{"$ref":"#/components/schemas/argile__engine__dpe__enum_types__type_isolation__TypeIsolation","description":"Type d'isolation du plancher bas (ITI/ITE…..)","examples":[2],"ge":1,"le":9},"enum_periode_isolation_id":{"anyOf":[{"$ref":"#/components/schemas/PeriodeIsolationEnum","ge":1,"le":10},{"type":"null"}],"description":"Periode d'isolation à saisir si différent de la période de construction (cas d'une rénovation de la paroi)"},"epaisseur_isolation":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Epaisseur Isolation","description":"Epaisseur de l'isolation (si plusieurs isolant différents sommer leurs épaisseurs)"},"lambda_isolation":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Lambda Isolation","description":"Conductivité thermique de l'isolant (W/m.K)"},"tv_upb_id":{"anyOf":[{"type":"integer","maximum":48.0,"minimum":1.0},{"type":"null"}],"title":"Tv Upb Id","description":"ID de la ligne de la table utilisée pour le calcul du coefficient de transmission thermique upb"},"enum_methode_saisie_u_id":{"$ref":"#/components/schemas/MethodeSaisieU","description":"Méthode de saisie du U (inclus les justifications à produire en cas de saisie directe)","examples":[1],"ge":1,"le":10},"calcul_ue":{"type":"boolean","title":"Calcul Ue","description":"Est ce que le plancher bas est passé par le calcul du Ue ?","examples":[true]},"perimetre_ue":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Perimetre Ue","description":"Périmètre du plancher lorsqu'il est en contact avec un terre plein/sous sol non chauffé ou vide sanitaire (à renseigner lorsque calcul du Ue)","examples":[205.0]},"surface_ue":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Ue","description":"Surface de plancher qui est en contact avec un terre plein/sous sol non chauffé ou vide sanitaire (à renseigner lorsque calcul du Ue)","examples":[205.0]},"ue":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Ue","description":"Ue coefficient remplaçant Upb dans le cas sur terre plein","examples":[0.429]},"enum_type_adjacence_id":{"$ref":"#/components/schemas/TypeAdjacence","description":"Type d'adjacence de la paroi","examples":[6]},"enum_etat_composant_id":{"$ref":"#/components/schemas/EtatComposant","description":"Indique si le composant a été changé par rapport au logement initial","default":1},"resistance_isolation":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Resistance Isolation","description":"Résistance thermique de l'isolation (si plusieurs isolant différents sommer leurs résistances)"}},"type":"object","required":["surface_paroi_opaque","enum_type_plancher_bas_id","enum_methode_saisie_u0_id","enum_type_isolation_id","enum_methode_saisie_u_id","calcul_ue","enum_type_adjacence_id"],"title":"DonneeEntree"},"argile__engine__dpe__models__envelop__plancher_bas__DonneeIntermediaire":{"properties":{"b":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"B","description":"Coefficient de réduction des déperditions du plancher bas","__compute_if_none":"compute_b"},"upb":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Upb","description":"Coefficient de transmission thermique du plancher bas Upb","__compute_if_none":"compute_upb"},"upb_final":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Upb Final","description":"Coefficient de transmission thermique du plancher bas (Ue ou Upb en fonction du type d'adjacence)","__compute_if_none":"compute_upb_final"},"upb0":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Upb0","description":"Coefficient de transmission thermique du plancher bas non isolé final","__compute_if_none":"compute_upb0"},"qualite_isolation":{"anyOf":[{"$ref":"#/components/schemas/QualityType"},{"type":"null"}],"readOnly":true}},"type":"object","required":["qualite_isolation"],"title":"DonneeIntermediaire"},"argile__engine__dpe__models__envelop__plancher_haut__DonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"reference_lnc":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Lnc","description":"Référence projet de l'objet local non chauffé qui peut être associé à la paroi. Dans le cas d'un espace tampon solarisé cette référence est celle de l'espace tampon."},"tv_coef_reduction_deperdition_id":{"anyOf":[{"type":"integer","maximum":283.0,"minimum":1.0},{"type":"null"}],"title":"Tv Coef Reduction Deperdition Id","description":"ID de la ligne de la table utilisée pour le calcul de coefficient de reduction des déperditions","examples":[1]},"surface_aiu":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Aiu","description":"Surface aiu : surface des parois du local non chauffé qui donnent sur des locaux chauffés."},"surface_aue":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Surface Aue","description":"Surface aue : surface des parois du local non chauffé en contact avec l'extérieur ou le sol"},"enum_cfg_isolation_lnc_id":{"anyOf":[{"$ref":"#/components/schemas/CfgIsolationLnc"},{"type":"null"}],"description":"Configuration de l'adjacence avec local non chauffé : local chauffé (non) isolé/local non chauffé (non) isolé/orientation véranda qui permet de calculer le b"},"surface_paroi_opaque":{"type":"number","title":"Surface Paroi Opaque","description":"Surface de paroi opaque","examples":[66.04],"gt":0.0},"uph0_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uph0 Saisi","description":"Coefficient de transmission thermique du planchers hauts non isolé Saisi en direct par l'utilisateur (à justifier)"},"tv_uph0_id":{"anyOf":[{"type":"integer","maximum":14.0,"minimum":1.0},{"type":"null"}],"title":"Tv Uph0 Id","description":"ID de la ligne de la table utilisée pour le calcul du coefficient de transmission thermique uph0","examples":[8]},"enum_type_plancher_haut_id":{"$ref":"#/components/schemas/TypePlancherHaut","description":"Type de plancher haut","examples":[8]},"enum_methode_saisie_u0_id":{"$ref":"#/components/schemas/MethodeSaisieU0","description":"Methode de saisie de U0 (inclus les justifications à produire en cas de saisie directe)","examples":[2],"ge":1,"le":5},"uph_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uph Saisi","description":"Coefficient de transmission thermique du planchers_hauts saisi en direct par le diagnostiqueur(à justifier)"},"enum_type_isolation_id":{"$ref":"#/components/schemas/argile__engine__dpe__enum_types__type_isolation__TypeIsolation","description":"Type d'isolation du plancher haut (ITI/ITE…..)","examples":[2],"ge":1,"le":9},"enum_periode_isolation_id":{"anyOf":[{"$ref":"#/components/schemas/PeriodeIsolationEnum","ge":1,"le":10},{"type":"null"}],"description":"Période d'isolation à saisir si différent de la période de construction (cas d'une rénovation de la paroi)"},"epaisseur_isolation":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Epaisseur Isolation","description":"Epaisseur de l'isolation (si plusieurs isolant différents sommer leurs épaisseurs)"},"lambda_isolation":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Lambda Isolation","description":"Conductivité thermique de l'isolant (W/m.K)"},"tv_uph_id":{"anyOf":[{"type":"integer","maximum":96.0,"minimum":1.0},{"type":"null"}],"title":"Tv Uph Id","description":"ID de la ligne de la table utilisée pour le calcul du coefficient de transmission thermique uph"},"enum_methode_saisie_u_id":{"$ref":"#/components/schemas/MethodeSaisieU","description":"Méthode de saisie du U (inclus les justifications à produire en cas de saisie directe)","examples":[1],"ge":1,"le":10},"enum_etat_composant_id":{"$ref":"#/components/schemas/EtatComposant","description":"Indique si le composant a été changé par rapport au logement initial","default":1},"resistance_isolation":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Resistance Isolation","description":"Résistance thermique de l'isolation (si plusieurs isolant différents sommer leurs résistances)"},"enum_type_adjacence_id":{"$ref":"#/components/schemas/TypeAdjacence","description":"Type d'adjacence avec local non chauffé (LNC)","default":12,"examples":[1]}},"type":"object","required":["surface_paroi_opaque","enum_type_plancher_haut_id","enum_methode_saisie_u0_id","enum_type_isolation_id","enum_methode_saisie_u_id"],"title":"DonneeEntree"},"argile__engine__dpe__models__envelop__plancher_haut__DonneeIntermediaire":{"properties":{"b":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"B","description":"Coefficient de réduction des déperditions du planchers hauts","__compute_if_none":"compute_b"},"uph":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uph","description":"Coefficient de transmission thermique du planchers hauts uph","__compute_if_none":"compute_uph"},"uph0":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uph0","description":"Coefficient de transmission thermique du planchers hauts non isolé final","__compute_if_none":"compute_uph0"}},"type":"object","title":"DonneeIntermediaire"},"argile__engine__dpe__models__envelop__pont_thermique__DonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels. Pour les ponts thermique il est laissé la possibilité d'avoir 2 références complémentaires correspondant aux référence de chacun des deux objets concernés par le pont thermique"},"reference_1":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference 1","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels. Pour les ponts thermique il est laissé la possibilité d'avoir 2 références complémentaires correspondant aux référence de chacun des deux objets concernés par le pont thermique"},"reference_2":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference 2","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels. Pour les ponts thermique il est laissé la possibilité d'avoir 2 références complémentaires correspondant aux référence de chacun des deux objets concernés par le pont thermique"},"tv_pont_thermique_id":{"anyOf":[{"type":"integer","maximum":137.0,"minimum":1.0},{"type":"null"}],"title":"Tv Pont Thermique Id","description":"ID de la ligne de la table utilisée pour le calcul de la valeur du pont thermique k","examples":[30]},"pourcentage_valeur_pont_thermique":{"type":"number","maximum":1.0,"minimum":0.5,"title":"Pourcentage Valeur Pont Thermique","description":"Pourcentage de prise en compte de la valeur du pont thermique (dans le cas des pont thermiques refend/mur et plancher intermediaire/mur cette valeur est à 0,5 au lieu de 1)","default":1,"examples":[0.5]},"l":{"type":"number","title":"L","description":"Longueur du pont thermique(m)","examples":[7.2],"gt":0.0},"enum_methode_saisie_pont_thermique_id":{"anyOf":[{"$ref":"#/components/schemas/MethodeSaisieK"},{"type":"null"}],"description":"Méthode de saisie des ponts thermiques"},"enum_type_liaison_id":{"$ref":"#/components/schemas/TypeLiaison","description":"Type de liaison de pont thermique","examples":[1],"ge":1,"le":5},"k_saisi":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"K Saisi","description":"Valeur du pont thermique saisie"},"enum_etat_composant_id":{"$ref":"#/components/schemas/EtatComposant","description":"Indique si le composant a été changé par rapport au logement initial","default":1}},"type":"object","required":["l","enum_type_liaison_id"],"title":"DonneeEntree"},"argile__engine__dpe__models__envelop__pont_thermique__DonneeIntermediaire":{"properties":{"k":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"K","description":"coefficient linéique de pont thermique ψ (W/(m·K))","examples":[0.2],"__compute_if_none":"compute_k"}},"type":"object","title":"DonneeIntermediaire","description":":ivar k: valeur du pont thermique"},"argile__engine__dpe__models__envelop__porte__DonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"reference_paroi":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Paroi","description":"reference projet de l'objet paroi qui est associé à l'objet porte","examples":["ref_paroi"]},"reference_wall_zone":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Wall Zone","description":"référence projet de la zone de paroi qui contient cette porte. Utilisée pour soustraire la surface de la porte de la surface déperditive de sa zone parent. Champ Argile, non exporté dans le DPE officiel.","examples":["zone-1"],"export_to_dpe":false},"reference_lnc":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Lnc","description":"reference projet de l'objet local non chauffé qui peut être associé à la paroi . Dans le cas d'un espace tampon solarisé cette référence est celle de l'espace tampon.","examples":["ref_lnc"]},"enum_cfg_isolation_lnc_id":{"anyOf":[{"$ref":"#/components/schemas/CfgIsolationLnc"},{"type":"null"}],"description":"configuration de l'adjacence avec local non chauffé : local chauffé (non) isolé/local non chauffé (non) isolé/orientation véranda qui permet de calculer le b","examples":[2]},"enum_type_adjacence_id":{"$ref":"#/components/schemas/TypeAdjacence","description":"type d'adjacence de la paroi","examples":[1]},"tv_coef_reduction_deperdition_id":{"anyOf":[{"type":"integer","maximum":283.0,"minimum":1.0},{"type":"null"}],"title":"Tv Coef Reduction Deperdition Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de reduction des deperditions","examples":[107]},"surface_aiu":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Aiu","description":"surface aiu : surface des parois du local non chauffé qui donnent sur des locaux chauffés.","examples":[21.2]},"surface_aue":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Surface Aue","description":"surface aue : surface des parois du local non chauffé en contact avec l'extérieur ou le sol","examples":[42.0]},"surface_porte":{"type":"number","title":"Surface Porte","description":"surface totale de portes déclaré (nb_porte x surface unitaire de porte dans le cas de plusieurs portes)","examples":[1.85],"gt":0.0},"tv_uporte_id":{"anyOf":[{"type":"integer","maximum":11.0,"minimum":1.0},{"type":"null"}],"title":"Tv Uporte Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de transfert thermique de la porte","examples":[1]},"enum_methode_saisie_uporte_id":{"$ref":"#/components/schemas/MethodeSaisieUporte","description":"méthode de saisie du U de la porte","examples":[1]},"enum_type_porte_id":{"$ref":"#/components/schemas/TypePorte","description":"type de porte","examples":[1]},"uporte_saisi":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uporte Saisi","description":"coefficient de transmission thermique de la porte saisi directement (nécessite une justification)","examples":[2.5]},"nb_porte":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Nb Porte","description":"nombre de portes","examples":[100.0]},"largeur_dormant":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Largeur Dormant","description":"largeur du dormant de la porte (cm)","examples":[100.0]},"presence_retour_isolation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Presence Retour Isolation","description":"y a-t-il un retour d'isolant de la paroi opaque sur la porte 0 : non 1 : oui","examples":[true]},"presence_joint":{"type":"boolean","title":"Presence Joint","description":"y a-t-il présence de joints sur la porte (utilisé pour le calcul de la perméabilité)","default":false,"examples":[true]},"enum_type_pose_id":{"anyOf":[{"$ref":"#/components/schemas/TypePose"},{"type":"null"}],"description":"type de pose de la porte"},"enum_etat_composant_id":{"$ref":"#/components/schemas/EtatComposant","description":"indique si le composant a été changé par rapport au logement initial","default":1,"examples":[1]}},"type":"object","required":["enum_type_adjacence_id","surface_porte","enum_methode_saisie_uporte_id","enum_type_porte_id"],"title":"DonneeEntree"},"argile__engine__dpe__models__envelop__porte__DonneeIntermediaire":{"properties":{"uporte":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Uporte","description":"coefficient de transmission thermique de la porte final : soit saisi directement soit issu des tables de valeurs forfaitaires","examples":[1.0],"__compute_if_none":"compute_uporte"},"b":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"B","description":"coefficient de transmission thermique de la porte final : soit saisi directement soit issu des tables de valeurs forfaitaires","examples":[1.0],"__compute_if_none":"compute_b"}},"type":"object","title":"DonneeIntermediaire"},"argile__engine__dpe__models__envelop__zone__DonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"is_insulable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Insulable","description":"Is the wall zone insulable for an ITE"},"is_deperditive":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Deperditive","description":"Is the wall zone related to a heated zone?"},"to_isolate":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"To Isolate","description":"Is the wall zone to be isolated (ITE/ITI)?"},"surface_paroi_totale":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Paroi Totale","description":"Surface of the wall zone","examples":[10.5]},"shape":{"anyOf":[{"$ref":"#/components/schemas/ZoneShape"},{"type":"null"}],"description":"Shape of the wall zone"},"max_width":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Width","description":"Maximum width of the wall zone"},"max_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Height","description":"Maximum height of the wall zone"},"min_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Height","description":"Minimum height of the wall zone, used to compute a pentagon or trapezoid surface"}},"type":"object","title":"DonneeEntree"},"argile__engine__dpe__models__envelop__zone__DonneeIntermediaire":{"properties":{"surface_isolable":{"type":"number","title":"Surface Isolable","readOnly":true},"surface_paroi_opaque":{"type":"number","title":"Surface Paroi Opaque","readOnly":true},"surface_deperditive":{"type":"number","title":"Surface Deperditive","readOnly":true}},"type":"object","required":["surface_isolable","surface_paroi_opaque","surface_deperditive"],"title":"DonneeIntermediaire"},"argile__engine__dpe__models__etape_travaux__options__heat_pump_units__UniteExterieure-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/UniteExterieureAsset"},"type":"array","title":"Assets"},"level_numero":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Level Numero","description":"Floor number (0 = ground floor, 1 = first floor, etc.)"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Comment on the item","examples":["Rénovation d'ampleur"]},"room_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Reference","description":"Reference of the room (Room) this unit stands in"},"heat_pump_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heat Pump Group Id","description":"Outdoor group (cascade_group_id) this unit stands for"}},"type":"object","title":"UniteExterieure","description":"Exterior unit for a heat pump system.\n\nOutdoor-unit assets carry a tag (e.g. \"concrete_slab\"), mirroring the diag\nmodel this is projected from; a plain Asset would reject the tag."},"argile__engine__dpe__models__etape_travaux__options__heat_pump_units__UniteExterieure-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/UniteExterieureAsset"},"type":"array","title":"Assets"},"level_numero":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Level Numero","description":"Floor number (0 = ground floor, 1 = first floor, etc.)"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Comment on the item","examples":["Rénovation d'ampleur"]},"room_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Room Reference","description":"Reference of the room (Room) this unit stands in"},"heat_pump_group_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heat Pump Group Id","description":"Outdoor group (cascade_group_id) this unit stands for"}},"type":"object","title":"UniteExterieure","description":"Exterior unit for a heat pump system.\n\nOutdoor-unit assets carry a tag (e.g. \"concrete_slab\"), mirroring the diag\nmodel this is projected from; a plain Asset would reject the tag."},"argile__engine__dpe__models__etape_travaux__options__heat_pump_units__UniteInterieure-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets"},"level_numero":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Level Numero","description":"Floor number (0 = ground floor, 1 = first floor, etc.)"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Comment on the item","examples":["Rénovation d'ampleur"]},"return_room_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Return Room Reference","description":"Reference of the room holding the return grille"},"return_duct_length":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Return Duct Length","description":"Return duct length (m)"},"install_location":{"anyOf":[{"$ref":"#/components/schemas/DuctedInstallLocation"},{"type":"null"}],"description":"Install location of the ducted unit"},"available_height":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Available Height","description":"Height available for the ducted unit (cm)"},"access_assets":{"anyOf":[{"items":{"$ref":"#/components/schemas/Asset"},"type":"array"},{"type":"null"}],"title":"Access Assets","description":"Photos of the access to the ducted unit's location"},"served_rooms":{"items":{"$ref":"#/components/schemas/ServedRoom"},"type":"array","title":"Served Rooms","description":"Rooms the unit serves; a ducted unit's, one per outlet","default":[]},"type_split":{"anyOf":[{"$ref":"#/components/schemas/TypeSplit"},{"type":"null"}],"description":"Intended form of this indoor unit"},"catalog_item_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Item Id","description":"Catalog model fitted on this indoor unit"},"quantity":{"type":"integer","minimum":1.0,"title":"Quantity","description":"Number of devices this unit stands for","default":1}},"type":"object","title":"UniteInterieure","description":"Interior unit for a heat pump system"},"argile__engine__dpe__models__etape_travaux__options__heat_pump_units__UniteInterieure-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets"},"level_numero":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Level Numero","description":"Floor number (0 = ground floor, 1 = first floor, etc.)"},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Comment on the item","examples":["Rénovation d'ampleur"]},"return_room_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Return Room Reference","description":"Reference of the room holding the return grille"},"return_duct_length":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Return Duct Length","description":"Return duct length (m)"},"install_location":{"anyOf":[{"$ref":"#/components/schemas/DuctedInstallLocation"},{"type":"null"}],"description":"Install location of the ducted unit"},"available_height":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Available Height","description":"Height available for the ducted unit (cm)"},"access_assets":{"anyOf":[{"items":{"$ref":"#/components/schemas/Asset"},"type":"array"},{"type":"null"}],"title":"Access Assets","description":"Photos of the access to the ducted unit's location"},"served_rooms":{"items":{"$ref":"#/components/schemas/ServedRoom"},"type":"array","title":"Served Rooms","description":"Rooms the unit serves; a ducted unit's, one per outlet","default":[]},"type_split":{"anyOf":[{"$ref":"#/components/schemas/TypeSplit"},{"type":"null"}],"description":"Intended form of this indoor unit"},"catalog_item_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Catalog Item Id","description":"Catalog model fitted on this indoor unit"},"quantity":{"type":"integer","minimum":1.0,"title":"Quantity","description":"Number of devices this unit stands for","default":1}},"type":"object","title":"UniteInterieure","description":"Interior unit for a heat pump system"},"argile__engine__dpe__models__heaters__emitter__DonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"surface_chauffee":{"type":"number","title":"Surface Chauffee","description":"Surface chauffée par l'émetteur (sous ensemble de la surface chauffée par l'installation). Dans le cas d'un DPE immeuble ou d'un DPE appartement à partir de l'immeuble c'est la surface de l'installation à l'immeuble qu'il faut renseigner","examples":[100.0],"gt":0.0},"tv_rendement_emission_id":{"type":"integer","maximum":7.0,"minimum":1.0,"title":"Tv Rendement Emission Id","description":"ID de la ligne de la table utilisée pour le calcul du rendement d'émission de l'émetteur de chauffage","examples":[1]},"tv_rendement_distribution_ch_id":{"type":"integer","maximum":12.0,"minimum":1.0,"title":"Tv Rendement Distribution Ch Id","description":"ID de la ligne de la table utilisée pour le calcul du rendement de distribution de la distribution associée à l'émission","examples":[1]},"tv_rendement_regulation_id":{"type":"integer","maximum":15.0,"minimum":1.0,"title":"Tv Rendement Regulation Id","description":"ID de la ligne de la table utilisée pour le calcul du rendement de régulation associé à l'émission","examples":[1]},"enum_type_emission_distribution_id":{"$ref":"#/components/schemas/TypeEmissionDistribution","description":"Enumérateur qui couple les notions d'émission et de distribution pour produire une description complète des émetteurs de chauffage","examples":[1]},"tv_intermittence_id":{"type":"integer","maximum":188.0,"minimum":1.0,"title":"Tv Intermittence Id","description":"ID de la ligne de la table utilisée pour le calcul du coefficient d'intermittence de l'installation I0","examples":[1]},"reseau_distribution_isole":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Reseau Distribution Isole","description":"Est-ce que le réseau de distribution est isolé ?","examples":[true]},"enum_equipement_intermittence_id":{"$ref":"#/components/schemas/EquipementIntermittence","description":"Type d'équipement d'intermittence associé à la génération","examples":[1]},"enum_type_regulation_id":{"$ref":"#/components/schemas/TypeRegulation","description":"Type de régulation associée au générateur","examples":[1]},"enum_periode_installation_emetteur_id":{"anyOf":[{"$ref":"#/components/schemas/PeriodeInstallationEmetteur"},{"type":"null"}],"description":"Période d'installation des émetteurs de chauffage (utilisé pour le calcul des températures de fonctionnement des systèmes à combustion de type chaudière gaz ou fioul)","examples":[1]},"enum_type_chauffage_id":{"$ref":"#/components/schemas/TypeChauffage","description":"Type de chauffage : central ou divisé","examples":[1]},"enum_temp_distribution_ch_id":{"$ref":"#/components/schemas/TempDistributionCh","description":"Température de distribution de l'installation de chauffage (pour le calcul des auxiliaires de distribution)","examples":[1]},"enum_lien_generateur_emetteur_id":{"$ref":"#/components/schemas/LienGenerateurEmetteur","description":"Lien entre le générateur et l'émetteur associé","examples":[1]},"enum_etat_composant_id":{"$ref":"#/components/schemas/EtatComposant","description":"Indique si le composant a été changé par rapport au logement initial","default":1,"examples":[1]}},"type":"object","required":["surface_chauffee","tv_rendement_emission_id","tv_rendement_distribution_ch_id","tv_rendement_regulation_id","enum_type_emission_distribution_id","tv_intermittence_id","enum_equipement_intermittence_id","enum_type_regulation_id","enum_type_chauffage_id","enum_temp_distribution_ch_id","enum_lien_generateur_emetteur_id"],"title":"DonneeEntree"},"argile__engine__dpe__models__heaters__emitter__DonneeIntermediaire":{"properties":{"i0":{"anyOf":[{"type":"number","maximum":1.2,"exclusiveMinimum":0.0},{"type":"null"}],"title":"I0","description":"Coefficient d'intermittence de l'installation","__compute_if_none":"compute_i0"},"rendement_emission":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Rendement Emission","description":"Rendement d'émission du système de chauffage (0-1)","__compute_if_none":"compute_rendement_emission"},"rendement_distribution":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Rendement Distribution","description":"Rendement de distribution du système de chauffage (0-1)","__compute_if_none":"compute_rendement_distribution"},"rendement_regulation":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Rendement Regulation","description":"Rendement de régulation du système de chauffage (0-1)","__compute_if_none":"compute_rendement_regulation"}},"type":"object","title":"DonneeIntermediaire"},"argile__engine__dpe__models__heaters__generator__DonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"reference_generateur_mixte":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Generateur Mixte","description":"Référence commune pour un générateur mixte chauffage ECS. Cette référence est identique pour les deux parties du générateur (chauffage et ECS) et est utilisé pour faire le lien entre les deux","examples":["G1"]},"ref_produit_generateur_ch":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ref Produit Generateur Ch","description":"Référence produit et marque du générateur de chauffage","examples":["G1"]},"annee_installation":{"anyOf":[{"type":"integer","maximum":2050.0,"minimum":1900.0},{"type":"null"}],"title":"Annee Installation","description":"Année d'installation du générateur de chauffage","examples":[2020],"export_to_dpe":false},"enum_type_generateur_ch_id":{"$ref":"#/components/schemas/TypeGenerateurCh","description":"Type de générateur de chauffage","examples":[1,2,3,4,5,6,7,8,9,10]},"enum_usage_generateur_id":{"$ref":"#/components/schemas/UsageGenerateur","description":"Usages assurés par le générateur (chauffage/ecs/chauffage+ecs)","examples":[1,2,3],"ge":1,"le":3},"enum_type_energie_id":{"$ref":"#/components/schemas/TypeEnergie","description":"Type d'énergie consommée par le générateur de chauffage","examples":[1,2,3,4,5,6,7,8,9,10],"ge":1,"le":15},"position_volume_chauffe":{"type":"boolean","title":"Position Volume Chauffe","description":"Est-ce que le générateur est positionné dans le volume chauffé ? (pour le calcul des pertes de génération récupérables)","examples":[true,false]},"ignore_volume_chauffe_in_besoin":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ignore Volume Chauffe In Besoin","description":"Hack for XML comparison ; some software forget to use volume chauffee in besoin_ch","examples":[true],"export_to_dpe":false},"tv_rendement_generation_id":{"anyOf":[{"type":"integer","maximum":31.0,"minimum":1.0},{"type":"null"}],"title":"Tv Rendement Generation Id","description":"ID de la ligne de la table utilisée pour le calcul des rendements de générations forfaitaires des générateurs autres qu'à combustion","examples":[1,2,3,4,5,6,7,8,9,10]},"tv_scop_id":{"anyOf":[{"type":"integer","maximum":88.0,"minimum":1.0},{"type":"null"}],"title":"Tv Scop Id","description":"ID de la ligne de la table utilisée pour le calcul du coefficient de performance du système thermodynamique (SCOP)","examples":[1,2,3,4,5,6,7,8,9,10]},"tv_temp_fonc_100_id":{"anyOf":[{"type":"integer","maximum":9.0,"minimum":1.0},{"type":"null"}],"title":"Tv Temp Fonc 100 Id","description":"ID de la ligne de la table utilisée pour le calcul de la température à 100% de charge du système à combustion (SUPPRIME)","examples":[1,2,3,4,5,6,7,8,9,10]},"tv_temp_fonc_30_id":{"anyOf":[{"type":"integer","maximum":36.0,"minimum":1.0},{"type":"null"}],"title":"Tv Temp Fonc 30 Id","description":"ID de la ligne de la table utilisée pour le calcul de la température à 30% de charge du système à combustion (SUPPRIME)","examples":[1,2,3,4,5,6,7,8,9,10]},"tv_generateur_combustion_id":{"anyOf":[{"type":"integer","maximum":103.0,"minimum":1.0},{"type":"null"}],"title":"Tv Generateur Combustion Id","description":"ID de la ligne de la table utilisée pour le calcul des paramètres du générateur à combustion Rpn,Rpint,Qp0,Pveil","examples":[1,2,3,4,5,6,7,8,9,10]},"tv_reseau_chaleur_id":{"anyOf":[{"type":"integer","maximum":797.0,"minimum":1.0},{"type":"null"}],"title":"Tv Reseau Chaleur Id","description":"ID de la ligne de la table utilisée pour le calcul du contenu CO2 des réseaux de chaleurs (OBSOLETE et remplacé par identifiant_reseau_chaleur à partir du 18 janvier 2022 et la prise en compte du nouvel arrêté réseau de chaleur)","examples":[null]},"identifiant_reseau_chaleur":{"anyOf":[{"type":"string","pattern":"[0-9]{4}[C-F]"},{"type":"null"}],"title":"Identifiant Reseau Chaleur","description":"Identifiant réseau de chaleur ou de froid utilisé (utilisé à partir du 18 janvier 2022). Cet identifiant doit correspondre à un identifiant déclaré dans la liste des réseaux de chaleurs spécifiés dans l'arrêté en vigueur qui modifie l'annexe 7 de l'arrêté du 15 en vigueur qui modifie l'annexe 7 de l'arrêté du 15 septembre 2006 relatif au diagnostic de performance energétique","examples":[null]},"date_arrete_reseau_chaleur":{"anyOf":[{"$ref":"#/components/schemas/XmlDate"},{"type":"null"}],"description":"Date de l'arrêté réseau de chaleur ou de froid utilisé (utilisé à  partir du 18 janvier 2022)","examples":[null]},"n_radiateurs_gaz":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"N Radiateurs Gaz","description":"Nombre de radiateurs gaz","examples":[1,2,3,4,5,6,7,8,9,10]},"priorite_generateur_cascade":{"anyOf":[{"type":"integer","exclusiveMinimum":0.0},{"type":"null"}],"title":"Priorite Generateur Cascade","description":"Ordre de priorité du générateur en cascade (ordonné de manière croissante 1 : générateur principal , 2: genérateur secondaire etc…). Dans le cas de deux générateurs en cascade sans priorité, les deux générateurs sont déclarés comme principal","examples":[1,2,3,4,5,6,7,8,9,10]},"presence_ventouse":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Presence Ventouse","description":"Présence d'un système de ventouse ou avec un ventilateur pour l'évacuation des fumées d'un système à combustion ?","examples":[true,false]},"presence_ventilateur":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Presence Ventilateur","description":"Présence de ventilateur ou autre dispositif de circulation d’air ou de produit de combustion dans le circuit de combustion.","examples":[true,false],"export_to_dpe":false},"presence_regulation_combustion":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Presence Regulation Combustion","description":"Présence d'un organe de régulation pour le système de chauffage à combustion ?","examples":[true,false]},"enum_methode_saisie_carac_sys_id":{"$ref":"#/components/schemas/MethodeSaisieCaracSys","description":"Méthode de saisie des performances du système de chauffage","examples":[1,2,3,4,5,6,7,8,9,10],"ge":1,"le":8},"enum_lien_generateur_emetteur_id":{"$ref":"#/components/schemas/LienGenerateurEmetteur","description":"Lien entre le générateur et l'émetteur associé","examples":[1,2]},"enum_etat_composant_id":{"$ref":"#/components/schemas/EtatComposant","description":"Indique si le composant a été changé par rapport au logement initial","default":1,"examples":[1,2]},"name_generateur":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name Generateur","readOnly":true}},"type":"object","required":["enum_type_generateur_ch_id","enum_usage_generateur_id","enum_type_energie_id","position_volume_chauffe","enum_methode_saisie_carac_sys_id","enum_lien_generateur_emetteur_id","name_generateur"],"title":"DonneeEntree"},"argile__engine__dpe__models__heaters__generator__DonneeIntermediaire":{"properties":{"scop":{"anyOf":[{"type":"number","maximum":8.0,"exclusiveMinimum":1.0},{"type":"null"}],"title":"Scop","description":"SCOP du générateur thermodynamique (en remplacement du Rg pour les générateurs thermodynamique) (0-20)","__compute_if_none":"compute_scop"},"pn":{"anyOf":[{"type":"number","gt":100},{"type":"null"}],"title":"Pn","description":"Puissance nominale du générateur à combustion (W)","__compute_if_none":"compute_nominal_power"},"qp0":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Qp0","description":"Pertes à l'arret du générateur à combustion. Dans le cas d'un générateur virtualisé pour DPE appartement avec chauffage collectif saisir Qp0 correspondant à Pe = a*Pn(collectif) (W)","__compute_if_none":"compute_qp0"},"pveilleuse":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Pveilleuse","description":"Puissance de la veilleuse du générateur à combustion (W)","__compute_if_none":"compute_pveilleuse"},"temp_fonc_30":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Temp Fonc 30","description":"Température de fonctionnement à 30% de charge (°C)","__compute_if_none":"compute_temp_fonc_30"},"temp_fonc_100":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Temp Fonc 100","description":"Température de fonctionnement à 100% de charge (°C)","__compute_if_none":"compute_temp_fonc_100"},"rpn":{"anyOf":[{"type":"number","maximum":1.5,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Rpn","description":"Rendement de génération à pleine charge du générateur à combustion (0-1,5) (en PCI?)","__compute_if_none":"compute_rpn"},"rpint":{"anyOf":[{"type":"number","maximum":1.5,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Rpint","description":"Rendement de génération à charge intermédiaire du générateur à combustion (0-1,5) (en PCI?)","__compute_if_none":"compute_rpint"},"rendement_generation":{"anyOf":[{"type":"number","maximum":1.5,"minimum":0.0},{"type":"null"}],"title":"Rendement Generation","description":"Rg : rendement de génération du système de chauffage pour tous les générateurs sauf thermodynamique. Pour les générateurs à combustion il faut saisir le rendement sur PCI (0-1,5). DPE avec rg=0: 2406E1060854L. DPE où rg ne peut pas être calculé 2471E1072627T","__compute_if_none":"compute_rendement_generation"},"rendement_generation_depensier":{"anyOf":[{"type":"number","maximum":1.5,"minimum":0.0},{"type":"null"}],"title":"Rendement Generation Depensier","description":"Rendement de génération du système de chauffage pour le scénario dépensier (scénario DH21) pour tous les générateurs sauf thermodynamique. Pour les générateurs à combustion il faut saisir le rendement sur PCI (0-1,5). ","__compute_if_none":"compute_rendement_generation_depensier"},"generator_quality":{"anyOf":[{"$ref":"#/components/schemas/QualityType"},{"type":"null"}],"description":"Compute generator quality in function to its scop if available and rendement\nelse.","readOnly":true},"conso_ch":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Conso Ch","readOnly":true},"conso_ch_depensier":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Conso Ch Depensier","readOnly":true}},"type":"object","required":["generator_quality","conso_ch","conso_ch_depensier"],"title":"DonneeIntermediaire"},"argile__engine__dpe__models__heaters__installation__DonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"surface_chauffee":{"type":"number","title":"Surface Chauffee","description":"Surface chauffée par l'installation de chauffage(surface du logement ou de l'immeuble). Dans le cas spécifique d'un DPE immeuble avec installation individuelle échantillonée :saisir la surface chauffée de la totalité des logements représentés par le logement moyen surface_habitable= Shmoy*Nblgt. Dans le cas d'un DPE immeuble ou d'un DPE appartement à partir de l'immeuble c'est la surface de l'installation à l'immeuble qu'il faut renseigner","examples":[100.0],"gt":0.0},"nombre_logement_echantillon":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Nombre Logement Echantillon","description":"Nombre de logements représentés par le logement échantillon dans le cas d'un DPE immeuble avec installation de chauffage individuelle. (à ne renseigner que dans ce cas précis)","examples":[1.0]},"rdim":{"type":"number","exclusiveMinimum":0.0,"title":"Rdim","description":"Nombre d'installations identiques. Ce paramètre est utilisé pour dénombrer les installations identiques considérées lors d'un calcul d'échantillonage. Ce nombre peut être non entier en cas d'application de la méthode d'échantillonage (pour une installation sans échantillonage rdim=1)","default":1,"examples":[1.0]},"nombre_niveau_installation_ch":{"type":"integer","exclusiveMinimum":0.0,"title":"Nombre Niveau Installation Ch","description":"Nombre de niveaux desservis par l'installation de chauffage (très souvent égal au nombre de niveaux du bâtiment)","examples":[1]},"enum_cfg_installation_ch_id":{"$ref":"#/components/schemas/CfgInstallationCh","description":"Configuration de l'installation de chauffage","examples":[1],"ge":1,"le":11},"ratio_virtualisation":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Ratio Virtualisation","description":"Ratio de virtualisation de l'installation collective lorsque l'on rapporte des usages collectifs à un appartement (a = Shabappartement/Shabtotale)","examples":[1.0]},"coef_ifc":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Coef Ifc","description":"Coefficient d'individualisation des frais de chauffage dans le cas d'un DPE appartement calculé à partir d'un DPE immeuble","examples":[1.0]},"cle_repartition_ch":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Cle Repartition Ch","description":"Clé de répartition pour passer des consommations bâtiments au consommation logement dans le cas DPE appartement calculé à partir du DPE immeuble UNIQUEMENT. Voir section 8.5.4 du document guide pour plus de détail","examples":[1.0]},"enum_type_installation_id":{"$ref":"#/components/schemas/TypeInstallation","description":"Type d'installation de chauffage (collective ou individuelle ou collective multi batiment","examples":[1],"ge":1,"le":4},"enum_methode_calcul_conso_id":{"type":"integer","maximum":6.0,"minimum":1.0,"title":"Enum Methode Calcul Conso Id","description":"Méthode de calcul de consommation de chauffage : simple, ou cas particuliers installation collective virtualisée ou installation individuelle échantilonnée (dpe immeuble)","examples":[1]},"enum_methode_saisie_fact_couv_sol_id":{"anyOf":[{"$ref":"#/components/schemas/MethodeSaisieFactCouvSol","ge":1,"le":2},{"type":"null"}],"description":"Méthode de saisie du facteur de couverture solaire pour le chauffage (saisi en direct justifié ou calculé à partir de la table)","examples":[1]},"tv_facteur_couverture_solaire_id":{"anyOf":[{"type":"integer","maximum":48.0,"minimum":1.0},{"type":"null"}],"title":"Tv Facteur Couverture Solaire Id","description":"ID de la ligne de la table utilisée pour le calcul du facteur de couverture solaire","examples":[1]},"fch_saisi":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Fch Saisi","description":"Facteur de couverture solaire pour l'installation de chauffage (saisi)","examples":[1.0]},"enum_etat_composant_id":{"$ref":"#/components/schemas/EtatComposant","description":"Indique si le composant a été changé par rapport au logement initial","default":1,"examples":[1]}},"type":"object","required":["surface_chauffee","nombre_niveau_installation_ch","enum_cfg_installation_ch_id","enum_type_installation_id","enum_methode_calcul_conso_id"],"title":"DonneeEntree"},"argile__engine__dpe__models__heaters__installation__DonneeIntermediaire":{"properties":{"production_ch_solaire":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Production Ch Solaire","description":"Production de chauffage solaire (kWh)","__compute_if_none":"compute_production_ch_solaire"},"fch":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Fch","description":"Facteur de couverture solaire pour l'installation de chauffage","__compute_if_none":"compute_fch"},"besoin_ch":{"type":"number","title":"Besoin Ch","readOnly":true},"besoin_ch_depensier":{"type":"number","title":"Besoin Ch Depensier","readOnly":true},"conso_ch":{"type":"number","title":"Conso Ch","readOnly":true},"conso_ch_depensier":{"type":"number","title":"Conso Ch Depensier","readOnly":true}},"type":"object","required":["besoin_ch","besoin_ch_depensier","conso_ch","conso_ch_depensier"],"title":"DonneeIntermediaire"},"argile__engine__dpe__models__piece__DonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"surface":{"type":"number","title":"Surface","description":"Surface de la pièce","examples":[20.04],"gt":0.0},"hauteur":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Hauteur","description":"Hauteur sous plafond de la pièce ; celle du logement quand elle n'a pas été relevée","examples":[2.5]}},"type":"object","required":["surface"],"title":"DonneeEntree"},"argile__engine__dpe__models__piece__DonneeIntermediaire":{"properties":{"deperditions_nfen12831":{"anyOf":[{"$ref":"#/components/schemas/DeperditionsParPoste"},{"type":"null"}],"description":"Déperditions de la pièce calculées paroi par paroi selon NF EN 12831-1, quand son enveloppe a été relevée. Posées après construction du Logement, dont le calcul du U a besoin (zone climatique)."}},"type":"object","title":"DonneeIntermediaire"},"argile__engine__dpe__models__piece__Piece":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/argile__engine__dpe__models__piece__DonneeEntree"},"donnee_intermediaire":{"$ref":"#/components/schemas/argile__engine__dpe__models__piece__DonneeIntermediaire"},"emetteur_piece_collection":{"$ref":"#/components/schemas/EmetteurPieceCollection"}},"type":"object","required":["donnee_entree"],"title":"Piece"},"argile__engine__dpe__models__prod_enr__DonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"presence_production_pv":{"type":"boolean","title":"Presence Production Pv","description":"est-ce qu'il y a de la production de photovoltaique renouvelable ?","default":0,"examples":[true,false]},"enum_type_enr_id":{"$ref":"#/components/schemas/TypeEnr","description":"énumérateur listant les systèmes de production d'électricité d'origine renouvelables présents dans le bâtiment","default":1,"examples":[1]},"enum_etat_composant_id":{"$ref":"#/components/schemas/EtatComposant","description":"indique si le composant a été changé par rapport au logement initial","default":1,"examples":[1]}},"type":"object","title":"DonneeEntree"},"argile__engine__dpe__models__prod_enr__DonneeIntermediaire":{"properties":{"taux_autoproduction":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Taux Autoproduction","description":"taux d'autoproduction Tap de la production d'électricité d'origine renouvelable","__compute_if_none":"compute_taux_autoproduction"},"production_pv":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Production Pv","description":"production d'électricité photovoltaïque (kWh)","__compute_if_none":"compute_production_pv"},"conso_elec_ac":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Conso Elec Ac","description":"électricité photovoltaïque autoconsommée (kWh)","__compute_if_none":"compute_conso_elec_ac"}},"type":"object","title":"DonneeIntermediaire"},"argile__engine__dpe__models__technical_properties__insulation__TypeIsolation":{"type":"string","enum":["rouleaux","panneaux","flocage","soufflage"],"title":"TypeIsolation","description":"Type d'isolation."},"argile__engine__dpe__models__ventilation__models__DonneeEntree":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"surface_ventile":{"type":"number","title":"Surface Ventile","description":"Surface ventilée. Dans le cas d'une seule ventilation c'est la surface habitable totale. Dans le cas d'un DPE immeuble ou d'un DPE appartement à partir de l'immeuble c'est la surface de l'installation à l'immeuble qu'il faut renseigner","examples":[100.0],"gt":0.0},"plusieurs_facade_exposee":{"type":"boolean","title":"Plusieurs Facade Exposee","description":"Est-ce qu'il y a plusieurs facades exposées au vent ?","examples":[false]},"tv_q4pa_conv_id":{"anyOf":[{"type":"integer","maximum":12.0,"minimum":1.0},{"type":"null"}],"title":"Tv Q4Pa Conv Id","description":"ID de la ligne de la table utilisée pour le calcul du q4pa conventionnel. Valeur conventionnelle de la perméabilité sous 4Pa (m3/(h.m2))","examples":[1]},"q4pa_conv_saisi":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Q4Pa Conv Saisi","description":"q4paconv saisi directement quand la valeur est donnée par une mesure d'étanchéité à l'air. Valeur conventionnelle de la perméabilité sous 4Pa (m3/(h.m2))","examples":[1.0]},"enum_methode_saisie_q4pa_conv_id":{"$ref":"#/components/schemas/MethodeSaisieQ4paConv","description":"Code de la méthode de saisie du q4paconv","examples":[1]},"tv_debits_ventilation_id":{"$ref":"#/components/schemas/TypeVentilation","description":"ID de la ligne de la table utilisée pour le calcul des débits de ventilations","examples":[2]},"enum_type_ventilation_id":{"$ref":"#/components/schemas/TypeVentilation","description":"Code du type de ventilation","examples":[2]},"ventilation_post_2012":{"type":"boolean","title":"Ventilation Post 2012","description":"Est-ce que le système de ventilation est postérieur à 2012 ?","examples":[false]},"ref_produit_ventilation":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ref Produit Ventilation","description":"Référence produit et marque du système de ventilation","examples":["DF 2012"]},"cle_repartition_ventilation":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Cle Repartition Ventilation","description":"Clé de répartition pour passer des consommations bâtiments au consommation logement dans le cas DPE appartement calculé à partir du DPE immeuble UNIQUEMENT. Voir section 8.5.4 du document guide pour plus de détail. Pour la ventilation il s'agit du rapport surface habitable logement / surface habitable immeuble","examples":[0.5]},"enum_etat_composant_id":{"$ref":"#/components/schemas/EtatComposant","description":"Indique si le composant a été changé par rapport au logement initial","default":1,"examples":[1]},"insufflation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Insufflation","description":"Est-ce que le système de ventilation est insufflation ? Propriété non 3CL","examples":[false]}},"type":"object","required":["surface_ventile","plusieurs_facade_exposee","enum_methode_saisie_q4pa_conv_id","tv_debits_ventilation_id","enum_type_ventilation_id","ventilation_post_2012"],"title":"DonneeEntree"},"argile__engine__dpe__models__ventilation__models__DonneeIntermediaire":{"properties":{"pvent_moy":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Pvent Moy","description":"Puissance de la ventilation moyenne soit saisie soit calculée avec la méthode proposée","__compute_if_none":"compute_pvent_moy"},"q4pa_conv":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Q4Pa Conv","description":"q4pa conv final soit issue d'une saisie de mesure à l'étanchéité à l'air soit d'une valeur forfaitaire. valeur conventionnelle de la perméabilité sous 4Pa (m3/(h.m2))","__compute_if_none":"compute_q4pa_conv"},"conso_auxiliaire_ventilation":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Conso Auxiliaire Ventilation","description":"Consommation des auxiliaires de ventilation. Dans le cas d'un DPE immeuble ou d'un DPE appartement à partir de l'immeuble c'est la consommation de l'installation à l'immeuble qu'il faut saisir.","__compute_if_none":"compute_conso_auxiliaire_ventilation"},"hperm":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Hperm","description":"Déperdition thermique par renouvellement d'air due au vent","__compute_if_none":"compute_hperm"},"hvent":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Hvent","description":"Déperdition thermique par renouvellement d'air due au système de ventilation","__compute_if_none":"compute_hvent"}},"type":"object","title":"DonneeIntermediaire"},"argile__engine__dpe__models__ventilation__models__Ventilation":{"properties":{"donnee_entree":{"$ref":"#/components/schemas/argile__engine__dpe__models__ventilation__models__DonneeEntree"},"donnee_intermediaire":{"$ref":"#/components/schemas/argile__engine__dpe__models__ventilation__models__DonneeIntermediaire"}},"type":"object","required":["donnee_entree"],"title":"Ventilation"},"argile__funding__calculators__models__base__Section-Output":{"properties":{"prices":{"items":{"$ref":"#/components/schemas/Price-Output"},"type":"array","title":"Prices","default":[]},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"enum_type_travaux_id":{"anyOf":[{"$ref":"#/components/schemas/TypeTravaux"},{"type":"null"}]},"is_editable":{"type":"boolean","title":"Is Editable","description":"Whether this section can be modified or deleted","default":true}},"type":"object","title":"Section"},"argile__organization__crm__answers__schemas__PatchHistoryRead":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"answer_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Answer Id","description":"ID of the answer","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"patch":{"items":{},"type":"array","title":"Patch"},"inverse_patch":{"items":{},"type":"array","title":"Inverse Patch"},"sources":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","title":"Sources"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"version":{"type":"integer","title":"Version","default":1},"patch_size":{"type":"integer","title":"Patch Size","default":0}},"type":"object","required":["answer_id","patch","inverse_patch","sources"],"title":"PatchHistoryRead","description":"Schema for reading patch history."},"argile__sales__quotes__schemas__PatchHistoryRead":{"properties":{"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date of creation","examples":["2021-01-01T00:00:00"]},"updated_at":{"type":"string","format":"date-time","title":"Updated At","description":"Date of last update","examples":["2021-01-01T00:00:00"]},"id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Id","description":"Field ID","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"quote_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Quote Id","description":"ID of the quote","examples":["a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11"]},"patch":{"items":{},"type":"array","title":"Patch"},"inverse_patch":{"items":{},"type":"array","title":"Inverse Patch"},"sources":{"additionalProperties":{"additionalProperties":true,"type":"object"},"type":"object","title":"Sources"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"version":{"type":"integer","title":"Version","default":1},"patch_size":{"type":"integer","title":"Patch Size","default":0}},"type":"object","required":["quote_id","patch","inverse_patch","sources"],"title":"PatchHistoryRead","description":"Schema for reading quote patch history."},"argile__survey__diag__models__accessibility__Door":{"properties":{"width":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Width","description":"Largeur de la porte","examples":[1.0]},"height":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Height","description":"Hauteur de la porte","examples":[1.0]}},"type":"object","title":"Door","description":"Door specifications"},"argile__survey__diag__models__door__Door":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"unit_width":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Unit Width"},"unit_height":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Unit Height"},"surface_porte":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Surface Porte","description":"Surface de la porte"},"uporte_saisi":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Uporte Saisi","description":"Coefficient de transmission thermique de la porte"},"tv_uporte_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tv Uporte Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de transfert thermique de la porte"},"tv_coef_reduction_deperdition_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tv Coef Reduction Deperdition Id","description":"id de la ligne de la table utilisée pour le calcul du coefficient de reduction des deperditions"},"enum_methode_saisie_uporte_id":{"anyOf":[{"$ref":"#/components/schemas/MethodeSaisieUporte"},{"type":"null"}],"description":"méthode de saisie du U de la porte"},"enum_type_porte_id":{"$ref":"#/components/schemas/TypePorte","description":"type de porte"},"enum_etat_composant_id":{"$ref":"#/components/schemas/EtatComposant","description":"état du composant"},"enum_cfg_isolation_lnc_id":{"anyOf":[{"$ref":"#/components/schemas/CfgIsolationLnc"},{"type":"null"}],"description":"type d'isolation de la laine de verre"},"enum_type_adjacence_id":{"$ref":"#/components/schemas/TypeAdjacence","description":"type d'adjacence de la porte"},"largeur_dormant":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Largeur Dormant","description":"largeur du dormant (cm)"},"enum_type_pose_id":{"anyOf":[{"$ref":"#/components/schemas/TypePose"},{"type":"null"}],"description":"type de pose de la porte"},"presence_retour_isolation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Presence Retour Isolation","description":"présence de retour d'isolation"},"to_replace":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"To Replace","description":"porte à remplacer"},"status":{"anyOf":[{"$ref":"#/components/schemas/OpeningStatus"},{"type":"null"}],"description":"Planned status, written alongside to_replace by the front"},"reference_paroi":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Paroi","description":"référence vers le mur contenant la porte"},"reference_wall_zone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Wall Zone","description":"référence vers la zone de mur contenant la porte"},"reference_asset":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Asset","description":"Reference of the photo the door is placed on: a facade photo or an interior wall's (the wall's reference when its photo has none); unset means the facade's first photo"}},"type":"object","required":["enum_type_porte_id","enum_etat_composant_id","enum_type_adjacence_id"],"title":"Door"},"argile__survey__diag__models__future_pac__Piece-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Output"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Output"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"function":{"anyOf":[{"$ref":"#/components/schemas/RoomFunction"},{"type":"null"}],"description":"Fonction de la pièce (cuisine, salon, ...)"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","description":"Nom d'affichage de la pièce"}},"type":"object","title":"Piece","description":"Pièce dessinée à main levée sur le cadastre pour le projet air/air\n(géométrie dans `multi_polygon`)."},"argile__survey__diag__models__future_pac__UniteInterieure-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"return_room_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Return Room Reference","description":"Reference of the room holding the return grille"},"return_duct_length":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Return Duct Length","description":"Return duct length (m)"},"install_location":{"anyOf":[{"$ref":"#/components/schemas/DuctedInstallLocation"},{"type":"null"}],"description":"Install location of the ducted unit"},"available_height":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Available Height","description":"Height available for the ducted unit (cm)"},"access_assets":{"anyOf":[{"items":{"$ref":"#/components/schemas/Asset"},"type":"array"},{"type":"null"}],"title":"Access Assets","description":"Photos of the access to the ducted unit's location"},"served_rooms":{"items":{"$ref":"#/components/schemas/ServedRoom"},"type":"array","title":"Served Rooms","description":"Rooms the unit serves; a ducted unit's, one per outlet","default":[]},"type_split":{"anyOf":[{"$ref":"#/components/schemas/TypeSplit"},{"type":"null"}],"description":"Intended form of this indoor unit"},"room_surface":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Room Surface","description":"Surface au sol de la pièce chauffée (m²)"},"room_ceiling_height":{"anyOf":[{"type":"number","ge":180,"le":1000},{"type":"null"}],"title":"Room Ceiling Height","description":"Hauteur sous plafond de la pièce (cm)"},"heated_room":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heated Room","description":"Name of the heated room"},"heated_volume":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Heated Volume","description":"Volume chauffé par l'unité air/air (m³)"},"condensate_evacuation":{"anyOf":[{"$ref":"#/components/schemas/CondensateEvacuationType"},{"type":"null"}],"description":"Mode d'évacuation des condensats"},"has_trunking":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Trunking","description":"Présence d'une goulotte vers l'unité"},"trunking_length":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Trunking Length","description":"Longueur de la goulotte"}},"type":"object","title":"UniteInterieure"},"argile__survey__diag__models__future_pac__UniteInterieure-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Output"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Output"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"return_room_reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Return Room Reference","description":"Reference of the room holding the return grille"},"return_duct_length":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Return Duct Length","description":"Return duct length (m)"},"install_location":{"anyOf":[{"$ref":"#/components/schemas/DuctedInstallLocation"},{"type":"null"}],"description":"Install location of the ducted unit"},"available_height":{"anyOf":[{"type":"number","ge":0},{"type":"null"}],"title":"Available Height","description":"Height available for the ducted unit (cm)"},"access_assets":{"anyOf":[{"items":{"$ref":"#/components/schemas/Asset"},"type":"array"},{"type":"null"}],"title":"Access Assets","description":"Photos of the access to the ducted unit's location"},"served_rooms":{"items":{"$ref":"#/components/schemas/ServedRoom"},"type":"array","title":"Served Rooms","description":"Rooms the unit serves; a ducted unit's, one per outlet","default":[]},"type_split":{"anyOf":[{"$ref":"#/components/schemas/TypeSplit"},{"type":"null"}],"description":"Intended form of this indoor unit"},"room_surface":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Room Surface","description":"Surface au sol de la pièce chauffée (m²)"},"room_ceiling_height":{"anyOf":[{"type":"number","ge":180,"le":1000},{"type":"null"}],"title":"Room Ceiling Height","description":"Hauteur sous plafond de la pièce (cm)"},"heated_room":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heated Room","description":"Name of the heated room"},"heated_volume":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Heated Volume","description":"Volume chauffé par l'unité air/air (m³)"},"condensate_evacuation":{"anyOf":[{"$ref":"#/components/schemas/CondensateEvacuationType"},{"type":"null"}],"description":"Mode d'évacuation des condensats"},"has_trunking":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Trunking","description":"Présence d'une goulotte vers l'unité"},"trunking_length":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Trunking Length","description":"Longueur de la goulotte"}},"type":"object","title":"UniteInterieure"},"argile__survey__diag__models__unite_exterieure__UniteExterieure-Input":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/UniteExterieureAsset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Input"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Input"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"installation_support":{"anyOf":[{"$ref":"#/components/schemas/InstallationSupport"},{"type":"null"}],"description":"Type of installation support for the outdoor unit"},"concrete_slab_state":{"anyOf":[{"$ref":"#/components/schemas/ConcreteSlabState"},{"type":"null"}],"description":"State of the concrete slab for the outdoor unit"},"refrigerant_cable_length":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Refrigerant Cable Length","description":"Refrigerant line length"},"pipe_lagging_length":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pipe Lagging Length","description":"Length of refrigerant line that needs pipe lagging"},"has_cover":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Cover","description":"Présence d'un cache unité extérieure (PAC air/air)"},"ground_support_type":{"anyOf":[{"$ref":"#/components/schemas/GroundSupportType"},{"type":"null"}],"description":"Nature du sol sous le support rubber"},"support_installation_state":{"anyOf":[{"$ref":"#/components/schemas/SupportInstallationState"},{"type":"null"}],"description":"État d'avancement du support au sol"},"support_installed_by":{"anyOf":[{"$ref":"#/components/schemas/SupportInstalledBy"},{"type":"null"}],"description":"Qui réalise le support au sol"},"has_trunking":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Trunking","description":"Présence d'une goulotte vers l'unité"},"trunking_length":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Trunking Length","description":"Longueur de la goulotte"}},"type":"object","title":"UniteExterieure"},"argile__survey__diag__models__unite_exterieure__UniteExterieure-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/UniteExterieureAsset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Output"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Output"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"installation_support":{"anyOf":[{"$ref":"#/components/schemas/InstallationSupport"},{"type":"null"}],"description":"Type of installation support for the outdoor unit"},"concrete_slab_state":{"anyOf":[{"$ref":"#/components/schemas/ConcreteSlabState"},{"type":"null"}],"description":"State of the concrete slab for the outdoor unit"},"refrigerant_cable_length":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Refrigerant Cable Length","description":"Refrigerant line length"},"pipe_lagging_length":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Pipe Lagging Length","description":"Length of refrigerant line that needs pipe lagging"},"has_cover":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Cover","description":"Présence d'un cache unité extérieure (PAC air/air)"},"ground_support_type":{"anyOf":[{"$ref":"#/components/schemas/GroundSupportType"},{"type":"null"}],"description":"Nature du sol sous le support rubber"},"support_installation_state":{"anyOf":[{"$ref":"#/components/schemas/SupportInstallationState"},{"type":"null"}],"description":"État d'avancement du support au sol"},"support_installed_by":{"anyOf":[{"$ref":"#/components/schemas/SupportInstalledBy"},{"type":"null"}],"description":"Qui réalise le support au sol"},"has_trunking":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Trunking","description":"Présence d'une goulotte vers l'unité"},"trunking_length":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Trunking Length","description":"Longueur de la goulotte"}},"type":"object","title":"UniteExterieure"},"argile__survey__diag__models__utils__ItemType":{"type":"string","enum":["future","current"],"title":"ItemType","description":"Whether the item is a future or current item"},"argile__survey__diag__models__ventilation__Ventilation-Output":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Description textuelle de l'objet","examples":["Ceci est une description textuelle de l'objet"]},"reference":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference","description":"Référence projet de l'objet (cette référence permet de faire d'éventuels liens entre objets). La codification et utilisation des références peut différer entre logiciels","examples":["PROJET-0001"]},"assets":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array","title":"Assets","default":[]},"mode":{"anyOf":[{"type":"string","enum":["oneclick","simple","expert","ultimate"]},{"type":"null"}],"title":"Mode","default":"simple"},"multi_polygon":{"anyOf":[{"$ref":"#/components/schemas/MultiPolygon-Output"},{"type":"null"}]},"reference_level":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Reference Level","description":"Référence de l'étage de l'item","examples":["PROJET-0001"]},"singular_points":{"items":{"$ref":"#/components/schemas/SingularPoint-Output"},"type":"array","title":"Singular Points","default":[]},"comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comment","description":"Commentaire sur l'item","examples":["Rénovation d'ampleur"]},"enum_type_ventilation_id":{"$ref":"#/components/schemas/TypeVentilation"},"plusieurs_facade_exposee":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Plusieurs Facade Exposee"},"tv_q4pa_conv_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Tv Q4Pa Conv Id"},"q4pa_conv_saisi":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Q4Pa Conv Saisi"},"enum_methode_saisie_q4pa_conv_id":{"anyOf":[{"$ref":"#/components/schemas/MethodeSaisieQ4paConv"},{"type":"null"}]},"tv_debits_ventilation_id":{"anyOf":[{"$ref":"#/components/schemas/TypeVentilation"},{"type":"null"}]},"enum_etat_composant_id":{"anyOf":[{"$ref":"#/components/schemas/EtatComposant"},{"type":"null"}]},"vents":{"anyOf":[{"items":{"$ref":"#/components/schemas/Vent-Output"},"type":"array"},{"type":"null"}],"title":"Vents"},"ventilation_boxes":{"anyOf":[{"items":{"$ref":"#/components/schemas/VentilationBox-Output"},"type":"array"},{"type":"null"}],"title":"Ventilation Boxes"},"ducts":{"anyOf":[{"items":{"$ref":"#/components/schemas/VentilationDuct-Output"},"type":"array"},{"type":"null"}],"title":"Ducts"},"surface_ventile":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Surface Ventile","description":"Surface ventilée. Dans le cas d'une seule ventilation c'est la surface habitable totale. Dans le cas d'un DPE immeuble ou d'un DPE appartement à partir de l'immeuble c'est la surface de l'installation à l'immeuble qu'il faut renseigner","examples":[100.0]},"ventilation_post_2012":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ventilation Post 2012","description":"Est-ce que le système de ventilation est postérieur à 2012 ?","examples":[false]},"ref_produit_ventilation":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Ref Produit Ventilation","description":"Référence produit et marque du système de ventilation","examples":["DF 2012"]},"cle_repartition_ventilation":{"anyOf":[{"type":"number","maximum":1.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Cle Repartition Ventilation","description":"Clé de répartition pour passer des consommations bâtiments au consommation logement dans le cas DPE appartement calculé à partir du DPE immeuble UNIQUEMENT. Voir section 8.5.4 du document guide pour plus de détail. Pour la ventilation il s'agit du rapport surface habitable logement / surface habitable immeuble","examples":[0.5]},"pvent_moy":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Pvent Moy","description":"Puissance de la ventilation moyenne soit saisie soit calculée avec la méthode proposée"},"q4pa_conv":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Q4Pa Conv","description":"q4pa conv final soit issue d'une saisie de mesure à l'étanchéité à l'air soit d'une valeur forfaitaire. valeur conventionnelle de la perméabilité sous 4Pa (m3/(h.m2))"},"conso_auxiliaire_ventilation":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Conso Auxiliaire Ventilation","description":"Consommation des auxiliaires de ventilation. Dans le cas d'un DPE immeuble ou d'un DPE appartement à partir de l'immeuble c'est la consommation de l'installation à l'immeuble qu'il faut saisir."},"hperm":{"anyOf":[{"type":"number","gt":0.0},{"type":"null"}],"title":"Hperm","description":"Déperdition thermique par renouvellement d'air due au vent"},"hvent":{"anyOf":[{"type":"number","ge":0.0},{"type":"null"}],"title":"Hvent","description":"Déperdition thermique par renouvellement d'air due au système de ventilation"},"insufflation":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Insufflation","description":"Est-ce que le système de ventilation est insufflation","examples":[false]}},"type":"object","required":["enum_type_ventilation_id"],"title":"Ventilation"},"argile__survey__uncertainty__schemas__Section":{"type":"string","enum":["chauffage","murs","menuiseries","sols","toiture","surface","niveaux","ecs","ventilation"],"title":"Section","description":"Housing form section to validate (front `dirty_sections` ids)."}}}}