{
    "uuid": "1a3c85d62e286239df00e1deff8c097f",
    "elementtype": "equipment",
    "schema_kind": "equipment",
    "title": "Equipment - Backup storage media",
    "description": "Inventory record for a backup storage media (USB HDD, USB SSD, NAS, SAN, LTO tape, RDX cartridge, cloud sync target). Tracks pairing with the protected system, rotation slot, encryption and verification history.",
    "export_date": "2026-05-26 10:00:00",
    "dolibarr_version": "18.0.0",
    "extrafields": [
        {
            "name": "backup_inventory_number",
            "label": "Inventory number",
            "type": "varchar",
            "size": "50",
            "required": 1,
            "unique": 1,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Internal inventory tag",
            "pos": 100,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "backup_serial_number",
            "label": "Serial number",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Manufacturer serial number",
            "pos": 105,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "backup_brand",
            "label": "Brand",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Manufacturer / brand name",
            "pos": 110,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "backup_model",
            "label": "Model",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Manufacturer model reference",
            "pos": 115,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "backup_storage_type",
            "label": "Storage type",
            "type": "select",
            "size": "",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "usb_hdd": "USB HDD",
                    "usb_ssd": "USB SSD",
                    "nas": "NAS",
                    "san": "SAN",
                    "lto_tape": "LTO tape",
                    "rdx_cartridge": "RDX cartridge",
                    "cloud_sync": "Cloud sync target",
                    "other": "Other"
                }
            },
            "help": "",
            "pos": 200,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "usb_hdd",
            "alwayseditable": 0
        },
        {
            "name": "backup_capacity_gb",
            "label": "Capacity (GB)",
            "type": "int",
            "size": "8",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 1,
            "printable": 1,
            "param": [],
            "help": "Total raw capacity in gigabytes",
            "pos": 205,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "backup_interface",
            "label": "Interface",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "usb_a_3": "USB-A 3.x",
                    "usb_c": "USB-C",
                    "thunderbolt": "Thunderbolt",
                    "ethernet": "Ethernet",
                    "fibre_channel": "Fibre Channel",
                    "nfs": "NFS",
                    "smb": "SMB",
                    "s3": "S3",
                    "other": "Other"
                }
            },
            "help": "",
            "pos": 210,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "backup_encryption_at_rest",
            "label": "Encryption at rest enabled",
            "type": "boolean",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "",
            "pos": 300,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "backup_encryption_algorithm",
            "label": "Encryption algorithm",
            "type": "varchar",
            "size": "50",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "e.g. AES-256, LUKS, BitLocker XTS-AES, vendor SED",
            "pos": 305,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "backup_rotation_slot",
            "label": "Rotation slot",
            "type": "varchar",
            "size": "10",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Rotation slot label (A / B / C / Daily / Weekly / Monthly)",
            "pos": 310,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "backup_paired_equipment_ref",
            "label": "Paired equipment reference",
            "type": "varchar",
            "size": "100",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Inventory number or hostname of the protected server / NAS / workstation",
            "pos": 315,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "backup_offsite_location",
            "label": "Off-site storage location",
            "type": "varchar",
            "size": "200",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Address or place name when the media is rotated off-site",
            "pos": 320,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "backup_retention_days",
            "label": "Retention policy (days)",
            "type": "int",
            "size": "4",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Number of days the data must be kept",
            "pos": 325,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "backup_check_frequency_days",
            "label": "Expected check frequency (days)",
            "type": "int",
            "size": "4",
            "required": 1,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Maximum number of days between two verification / restore-test runs",
            "pos": 400,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "30",
            "alwayseditable": 0
        },
        {
            "name": "backup_last_check_date",
            "label": "Last verification date",
            "type": "date",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Date of the last verification run (presence, integrity)",
            "pos": 405,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "backup_last_check_outcome",
            "label": "Last verification outcome",
            "type": "select",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": {
                "options": {
                    "ok": "OK",
                    "warning": "Warning",
                    "failure": "Failure",
                    "not_tested": "Not tested"
                }
            },
            "help": "",
            "pos": 410,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "not_tested",
            "alwayseditable": 0
        },
        {
            "name": "backup_last_restore_test_date",
            "label": "Last full restore test date",
            "type": "date",
            "size": "",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Date of the last end-to-end restoration test",
            "pos": 415,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "backup_status",
            "label": "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": "backup_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": "backup_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": "backup_supplier",
            "label": "Supplier",
            "type": "varchar",
            "size": "150",
            "required": 0,
            "unique": 0,
            "visible": 1,
            "totalizable": 0,
            "printable": 1,
            "param": [],
            "help": "Supplier company",
            "pos": 620,
            "enabled": 1,
            "perms": "",
            "langfile": "",
            "computed": "",
            "default": "",
            "alwayseditable": 0
        },
        {
            "name": "backup_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 - Backup storage media",
            "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": [
                    "backup_inventory_number",
                    "backup_serial_number",
                    "backup_brand",
                    "backup_model"
                ]
            },
            {
                "id": "storage_specs",
                "title": "Storage specifications",
                "layout": "two_columns",
                "fields": [
                    "backup_storage_type",
                    "backup_capacity_gb",
                    "backup_interface",
                    "backup_encryption_at_rest",
                    "backup_encryption_algorithm"
                ]
            },
            {
                "id": "rotation_and_pairing",
                "title": "Rotation and pairing",
                "layout": "two_columns",
                "fields": [
                    "backup_rotation_slot",
                    "backup_paired_equipment_ref",
                    "backup_offsite_location",
                    "backup_retention_days"
                ]
            },
            {
                "id": "verification",
                "title": "Verification history",
                "layout": "highlight_box",
                "fields": [
                    "backup_check_frequency_days",
                    "backup_last_check_date",
                    "backup_last_check_outcome",
                    "backup_last_restore_test_date"
                ]
            },
            {
                "id": "status",
                "title": "Status",
                "layout": "highlight_box",
                "fields": [
                    "backup_status"
                ]
            },
            {
                "id": "commercial",
                "title": "Purchase",
                "layout": "two_columns",
                "fields": [
                    "backup_purchase_date",
                    "backup_warranty_end_date",
                    "backup_supplier"
                ]
            },
            {
                "id": "notes",
                "title": "Notes",
                "layout": "full_width",
                "fields": [
                    "backup_notes"
                ]
            }
        ],
        "field_render": {
            "backup_status": {
                "style": "highlight",
                "color_by_value": {
                    "in_service": "#1f8a1f",
                    "in_stock": "#888888",
                    "in_repair": "#e69500",
                    "out_of_order": "#c00000",
                    "decommissioned": "#555555"
                }
            },
            "backup_last_check_outcome": {
                "style": "highlight",
                "color_by_value": {
                    "ok": "#1f8a1f",
                    "warning": "#e69500",
                    "failure": "#c00000",
                    "not_tested": "#e69500"
                }
            },
            "backup_notes": {
                "min_height": 30,
                "show_if_empty": false
            },
            "backup_inventory_number": {
                "style": "bold",
                "frame": true
            },
            "backup_capacity_gb": {
                "suffix": " GB"
            },
            "backup_retention_days": {
                "suffix": " days"
            },
            "backup_check_frequency_days": {
                "suffix": " days"
            }
        }
    }
}
