{
    "uuid": "fc2a9a9486c7c2f4643bf5e9b638e070",
    "schema_kind": "equipment",
    "lang": "en",
    "title": "Equipment - Outdoor bolt anchor (rock climbing)",
    "description": "Inventory record for an individual permanent anchor (expansion bolt, glue-in or ring anchor) installed on a rock face of a natural climbing site (SNE) or training crag. Reference standard EN 959 (rock anchors for climbing).",
    "export_date": "2026-05-30 10:00:00",
    "dolibarr_version": "18.0.0",
    "extrafields": [
        {
            "name": "oba_anchor_id",
            "label": "Anchor identifier",
            "type": "varchar",
            "size": "50",
            "required": 1,
            "unique": 1,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Local anchor reference (bolt number or installation lot id)",
            "pos": 100,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "oba_site",
            "label": "Site / SNE",
            "type": "varchar",
            "size": "150",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Natural climbing site name",
            "pos": 110,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "oba_sector",
            "label": "Sector",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Sector or sub-area within the site",
            "pos": 115,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "oba_route_name",
            "label": "Route name",
            "type": "varchar",
            "size": "150",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Name of the route this anchor belongs to",
            "pos": 120,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "oba_route_pitch_number",
            "label": "Pitch number",
            "type": "int",
            "size": "3",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Pitch index within the route (1 for single pitch)",
            "pos": 125,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "1",
            "alwayseditable": 0
        },
        {
            "name": "oba_position_index",
            "label": "Anchor position index",
            "type": "int",
            "size": "3",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Order of the anchor along the pitch, from bottom to top",
            "pos": 130,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "oba_anchor_type",
            "label": "Anchor type",
            "type": "select",
            "size": "",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "mechanical_expansion_bolt": "Mechanical expansion bolt",
                    "glue_in_bolt_chemical": "Glue-in bolt (chemical)",
                    "ring_anchor_chemical": "Chemical ring anchor",
                    "classic_piton_legacy": "Legacy piton"
                }
            },
            "help": "Type of permanent anchor",
            "pos": 200,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "glue_in_bolt_chemical",
            "alwayseditable": 0
        },
        {
            "name": "oba_bolt_diameter_mm",
            "label": "Bolt diameter (mm)",
            "type": "double",
            "size": "5,1",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Typical 10 to 12 mm",
            "pos": 210,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "oba_bolt_material",
            "label": "Bolt material",
            "type": "select",
            "size": "",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "zinc_plated_steel": "Zinc-plated steel",
                    "stainless_316L": "Stainless steel 316L",
                    "stainless_HCR": "Stainless steel HCR",
                    "titanium": "Titanium"
                }
            },
            "help": "Construction material of the anchor",
            "pos": 220,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "stainless_316L",
            "alwayseditable": 0
        },
        {
            "name": "oba_rock_type",
            "label": "Rock type",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "limestone": "Limestone",
                    "granite": "Granite",
                    "sandstone": "Sandstone",
                    "gneiss": "Gneiss",
                    "basalt": "Basalt",
                    "conglomerate": "Conglomerate"
                }
            },
            "help": "",
            "pos": 230,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "oba_installation_date",
            "label": "Installation date",
            "type": "date",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 240,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "oba_installer_name",
            "label": "Installer",
            "type": "varchar",
            "size": "150",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Name of the equiper or organisation",
            "pos": 250,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "oba_manufacturer",
            "label": "Manufacturer / brand",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Bolt manufacturer or brand",
            "pos": 260,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "oba_en959_compliance",
            "label": "EN 959 compliance",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "yes": "Yes",
                    "no": "No",
                    "unknown": "Unknown"
                }
            },
            "help": "Conformity to EN 959 rock anchor standard",
            "pos": 270,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "unknown",
            "alwayseditable": 0
        },
        {
            "name": "oba_corrosion_environment",
            "label": "Corrosion environment",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "inland_dry": "Inland - dry",
                    "inland_humid": "Inland - humid",
                    "coastal_humid_salty": "Coastal - humid and salty",
                    "urban_polluted": "Urban / polluted"
                }
            },
            "help": "Influences service life and material choice",
            "pos": 280,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "inland_dry",
            "alwayseditable": 0
        },
        {
            "name": "oba_last_inspection_date",
            "label": "Last inspection date",
            "type": "date",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 290,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "oba_next_inspection_date",
            "label": "Next inspection date",
            "type": "date",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 295,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "oba_status",
            "label": "Status",
            "type": "select",
            "size": "",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "in_service": "In service",
                    "suspect": "Suspect",
                    "decommissioned": "Decommissioned",
                    "broken": "Broken"
                }
            },
            "help": "Operational status",
            "pos": 500,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "in_service",
            "alwayseditable": 0
        },
        {
            "name": "oba_notes",
            "label": "Notes",
            "type": "text",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Replacement history, observed defects",
            "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 - Outdoor bolt anchor",
            "subtitle": "Asset 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": [
                    "oba_anchor_id",
                    "oba_site",
                    "oba_sector",
                    "oba_route_name",
                    "oba_route_pitch_number",
                    "oba_position_index"
                ]
            },
            {
                "id": "specifications",
                "title": "Technical specifications",
                "layout": "two_columns",
                "fields": [
                    "oba_anchor_type",
                    "oba_bolt_diameter_mm",
                    "oba_bolt_material",
                    "oba_rock_type",
                    "oba_en959_compliance",
                    "oba_corrosion_environment"
                ]
            },
            {
                "id": "history",
                "title": "Installation and follow-up",
                "layout": "two_columns",
                "fields": [
                    "oba_installation_date",
                    "oba_installer_name",
                    "oba_manufacturer",
                    "oba_last_inspection_date",
                    "oba_next_inspection_date"
                ]
            },
            {
                "id": "status",
                "title": "Status",
                "layout": "highlight_box",
                "fields": [
                    "oba_status"
                ]
            },
            {
                "id": "notes",
                "title": "Notes",
                "layout": "full_width",
                "fields": [
                    "oba_notes"
                ]
            }
        ],
        "field_render": {
            "oba_status": {
                "style": "highlight",
                "color_by_value": {
                    "in_service": "#1f8a1f",
                    "suspect": "#e69500",
                    "decommissioned": "#555555",
                    "broken": "#c00000"
                }
            },
            "oba_notes": {
                "min_height": 30,
                "show_if_empty": false
            },
            "oba_anchor_id": {
                "style": "bold",
                "frame": true
            }
        }
    }
}