{
    "uuid": "c588ae3ba9aa64c521d3823cef8b202c",
    "schema_kind": "equipment",
    "lang": "en",
    "title": "Equipment - Heating system",
    "description": "building-wide heating overview (generator, emitters, distribution). Complementary to per-appliance equipment schemas (gas-boiler-equipment, heat-pump-equipment) which describe individual generators. Child schema of building-equipment.",
    "export_date": "2026-05-27 10:00:00",
    "dolibarr_version": "18.0.0",
    "extrafields": [
        {
            "name": "htg_inventory_number",
            "label": "Inventory number",
            "type": "varchar",
            "size": "50",
            "required": 1,
            "unique": 1,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Internal inventory tag",
            "pos": 100,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "htg_building_uuid",
            "label": "Parent building UUID",
            "type": "varchar",
            "size": "50",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "UUID of the parent building-equipment record",
            "pos": 105,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "htg_generator_type",
            "label": "Generator type",
            "type": "select",
            "size": "",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "gas_boiler": "Gas boiler",
                    "oil_boiler": "Oil boiler",
                    "wood_boiler": "Wood log boiler",
                    "wood_pellet_boiler": "Wood pellet boiler",
                    "heat_pump_air": "Air-source heat pump",
                    "heat_pump_ground": "Ground-source heat pump",
                    "electric_radiator": "Electric radiators only",
                    "district_heating": "District heating",
                    "solar_thermal": "Solar thermal",
                    "mixed": "Mixed sources",
                    "none": "None",
                    "other": "Other"
                }
            },
            "help": "Primary heat generator technology",
            "pos": 200,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "htg_generator_count",
            "label": "Number of generators",
            "type": "int",
            "size": "4",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "How many heat generators are installed",
            "pos": 205,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "htg_generator_age_years",
            "label": "Generator age (years)",
            "type": "int",
            "size": "4",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Age of the main generator in years",
            "pos": 210,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "htg_generator_power_kw",
            "label": "Generator power (kW)",
            "type": "double",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Nominal heat output in kilowatts",
            "pos": 215,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "htg_fuel_storage_capacity_l",
            "label": "Fuel storage capacity (L)",
            "type": "int",
            "size": "6",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Capacity of fuel tank or silo in litres (oil, pellets); leave empty if not applicable",
            "pos": 220,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "htg_emitter_type",
            "label": "Emitter type",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "radiators_water": "Hydronic radiators",
                    "radiators_electric": "Electric radiators",
                    "underfloor_heating": "Underfloor heating",
                    "fan_coils": "Fan coil units",
                    "air_handling": "Air handling units",
                    "mixed": "Mixed emitters",
                    "other": "Other"
                }
            },
            "help": "Predominant heat emitter type in the building",
            "pos": 300,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "htg_distribution_insulation",
            "label": "Distribution insulation",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "insulated": "Insulated",
                    "partially_insulated": "Partially insulated",
                    "not_insulated": "Not insulated",
                    "not_applicable": "Not applicable"
                }
            },
            "help": "Insulation state of heating pipes and ducts",
            "pos": 305,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "htg_thermostat_type",
            "label": "Thermostat type",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "programmable": "Programmable thermostat",
                    "room_only": "Simple room thermostat",
                    "smart_connected": "Smart connected thermostat",
                    "none": "None"
                }
            },
            "help": "Heating regulation device",
            "pos": 400,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "htg_zoning_per_room",
            "label": "Per-room zoning",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Each room can be regulated independently",
            "pos": 405,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "htg_install_year",
            "label": "Year of installation",
            "type": "int",
            "size": "4",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Year the heating system was first installed",
            "pos": 450,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "htg_last_replacement_year",
            "label": "Last generator replacement year",
            "type": "int",
            "size": "4",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Year the main generator was last replaced",
            "pos": 455,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "htg_status",
            "label": "Status",
            "type": "select",
            "size": "",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "in_service": "In service",
                    "in_service_with_anomalies": "In service with anomalies",
                    "under_repair": "Under repair",
                    "out_of_order": "Out of order",
                    "decommissioned": "Decommissioned"
                }
            },
            "help": "Operational status",
            "pos": 500,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "in_service",
            "alwayseditable": 0
        },
        {
            "name": "htg_last_inspection_date",
            "label": "Last inspection date",
            "type": "date",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 510,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "htg_next_maintenance_date",
            "label": "Next scheduled maintenance",
            "type": "date",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 520,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "htg_warranty_end_date",
            "label": "Warranty end date",
            "type": "date",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "End of manufacturer or installer warranty if applicable",
            "pos": 530,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "htg_contractor_name",
            "label": "Original contractor",
            "type": "varchar",
            "size": "200",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Installer of the heating system",
            "pos": 600,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "htg_maintenance_contract_ref",
            "label": "Maintenance contract reference",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 610,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "htg_notes",
            "label": "Notes",
            "type": "text",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Free-form notes",
            "pos": 700,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        }
    ],
    "pdf_layout": {
        "version": "1.1",
        "page": {
            "format": "A4",
            "orientation": "portrait",
            "margins": {
                "top": 20,
                "right": 15,
                "bottom": 20,
                "left": 15
            },
            "font_family": "helvetica",
            "font_size": 10
        },
        "header": {
            "title": "Equipment - Heating system",
            "subtitle": "Building lot inventory record",
            "logo_placeholder": "top-right",
            "show_page_number": true,
            "show_generated_date": true
        },
        "footer": {
            "text": "Generated via schemas.cap-rel.fr"
        },
        "sections": [
            {
                "id": "identification",
                "title": "Identification",
                "layout": "two_columns",
                "fields": [
                    "htg_inventory_number",
                    "htg_building_uuid"
                ]
            },
            {
                "id": "generator",
                "title": "Heat generator",
                "layout": "two_columns",
                "fields": [
                    "htg_generator_type",
                    "htg_generator_count",
                    "htg_generator_age_years",
                    "htg_generator_power_kw",
                    "htg_fuel_storage_capacity_l"
                ]
            },
            {
                "id": "distribution",
                "title": "Distribution and emitters",
                "layout": "two_columns",
                "fields": [
                    "htg_emitter_type",
                    "htg_distribution_insulation"
                ]
            },
            {
                "id": "regulation",
                "title": "Regulation",
                "layout": "two_columns",
                "fields": [
                    "htg_thermostat_type",
                    "htg_zoning_per_room"
                ]
            },
            {
                "id": "history",
                "title": "Installation history",
                "layout": "two_columns",
                "fields": [
                    "htg_install_year",
                    "htg_last_replacement_year"
                ]
            },
            {
                "id": "status",
                "title": "Status and follow-up",
                "layout": "highlight_box",
                "fields": [
                    "htg_status",
                    "htg_last_inspection_date",
                    "htg_next_maintenance_date",
                    "htg_warranty_end_date"
                ]
            },
            {
                "id": "commercial",
                "title": "Contractor and maintenance",
                "layout": "two_columns",
                "fields": [
                    "htg_contractor_name",
                    "htg_maintenance_contract_ref"
                ]
            },
            {
                "id": "notes",
                "title": "Notes",
                "layout": "full_width",
                "fields": [
                    "htg_notes"
                ]
            }
        ],
        "field_render": {
            "htg_status": {
                "style": "highlight",
                "color_by_value": {
                    "in_service": "#1f8a1f",
                    "in_service_with_anomalies": "#e69500",
                    "under_repair": "#3273dc",
                    "out_of_order": "#c00000",
                    "decommissioned": "#555555"
                }
            },
            "htg_notes": {
                "min_height": 30,
                "show_if_empty": false
            },
            "htg_inventory_number": {
                "style": "bold",
                "frame": true
            }
        }
    }
}
