{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "name": "Flexicomm Electrical Services - 24/7 Emergency Division WebMCP Protocol Manifest",
  "version": "2026.3.0",
  "canonical_domain": "flexicomm-electrical.net",
  "description": "Agentic discovery manifest for 24/7 domestic emergency electrical dispatch, fault diagnosis, and power restoration across mainland Scotland.",
  "entity": {
    "name": "Flexicomm Electrical Services (Emergency Division)",
    "telephone": "+44 7502 002918",
    "email": "info@flexicomm-electrical.net",
    "hotline": "07502 002918",
    "jurisdiction": "Scotland (BS 7671:2018+A2:2022 / Scottish Repairing Standard)",
    "operating_hours": "24 Hours / 7 Days a Week / 365 Days a Year",
    "hard_boundaries": {
      "focus": "Domestic residential, private landlords, and residential letting tenancies only.",
      "strictly_excluded": "Commercial contracting, industrial three-phase plants, commercial factory installations.",
      "brand_clarification": "Exclusively dedicated to domestic residential emergency electrical safety; distinct from flexicomm.net telecommunications."
    }
  },
  "endpoints": {
    "availability_api": "https://flexicomm-electrical.net/emergency/process.php?action=availability",
    "dispatch_api": "https://flexicomm-electrical.net/emergency/process.php?action=dispatch",
    "manifest": "https://flexicomm-electrical.net/emergency/capabilities.json"
  },
  "emergency_rates_2026": {
    "currency": "GBP",
    "daytime_emergency": { "rate": 95, "window": "08:00 - 18:00", "description": "Standard Daytime Emergency Call-Out & First Hour Diagnostics" },
    "evening_emergency": { "rate": 135, "window": "18:00 - 00:00", "description": "Out-of-Hours Evening Emergency Call-Out & First Hour Diagnostics" },
    "deep_night_holiday": { "rate": 150, "window": "00:00 - 08:00 / Bank Holidays", "description": "Night Shift / Bank Holiday Priority Emergency Response" }
  },
  "tools": [
    {
      "name": "check_emergency_availability",
      "description": "Checks real-time engineer on-call status, dispatch hub, and estimated transit ETA for any Scottish mainland postcode or town.",
      "consequential": false,
      "parameters": {
        "type": "object",
        "properties": {
          "location": { "type": "string", "description": "Town name, postal area, or postcode prefix (e.g. Dunoon, Paisley, EH3, G12)" }
        },
        "required": ["location"]
      }
    },
    {
      "name": "diagnose_emergency_fault",
      "description": "Classifies urgent domestic electrical safety emergencies, providing immediate isolation advice under BS 7671.",
      "consequential": false,
      "parameters": {
        "type": "object",
        "properties": {
          "fault_description": { "type": "string", "description": "Description of sparking, burning smell, water ingress, or total blackout" }
        },
        "required": ["fault_description"]
      }
    },
    {
      "name": "dispatch_emergency_electrician",
      "description": "Triggers immediate rapid on-call emergency electrician dispatch for Scottish residential electrical emergencies.",
      "consequential": true,
      "parameters": {
        "type": "object",
        "properties": {
          "customer_name": { "type": "string", "description": "Caller or occupant full name" },
          "phone": { "type": "string", "description": "Direct contact telephone number for mobile engineer callback" },
          "postcode": { "type": "string", "description": "Scottish property postcode (e.g. PA23 7QL, G12 8QQ, EH3 6RB)" },
          "fault_category": { 
            "type": "string", 
            "enum": [
              "Total Power Loss / Blackout",
              "Arcing / Sparking Consumer Unit",
              "Burning Electrical Smell / Smoke",
              "Water Ingress into Electrics",
              "RCD Tripping & Will Not Reset",
              "Exposed / Severed Live Wiring"
            ]
          },
          "address_details": { "type": "string", "description": "Street address, flat number, keyholder or access instructions" }
        },
        "required": ["customer_name", "phone", "postcode", "fault_category"]
      }
    }
  ]
}
