{
  "meta": {
    "project": "What Plug Do I Need?",
    "dataset": "Central plug-to-socket compatibility rules",
    "schemaVersion": "1.0.0",
    "generatedForTask": "12 — Build the structured worldwide country dataset",
    "generatedDate": "2026-09-21",
    "plugTypesCovered": [
      "A",
      "B",
      "C",
      "D",
      "E",
      "F",
      "G",
      "H",
      "I",
      "J",
      "K",
      "L",
      "M",
      "N",
      "O"
    ],
    "defaultRule": {
      "fit": "none",
      "grounding": "unknown",
      "safeDirectUse": false
    },
    "fitStates": {
      "full": "Standard safe physical fit for this plug/socket combination, subject to voltage/frequency and appliance rating.",
      "conditional": "Physical fit may depend on variant or may be unsafe/ungrounded; do not present as unconditionally adapter-free.",
      "none": "No safe standard direct fit is defined.",
      "unknown": "Use only if a future record cannot be resolved; never treat as 'none' automatically."
    },
    "aggregation": {
      "adapter_not_required": "Every common origin plug type has at least one full safe fit in the destination socket set.",
      "adapter_required": "No common origin plug type has a full or usable conditional fit in the destination socket set.",
      "adapter_maybe": "Origin plug types produce mixed results, or the only relevant fit is conditional.",
      "adapter_varies": "Destination has a material regional/accommodation socket-system variation and the result can vary by location."
    },
    "universalSocketPolicy": "Ignore free-text universal/hybrid socket acceptance when deciding adapter-free status unless a standard socket rule above provides safe fit. Surface the country warning instead."
  },
  "sources": [
    {
      "name": "World Standards — Plug & socket types",
      "url": "https://www.worldstandards.eu/electricity/plugs-and-sockets/",
      "use": "Primary A–O socket compatibility summary."
    },
    {
      "name": "World Standards — Type C",
      "url": "https://www.worldstandards.eu/electricity/plugs-and-sockets/c/",
      "use": "Type C fit into E/F/H/J/K/L/N/O and Type C variant caveats."
    },
    {
      "name": "World Standards — Type E",
      "url": "https://www.worldstandards.eu/electricity/plugs-and-sockets/e/",
      "use": "Modern E/F compatibility."
    },
    {
      "name": "World Standards — Type F",
      "url": "https://www.worldstandards.eu/electricity/plugs-and-sockets/f/",
      "use": "Modern E/F compatibility."
    },
    {
      "name": "World Standards — Type H",
      "url": "https://www.worldstandards.eu/electricity/plugs-and-sockets/h/",
      "use": "Type C compatibility and unsafe E/F fit."
    },
    {
      "name": "World Standards — Type J",
      "url": "https://www.worldstandards.eu/electricity/plugs-and-sockets/j/",
      "use": "Type C/J compatibility and J/N incompatibility."
    },
    {
      "name": "World Standards — Type K",
      "url": "https://www.worldstandards.eu/electricity/plugs-and-sockets/k/",
      "use": "Type C safe fit and E/F ungrounded partial fit."
    },
    {
      "name": "World Standards — Type L",
      "url": "https://www.worldstandards.eu/electricity/plugs-and-sockets/l/",
      "use": "10 A/16 A Type L geometry and Type C/bipasso handling."
    },
    {
      "name": "World Standards — Type N",
      "url": "https://www.worldstandards.eu/electricity/plugs-and-sockets/n/",
      "use": "Type C/N compatibility."
    },
    {
      "name": "World Standards — Type O",
      "url": "https://www.worldstandards.eu/electricity/plugs-and-sockets/o/",
      "use": "Type C/O compatibility and unsafe E/F fit."
    },
    {
      "name": "Electrical Safety First — Travel adaptor advice",
      "url": "https://www.electricalsafetyfirst.org.uk/safety-advice/travel-advice/",
      "use": "Safety rule: an adaptor does not convert voltage/frequency; check appliance rating."
    }
  ],
  "socketRules": {
    "A": {
      "A": {
        "fit": "full",
        "grounding": "not_applicable"
      }
    },
    "B": {
      "A": {
        "fit": "full",
        "grounding": "not_applicable"
      },
      "B": {
        "fit": "full",
        "grounding": "preserved"
      }
    },
    "C": {
      "C": {
        "fit": "full",
        "grounding": "not_applicable"
      }
    },
    "D": {
      "D": {
        "fit": "full",
        "grounding": "preserved"
      },
      "C": {
        "fit": "conditional",
        "grounding": "not_applicable",
        "safeDirectUse": false,
        "reason": "Physical/partial compatibility is reported but is not a safe standard connection."
      },
      "E": {
        "fit": "conditional",
        "grounding": "not_preserved",
        "safeDirectUse": false,
        "reason": "Physical/partial compatibility is reported but grounding is not safely preserved."
      },
      "F": {
        "fit": "conditional",
        "grounding": "not_preserved",
        "safeDirectUse": false,
        "reason": "Physical/partial compatibility is reported but grounding is not safely preserved."
      }
    },
    "E": {
      "C": {
        "fit": "full",
        "grounding": "not_applicable"
      },
      "E": {
        "fit": "full",
        "grounding": "preserved"
      },
      "F": {
        "fit": "full",
        "grounding": "preserved"
      }
    },
    "F": {
      "C": {
        "fit": "full",
        "grounding": "not_applicable"
      },
      "E": {
        "fit": "full",
        "grounding": "preserved"
      },
      "F": {
        "fit": "full",
        "grounding": "preserved"
      }
    },
    "G": {
      "G": {
        "fit": "full",
        "grounding": "preserved"
      }
    },
    "H": {
      "C": {
        "fit": "full",
        "grounding": "not_applicable"
      },
      "H": {
        "fit": "full",
        "grounding": "preserved"
      },
      "E": {
        "fit": "conditional",
        "grounding": "not_preserved",
        "safeDirectUse": false,
        "reason": "Can sometimes be forced into the socket; this is not safe standard compatibility."
      },
      "F": {
        "fit": "conditional",
        "grounding": "not_preserved",
        "safeDirectUse": false,
        "reason": "Can sometimes be forced into the socket; this is not safe standard compatibility."
      }
    },
    "I": {
      "I": {
        "fit": "full",
        "grounding": "depends"
      }
    },
    "J": {
      "C": {
        "fit": "full",
        "grounding": "not_applicable"
      },
      "J": {
        "fit": "full",
        "grounding": "preserved"
      }
    },
    "K": {
      "C": {
        "fit": "full",
        "grounding": "not_applicable"
      },
      "K": {
        "fit": "full",
        "grounding": "preserved"
      },
      "E": {
        "fit": "conditional",
        "grounding": "not_preserved",
        "safeDirectUse": false,
        "reason": "The plug may fit, but the Type K socket does not preserve the plug's earth connection."
      },
      "F": {
        "fit": "conditional",
        "grounding": "not_preserved",
        "safeDirectUse": false,
        "reason": "The plug may fit, but the Type K socket does not preserve the plug's earth connection."
      }
    },
    "L": {
      "C": {
        "fit": "conditional",
        "grounding": "not_applicable",
        "safeDirectUse": true,
        "reason": "Type C fits Type L 10 A and common bipasso sockets, but Type L also has a distinct 16 A geometry."
      },
      "L": {
        "fit": "full",
        "grounding": "preserved",
        "reason": "Country-level Type L compatibility is treated as direct; local 10 A/16 A socket variants are commonly handled by matching/bipasso installations."
      }
    },
    "M": {
      "M": {
        "fit": "full",
        "grounding": "preserved"
      }
    },
    "N": {
      "C": {
        "fit": "full",
        "grounding": "not_applicable"
      },
      "N": {
        "fit": "full",
        "grounding": "preserved"
      }
    },
    "O": {
      "C": {
        "fit": "full",
        "grounding": "not_applicable"
      },
      "O": {
        "fit": "full",
        "grounding": "preserved"
      },
      "E": {
        "fit": "conditional",
        "grounding": "not_preserved",
        "safeDirectUse": false,
        "reason": "Unsafe partial compatibility; grounding is not preserved."
      },
      "F": {
        "fit": "conditional",
        "grounding": "not_preserved",
        "safeDirectUse": false,
        "reason": "Unsafe partial compatibility; grounding is not preserved."
      }
    }
  }
}
