{
    "uuid": "f82cb73b118c95e684c7c7cc81eb282d",
    "elementtype": "equipment",
    "schema_kind": "equipment",
    "title": "Equipment - Folding Bike (rental)",
    "description": "Inventory record for a folding bicycle used in a rental fleet, including folding mechanism, folded dimensions, wheel size, and fold lock.",
    "export_date": "2026-05-31 10:00:00",
    "dolibarr_version": "18.0.0",
    "extrafields": [
        {
            "name": "fold_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": "fold_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",
            "pos": 105,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fold_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",
            "pos": 108,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fold_brand",
            "label": "Brand",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Manufacturer (e.g. Brompton, Dahon, Tern, Bickerton)",
            "pos": 110,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fold_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": "fold_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": "fold_wheel_size",
            "label": "Wheel size",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "12": "12 inches",
                    "14": "14 inches",
                    "16": "16 inches",
                    "20": "20 inches",
                    "24": "24 inches"
                }
            },
            "help": "Most folding bikes use 16 or 20 inch wheels",
            "pos": 200,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "20",
            "alwayseditable": 0
        },
        {
            "name": "fold_mechanism",
            "label": "Folding mechanism",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "mid_fold": "Mid-fold (frame hinge)",
                    "triangle_hinge": "Triangle hinge (Brompton-style)",
                    "vertical_fold": "Vertical fold",
                    "break_away": "Break-away (removable front triangle)",
                    "half_fold": "Half-fold (handlebar only)"
                }
            },
            "help": "Frame folding system",
            "pos": 205,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "mid_fold",
            "alwayseditable": 0
        },
        {
            "name": "fold_lock_mechanism",
            "label": "Fold lock mechanism",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "lever_clamp": "Lever clamp",
                    "magnetic": "Magnetic (e.g. Brompton)",
                    "hook_latch": "Hook and latch",
                    "screw_bolt": "Screw / bolt",
                    "none": "None"
                }
            },
            "help": "Locking system holding the bike in folded position",
            "pos": 210,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "lever_clamp",
            "alwayseditable": 0
        },
        {
            "name": "fold_folded_length_cm",
            "label": "Folded length (cm)",
            "type": "int",
            "size": "4",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Longest dimension when folded",
            "pos": 215,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fold_folded_width_cm",
            "label": "Folded width (cm)",
            "type": "int",
            "size": "4",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Width when folded (handlebar direction)",
            "pos": 220,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fold_folded_height_cm",
            "label": "Folded height (cm)",
            "type": "int",
            "size": "4",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Height when folded",
            "pos": 225,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fold_fold_time_seconds",
            "label": "Fold time (seconds)",
            "type": "int",
            "size": "3",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Approximate time to fold (manufacturer or measured)",
            "pos": 228,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fold_total_weight_kg",
            "label": "Total weight (kg)",
            "type": "double",
            "size": "4,2",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 230,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fold_max_rider_weight_kg",
            "label": "Maximum rider weight (kg)",
            "type": "int",
            "size": "3",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Manufacturer-rated maximum user weight (typically 100-125 kg)",
            "pos": 235,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fold_speeds",
            "label": "Number of speeds",
            "type": "int",
            "size": "2",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Total gears (1 for single-speed, 2, 3, 6, 8...)",
            "pos": 240,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fold_brake_type",
            "label": "Brake type",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "caliper": "Caliper",
                    "v_brake": "V-brake",
                    "mechanical_disc": "Mechanical disc",
                    "hydraulic_disc": "Hydraulic disc",
                    "roller": "Roller / drum"
                }
            },
            "help": "",
            "pos": 245,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "caliper",
            "alwayseditable": 0
        },
        {
            "name": "fold_has_mudguards",
            "label": "Mudguards",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 250,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "1",
            "alwayseditable": 0
        },
        {
            "name": "fold_has_lights",
            "label": "Lights (front and rear)",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Mandatory on public roads",
            "pos": 255,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "1",
            "alwayseditable": 0
        },
        {
            "name": "fold_has_carrying_bag",
            "label": "Carrying bag / case",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Bag or case included for carrying on public transport",
            "pos": 258,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "0",
            "alwayseditable": 0
        },
        {
            "name": "fold_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": "fold_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": "fold_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": "fold_storage_area",
            "label": "Storage area",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Rack or locker identifier",
            "pos": 410,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "fold_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": "fold_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": "fold_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": "fold_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": "fold_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": "fold_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": "fold_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": "fold_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 - Folding 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": [
                    "fold_inventory_number",
                    "fold_serial_number",
                    "fold_bicycode",
                    "fold_brand",
                    "fold_model",
                    "fold_manufacture_year"
                ]
            },
            {
                "id": "geometry",
                "title": "Folding characteristics",
                "layout": "two_columns",
                "fields": [
                    "fold_wheel_size",
                    "fold_mechanism",
                    "fold_lock_mechanism",
                    "fold_folded_length_cm",
                    "fold_folded_width_cm",
                    "fold_folded_height_cm",
                    "fold_fold_time_seconds"
                ]
            },
            {
                "id": "weight",
                "title": "Weight and capacity",
                "layout": "two_columns",
                "fields": [
                    "fold_total_weight_kg",
                    "fold_max_rider_weight_kg"
                ]
            },
            {
                "id": "components",
                "title": "Components and accessories",
                "layout": "two_columns",
                "fields": [
                    "fold_speeds",
                    "fold_brake_type",
                    "fold_has_mudguards",
                    "fold_has_lights",
                    "fold_has_carrying_bag"
                ]
            },
            {
                "id": "rates",
                "title": "Rental rates",
                "layout": "two_columns",
                "fields": [
                    "fold_daily_rate",
                    "fold_weekly_rate"
                ]
            },
            {
                "id": "location",
                "title": "Location",
                "layout": "two_columns",
                "fields": [
                    "fold_site",
                    "fold_storage_area"
                ]
            },
            {
                "id": "status",
                "title": "Status and follow-up",
                "layout": "highlight_box",
                "fields": [
                    "fold_status",
                    "fold_rental_status",
                    "fold_commissioning_date",
                    "fold_next_maintenance_date"
                ]
            },
            {
                "id": "commercial",
                "title": "Purchase and maintenance",
                "layout": "two_columns",
                "fields": [
                    "fold_purchase_date",
                    "fold_warranty_end_date",
                    "fold_supplier"
                ]
            },
            {
                "id": "notes",
                "title": "Notes",
                "layout": "full_width",
                "fields": [
                    "fold_notes"
                ]
            }
        ],
        "field_render": {
            "fold_status": {
                "style": "highlight",
                "color_by_value": {
                    "in_service": "#1f8a1f",
                    "in_stock": "#888888",
                    "in_repair": "#e69500",
                    "out_of_order": "#c00000",
                    "decommissioned": "#555555"
                }
            },
            "fold_rental_status": {
                "style": "highlight",
                "color_by_value": {
                    "available": "#1f8a1f",
                    "rented": "#1f5fa8",
                    "maintenance": "#e69500",
                    "reserved": "#888888",
                    "claim": "#c00000",
                    "decommissioned": "#555555"
                }
            },
            "fold_inventory_number": {
                "style": "bold",
                "frame": true
            },
            "fold_total_weight_kg": {
                "suffix": " kg"
            },
            "fold_folded_length_cm": {
                "suffix": " cm"
            },
            "fold_folded_width_cm": {
                "suffix": " cm"
            },
            "fold_folded_height_cm": {
                "suffix": " cm"
            },
            "fold_notes": {
                "min_height": 30,
                "show_if_empty": false
            }
        }
    }
}
