{
    "uuid": "849c1b1260461e40d5a30ebd0d7b076f",
    "elementtype": "equipment",
    "schema_kind": "equipment",
    "title": "Equipment - Cargo Bike (rental)",
    "description": "Inventory record for a cargo bicycle (longtail, bakfiets, biporteur) used in a rental fleet, including box/platform type, payload, passenger capacity, and optional electric assist.",
    "export_date": "2026-05-31 10:00:00",
    "dolibarr_version": "18.0.0",
    "extrafields": [
        {
            "name": "cargo_inventory_number",
            "label": "Inventory number",
            "type": "varchar",
            "size": "50",
            "required": 1,
            "unique": 1,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Internal fleet tag",
            "pos": 100,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "cargo_serial_number",
            "label": "Frame serial number",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 1,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Frame unique identifier (stamped or engraved)",
            "pos": 105,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "cargo_bicycode",
            "label": "BicyCode / FNUCI marking",
            "type": "varchar",
            "size": "30",
            "required": 0,
            "unique": 1,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Mandatory anti-theft marking for rental fleets",
            "pos": 108,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "cargo_brand",
            "label": "Brand",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Manufacturer (e.g. Babboe, Bakfiets.nl, Urban Arrow, Yuba, Larry vs Harry)",
            "pos": 110,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "cargo_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": "cargo_manufacture_year",
            "label": "Year of manufacture",
            "type": "int",
            "size": "4",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 120,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "cargo_subtype",
            "label": "Cargo bike subtype",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "longtail": "Longtail (extended rear rack)",
                    "bakfiets_2w": "Bakfiets 2-wheel (front box)",
                    "bakfiets_3w": "Bakfiets 3-wheel (front box, tricycle)",
                    "biporteur": "Biporteur (front-loading 2-wheel)",
                    "electric_cargo": "Electric cargo (mid-drive or hub)",
                    "cargo_trike": "Cargo trike (rear-load 3-wheel)"
                }
            },
            "help": "Frame configuration and load position",
            "pos": 200,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "longtail",
            "alwayseditable": 0
        },
        {
            "name": "cargo_box_type",
            "label": "Box / platform type",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "open_box": "Open wooden box",
                    "closed_box": "Closed box with lid",
                    "flat_platform": "Flat platform",
                    "child_seat_bench": "Child seat bench (integrated)",
                    "container": "Enclosed container",
                    "none": "None (longtail deck)"
                }
            },
            "help": "Load-carrying structure type",
            "pos": 205,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "open_box",
            "alwayseditable": 0
        },
        {
            "name": "cargo_max_payload_kg",
            "label": "Maximum payload (kg)",
            "type": "double",
            "size": "5,1",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Manufacturer-rated load capacity excluding rider",
            "pos": 210,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "cargo_max_total_weight_kg",
            "label": "Maximum total weight (kg)",
            "type": "double",
            "size": "6,1",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "PTAC: bike + rider + load (typically 200-300 kg)",
            "pos": 215,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "cargo_max_child_passengers",
            "label": "Max child passengers",
            "type": "int",
            "size": "2",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Number of children the box is rated for (0 if freight only)",
            "pos": 220,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "0",
            "alwayseditable": 0
        },
        {
            "name": "cargo_total_length_cm",
            "label": "Total length (cm)",
            "type": "int",
            "size": "4",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Overall bike length, relevant for parking and storage",
            "pos": 225,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "cargo_bike_weight_kg",
            "label": "Unladen bike weight (kg)",
            "type": "double",
            "size": "4,1",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 230,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "cargo_brake_type",
            "label": "Brake type",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "hydraulic_disc": "Hydraulic disc",
                    "mechanical_disc": "Mechanical disc",
                    "v_brake": "V-brake",
                    "roller": "Roller / drum",
                    "mixed": "Mixed (disc front, roller rear)"
                }
            },
            "help": "Hydraulic disc strongly recommended for heavy loads",
            "pos": 235,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "hydraulic_disc",
            "alwayseditable": 0
        },
        {
            "name": "cargo_kickstand",
            "label": "Kickstand type",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "double_leg": "Double-leg (centre stand)",
                    "single_leg": "Single-leg",
                    "none": "None"
                }
            },
            "help": "Double-leg stand mandatory for loaded parking stability",
            "pos": 240,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "double_leg",
            "alwayseditable": 0
        },
        {
            "name": "cargo_electric_assist",
            "label": "Electric assist",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "True if fitted with a pedelec motor (EN 15194)",
            "pos": 245,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "0",
            "alwayseditable": 0
        },
        {
            "name": "cargo_motor_brand",
            "label": "Motor brand / model",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "e.g. Bosch Cargo Line, Shimano STEPS E6100, Bafang M400",
            "pos": 248,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "cargo_battery_wh",
            "label": "Battery capacity (Wh)",
            "type": "int",
            "size": "5",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Nominal battery capacity in Watt-hours",
            "pos": 250,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "cargo_has_rain_cover",
            "label": "Rain cover / canopy",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Removable rain canopy for children or cargo",
            "pos": 255,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "0",
            "alwayseditable": 0
        },
        {
            "name": "cargo_has_child_harness",
            "label": "Child harness (5-point)",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Integrated 5-point harness for child passengers in box",
            "pos": 258,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "0",
            "alwayseditable": 0
        },
        {
            "name": "cargo_daily_rate",
            "label": "Daily rate",
            "type": "double",
            "size": "8,2",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 260,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "cargo_weekly_rate",
            "label": "Weekly rate",
            "type": "double",
            "size": "8,2",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 265,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "cargo_site",
            "label": "Site",
            "type": "varchar",
            "size": "150",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Rental agency location",
            "pos": 400,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "cargo_storage_area",
            "label": "Storage area",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Parking spot or rack identifier",
            "pos": 410,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "cargo_status",
            "label": "Inventory status",
            "type": "select",
            "size": "",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "in_service": "In service",
                    "in_stock": "In stock",
                    "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": "cargo_rental_status",
            "label": "Rental status",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "available": "Available",
                    "rented": "Rented",
                    "maintenance": "Maintenance",
                    "reserved": "Reserved",
                    "claim": "Claim / accident",
                    "decommissioned": "Decommissioned"
                }
            },
            "help": "Rental availability",
            "pos": 505,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "available",
            "alwayseditable": 0
        },
        {
            "name": "cargo_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": "cargo_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": "cargo_purchase_date",
            "label": "Purchase date",
            "type": "date",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 600,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "cargo_warranty_end_date",
            "label": "Warranty end date",
            "type": "date",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 610,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "cargo_supplier",
            "label": "Supplier",
            "type": "varchar",
            "size": "150",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 620,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "cargo_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 - Cargo Bike (rental)",
            "subtitle": "Rental fleet 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": [
                    "cargo_inventory_number",
                    "cargo_serial_number",
                    "cargo_bicycode",
                    "cargo_brand",
                    "cargo_model",
                    "cargo_manufacture_year"
                ]
            },
            {
                "id": "geometry",
                "title": "Frame and configuration",
                "layout": "two_columns",
                "fields": [
                    "cargo_subtype",
                    "cargo_box_type",
                    "cargo_total_length_cm",
                    "cargo_bike_weight_kg",
                    "cargo_kickstand"
                ]
            },
            {
                "id": "capacity",
                "title": "Load and passenger capacity",
                "layout": "two_columns",
                "fields": [
                    "cargo_max_payload_kg",
                    "cargo_max_total_weight_kg",
                    "cargo_max_child_passengers",
                    "cargo_has_child_harness",
                    "cargo_has_rain_cover"
                ]
            },
            {
                "id": "drivetrain",
                "title": "Drivetrain and brakes",
                "layout": "two_columns",
                "fields": [
                    "cargo_brake_type",
                    "cargo_electric_assist",
                    "cargo_motor_brand",
                    "cargo_battery_wh"
                ]
            },
            {
                "id": "rates",
                "title": "Rental rates",
                "layout": "two_columns",
                "fields": [
                    "cargo_daily_rate",
                    "cargo_weekly_rate"
                ]
            },
            {
                "id": "location",
                "title": "Location",
                "layout": "two_columns",
                "fields": [
                    "cargo_site",
                    "cargo_storage_area"
                ]
            },
            {
                "id": "status",
                "title": "Status and follow-up",
                "layout": "highlight_box",
                "fields": [
                    "cargo_status",
                    "cargo_rental_status",
                    "cargo_commissioning_date",
                    "cargo_next_maintenance_date"
                ]
            },
            {
                "id": "commercial",
                "title": "Purchase and maintenance",
                "layout": "two_columns",
                "fields": [
                    "cargo_purchase_date",
                    "cargo_warranty_end_date",
                    "cargo_supplier"
                ]
            },
            {
                "id": "notes",
                "title": "Notes",
                "layout": "full_width",
                "fields": [
                    "cargo_notes"
                ]
            }
        ],
        "field_render": {
            "cargo_status": {
                "style": "highlight",
                "color_by_value": {
                    "in_service": "#1f8a1f",
                    "in_stock": "#888888",
                    "in_repair": "#e69500",
                    "out_of_order": "#c00000",
                    "decommissioned": "#555555"
                }
            },
            "cargo_rental_status": {
                "style": "highlight",
                "color_by_value": {
                    "available": "#1f8a1f",
                    "rented": "#1f5fa8",
                    "maintenance": "#e69500",
                    "reserved": "#888888",
                    "claim": "#c00000",
                    "decommissioned": "#555555"
                }
            },
            "cargo_inventory_number": {
                "style": "bold",
                "frame": true
            },
            "cargo_max_payload_kg": {
                "suffix": " kg"
            },
            "cargo_max_total_weight_kg": {
                "suffix": " kg"
            },
            "cargo_bike_weight_kg": {
                "suffix": " kg"
            },
            "cargo_total_length_cm": {
                "suffix": " cm"
            },
            "cargo_battery_wh": {
                "suffix": " Wh"
            },
            "cargo_notes": {
                "min_height": 30,
                "show_if_empty": false
            }
        }
    }
}
