{
    "uuid": "6c3bdaac72c50609f83370b912919901",
    "elementtype": "equipment",
    "schema_kind": "equipment",
    "title": "Equipment - Exterior works",
    "description": "Inventory record for the exterior works lot of a building (fence, courtyard, private road, garden shed, terrace, exterior lighting). Child schema of building-equipment used as the equipment counterpart of the exterior works wear-and-tear (vetuste) intervention schema.",
    "export_date": "2026-05-27 10:00:00",
    "dolibarr_version": "18.0.0",
    "extrafields": [
        {
            "name": "ext_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": "ext_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": "ext_fence_type",
            "label": "Fence type",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "none": "None",
                    "brick_wall": "Brick wall",
                    "concrete_wall": "Concrete wall",
                    "stone_wall": "Stone wall",
                    "wood_fence": "Wood fence",
                    "metal_fence": "Metal fence",
                    "pvc_fence": "PVC fence",
                    "chain_link": "Chain link",
                    "hedge": "Hedge",
                    "mixed": "Mixed",
                    "other": "Other"
                }
            },
            "help": "Primary perimeter enclosure type",
            "pos": 200,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "ext_fence_length_m",
            "label": "Fence length (m)",
            "type": "double",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Total fence linear length, metres",
            "pos": 205,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "ext_courtyard_present",
            "label": "Courtyard present",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Is a courtyard present on the property",
            "pos": 210,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "ext_courtyard_surface_m2",
            "label": "Courtyard surface (m2)",
            "type": "double",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Courtyard surface, square metres",
            "pos": 215,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "ext_courtyard_material",
            "label": "Courtyard material",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "asphalt": "Asphalt",
                    "concrete_slab": "Concrete slab",
                    "gravel": "Gravel",
                    "paving_stones": "Paving stones",
                    "cobblestone": "Cobblestone",
                    "earth": "Earth",
                    "mixed": "Mixed",
                    "not_applicable": "Not applicable",
                    "other": "Other"
                }
            },
            "help": "Surface material of the courtyard",
            "pos": 220,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "ext_private_road_present",
            "label": "Private road present",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Is a private road or driveway present",
            "pos": 225,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "ext_private_road_surface_m2",
            "label": "Private road surface (m2)",
            "type": "double",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Private road surface, square metres",
            "pos": 230,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "ext_terrace_present",
            "label": "Terrace present",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Is an exterior terrace present",
            "pos": 235,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "ext_terrace_surface_m2",
            "label": "Terrace surface (m2)",
            "type": "double",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Terrace surface, square metres",
            "pos": 240,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "ext_garden_shed_present",
            "label": "Garden shed present",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Is a garden shed installed on the property",
            "pos": 245,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "ext_exterior_lighting_present",
            "label": "Exterior lighting present",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Is exterior lighting installed (lampposts, wall lights, ground spots)",
            "pos": 250,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "ext_install_year",
            "label": "Year of installation",
            "type": "int",
            "size": "4",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Year the exterior works were laid or last renovated",
            "pos": 260,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "ext_status",
            "label": "Status",
            "type": "select",
            "size": "",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "in_service": "In service",
                    "worn": "Worn",
                    "under_repair": "Under repair",
                    "scheduled_renovation": "Scheduled renovation",
                    "decommissioned": "Decommissioned"
                }
            },
            "help": "Operational status",
            "pos": 500,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "in_service",
            "alwayseditable": 0
        },
        {
            "name": "ext_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": "ext_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": "ext_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": "ext_contractor_name",
            "label": "Original contractor",
            "type": "varchar",
            "size": "200",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Contractor who installed the exterior works",
            "pos": 600,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "ext_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": "ext_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 works",
            "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": [
                    "ext_inventory_number",
                    "ext_building_uuid"
                ]
            },
            {
                "id": "boundaries",
                "title": "Boundaries and fencing",
                "layout": "two_columns",
                "fields": [
                    "ext_fence_type",
                    "ext_fence_length_m"
                ]
            },
            {
                "id": "paved_areas",
                "title": "Courtyard and private road",
                "layout": "two_columns",
                "fields": [
                    "ext_courtyard_present",
                    "ext_courtyard_surface_m2",
                    "ext_courtyard_material",
                    "ext_private_road_present",
                    "ext_private_road_surface_m2"
                ]
            },
            {
                "id": "outdoor_features",
                "title": "Outdoor features",
                "layout": "two_columns",
                "fields": [
                    "ext_terrace_present",
                    "ext_terrace_surface_m2",
                    "ext_garden_shed_present",
                    "ext_exterior_lighting_present"
                ]
            },
            {
                "id": "status",
                "title": "Status and follow-up",
                "layout": "highlight_box",
                "fields": [
                    "ext_status",
                    "ext_install_year",
                    "ext_last_inspection_date",
                    "ext_next_maintenance_date",
                    "ext_warranty_end_date"
                ]
            },
            {
                "id": "commercial",
                "title": "Contractor and maintenance",
                "layout": "two_columns",
                "fields": [
                    "ext_contractor_name",
                    "ext_maintenance_contract_ref"
                ]
            },
            {
                "id": "notes",
                "title": "Notes",
                "layout": "full_width",
                "fields": [
                    "ext_notes"
                ]
            }
        ],
        "field_render": {
            "ext_status": {
                "style": "highlight",
                "color_by_value": {
                    "in_service": "#1f8a1f",
                    "worn": "#e69500",
                    "under_repair": "#3273dc",
                    "scheduled_renovation": "#3273dc",
                    "decommissioned": "#555555"
                }
            },
            "ext_notes": {
                "min_height": 30,
                "show_if_empty": false
            },
            "ext_inventory_number": {
                "style": "bold",
                "frame": true
            }
        }
    }
}
