{
    "uuid": "4d01a76f50618355ed36e22e8bc715a0",
    "schema_kind": "equipment",
    "lang": "en",
    "title": "Equipment - Structural frame",
    "description": "Inventory record for the load-bearing structural frame lot of a building (load-bearing walls, framing, roof frame, floor slabs). Child schema of building-equipment used as the equipment counterpart of the structural wear-and-tear (vetuste) intervention schema.",
    "export_date": "2026-05-27 10:00:00",
    "dolibarr_version": "18.0.0",
    "extrafields": [
        {
            "name": "frm_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": "frm_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": "frm_structure_type",
            "label": "Structure type",
            "type": "select",
            "size": "",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "load_bearing_walls": "Load-bearing walls",
                    "post_beam": "Post and beam",
                    "mixed": "Mixed structure",
                    "industrial_frame": "Industrial frame",
                    "other": "Other"
                }
            },
            "help": "Main load-bearing structural system",
            "pos": 200,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "frm_wall_material",
            "label": "Wall material",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "brick": "Brick",
                    "concrete_block": "Concrete block",
                    "cast_concrete": "Cast concrete",
                    "rubble_stone": "Rubble stone",
                    "ashlar_stone": "Ashlar stone",
                    "timber_frame": "Timber frame",
                    "metal_frame": "Metal frame",
                    "earth_cob": "Earth or cob",
                    "other": "Other"
                }
            },
            "help": "Primary material of load-bearing walls",
            "pos": 205,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "frm_roof_frame_type",
            "label": "Roof frame type",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "traditional_timber": "Traditional timber frame",
                    "industrial_truss": "Industrial truss",
                    "metal_frame": "Metal frame",
                    "concrete_slab": "Concrete slab",
                    "other": "Other"
                }
            },
            "help": "Underlying roof load-bearing structure",
            "pos": 210,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "frm_floor_slab_material",
            "label": "Floor slab material",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "concrete_slab": "Cast concrete slab",
                    "wood_joists": "Wood joists",
                    "concrete_hollow_block": "Concrete hollow block floor",
                    "prestressed_beam_block": "Prestressed beam and block",
                    "metal_deck": "Metal deck",
                    "other": "Other"
                }
            },
            "help": "Material of intermediate floor slabs",
            "pos": 215,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "frm_install_year",
            "label": "Year of construction",
            "type": "int",
            "size": "4",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Year the structural frame was built or last rebuilt",
            "pos": 220,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "frm_visible_cracks_present",
            "label": "Visible cracks present",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Are visible cracks observed on the structure",
            "pos": 300,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "frm_visible_cracks_severity",
            "label": "Crack severity",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "none": "None",
                    "microcracks": "Microcracks",
                    "active_cracks": "Active cracks",
                    "structural_cracks": "Structural cracks"
                }
            },
            "help": "Observed severity of cracks",
            "pos": 305,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "frm_humidity_observed",
            "label": "Humidity observed",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Damp or moisture observed on the structure",
            "pos": 310,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "frm_seismic_zone",
            "label": "Seismic zone",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "zone_1": "Zone 1 (very low)",
                    "zone_2": "Zone 2 (low)",
                    "zone_3": "Zone 3 (moderate)",
                    "zone_4": "Zone 4 (medium)",
                    "zone_5": "Zone 5 (strong)",
                    "not_applicable": "Not applicable"
                }
            },
            "help": "French regulatory seismic zone of the building location",
            "pos": 400,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "frm_last_structural_study_date",
            "label": "Last structural study date",
            "type": "date",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Date of the last structural engineering study",
            "pos": 410,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "frm_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",
                    "under_reinforcement": "Under reinforcement",
                    "unsafe": "Unsafe",
                    "decommissioned": "Decommissioned"
                }
            },
            "help": "Operational status",
            "pos": 500,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "in_service",
            "alwayseditable": 0
        },
        {
            "name": "frm_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": "frm_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": "frm_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": "frm_contractor_name",
            "label": "Original contractor",
            "type": "varchar",
            "size": "200",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Contractor who built the structural frame",
            "pos": 600,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "frm_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": "frm_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 - Structural frame",
            "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": [
                    "frm_inventory_number",
                    "frm_building_uuid"
                ]
            },
            {
                "id": "structure_and_envelope",
                "title": "Structure and envelope",
                "layout": "two_columns",
                "fields": [
                    "frm_structure_type",
                    "frm_wall_material",
                    "frm_roof_frame_type",
                    "frm_floor_slab_material",
                    "frm_install_year"
                ]
            },
            {
                "id": "observed_defects",
                "title": "Observed defects",
                "layout": "two_columns",
                "fields": [
                    "frm_visible_cracks_present",
                    "frm_visible_cracks_severity",
                    "frm_humidity_observed"
                ]
            },
            {
                "id": "regulatory_context",
                "title": "Regulatory context",
                "layout": "two_columns",
                "fields": [
                    "frm_seismic_zone",
                    "frm_last_structural_study_date"
                ]
            },
            {
                "id": "status",
                "title": "Status and follow-up",
                "layout": "highlight_box",
                "fields": [
                    "frm_status",
                    "frm_last_inspection_date",
                    "frm_next_maintenance_date",
                    "frm_warranty_end_date"
                ]
            },
            {
                "id": "commercial",
                "title": "Contractor and maintenance",
                "layout": "two_columns",
                "fields": [
                    "frm_contractor_name",
                    "frm_maintenance_contract_ref"
                ]
            },
            {
                "id": "notes",
                "title": "Notes",
                "layout": "full_width",
                "fields": [
                    "frm_notes"
                ]
            }
        ],
        "field_render": {
            "frm_status": {
                "style": "highlight",
                "color_by_value": {
                    "in_service": "#1f8a1f",
                    "under_repair": "#e69500",
                    "under_reinforcement": "#3273dc",
                    "unsafe": "#c00000",
                    "decommissioned": "#555555"
                }
            },
            "frm_visible_cracks_severity": {
                "style": "highlight",
                "color_by_value": {
                    "none": "#1f8a1f",
                    "microcracks": "#e69500",
                    "active_cracks": "#c00000",
                    "structural_cracks": "#c00000"
                }
            },
            "frm_notes": {
                "min_height": 30,
                "show_if_empty": false
            },
            "frm_inventory_number": {
                "style": "bold",
                "frame": true
            }
        }
    }
}
