{
    "uuid": "c97d870cedf2dd11f571eced6dce0807",
    "elementtype": "equipment",
    "schema_kind": "equipment",
    "title": "Equipment - Exterior joinery",
    "description": "Inventory record for the exterior joinery lot of a building (windows, exterior doors, shutters, French windows). Child schema of building-equipment used as the equipment counterpart of the exterior joinery wear-and-tear (vetuste) intervention schema.",
    "export_date": "2026-05-27 10:00:00",
    "dolibarr_version": "18.0.0",
    "extrafields": [
        {
            "name": "jex_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": "jex_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": "jex_window_count",
            "label": "Number of windows",
            "type": "int",
            "size": "5",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Total number of windows on the building",
            "pos": 200,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "jex_exterior_door_count",
            "label": "Number of exterior doors",
            "type": "int",
            "size": "4",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Total number of exterior doors",
            "pos": 205,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "jex_french_window_count",
            "label": "Number of French windows",
            "type": "int",
            "size": "4",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Total number of French windows (porte-fenetre) and patio doors",
            "pos": 210,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "jex_shutter_count",
            "label": "Number of shutters",
            "type": "int",
            "size": "5",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Total number of shutters or roller shutters",
            "pos": 215,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "jex_window_frame_material",
            "label": "Window frame material",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "pvc": "PVC",
                    "aluminium": "Aluminium",
                    "aluminium_thermal_break": "Aluminium with thermal break",
                    "wood": "Wood",
                    "wood_aluminium_clad": "Wood with aluminium cladding",
                    "steel": "Steel",
                    "mixed": "Mixed",
                    "other": "Other"
                }
            },
            "help": "Predominant frame material across the building",
            "pos": 300,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "jex_glazing_type",
            "label": "Glazing type",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "single_glazing": "Single glazing",
                    "double_glazing": "Standard double glazing",
                    "double_glazing_low_e": "Double glazing with low-emissivity coating",
                    "double_glazing_argon": "Double glazing with argon gas",
                    "triple_glazing": "Triple glazing",
                    "acoustic_glazing": "Acoustic glazing",
                    "safety_glazing": "Safety / laminated glazing",
                    "mixed": "Mixed",
                    "other": "Other"
                }
            },
            "help": "Predominant glazing type",
            "pos": 305,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "jex_shutter_type",
            "label": "Shutter type",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "roller_pvc": "PVC roller shutter",
                    "roller_aluminium": "Aluminium roller shutter",
                    "roller_motorized": "Motorised roller shutter",
                    "swing_wood": "Wooden swing shutter",
                    "swing_metal": "Metal swing shutter",
                    "interior_blinds": "Interior blinds",
                    "none": "None",
                    "mixed": "Mixed",
                    "other": "Other"
                }
            },
            "help": "Predominant shutter or blind type",
            "pos": 310,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "jex_thermal_uw_value",
            "label": "Average Uw coefficient (W/m2.K)",
            "type": "double",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Average thermal transmittance Uw of the exterior joinery, in W/(m2.K)",
            "pos": 400,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "jex_install_year",
            "label": "Year of installation",
            "type": "int",
            "size": "4",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Year the joinery was installed or last replaced",
            "pos": 405,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "jex_compliance_dpe_class",
            "label": "Joinery DPE class",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "class_a": "A",
                    "class_b": "B",
                    "class_c": "C",
                    "class_d": "D",
                    "class_e": "E",
                    "class_f": "F",
                    "class_g": "G",
                    "not_assessed": "Not assessed"
                }
            },
            "help": "Energy performance class attributable to the exterior joinery (from the DPE report)",
            "pos": 410,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "not_assessed",
            "alwayseditable": 0
        },
        {
            "name": "jex_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",
                    "scheduled_replacement": "Scheduled for replacement",
                    "decommissioned": "Decommissioned"
                }
            },
            "help": "Operational status",
            "pos": 500,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "in_service",
            "alwayseditable": 0
        },
        {
            "name": "jex_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": "jex_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": "jex_warranty_end_date",
            "label": "Decennial warranty end date",
            "type": "date",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "End of the 10-year construction warranty if applicable",
            "pos": 530,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "jex_contractor_name",
            "label": "Original contractor",
            "type": "varchar",
            "size": "200",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Joinery installer who fitted the windows and doors",
            "pos": 600,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "jex_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": "jex_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 - Exterior joinery",
            "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": [
                    "jex_inventory_number",
                    "jex_building_uuid"
                ]
            },
            {
                "id": "quantities",
                "title": "Quantities",
                "layout": "two_columns",
                "fields": [
                    "jex_window_count",
                    "jex_exterior_door_count",
                    "jex_french_window_count",
                    "jex_shutter_count"
                ]
            },
            {
                "id": "materials_and_glazing",
                "title": "Materials and glazing",
                "layout": "two_columns",
                "fields": [
                    "jex_window_frame_material",
                    "jex_glazing_type",
                    "jex_shutter_type"
                ]
            },
            {
                "id": "thermal_performance",
                "title": "Thermal performance",
                "layout": "two_columns",
                "fields": [
                    "jex_thermal_uw_value",
                    "jex_compliance_dpe_class",
                    "jex_install_year"
                ]
            },
            {
                "id": "status",
                "title": "Status and follow-up",
                "layout": "highlight_box",
                "fields": [
                    "jex_status",
                    "jex_last_inspection_date",
                    "jex_next_maintenance_date",
                    "jex_warranty_end_date"
                ]
            },
            {
                "id": "commercial",
                "title": "Contractor and maintenance",
                "layout": "two_columns",
                "fields": [
                    "jex_contractor_name",
                    "jex_maintenance_contract_ref"
                ]
            },
            {
                "id": "notes",
                "title": "Notes",
                "layout": "full_width",
                "fields": [
                    "jex_notes"
                ]
            }
        ],
        "field_render": {
            "jex_status": {
                "style": "highlight",
                "color_by_value": {
                    "in_service": "#1f8a1f",
                    "in_service_with_anomalies": "#e69500",
                    "under_repair": "#3273dc",
                    "scheduled_replacement": "#3273dc",
                    "decommissioned": "#555555"
                }
            },
            "jex_notes": {
                "min_height": 30,
                "show_if_empty": false
            },
            "jex_inventory_number": {
                "style": "bold",
                "frame": true
            }
        }
    }
}
