{
    "format": 1,
    "exported_at": "2026-11-01T16:50:24+00:00",
    "hash": "96fcd926eba4ee9c1d77a728cd4d2c1d6030ee24d3e70e20e2a30bcc0c09dffd",
    "tables": {
        "pattern_types": [
            {
                "id": "9f1c6f10-0000-4000-8000-000000000001",
                "name": "Weighing Instrument",
                "description": "An instrument designed to measure weight or mass in accordance with approved metrological standards.",
                "wizard_blueprint": {
                    "steps": [
                        "instrument",
                        "documents",
                        "fee",
                        "declaration",
                        "review"
                    ],
                    "instrument": {
                        "multiple": false,
                        "serial_numbers": true,
                        "step": "instrument",
                        "fields": [
                            {
                                "key": "brand_name",
                                "source": "column",
                                "section": "Instrument Details",
                                "label": "Brand name",
                                "type": "text",
                                "required": true,
                                "placeholder": "Enter brand name"
                            },
                            {
                                "key": "accuracy_class",
                                "source": "column",
                                "section": "Instrument Details",
                                "label": "Accuracy class",
                                "type": "text",
                                "required": true,
                                "help": "For example III"
                            },
                            {
                                "key": "maximum_capacity",
                                "source": "column",
                                "section": "Instrument Details",
                                "label": "Maximum capacity",
                                "type": "text",
                                "required": true,
                                "placeholder": "e.g. 100kg"
                            },
                            {
                                "key": "quantity",
                                "source": "column",
                                "section": "Instrument Details",
                                "label": "Quantity of instrument",
                                "type": "number",
                                "required": true,
                                "min": 1,
                                "max": 20,
                                "help": "How many identical instruments this approval covers, up to 20"
                            },
                            {
                                "key": "serial_numbers",
                                "source": "serials",
                                "section": "Instrument Details",
                                "label": "Serial numbers",
                                "required": true,
                                "width": "full"
                            },
                            {
                                "key": "scale_type",
                                "source": "attribute",
                                "section": "Instrument Details",
                                "display": "radio"
                            },
                            {
                                "key": "instrument_uses",
                                "source": "attribute",
                                "section": "Instrument Details",
                                "display": "checkboxes"
                            }
                        ]
                    }
                },
                "sort_order": 1,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "9f1c6f10-0000-4000-8000-000000000002",
                "name": "Fuel Pump",
                "description": "An instrument for measuring and dispensing liquid fuel for commercial transactions.",
                "wizard_blueprint": {
                    "steps": [
                        "basic_information",
                        "metrology_accuracy",
                        "indicating_software",
                        "sealing_installation",
                        "documents",
                        "fee",
                        "declaration",
                        "review"
                    ],
                    "instrument": {
                        "multiple": false,
                        "serial_numbers": true,
                        "step": "basic_information",
                        "fields": [
                            {
                                "key": "manufacturer",
                                "source": "column",
                                "step": "basic_information",
                                "section": "Manufacturer Details",
                                "label": "Manufacturer name",
                                "type": "text",
                                "required": true,
                                "placeholder": "e.g. Apex"
                            },
                            {
                                "key": "country_of_origin",
                                "source": "column",
                                "step": "basic_information",
                                "section": "Manufacturer Details",
                                "label": "Country of manufacture",
                                "type": "select",
                                "required": true,
                                "options_source": "countries"
                            },
                            {
                                "key": "make",
                                "source": "column",
                                "step": "basic_information",
                                "section": "Fuel Pump Identification",
                                "label": "Make / brand",
                                "type": "text",
                                "required": false,
                                "placeholder": "e.g. Aurora"
                            },
                            {
                                "key": "model",
                                "source": "column",
                                "step": "basic_information",
                                "section": "Fuel Pump Identification",
                                "label": "Model",
                                "type": "text",
                                "required": false,
                                "placeholder": "e.g. AU-005"
                            },
                            {
                                "key": "quantity",
                                "source": "column",
                                "step": "basic_information",
                                "section": "Fuel Pump Identification",
                                "label": "Quantity of pumps",
                                "type": "number",
                                "required": true,
                                "min": 1,
                                "max": 20,
                                "help": "How many identical pumps this approval covers, up to 20"
                            },
                            {
                                "key": "manufacturing_year",
                                "source": "attribute",
                                "step": "basic_information",
                                "section": "Fuel Pump Identification"
                            },
                            {
                                "key": "serial_numbers",
                                "source": "serials",
                                "step": "basic_information",
                                "section": "Fuel Pump Identification",
                                "label": "Serial numbers",
                                "required": true,
                                "width": "full",
                                "help": "Each serial number must be unique"
                            },
                            {
                                "key": "nozzle_count",
                                "source": "attribute",
                                "step": "basic_information",
                                "section": "Fuel Pump Identification"
                            },
                            {
                                "key": "dispenser_type",
                                "source": "attribute",
                                "step": "basic_information",
                                "section": "Fuel Pump Identification"
                            },
                            {
                                "key": "measured_quantity",
                                "source": "attribute",
                                "step": "metrology_accuracy",
                                "section": "Metrological Characteristics"
                            },
                            {
                                "key": "fuel_types",
                                "source": "attribute",
                                "step": "metrology_accuracy",
                                "section": "Metrological Characteristics",
                                "display": "checkboxes"
                            },
                            {
                                "key": "flow_rate_min",
                                "source": "attribute",
                                "step": "metrology_accuracy",
                                "section": "Metrological Characteristics"
                            },
                            {
                                "key": "flow_rate_max",
                                "source": "attribute",
                                "step": "metrology_accuracy",
                                "section": "Metrological Characteristics"
                            },
                            {
                                "key": "min_measured_volume",
                                "source": "attribute",
                                "step": "metrology_accuracy",
                                "section": "Metrological Characteristics"
                            },
                            {
                                "key": "temperature_min",
                                "source": "attribute",
                                "step": "metrology_accuracy",
                                "section": "Operating Temperature Range (°C)"
                            },
                            {
                                "key": "temperature_max",
                                "source": "attribute",
                                "step": "metrology_accuracy",
                                "section": "Operating Temperature Range (°C)"
                            },
                            {
                                "key": "accuracy_class",
                                "source": "column",
                                "step": "metrology_accuracy",
                                "section": "Accuracy & Performance",
                                "label": "Declared accuracy class",
                                "type": "text",
                                "required": true,
                                "placeholder": "e.g. ±0.5%"
                            },
                            {
                                "key": "max_permissible_error",
                                "source": "attribute",
                                "step": "metrology_accuracy",
                                "section": "Accuracy & Performance"
                            },
                            {
                                "key": "volume_indicator_types",
                                "source": "attribute",
                                "step": "indicating_software",
                                "section": "Indicating & Power System",
                                "display": "checkboxes"
                            },
                            {
                                "key": "price_display",
                                "source": "attribute",
                                "step": "indicating_software",
                                "section": "Indicating & Power System",
                                "display": "radio"
                            },
                            {
                                "key": "display_location",
                                "source": "attribute",
                                "step": "indicating_software",
                                "section": "Indicating & Power System",
                                "display": "checkboxes"
                            },
                            {
                                "key": "power_supply",
                                "source": "attribute",
                                "step": "indicating_software",
                                "section": "Indicating & Power System",
                                "display": "checkboxes"
                            },
                            {
                                "key": "software_version",
                                "source": "column",
                                "step": "indicating_software",
                                "section": "Software Information",
                                "label": "Software version",
                                "type": "text",
                                "required": true,
                                "placeholder": "e.g. v2.1.5",
                                "width": "full"
                            },
                            {
                                "key": "software_legally_relevant",
                                "source": "attribute",
                                "step": "indicating_software",
                                "section": "Software Information",
                                "display": "radio"
                            },
                            {
                                "key": "event_log",
                                "source": "attribute",
                                "step": "indicating_software",
                                "section": "Software Information",
                                "display": "radio"
                            },
                            {
                                "key": "software_protection",
                                "source": "attribute",
                                "step": "indicating_software",
                                "section": "Software Information",
                                "display": "checkboxes",
                                "width": "full"
                            },
                            {
                                "key": "adjustment_points",
                                "source": "attribute",
                                "step": "sealing_installation",
                                "section": "Sealing & Security"
                            },
                            {
                                "key": "seal_types",
                                "source": "attribute",
                                "step": "sealing_installation",
                                "section": "Sealing & Security",
                                "display": "checkboxes"
                            },
                            {
                                "key": "seal_locations",
                                "source": "attribute",
                                "step": "sealing_installation",
                                "section": "Sealing & Security"
                            },
                            {
                                "key": "intended_country",
                                "source": "attribute",
                                "step": "sealing_installation",
                                "section": "Installation Information",
                                "width": "full"
                            },
                            {
                                "key": "intended_installation",
                                "source": "attribute",
                                "step": "sealing_installation",
                                "section": "Installation Information",
                                "display": "checkboxes"
                            },
                            {
                                "key": "installation_manual",
                                "source": "attribute",
                                "step": "sealing_installation",
                                "section": "Installation Information",
                                "display": "radio"
                            }
                        ]
                    },
                    "document_sections": [
                        {
                            "title": "Supporting Documents (Part 1)",
                            "documents": [
                                "calibration_manual",
                                "user_manual",
                                "exterior_photo",
                                "nameplate_photo",
                                "display_photo"
                            ]
                        },
                        {
                            "title": "Supporting Documents (Part 2)",
                            "documents": [
                                "sealing_points_photo",
                                "type_examination",
                                "software_documentation"
                            ]
                        }
                    ]
                },
                "sort_order": 2,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "9f1c6f10-0000-4000-8000-000000000003",
                "name": "Meter",
                "description": "Water, flow, bulk flow and electrical metering devices.",
                "wizard_blueprint": {
                    "steps": [
                        "instruments",
                        "manufacturer",
                        "documents",
                        "fee",
                        "declaration",
                        "review"
                    ],
                    "instrument": {
                        "multiple": false,
                        "serial_numbers": true,
                        "serial_uppercase": true,
                        "step": "manufacturer",
                        "required_columns": [
                            "brand_name",
                            "model",
                            "manufacturer",
                            "country_of_origin"
                        ],
                        "fields": [
                            {
                                "key": "brand_name",
                                "source": "column",
                                "section": "Meter details",
                                "label": "Brand name",
                                "type": "text",
                                "required": true,
                                "placeholder": "Enter brand name"
                            },
                            {
                                "key": "make",
                                "source": "column",
                                "section": "Meter details",
                                "label": "Make",
                                "type": "text",
                                "required": false,
                                "placeholder": "Enter make"
                            },
                            {
                                "key": "model",
                                "source": "column",
                                "section": "Meter details",
                                "label": "Model",
                                "type": "text",
                                "required": true,
                                "placeholder": "Enter model"
                            },
                            {
                                "key": "meter_type",
                                "source": "attribute",
                                "section": "Meter details"
                            },
                            {
                                "key": "meter_design",
                                "source": "attribute",
                                "section": "Meter details"
                            },
                            {
                                "key": "firmware_version",
                                "source": "column",
                                "section": "Meter details",
                                "label": "Firmware version",
                                "type": "text",
                                "required": true,
                                "placeholder": "Enter firmware version",
                                "depends_on": {
                                    "key": "meter_type",
                                    "value": "Prepaid"
                                }
                            },
                            {
                                "key": "manufacturer",
                                "source": "column",
                                "section": "Meter details",
                                "label": "Manufacturer",
                                "type": "text",
                                "required": true,
                                "placeholder": "Enter manufacturer"
                            },
                            {
                                "key": "country_of_origin",
                                "source": "column",
                                "section": "Meter details",
                                "label": "Country of origin",
                                "type": "select",
                                "required": true,
                                "options_source": "countries"
                            },
                            {
                                "key": "accuracy_class",
                                "source": "column",
                                "section": "Meter details",
                                "label": "Accuracy class",
                                "type": "select",
                                "required": false,
                                "options": [
                                    {
                                        "value": "I",
                                        "label": "Class I"
                                    },
                                    {
                                        "value": "II",
                                        "label": "Class II"
                                    }
                                ]
                            },
                            {
                                "key": "nominal_diameter",
                                "source": "attribute",
                                "section": "Meter details"
                            },
                            {
                                "key": "quantity",
                                "source": "column",
                                "section": "Meter details",
                                "label": "Quantity",
                                "type": "number",
                                "required": true,
                                "min": 1,
                                "max": 20,
                                "help": "How many identical meters this approval covers, up to 20"
                            },
                            {
                                "key": "serial_numbers",
                                "source": "serials",
                                "section": "Meter details",
                                "label": "Serial numbers",
                                "required": true,
                                "width": "full",
                                "help": "One per meter, in capital letters"
                            }
                        ],
                        "by_category": {
                            "electrical_meter": {
                                "fields": [
                                    {
                                        "key": "brand_name",
                                        "source": "column",
                                        "section": "Basic Information",
                                        "label": "Brand meter name",
                                        "type": "text",
                                        "required": true,
                                        "placeholder": "Enter brand name"
                                    },
                                    {
                                        "key": "model",
                                        "source": "column",
                                        "section": "Basic Information",
                                        "label": "Meter model",
                                        "type": "text",
                                        "required": true,
                                        "placeholder": "Enter model"
                                    },
                                    {
                                        "key": "meter_type",
                                        "source": "attribute",
                                        "section": "Basic Information"
                                    },
                                    {
                                        "key": "quantity",
                                        "source": "column",
                                        "section": "Basic Information",
                                        "label": "Quantity of meter",
                                        "type": "number",
                                        "required": true,
                                        "min": 1,
                                        "max": 20,
                                        "help": "How many identical meters this approval covers, up to 20"
                                    },
                                    {
                                        "key": "serial_numbers",
                                        "source": "serials",
                                        "section": "Basic Information",
                                        "label": "Serial numbers",
                                        "required": true,
                                        "width": "full"
                                    },
                                    {
                                        "key": "nominal_voltage",
                                        "source": "attribute",
                                        "section": "Electrical Ratings"
                                    },
                                    {
                                        "key": "nominal_frequency",
                                        "source": "attribute",
                                        "section": "Electrical Ratings"
                                    },
                                    {
                                        "key": "max_current",
                                        "source": "attribute",
                                        "section": "Electrical Ratings"
                                    },
                                    {
                                        "key": "min_current",
                                        "source": "attribute",
                                        "section": "Electrical Ratings"
                                    },
                                    {
                                        "key": "connection_mode",
                                        "source": "attribute",
                                        "section": "Connection Configuration"
                                    },
                                    {
                                        "key": "alternative_connection_modes",
                                        "source": "attribute",
                                        "section": "Connection Configuration"
                                    },
                                    {
                                        "key": "connection_type",
                                        "source": "attribute",
                                        "section": "Connection Configuration",
                                        "display": "radio",
                                        "width": "full"
                                    },
                                    {
                                        "key": "energy_flow_direction",
                                        "source": "attribute",
                                        "section": "Energy Flow Direction",
                                        "display": "radio",
                                        "width": "full"
                                    },
                                    {
                                        "key": "meter_constant",
                                        "source": "attribute",
                                        "section": "Environmental & Technical Specifications"
                                    },
                                    {
                                        "key": "ip_rating",
                                        "source": "attribute",
                                        "section": "Environmental & Technical Specifications"
                                    },
                                    {
                                        "key": "insulation_class",
                                        "source": "attribute",
                                        "section": "Environmental & Technical Specifications"
                                    },
                                    {
                                        "key": "hardware_version",
                                        "source": "attribute",
                                        "section": "Environmental & Technical Specifications"
                                    },
                                    {
                                        "key": "software_version",
                                        "source": "column",
                                        "section": "Environmental & Technical Specifications",
                                        "label": "Software version(s)",
                                        "type": "text",
                                        "required": false,
                                        "width": "full"
                                    },
                                    {
                                        "key": "environment",
                                        "source": "attribute",
                                        "section": "Environmental & Technical Specifications",
                                        "display": "radio"
                                    },
                                    {
                                        "key": "humidity_class",
                                        "source": "attribute",
                                        "section": "Environmental & Technical Specifications",
                                        "display": "radio"
                                    },
                                    {
                                        "key": "lower_temperature",
                                        "source": "attribute",
                                        "section": "Environmental & Technical Specifications",
                                        "display": "radio"
                                    },
                                    {
                                        "key": "upper_temperature",
                                        "source": "attribute",
                                        "section": "Environmental & Technical Specifications",
                                        "display": "radio"
                                    },
                                    {
                                        "key": "test_voltage",
                                        "source": "attribute",
                                        "section": "Test Connection Proving"
                                    },
                                    {
                                        "key": "test_frequency",
                                        "source": "attribute",
                                        "section": "Test Connection Proving"
                                    },
                                    {
                                        "key": "test_connection_mode",
                                        "source": "attribute",
                                        "section": "Test Connection Proving",
                                        "width": "full"
                                    },
                                    {
                                        "key": "remarks",
                                        "source": "attribute",
                                        "section": "Result / Remarks"
                                    }
                                ]
                            }
                        }
                    }
                },
                "sort_order": 3,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "9f1c6f10-0000-4000-8000-000000000004",
                "name": "Capacity Measures",
                "description": "An instrument used to measure volume or capacity in a fixed and standardised manner.",
                "wizard_blueprint": {
                    "steps": [
                        "instrument",
                        "documents",
                        "fee",
                        "declaration",
                        "review"
                    ],
                    "instrument": {
                        "multiple": false,
                        "serial_numbers": true,
                        "step": "instrument",
                        "fields": [
                            {
                                "key": "brand_name",
                                "source": "column",
                                "section": "Basic Information",
                                "label": "Brand name",
                                "type": "text",
                                "required": true,
                                "placeholder": "Enter brand name"
                            },
                            {
                                "key": "model",
                                "source": "column",
                                "section": "Basic Information",
                                "label": "Model type",
                                "type": "text",
                                "required": false,
                                "placeholder": "Enter model type"
                            },
                            {
                                "key": "manufacturer",
                                "source": "column",
                                "section": "Basic Information",
                                "label": "Manufacturer's name (make)",
                                "type": "text",
                                "required": true,
                                "placeholder": "Enter manufacturer"
                            },
                            {
                                "key": "year_of_manufacture",
                                "source": "attribute",
                                "section": "Basic Information"
                            },
                            {
                                "key": "quantity",
                                "source": "column",
                                "section": "Basic Information",
                                "label": "Quantity",
                                "type": "number",
                                "required": true,
                                "min": 1,
                                "max": 20,
                                "help": "How many identical measures this approval covers, up to 20"
                            },
                            {
                                "key": "serial_numbers",
                                "source": "serials",
                                "section": "Basic Information",
                                "label": "Serial numbers",
                                "required": true,
                                "width": "full"
                            },
                            {
                                "key": "material_construction",
                                "source": "attribute",
                                "section": "Technical Specifications"
                            },
                            {
                                "key": "units_of_measurement",
                                "source": "column",
                                "section": "Technical Specifications",
                                "label": "Units of measurement",
                                "type": "select",
                                "required": true,
                                "options": [
                                    "mL",
                                    "L",
                                    "m³"
                                ]
                            },
                            {
                                "key": "nominal_capacity",
                                "source": "attribute",
                                "section": "Technical Specifications"
                            },
                            {
                                "key": "max_permissible_error",
                                "source": "attribute",
                                "section": "Technical Specifications"
                            },
                            {
                                "key": "temperature_range",
                                "source": "attribute",
                                "section": "Technical Specifications",
                                "width": "full"
                            },
                            {
                                "key": "intended_liquids",
                                "source": "attribute",
                                "section": "Intended Liquid",
                                "display": "checkboxes",
                                "width": "full"
                            },
                            {
                                "key": "has_seal",
                                "source": "attribute",
                                "section": "Mechanical Features",
                                "display": "radio"
                            },
                            {
                                "key": "has_adjustment",
                                "source": "attribute",
                                "section": "Mechanical Features",
                                "display": "radio"
                            },
                            {
                                "key": "has_gauge",
                                "source": "attribute",
                                "section": "Mechanical Features",
                                "display": "radio",
                                "width": "full"
                            }
                        ]
                    }
                },
                "sort_order": 4,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "9f1c6f10-0000-4000-8000-000000000005",
                "name": "Other Pattern Instrument",
                "description": "Any other measuring instrument not covered by the categories above.",
                "wizard_blueprint": null,
                "sort_order": 5,
                "is_active": 1,
                "deleted_at": null
            }
        ],
        "pattern_instrument_categories": [
            {
                "id": "2a000000-0000-4000-8000-000000000001",
                "pattern_type_id": "9f1c6f10-0000-4000-8000-000000000001",
                "name": "Weighing Instrument",
                "code": "weighing",
                "attribute_schema": {
                    "fields": [
                        {
                            "key": "scale_type",
                            "label": "Scale type",
                            "type": "select",
                            "options": [
                                "Mechanical",
                                "Digital"
                            ],
                            "required": true
                        },
                        {
                            "key": "instrument_uses",
                            "label": "Uses of weighing instrument",
                            "type": "multiselect",
                            "options": [
                                "Normal Trade",
                                "Pharmaceutical",
                                "Precious Stones"
                            ],
                            "required": true
                        }
                    ]
                },
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "2a000000-0000-4000-8000-000000000002",
                "pattern_type_id": "9f1c6f10-0000-4000-8000-000000000002",
                "name": "Fuel Pump",
                "code": "fuel_pump",
                "attribute_schema": {
                    "fields": [
                        {
                            "key": "manufacturing_year",
                            "label": "Manufacturing year",
                            "type": "number",
                            "required": false,
                            "min": 1900,
                            "max": 2100,
                            "placeholder": "e.g. 2024"
                        },
                        {
                            "key": "nozzle_count",
                            "label": "Number of nozzles",
                            "type": "number",
                            "required": false,
                            "min": 1,
                            "max": 16,
                            "placeholder": "e.g. 2"
                        },
                        {
                            "key": "dispenser_type",
                            "label": "Dispenser type",
                            "type": "select",
                            "options": [
                                "Single hose",
                                "Multi-hose",
                                "Multi-product"
                            ],
                            "required": false
                        },
                        {
                            "key": "measured_quantity",
                            "label": "Measured quantity",
                            "type": "select",
                            "options": [
                                "Volume",
                                "Pressure"
                            ],
                            "required": false
                        },
                        {
                            "key": "fuel_types",
                            "label": "Fuel type",
                            "type": "multiselect",
                            "options": [
                                "Petrol",
                                "Diesel",
                                "Kerosene",
                                "Other"
                            ],
                            "required": false
                        },
                        {
                            "key": "flow_rate_min",
                            "label": "Minimum flow rate",
                            "type": "number",
                            "required": false,
                            "unit": "L/min",
                            "min": 0,
                            "placeholder": "Qmin"
                        },
                        {
                            "key": "flow_rate_max",
                            "label": "Maximum flow rate",
                            "type": "number",
                            "required": false,
                            "unit": "L/min",
                            "min": 0,
                            "placeholder": "Qmax"
                        },
                        {
                            "key": "min_measured_volume",
                            "label": "Minimum measured volume",
                            "type": "number",
                            "required": false,
                            "unit": "L",
                            "min": 0,
                            "placeholder": "Vmin"
                        },
                        {
                            "key": "temperature_min",
                            "label": "Min",
                            "type": "number",
                            "required": false,
                            "min": -60,
                            "max": 100
                        },
                        {
                            "key": "temperature_max",
                            "label": "Max",
                            "type": "number",
                            "required": false,
                            "min": -60,
                            "max": 100
                        },
                        {
                            "key": "max_permissible_error",
                            "label": "Maximum permissible error",
                            "type": "text",
                            "required": true,
                            "placeholder": "Enter maximum permissible error"
                        },
                        {
                            "key": "volume_indicator_types",
                            "label": "Volume indicator type",
                            "type": "multiselect",
                            "options": [
                                "Mechanical",
                                "Electronic"
                            ],
                            "required": false
                        },
                        {
                            "key": "price_display",
                            "label": "Price display",
                            "type": "select",
                            "options": [
                                "Yes",
                                "No"
                            ],
                            "required": false
                        },
                        {
                            "key": "display_location",
                            "label": "Display location",
                            "type": "multiselect",
                            "options": [
                                "Customer side",
                                "Operator side",
                                "Both"
                            ],
                            "required": false
                        },
                        {
                            "key": "power_supply",
                            "label": "Power supply",
                            "type": "multiselect",
                            "options": [
                                "Mains",
                                "Solar",
                                "Generator",
                                "Battery backup"
                            ],
                            "required": false
                        },
                        {
                            "key": "software_legally_relevant",
                            "label": "Software legally relevant",
                            "type": "select",
                            "options": [
                                "Yes",
                                "No"
                            ],
                            "required": true
                        },
                        {
                            "key": "software_protection",
                            "label": "Software protection method",
                            "type": "multiselect",
                            "options": [
                                "Password",
                                "Hardware seal",
                                "Secure module"
                            ],
                            "required": true
                        },
                        {
                            "key": "event_log",
                            "label": "Event log available",
                            "type": "select",
                            "options": [
                                "Yes",
                                "No"
                            ],
                            "required": true
                        },
                        {
                            "key": "adjustment_points",
                            "label": "Adjustment points requiring sealing",
                            "type": "text",
                            "required": false,
                            "placeholder": "e.g. Top cover and canter cover"
                        },
                        {
                            "key": "seal_types",
                            "label": "Seal type",
                            "type": "multiselect",
                            "options": [
                                "Wire seal",
                                "Electronic seal"
                            ],
                            "required": false
                        },
                        {
                            "key": "seal_locations",
                            "label": "Seal locations",
                            "type": "textarea",
                            "required": false,
                            "placeholder": "Describe seal locations..."
                        },
                        {
                            "key": "intended_installation",
                            "label": "Intended installation",
                            "type": "multiselect",
                            "options": [
                                "Fixed fuel station",
                                "Mobile tanker"
                            ],
                            "required": true
                        },
                        {
                            "key": "intended_country",
                            "label": "Intended country of use",
                            "type": "text",
                            "required": true,
                            "placeholder": "e.g. Tanzania"
                        },
                        {
                            "key": "installation_manual",
                            "label": "Installation manual available",
                            "type": "select",
                            "options": [
                                "Yes",
                                "No"
                            ],
                            "required": true
                        }
                    ]
                },
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "2a000000-0000-4000-8000-000000000003",
                "pattern_type_id": "9f1c6f10-0000-4000-8000-000000000003",
                "name": "Water, Flow & Bulk Flow Meters",
                "code": "meter",
                "attribute_schema": {
                    "fields": [
                        {
                            "key": "meter_type",
                            "label": "Meter type",
                            "type": "select",
                            "options": [
                                "Post paid",
                                "Prepaid"
                            ],
                            "required": false
                        },
                        {
                            "key": "meter_design",
                            "label": "Meter design",
                            "type": "select",
                            "options": [
                                "Plastic",
                                "Metal"
                            ],
                            "required": false
                        },
                        {
                            "key": "nominal_diameter",
                            "label": "Nominal diameter",
                            "type": "select",
                            "options": [
                                "DN15",
                                "DN20",
                                "DN25",
                                "DN30",
                                "DN35",
                                "DN40",
                                "DN60"
                            ],
                            "required": false
                        }
                    ]
                },
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "2a000000-0000-4000-8000-000000000004",
                "pattern_type_id": "9f1c6f10-0000-4000-8000-000000000004",
                "name": "Capacity Measures",
                "code": "capacity_measures",
                "attribute_schema": {
                    "fields": [
                        {
                            "key": "year_of_manufacture",
                            "label": "Year of manufacture",
                            "type": "number",
                            "required": true,
                            "min": 1900,
                            "max": 2100,
                            "placeholder": "e.g. 2024"
                        },
                        {
                            "key": "material_construction",
                            "label": "Material of construction",
                            "type": "text",
                            "required": true,
                            "placeholder": "e.g. Mild Steel"
                        },
                        {
                            "key": "nominal_capacity",
                            "label": "Nominal capacity",
                            "type": "text",
                            "required": true,
                            "placeholder": "Enter capacity (L / m³)"
                        },
                        {
                            "key": "max_permissible_error",
                            "label": "Maximum permissible error",
                            "type": "text",
                            "required": false,
                            "placeholder": "e.g. ±0.5%"
                        },
                        {
                            "key": "temperature_range",
                            "label": "Temperature range",
                            "type": "text",
                            "required": false,
                            "placeholder": "e.g. -10°C to 50°C"
                        },
                        {
                            "key": "intended_liquids",
                            "label": "Intended liquid",
                            "type": "multiselect",
                            "options": [
                                "Petrol",
                                "Kerosene",
                                "Diesel",
                                "Water"
                            ],
                            "required": false
                        },
                        {
                            "key": "has_seal",
                            "label": "Seal mechanism provided",
                            "type": "boolean",
                            "required": false
                        },
                        {
                            "key": "has_adjustment",
                            "label": "Adjustment mechanism provided",
                            "type": "boolean",
                            "required": false
                        },
                        {
                            "key": "has_gauge",
                            "label": "Gauge glass / sight tube / sight glass provided",
                            "type": "boolean",
                            "required": false
                        }
                    ]
                },
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "2a000000-0000-4000-8000-000000000005",
                "pattern_type_id": "9f1c6f10-0000-4000-8000-000000000005",
                "name": "Other",
                "code": "other",
                "attribute_schema": {
                    "fields": [
                        {
                            "key": "measurand",
                            "label": "Quantity measured",
                            "type": "text",
                            "required": true
                        },
                        {
                            "key": "instrument_use",
                            "label": "Intended use",
                            "type": "select",
                            "options": [
                                "trade",
                                "non-trade"
                            ],
                            "required": true
                        }
                    ]
                },
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "2a000000-0000-4000-8000-000000000006",
                "pattern_type_id": "9f1c6f10-0000-4000-8000-000000000003",
                "name": "Electrical Meter",
                "code": "electrical_meter",
                "attribute_schema": {
                    "fields": [
                        {
                            "key": "meter_type",
                            "label": "Meter type",
                            "type": "select",
                            "options": [
                                "Single-phase",
                                "Three-phase",
                                "Prepayment",
                                "Smart (AMI)"
                            ],
                            "required": true
                        },
                        {
                            "key": "nominal_voltage",
                            "label": "Nominal voltage (Unom)",
                            "type": "number",
                            "required": true,
                            "unit": "V",
                            "placeholder": "230"
                        },
                        {
                            "key": "nominal_frequency",
                            "label": "Nominal frequency (fnom)",
                            "type": "number",
                            "required": true,
                            "unit": "Hz",
                            "placeholder": "50"
                        },
                        {
                            "key": "max_current",
                            "label": "Maximum current (Imax)",
                            "type": "number",
                            "required": true,
                            "unit": "A",
                            "placeholder": "100"
                        },
                        {
                            "key": "min_current",
                            "label": "Minimum current (Imin)",
                            "type": "number",
                            "required": true,
                            "unit": "A",
                            "placeholder": "5"
                        },
                        {
                            "key": "connection_type",
                            "label": "Connection type",
                            "type": "select",
                            "options": [
                                "Direct-connected",
                                "Current transformer",
                                "Current and voltage transformers"
                            ],
                            "required": true
                        },
                        {
                            "key": "connection_mode",
                            "label": "Connection mode (phases, wires, elements)",
                            "type": "text",
                            "required": true,
                            "placeholder": "e.g. 3-phase 4-wire"
                        },
                        {
                            "key": "alternative_connection_modes",
                            "label": "Alternative connection mode(s)",
                            "type": "text",
                            "required": false
                        },
                        {
                            "key": "energy_flow_direction",
                            "label": "Direction of energy flow / registers",
                            "type": "select",
                            "options": [
                                "Single-register, bi-directional",
                                "Two-register, bi-directional",
                                "Single-register, positive direction only",
                                "Single-register, uni-directional"
                            ],
                            "required": true
                        },
                        {
                            "key": "meter_constant",
                            "label": "Meter constant",
                            "type": "text",
                            "required": true,
                            "help": "Include units of measurement"
                        },
                        {
                            "key": "environment",
                            "label": "Environment",
                            "type": "select",
                            "options": [
                                "Indoor",
                                "Outdoor",
                                "Indoor / Outdoor"
                            ],
                            "required": true
                        },
                        {
                            "key": "lower_temperature",
                            "label": "Lower specified temperature",
                            "type": "select",
                            "options": [
                                "−55 °C",
                                "−40 °C",
                                "−25 °C",
                                "−10 °C",
                                "+5 °C"
                            ],
                            "required": true
                        },
                        {
                            "key": "upper_temperature",
                            "label": "Upper specified temperature",
                            "type": "select",
                            "options": [
                                "+30 °C",
                                "+40 °C",
                                "+55 °C",
                                "+70 °C"
                            ],
                            "required": true
                        },
                        {
                            "key": "humidity_class",
                            "label": "Humidity class",
                            "type": "select",
                            "options": [
                                "H1",
                                "H2",
                                "H3"
                            ],
                            "required": true
                        },
                        {
                            "key": "hardware_version",
                            "label": "Hardware version(s)",
                            "type": "text",
                            "required": false
                        },
                        {
                            "key": "ip_rating",
                            "label": "IP rating",
                            "type": "text",
                            "required": true,
                            "placeholder": "e.g. IP54"
                        },
                        {
                            "key": "insulation_class",
                            "label": "Insulation protection class",
                            "type": "text",
                            "required": false,
                            "placeholder": "Enter class"
                        },
                        {
                            "key": "test_voltage",
                            "label": "Test voltage",
                            "type": "number",
                            "required": false,
                            "unit": "V"
                        },
                        {
                            "key": "test_frequency",
                            "label": "Test frequency",
                            "type": "number",
                            "required": false,
                            "unit": "Hz"
                        },
                        {
                            "key": "test_connection_mode",
                            "label": "Test connection mode",
                            "type": "text",
                            "required": false
                        },
                        {
                            "key": "remarks",
                            "label": "Remarks",
                            "type": "textarea",
                            "required": false
                        }
                    ]
                },
                "is_active": 1,
                "deleted_at": null
            }
        ],
        "pattern_instrument_types": [
            {
                "id": "3a000000-0000-4000-8000-000000000001",
                "category_id": "2a000000-0000-4000-8000-000000000001",
                "name": "Counter Scale",
                "code": "CIS",
                "requires_serial_number": 1,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "3a000000-0000-4000-8000-000000000002",
                "category_id": "2a000000-0000-4000-8000-000000000001",
                "name": "Platform Scale",
                "code": "P/M",
                "requires_serial_number": 1,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "3a000000-0000-4000-8000-000000000003",
                "category_id": "2a000000-0000-4000-8000-000000000001",
                "name": "Balance Scale",
                "code": "S/B",
                "requires_serial_number": 1,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "3a000000-0000-4000-8000-000000000004",
                "category_id": "2a000000-0000-4000-8000-000000000001",
                "name": "Spring Balance",
                "code": "BS",
                "requires_serial_number": 1,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "3a000000-0000-4000-8000-000000000005",
                "category_id": "2a000000-0000-4000-8000-000000000001",
                "name": "Weighbridge",
                "code": "W/B",
                "requires_serial_number": 1,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "3a000000-0000-4000-8000-000000000006",
                "category_id": "2a000000-0000-4000-8000-000000000002",
                "name": "Standard Fuel Pump",
                "code": "SFP",
                "requires_serial_number": 1,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "3a000000-0000-4000-8000-000000000007",
                "category_id": "2a000000-0000-4000-8000-000000000003",
                "name": "Standard Water Meter",
                "code": "SWM",
                "requires_serial_number": 1,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "3a000000-0000-4000-8000-000000000008",
                "category_id": "2a000000-0000-4000-8000-000000000004",
                "name": "Standard Capacity Measure",
                "code": "SCM",
                "requires_serial_number": 0,
                "is_active": 0,
                "deleted_at": null
            },
            {
                "id": "3a000000-0000-4000-8000-000000000009",
                "category_id": "2a000000-0000-4000-8000-000000000005",
                "name": "Other Instrument",
                "code": "OTH",
                "requires_serial_number": 0,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "3a000000-0000-4000-8000-00000000000a",
                "category_id": "2a000000-0000-4000-8000-000000000003",
                "name": "Standard Flow Meter",
                "code": "SFM",
                "requires_serial_number": 1,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "3a000000-0000-4000-8000-00000000000b",
                "category_id": "2a000000-0000-4000-8000-000000000003",
                "name": "Standard Bulk Flow Meter",
                "code": "SBFM",
                "requires_serial_number": 1,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "3a000000-0000-4000-8000-00000000000c",
                "category_id": "2a000000-0000-4000-8000-000000000006",
                "name": "Standard Electrical Meter",
                "code": "SEM",
                "requires_serial_number": 1,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "3a000000-0000-4000-8000-00000000000d",
                "category_id": "2a000000-0000-4000-8000-000000000004",
                "name": "Proving Tank",
                "code": "PT",
                "requires_serial_number": 1,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "3a000000-0000-4000-8000-00000000000e",
                "category_id": "2a000000-0000-4000-8000-000000000004",
                "name": "Check Pump",
                "code": "CP",
                "requires_serial_number": 1,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "3a000000-0000-4000-8000-00000000000f",
                "category_id": "2a000000-0000-4000-8000-000000000004",
                "name": "Measuring Cylinders",
                "code": "MC",
                "requires_serial_number": 1,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "3a000000-0000-4000-8000-000000000010",
                "category_id": "2a000000-0000-4000-8000-000000000004",
                "name": "Other Capacity Measures",
                "code": "OCM",
                "requires_serial_number": 1,
                "is_active": 1,
                "deleted_at": null
            }
        ],
        "pattern_document_requirements": [
            {
                "id": "0a74c267-49f0-5587-a6d9-ebeb2c4cc8f3",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000002",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "sealing_points_photo",
                "label": "Sealing Points Photo",
                "detail": "Every point that is sealed after adjustment.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "jpg",
                    "jpeg",
                    "png"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 9,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "0d2818db-f48f-5552-a4cf-d5c085ab3395",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000004",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "other_document",
                "label": "Other Document",
                "detail": "Anything else that supports the application.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 21,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "159de174-c9c3-5191-a1e0-fe231cda4b09",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000006",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "specification",
                "label": "Specification of Instrument",
                "detail": "The manufacturer's datasheet for the instrument.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 16,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "1a2524f4-cdbd-5f46-ad2a-c1a75c2733f0",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000002",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "calibration_manual",
                "label": "Calibration Manual",
                "detail": "How the pump is adjusted, sealed and calibrated.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf",
                    "jpg",
                    "jpeg",
                    "png"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 4,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "1a8ea5bd-664b-5849-a6d9-f6faa9ee8d4f",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000006",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "calibration_manual",
                "label": "Manual Calibration Document",
                "detail": "How the instrument is adjusted, sealed and calibrated.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 15,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "1b916691-db1b-5f34-a785-bcfa459f8550",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000004",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "specification",
                "label": "Specification of Instrument",
                "detail": "The manufacturer's datasheet for the instrument.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 19,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "2b54aec9-da19-5fb7-aa4c-2a9d488bce97",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000003",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "calibration_manual",
                "label": "Manual Calibration Document",
                "detail": "How the instrument is adjusted, sealed and calibrated.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 12,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "2c4f9c23-8eb1-5835-a319-e362ad7c6758",
                "scope": "application",
                "pattern_type_id": null,
                "instrument_category_id": null,
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "declaration_of_conformity",
                "label": "Declaration of conformity",
                "detail": "Signed by the manufacturer or their agent.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 26,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "2e09a750-7c47-50b1-a564-a15f6d2c94e8",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000002",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "display_photo",
                "label": "Display Photo",
                "detail": "The volume and price indication.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "jpg",
                    "jpeg",
                    "png"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 8,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "32e8f21f-b1d8-5dd4-a81c-74b0143accd7",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000002",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "exterior_photo",
                "label": "Pump Exterior Photo",
                "detail": "The whole pump, from the front.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "jpg",
                    "jpeg",
                    "png"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 6,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "39cadfc0-1686-53c7-afa1-32c702d3026e",
                "scope": "application",
                "pattern_type_id": null,
                "instrument_category_id": null,
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "business_licence",
                "label": "Business licence",
                "detail": "Current business licence of the applicant company.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": 12,
                "sort_order": 27,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "3b873952-8bd9-5c2c-a201-95abb0749483",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000002",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "nameplate_photo",
                "label": "Nameplate Photo",
                "detail": "The data plate, legible.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "jpg",
                    "jpeg",
                    "png"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 7,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "3d7fa7de-60c0-528c-acde-8057806ce73d",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000006",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "other_document",
                "label": "Other Document",
                "detail": "Anything else that supports the application.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 17,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "447f4df5-3174-5b81-a5cc-9d6763b45c18",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000005",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "type_approval",
                "label": "Foreign type approval certificate",
                "detail": "Where the pattern is already approved outside Tanzania.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": 60,
                "sort_order": 25,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "45b4e177-a83a-5269-af26-36c1ad5ffbda",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000001",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "specification",
                "label": "Specification of Instrument",
                "detail": "The manufacturer's datasheet for the instrument.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 2,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "4dff63c7-6158-569e-a649-c5a54e5c17e7",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000002",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "type_examination",
                "label": "Type Examination Certificate",
                "detail": "If the pattern has already been examined elsewhere.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf",
                    "jpg",
                    "jpeg",
                    "png"
                ],
                "max_size_mb": 2,
                "validity_months": 60,
                "sort_order": 10,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "4f754988-2568-51c7-a031-505690307c16",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000001",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "test_report",
                "label": "Type evaluation test report",
                "detail": "Results of the pattern evaluation tests.",
                "is_mandatory": 1,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 2,
                "is_active": 0,
                "deleted_at": null
            },
            {
                "id": "52804bdf-716d-5141-a0d6-0feafa2488fb",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000002",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "user_manual",
                "label": "User Manual",
                "detail": "How the pump is operated.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf",
                    "jpg",
                    "jpeg",
                    "png"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 5,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "66a65dbc-8143-58fe-ac39-706de9c570db",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000001",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "other_document",
                "label": "Other Document",
                "detail": "Anything else that supports the application.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 3,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "755a28d1-4ded-5135-aa36-7f49661118ec",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000002",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "software_documentation",
                "label": "Software Documentation",
                "detail": "If the pump carries legally relevant software.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 11,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "76763867-0c1c-5d83-aee9-3b996238a883",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000005",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "calibration_manual",
                "label": "Calibration and operating manual",
                "detail": "How the instrument is adjusted, sealed and operated.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 24,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "794834aa-beab-515a-af15-feda04590609",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000003",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "other_document",
                "label": "Other Document",
                "detail": "Anything else that supports the application.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 14,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "884167a1-0075-5226-ac12-10932f96ede1",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000005",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "test_report",
                "label": "Type evaluation test report",
                "detail": "Results of the pattern evaluation tests.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 23,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "8be25d45-9ddf-5a2e-a7b0-09cc2ef18f7a",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000003",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "test_report",
                "label": "Type evaluation test report",
                "detail": "Results of the pattern evaluation tests.",
                "is_mandatory": 1,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 10,
                "is_active": 0,
                "deleted_at": null
            },
            {
                "id": "90f87861-5423-5d2a-a4f6-dab206999ce4",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000002",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "type_approval",
                "label": "Foreign type approval certificate",
                "detail": "Where the pattern is already approved outside Tanzania.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": 60,
                "sort_order": 7,
                "is_active": 0,
                "deleted_at": null
            },
            {
                "id": "9271168e-f2f6-52b7-a06b-57696f7dba41",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000004",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "test_report",
                "label": "Type evaluation test report",
                "detail": "Results of the pattern evaluation tests.",
                "is_mandatory": 1,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 14,
                "is_active": 0,
                "deleted_at": null
            },
            {
                "id": "9731b191-17be-526d-a644-7f66238558e7",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000005",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "specification",
                "label": "Technical specification",
                "detail": "The manufacturer's datasheet for the instrument.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 22,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "987e593c-efce-5312-aaae-619b3c8daab2",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000004",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "type_approval",
                "label": "Foreign type approval certificate",
                "detail": "Where the pattern is already approved outside Tanzania.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": 60,
                "sort_order": 16,
                "is_active": 0,
                "deleted_at": null
            },
            {
                "id": "98f093ce-cbf2-505f-afcd-668517e818ee",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000004",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "type_examination",
                "label": "Type Examination Certificate",
                "detail": "Where the pattern has already been examined elsewhere.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": 60,
                "sort_order": 20,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "a7a49aa6-bcb5-53a3-a3d7-0e0844a4a3e8",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000003",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "type_approval",
                "label": "Foreign type approval certificate",
                "detail": "Where the pattern is already approved outside Tanzania.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": 60,
                "sort_order": 12,
                "is_active": 0,
                "deleted_at": null
            },
            {
                "id": "bb6a1a03-2c09-5b9b-a68f-85f0af46a6de",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000001",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "calibration_manual",
                "label": "Manual Calibration Document",
                "detail": "How the instrument is adjusted, sealed and calibrated.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 1,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "c167522e-d3a2-5a30-adc3-932a13662c1e",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000002",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "specification",
                "label": "Technical specification",
                "detail": "The manufacturer's datasheet for the instrument.",
                "is_mandatory": 1,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 4,
                "is_active": 0,
                "deleted_at": null
            },
            {
                "id": "c35d2a53-4078-50ea-a343-4786ff89db14",
                "scope": "application",
                "pattern_type_id": "9f1c6f10-0000-4000-8000-000000000003",
                "instrument_category_id": null,
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "business_licence",
                "label": "Business licence",
                "detail": "Current business licence of the applicant company.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": 12,
                "sort_order": 29,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "c796723c-de4c-5a1b-aaa0-2e098b082ca4",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000002",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "test_report",
                "label": "Type evaluation test report",
                "detail": "Results of the pattern evaluation tests.",
                "is_mandatory": 1,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 5,
                "is_active": 0,
                "deleted_at": null
            },
            {
                "id": "c8b749b7-31c5-568a-a61c-a1cf795695bb",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000001",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "type_approval",
                "label": "Foreign type approval certificate",
                "detail": "Where the pattern is already approved outside Tanzania.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": 60,
                "sort_order": 4,
                "is_active": 0,
                "deleted_at": null
            },
            {
                "id": "e4ccb6e2-ab85-5976-aba5-13286637689c",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000004",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "calibration_manual",
                "label": "Manual Calibration Document",
                "detail": "How the instrument is adjusted, sealed and calibrated.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 18,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "ea2c7bdf-0318-592a-a1fe-524965b71b76",
                "scope": "application",
                "pattern_type_id": "9f1c6f10-0000-4000-8000-000000000003",
                "instrument_category_id": null,
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "declaration_of_conformity",
                "label": "Declaration of conformity",
                "detail": "Signed by the manufacturer or their agent.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 28,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "f95325c5-fe67-5631-a674-0fedf22dc60c",
                "scope": "instrument",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000003",
                "instrument_type_id": null,
                "application_type": null,
                "document_type": "specification",
                "label": "Specification of Instrument",
                "detail": "The manufacturer's datasheet for the instrument.",
                "is_mandatory": 0,
                "allowed_mime": [
                    "pdf"
                ],
                "max_size_mb": 2,
                "validity_months": null,
                "sort_order": 13,
                "is_active": 1,
                "deleted_at": null
            }
        ],
        "pattern_fee_schedules": [
            {
                "id": "14eebf67-9b45-4430-94ae-8551f0c042c1",
                "pattern_type_id": null,
                "instrument_category_id": null,
                "instrument_type_id": "3a000000-0000-4000-8000-000000000007",
                "application_type": null,
                "base_amount": "10000.00",
                "currency": "TZS",
                "gfs_code": "140202",
                "multiplier_rules": {
                    "accuracy_class": {
                        "I": 5
                    }
                },
                "effective_from": "2026-09-17",
                "effective_to": "2026-10-15",
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "15fc6484-80ed-56d7-a83f-e680fd789031",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000001",
                "instrument_type_id": null,
                "application_type": null,
                "base_amount": "100000.00",
                "currency": "TZS",
                "gfs_code": "140202",
                "multiplier_rules": {
                    "accuracy_class": {
                        "I": 5,
                        "II": 5,
                        "III": 10,
                        "IIII": 10
                    }
                },
                "effective_from": "2026-07-01",
                "effective_to": null,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "2be2d2ba-ab29-4bd4-824f-d7866b882b90",
                "pattern_type_id": null,
                "instrument_category_id": null,
                "instrument_type_id": "3a000000-0000-4000-8000-000000000003",
                "application_type": null,
                "base_amount": "60000.00",
                "currency": "TZS",
                "gfs_code": "140202",
                "multiplier_rules": {
                    "accuracy_class": {
                        "I": 5,
                        "II": 5,
                        "III": 10,
                        "IIII": 10
                    }
                },
                "effective_from": "2026-09-17",
                "effective_to": null,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "31ac81af-d7cd-5605-ab87-5effe1a357f7",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000006",
                "instrument_type_id": null,
                "application_type": null,
                "base_amount": "100000.00",
                "currency": "TZS",
                "gfs_code": "140202",
                "multiplier_rules": {
                    "base_factor": 5
                },
                "effective_from": "2026-07-01",
                "effective_to": null,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "446adee6-f536-5782-abf3-c05c77684610",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000002",
                "instrument_type_id": null,
                "application_type": null,
                "base_amount": "100000.00",
                "currency": "TZS",
                "gfs_code": "140202",
                "multiplier_rules": {
                    "base_factor": 5
                },
                "effective_from": "2026-07-01",
                "effective_to": null,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "4b58bf9b-0a0f-4e0a-aa82-279bfc54b94a",
                "pattern_type_id": null,
                "instrument_category_id": null,
                "instrument_type_id": "3a000000-0000-4000-8000-000000000001",
                "application_type": null,
                "base_amount": "40000.00",
                "currency": "TZS",
                "gfs_code": "140202",
                "multiplier_rules": {
                    "accuracy_class": {
                        "I": 5,
                        "II": 5,
                        "III": 10,
                        "IIII": 10
                    }
                },
                "effective_from": "2026-09-17",
                "effective_to": null,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "63e0c611-b6ef-57ea-a891-ef6095e6aeb0",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000003",
                "instrument_type_id": null,
                "application_type": null,
                "base_amount": "10000.00",
                "currency": "TZS",
                "gfs_code": "140202",
                "multiplier_rules": {
                    "base_factor": 5,
                    "per_unit": false,
                    "base_from_module": "water-meter",
                    "base_unit": "meter"
                },
                "effective_from": "2026-07-01",
                "effective_to": null,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "a54d015c-5c3d-508f-a1ae-e776d84b444a",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000004",
                "instrument_type_id": null,
                "application_type": null,
                "base_amount": "100000.00",
                "currency": "TZS",
                "gfs_code": "140202",
                "multiplier_rules": {
                    "base_factor": 5
                },
                "effective_from": "2026-07-01",
                "effective_to": null,
                "is_active": 1,
                "deleted_at": null
            },
            {
                "id": "eadf3657-3f04-54bf-a8af-e6c0a0665868",
                "pattern_type_id": null,
                "instrument_category_id": "2a000000-0000-4000-8000-000000000005",
                "instrument_type_id": null,
                "application_type": null,
                "base_amount": "100000.00",
                "currency": "TZS",
                "gfs_code": "140202",
                "multiplier_rules": {
                    "accuracy_class": {
                        "I": 5,
                        "II": 5,
                        "III": 10,
                        "IIII": 10
                    },
                    "instrument_use": {
                        "trade": 1.25,
                        "non-trade": 1
                    }
                },
                "effective_from": "2026-07-01",
                "effective_to": null,
                "is_active": 1,
                "deleted_at": null
            }
        ],
        "pattern_sla_configs": [
            {
                "phase": "billing",
                "limit_days": 7,
                "warn_at_days": 5
            },
            {
                "phase": "decision",
                "limit_days": 7,
                "warn_at_days": 5
            },
            {
                "phase": "evaluation",
                "limit_days": 30,
                "warn_at_days": 25
            },
            {
                "phase": "screening",
                "limit_days": 3,
                "warn_at_days": 2
            }
        ]
    }
}
