{
    "uuid": "42d9cb25f6e41982f0bae0157c9126ee",
    "elementtype": "equipment",
    "schema_kind": "equipment",
    "title": "Equipment - Facade",
    "description": "Inventory record for a facade lot of a building (covering, exterior insulation, finish). One record per facade orientation when relevant. Child schema of building-equipment used as the equipment counterpart of the facade wear-and-tear (vetuste) intervention schema.",
    "export_date": "2026-05-27 10:00:00",
    "dolibarr_version": "18.0.0",
    "extrafields": [
        {
            "name": "fac_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": "fac_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": "fac_orientation",
            "label": "Orientation",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "north": "North",
                    "north_east": "North-East",
                    "east": "East",
                    "south_east": "South-East",
                    "south": "South",
                    "south_west": "South-West",
                    "west": "West",
                    "north_west": "North-West",
                    "all": "All facades (single record)"
                }
            },
            "help": "Cardinal orientation of the facade",
            "pos": 200,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fac_covering_type",
            "label": "Facade covering",
            "type": "select",
            "size": "",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "traditional_render": "Traditional lime / cement render",
                    "monolayer_render": "Monolayer render",
                    "stone_facing": "Stone facing",
                    "brick_facing": "Brick facing",
                    "wood_cladding": "Wood cladding",
                    "metal_cladding": "Metal cladding",
                    "fiber_cement_cladding": "Fiber cement cladding",
                    "ceramic_tile": "Ceramic tile",
                    "etics_polystyrene": "External thermal insulation (polystyrene)",
                    "etics_mineral_wool": "External thermal insulation (mineral wool)",
                    "ventilated_facade": "Ventilated rainscreen facade",
                    "raw_concrete": "Raw concrete",
                    "other": "Other"
                }
            },
            "help": "Primary facade covering",
            "pos": 210,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fac_substrate_type",
            "label": "Substrate type",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "concrete_block": "Concrete block",
                    "brick": "Brick",
                    "rubble_stone": "Rubble stone",
                    "ashlar_stone": "Ashlar stone",
                    "concrete_cast": "Cast concrete",
                    "timber_frame": "Timber frame",
                    "metal_frame": "Metal frame",
                    "earth": "Earth (cob, adobe)",
                    "other": "Other"
                }
            },
            "help": "Underlying wall material",
            "pos": 215,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fac_surface_m2",
            "label": "Facade surface (m2)",
            "type": "double",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Surface in square metres, openings excluded",
            "pos": 220,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fac_height_m",
            "label": "Facade height (m)",
            "type": "double",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Height from ground level to top of facade",
            "pos": 225,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fac_install_year",
            "label": "Year of installation",
            "type": "int",
            "size": "4",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Year the covering was laid or last redone",
            "pos": 230,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fac_last_repaint_year",
            "label": "Year of last repaint",
            "type": "int",
            "size": "4",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 235,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fac_exterior_insulation_present",
            "label": "External insulation present",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Is the facade fitted with external thermal insulation",
            "pos": 240,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fac_exterior_insulation_thickness_mm",
            "label": "External insulation thickness (mm)",
            "type": "int",
            "size": "5",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 245,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fac_color_reference",
            "label": "Color reference",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "RAL or paint manufacturer reference",
            "pos": 250,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fac_listed_heritage",
            "label": "Heritage listed",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Facade subject to heritage protection (architect approval required)",
            "pos": 260,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fac_status",
            "label": "Status",
            "type": "select",
            "size": "",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "in_service": "In service",
                    "under_repair": "Under repair",
                    "scheduled_repaint": "Scheduled for repaint",
                    "scheduled_replacement": "Scheduled for replacement",
                    "out_of_order": "Out of order",
                    "decommissioned": "Decommissioned"
                }
            },
            "help": "Operational status",
            "pos": 500,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "in_service",
            "alwayseditable": 0
        },
        {
            "name": "fac_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": "fac_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": "fac_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": "fac_contractor_name",
            "label": "Original contractor",
            "type": "varchar",
            "size": "200",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Plasterer / cladding contractor",
            "pos": 600,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fac_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": "fac_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 - Facade",
            "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": [
                    "fac_inventory_number",
                    "fac_building_uuid",
                    "fac_orientation"
                ]
            },
            {
                "id": "covering",
                "title": "Covering and substrate",
                "layout": "two_columns",
                "fields": [
                    "fac_covering_type",
                    "fac_substrate_type",
                    "fac_surface_m2",
                    "fac_height_m",
                    "fac_install_year",
                    "fac_last_repaint_year",
                    "fac_color_reference"
                ]
            },
            {
                "id": "insulation",
                "title": "External insulation",
                "layout": "two_columns",
                "fields": [
                    "fac_exterior_insulation_present",
                    "fac_exterior_insulation_thickness_mm"
                ]
            },
            {
                "id": "regulatory",
                "title": "Regulatory context",
                "layout": "two_columns",
                "fields": [
                    "fac_listed_heritage"
                ]
            },
            {
                "id": "status",
                "title": "Status and follow-up",
                "layout": "highlight_box",
                "fields": [
                    "fac_status",
                    "fac_last_inspection_date",
                    "fac_next_maintenance_date",
                    "fac_warranty_end_date"
                ]
            },
            {
                "id": "commercial",
                "title": "Contractor and maintenance",
                "layout": "two_columns",
                "fields": [
                    "fac_contractor_name",
                    "fac_maintenance_contract_ref"
                ]
            },
            {
                "id": "notes",
                "title": "Notes",
                "layout": "full_width",
                "fields": [
                    "fac_notes"
                ]
            }
        ],
        "field_render": {
            "fac_status": {
                "style": "highlight",
                "color_by_value": {
                    "in_service": "#1f8a1f",
                    "under_repair": "#e69500",
                    "scheduled_repaint": "#3273dc",
                    "scheduled_replacement": "#3273dc",
                    "out_of_order": "#c00000",
                    "decommissioned": "#555555"
                }
            },
            "fac_notes": {
                "min_height": 30,
                "show_if_empty": false
            },
            "fac_inventory_number": {
                "style": "bold",
                "frame": true
            }
        }
    }
}
