{
    "uuid": "6ad7e47e5cbc4ed91ddb5cf06479cd4f",
    "elementtype": "equipment",
    "schema_kind": "equipment",
    "title": "Equipment - Commercial passenger boat (NUC)",
    "description": "Inventory record for a commercial passenger vessel (NUC - Navire a Utilisation Commerciale) carrying up to about twenty passengers: river shuttle, harbour tour boat, day excursion, dive boat. Tracks French registration, navigation category, propulsion, hull material and the regulatory safety commission visit cycle.",
    "export_date": "2026-05-30 10:00:00",
    "dolibarr_version": "18.0.0",
    "extrafields": [
        {
            "name": "pb_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": "pb_n_immatriculation",
            "label": "Registration number",
            "type": "varchar",
            "size": "50",
            "required": 1,
            "unique": 1,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Affaires maritimes registration number (ex: MA 123456)",
            "pos": 105,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pb_register_type",
            "label": "Register type",
            "type": "select",
            "size": "",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "francisation": "Francisation (commerce maritime)",
                    "fluvial": "Registre fluvial (VNF)",
                    "rif": "Registre International Francais (RIF)",
                    "other": "Other"
                }
            },
            "help": "",
            "pos": 110,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "francisation",
            "alwayseditable": 0
        },
        {
            "name": "pb_vessel_name",
            "label": "Vessel name",
            "type": "varchar",
            "size": "100",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Name painted on the hull",
            "pos": 115,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pb_brand",
            "label": "Brand / Shipyard",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Manufacturer or shipyard",
            "pos": 120,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pb_model",
            "label": "Model",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Model reference",
            "pos": 125,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pb_year",
            "label": "Year of build",
            "type": "int",
            "size": "4",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 130,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pb_length_overall_m",
            "label": "Length overall (m)",
            "type": "double",
            "size": "5,2",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "LOA from stem to stern",
            "pos": 200,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pb_beam_m",
            "label": "Beam (m)",
            "type": "double",
            "size": "4,2",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Maximum width",
            "pos": 205,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pb_gross_tonnage",
            "label": "Gross tonnage (UMS)",
            "type": "double",
            "size": "6,2",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Universal Measurement System",
            "pos": 210,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pb_max_passengers",
            "label": "Max passengers",
            "type": "int",
            "size": "3",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Authorized passenger capacity (ticket de visite)",
            "pos": 215,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "12",
            "alwayseditable": 0
        },
        {
            "name": "pb_max_crew",
            "label": "Max crew",
            "type": "int",
            "size": "3",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Number of crew members",
            "pos": 220,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "1",
            "alwayseditable": 0
        },
        {
            "name": "pb_navigation_category",
            "label": "Navigation category",
            "type": "select",
            "size": "",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "cat_5": "5e categorie (eaux abritees, < 2 NM)",
                    "cat_4": "4e categorie (< 5 NM d'un abri)",
                    "cat_3": "3e categorie (< 20 NM)",
                    "cat_2": "2e categorie (< 60 NM)",
                    "cat_1": "1ere categorie (> 60 NM, haute mer)"
                }
            },
            "help": "Division 240 / 241 / 245 category",
            "pos": 225,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "cat_5",
            "alwayseditable": 0
        },
        {
            "name": "pb_propulsion_type",
            "label": "Propulsion type",
            "type": "select",
            "size": "",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "inboard": "Inboard engine",
                    "outboard": "Single outboard",
                    "twin_outboard": "Twin outboard",
                    "sail_aux": "Sail with auxiliary engine",
                    "electric": "Electric propulsion"
                }
            },
            "help": "",
            "pos": 230,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "inboard",
            "alwayseditable": 0
        },
        {
            "name": "pb_engine_total_power_kw",
            "label": "Engine total power (kW)",
            "type": "double",
            "size": "6,2",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Sum of all installed engines",
            "pos": 235,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pb_hull_material",
            "label": "Hull material",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "grp": "GRP / Fiberglass",
                    "aluminium": "Aluminium",
                    "wood": "Wood",
                    "steel": "Steel",
                    "composite": "Composite"
                }
            },
            "help": "",
            "pos": 240,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "grp",
            "alwayseditable": 0
        },
        {
            "name": "pb_commission_visit_last_date",
            "label": "Last safety commission visit",
            "type": "date",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Date of last commission de visite de securite",
            "pos": 300,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pb_commission_visit_next_date",
            "label": "Next safety commission visit",
            "type": "date",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Planned date of the next regulatory visit",
            "pos": 310,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pb_classification_society",
            "label": "Classification society / control body",
            "type": "varchar",
            "size": "150",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Bureau Veritas, Affaires Maritimes, etc.",
            "pos": 320,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pb_isps_applicable",
            "label": "ISPS code applicable",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "International Ship and Port Facility Security",
            "pos": 330,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "0",
            "alwayseditable": 0
        },
        {
            "name": "pb_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 / winter storage",
                    "decommissioned": "Decommissioned"
                }
            },
            "help": "",
            "pos": 400,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "in_service",
            "alwayseditable": 0
        },
        {
            "name": "pb_home_port",
            "label": "Home port",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Port d'attache",
            "pos": 410,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pb_berth",
            "label": "Berth / pontoon",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Specific mooring location",
            "pos": 420,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pb_commercial_operator",
            "label": "Commercial operator",
            "type": "varchar",
            "size": "150",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Exploiting company name",
            "pos": 500,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pb_insurance_contract_ref",
            "label": "Insurance contract reference",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "P and I, hull, third party",
            "pos": 510,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "pb_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": "pb_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 - Commercial passenger boat (NUC)",
            "subtitle": "Vessel 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": [
                    "pb_inventory_number",
                    "pb_n_immatriculation",
                    "pb_register_type",
                    "pb_vessel_name",
                    "pb_brand",
                    "pb_model",
                    "pb_year"
                ]
            },
            {
                "id": "dimensions",
                "title": "Dimensions and capacity",
                "layout": "two_columns",
                "fields": [
                    "pb_length_overall_m",
                    "pb_beam_m",
                    "pb_gross_tonnage",
                    "pb_max_passengers",
                    "pb_max_crew"
                ]
            },
            {
                "id": "technical",
                "title": "Technical configuration",
                "layout": "two_columns",
                "fields": [
                    "pb_navigation_category",
                    "pb_propulsion_type",
                    "pb_engine_total_power_kw",
                    "pb_hull_material"
                ]
            },
            {
                "id": "regulatory",
                "title": "Regulatory follow-up",
                "layout": "highlight_box",
                "fields": [
                    "pb_commission_visit_last_date",
                    "pb_commission_visit_next_date",
                    "pb_classification_society",
                    "pb_isps_applicable"
                ]
            },
            {
                "id": "status",
                "title": "Status and location",
                "layout": "two_columns",
                "fields": [
                    "pb_status",
                    "pb_home_port",
                    "pb_berth"
                ]
            },
            {
                "id": "commercial",
                "title": "Commercial",
                "layout": "two_columns",
                "fields": [
                    "pb_commercial_operator",
                    "pb_insurance_contract_ref",
                    "pb_purchase_date"
                ]
            },
            {
                "id": "notes",
                "title": "Notes",
                "layout": "full_width",
                "fields": [
                    "pb_notes"
                ]
            }
        ],
        "field_render": {
            "pb_inventory_number": {
                "style": "bold",
                "frame": true
            },
            "pb_n_immatriculation": {
                "style": "bold"
            },
            "pb_status": {
                "style": "highlight",
                "color_by_value": {
                    "in_service": "#1f8a1f",
                    "in_repair": "#e69500",
                    "decommissioned": "#555555"
                }
            },
            "pb_notes": {
                "min_height": 30,
                "show_if_empty": false
            },
            "pb_length_overall_m": {
                "suffix": " m"
            },
            "pb_beam_m": {
                "suffix": " m"
            },
            "pb_engine_total_power_kw": {
                "suffix": " kW"
            }
        }
    }
}
