{
    "uuid": "164633f187fe83abe5b5b11066d3c4ce",
    "elementtype": "equipment",
    "schema_kind": "equipment",
    "title": "Equipment - Bike Pump Station",
    "description": "Inventory record for a bicycle tyre inflation station: pump type, max pressure, valve compatibility, pressure gauge.",
    "export_date": "2026-05-31 10:00:00",
    "dolibarr_version": "18.0.0",
    "extrafields": [
        {
            "name": "pump_inventory_number",
            "label": "Inventory number",
            "type": "varchar",
            "size": "50",
            "required": 1,
            "unique": 1,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Internal asset tag",
            "pos": 100,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pump_serial_number",
            "label": "Serial number",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 1,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Manufacturer serial number",
            "pos": 105,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pump_brand",
            "label": "Brand",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Manufacturer name",
            "pos": 110,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pump_model",
            "label": "Model",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Commercial model name",
            "pos": 115,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pump_type",
            "label": "Pump type",
            "type": "select",
            "size": "",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "floor_manual": "Floor pump (manual)",
                    "foot_pump": "Foot pump",
                    "electric_mains": "Electric - mains powered",
                    "electric_battery": "Electric - battery powered",
                    "co2_cartridge": "CO2 cartridge inflator",
                    "compressor": "Compressor unit"
                }
            },
            "help": "Actuation type",
            "pos": 200,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "floor_manual",
            "alwayseditable": 0
        },
        {
            "name": "pump_max_pressure_bar",
            "label": "Maximum pressure (bar)",
            "type": "double",
            "size": "5,1",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Max inflation pressure the pump can deliver",
            "pos": 205,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pump_gauge_type",
            "label": "Pressure gauge type",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "none": "No gauge",
                    "analog_bar": "Analog (bar)",
                    "analog_psi": "Analog (PSI)",
                    "analog_dual": "Analog dual scale (bar + PSI)",
                    "digital": "Digital display"
                }
            },
            "help": "Type of pressure indicator",
            "pos": 210,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "analog_dual",
            "alwayseditable": 0
        },
        {
            "name": "pump_valve_presta",
            "label": "Presta valve compatible",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Supports Presta (French) valve",
            "pos": 215,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "1",
            "alwayseditable": 0
        },
        {
            "name": "pump_valve_schrader",
            "label": "Schrader valve compatible",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Supports Schrader (American / car) valve",
            "pos": 220,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "1",
            "alwayseditable": 0
        },
        {
            "name": "pump_valve_dunlop",
            "label": "Dunlop valve compatible",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Supports Dunlop (Woods / Dutch) valve",
            "pos": 225,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "0",
            "alwayseditable": 0
        },
        {
            "name": "pump_hose_length_cm",
            "label": "Hose length (cm)",
            "type": "int",
            "size": "4",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Length of the inflation hose in centimetres",
            "pos": 230,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pump_auto_shutoff",
            "label": "Auto pressure shutoff",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Electric pump stops automatically at set pressure",
            "pos": 235,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "0",
            "alwayseditable": 0
        },
        {
            "name": "pump_power_supply",
            "label": "Power supply",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "none": "None (manual)",
                    "mains_230v": "Mains 230 V AC",
                    "battery_lithium": "Lithium battery (rechargeable)",
                    "battery_alkaline": "Alkaline batteries",
                    "solar": "Solar"
                }
            },
            "help": "Power source for electric pumps",
            "pos": 240,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "none",
            "alwayseditable": 0
        },
        {
            "name": "pump_anchoring",
            "label": "Anchoring / mounting",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "free_standing": "Free-standing",
                    "bolted_floor": "Bolted to floor",
                    "wall_mounted": "Wall-mounted bracket",
                    "post_mounted": "Post-mounted (outdoor)"
                }
            },
            "help": "How the pump station is fixed",
            "pos": 245,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "free_standing",
            "alwayseditable": 0
        },
        {
            "name": "pump_public_access",
            "label": "Public self-service use",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Pump is accessible to customers without staff",
            "pos": 250,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "0",
            "alwayseditable": 0
        },
        {
            "name": "pump_location",
            "label": "Location in premises",
            "type": "varchar",
            "size": "150",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Room, outdoor area or bay identifier",
            "pos": 400,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pump_status",
            "label": "Inventory status",
            "type": "select",
            "size": "",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "in_service": "In service",
                    "in_repair": "In repair",
                    "out_of_order": "Out of order",
                    "decommissioned": "Decommissioned"
                }
            },
            "help": "Operational status",
            "pos": 500,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "in_service",
            "alwayseditable": 0
        },
        {
            "name": "pump_commissioning_date",
            "label": "Commissioning 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": "pump_last_calibration_date",
            "label": "Last gauge calibration date",
            "type": "date",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Annual calibration of the pressure gauge",
            "pos": 515,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pump_supplier",
            "label": "Supplier",
            "type": "varchar",
            "size": "150",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 600,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pump_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 - Bike Pump Station",
            "subtitle": "Tyre inflation station 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": [
                    "pump_inventory_number",
                    "pump_serial_number",
                    "pump_brand",
                    "pump_model"
                ]
            },
            {
                "id": "technical",
                "title": "Technical specifications",
                "layout": "two_columns",
                "fields": [
                    "pump_type",
                    "pump_max_pressure_bar",
                    "pump_gauge_type",
                    "pump_hose_length_cm",
                    "pump_auto_shutoff",
                    "pump_power_supply"
                ]
            },
            {
                "id": "valves",
                "title": "Valve compatibility",
                "layout": "two_columns",
                "fields": [
                    "pump_valve_presta",
                    "pump_valve_schrader",
                    "pump_valve_dunlop"
                ]
            },
            {
                "id": "installation",
                "title": "Installation",
                "layout": "two_columns",
                "fields": [
                    "pump_anchoring",
                    "pump_public_access",
                    "pump_location"
                ]
            },
            {
                "id": "status",
                "title": "Status and follow-up",
                "layout": "highlight_box",
                "fields": [
                    "pump_status",
                    "pump_commissioning_date",
                    "pump_last_calibration_date"
                ]
            },
            {
                "id": "commercial",
                "title": "Purchase",
                "layout": "two_columns",
                "fields": [
                    "pump_supplier"
                ]
            },
            {
                "id": "notes",
                "title": "Notes",
                "layout": "full_width",
                "fields": [
                    "pump_notes"
                ]
            }
        ],
        "field_render": {
            "pump_status": {
                "style": "highlight",
                "color_by_value": {
                    "in_service": "#1f8a1f",
                    "in_repair": "#e69500",
                    "out_of_order": "#c00000",
                    "decommissioned": "#555555"
                }
            },
            "pump_inventory_number": {
                "style": "bold",
                "frame": true
            },
            "pump_max_pressure_bar": {
                "suffix": " bar"
            },
            "pump_hose_length_cm": {
                "suffix": " cm"
            },
            "pump_notes": {
                "min_height": 30,
                "show_if_empty": false
            }
        }
    }
}
