{
  "$schema": "https://specs.frictionlessdata.io/schemas/data-package.json",
  "name": "isle-of-man-foi-open-data",
  "id": "https://github.com/imusmanmalik/isle-of-man-foi/opendata",
  "title": "Isle of Man Freedom of Information Open Data",
  "description": "Structured datasets extracted from 4,139 Freedom of Information responses published by Isle of Man Government public authorities between 2017 and 2026. Data was extracted from PDF disclosures using OCR and large-language-model distillation, yielding 11,485 tables with 174,229 rows across nine thematic categories.",
  "homepage": "https://www.gov.im/about-the-government/freedom-of-information/",
  "version": "1.0.0",
  "created": "2026-04-06",
  "licenses": [
    {
      "name": "OGL-UK-3.0",
      "path": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
      "title": "Open Government Licence v3.0"
    }
  ],
  "sources": [
    {
      "title": "Isle of Man Government Freedom of Information Disclosure Log",
      "path": "https://www.gov.im/about-the-government/freedom-of-information/",
      "email": ""
    }
  ],
  "contributors": [
    {
      "title": "Isle of Man Government",
      "role": "author",
      "organization": "Isle of Man Government"
    },
    {
      "title": "Isle of Man FOI Open Data Project",
      "role": "publisher"
    }
  ],
  "keywords": [
    "freedom of information",
    "isle of man",
    "open data",
    "government transparency",
    "FOI",
    "public records"
  ],
  "resources": [
    {
      "name": "cases",
      "path": "cases.jsonl",
      "description": "All 4,139 FOI case summaries in JSON Lines format. Each line is a self-contained JSON object with the case metadata, LLM-generated summary, key facts, topics, and exemptions cited. This is the primary file for full-text search and analysis of FOI outcomes.",
      "format": "jsonl",
      "mediatype": "application/x-ndjson",
      "encoding": "utf-8",
      "bytes": 5347059,
      "hash": "sha256:14dd5c422996108bfa5419736f74563122635468437e7196d249e94fccbffa27",
      "schema": {
        "fields": [
          {"name": "case_id", "type": "integer", "description": "Unique numeric identifier for the FOI case"},
          {"name": "title", "type": "string", "description": "Title or subject line of the FOI request"},
          {"name": "authority", "type": "string", "description": "Isle of Man public authority that received the request"},
          {"name": "date_received", "type": "date", "description": "Date the FOI request was received (ISO 8601)"},
          {"name": "outcome", "type": "string", "description": "Outcome of the request (e.g. 'All information sent', 'Some information sent but part exempt')"},
          {"name": "summary", "type": "string", "description": "LLM-generated plain-English summary of the request and response"},
          {"name": "key_facts", "type": "array", "description": "Array of notable factual statements extracted from the response"},
          {"name": "data_mentioned", "type": "array", "description": "Array of specific data points, dates, and figures mentioned in the response"},
          {"name": "exemptions_cited", "type": "array", "description": "Array of legal exemptions cited when information was withheld"},
          {"name": "topics", "type": "array", "description": "Array of topic tags assigned to the case (e.g. 'healthcare', 'spending', 'transport')"},
          {"name": "notable", "type": "boolean", "description": "Whether the case was flagged as particularly noteworthy"}
        ]
      }
    },
    {
      "name": "all",
      "path": "all.json",
      "description": "Combined dataset containing all 1,674 FOI cases that included extractable data tables, across all nine themes. Each case includes full metadata and nested table data.",
      "format": "json",
      "mediatype": "application/json",
      "encoding": "utf-8",
      "bytes": 42640905,
      "hash": "sha256:349b55ea8695f469107d14b5b2bbc6e95439d2479ffee5ecdeabe5fd40a7ce4f",
      "schema": {
        "fields": [
          {"name": "dataset", "type": "string", "description": "Top-level: theme name for the dataset"},
          {"name": "description", "type": "string", "description": "Top-level: human-readable description of the theme"},
          {"name": "source", "type": "string", "description": "Top-level: data provenance"},
          {"name": "record_count", "type": "integer", "description": "Top-level: number of FOI cases in this dataset"},
          {"name": "table_count", "type": "integer", "description": "Top-level: total number of data tables"},
          {"name": "row_count", "type": "integer", "description": "Top-level: total number of data rows"},
          {"name": "generated", "type": "date", "description": "Top-level: date the dataset was generated"},
          {"name": "cases", "type": "array", "description": "Top-level: array of case objects, each with case_id, title, authority, date_received, outcome, summary, key_facts, data_mentioned, exemptions_cited, and tables"}
        ]
      }
    },
    {
      "name": "crime-json",
      "path": "crime.json",
      "description": "Criminal offences, arrests, prosecutions, policing incidents, and justice statistics (91 cases, 226 tables, 2,454 rows)",
      "format": "json",
      "mediatype": "application/json",
      "encoding": "utf-8",
      "bytes": 747252,
      "hash": "sha256:b27d976f1113894b375955960e9820edb21b69262b96e05881cdacbf92e5eabc",
      "schema": {
        "fields": [
          {"name": "dataset", "type": "string"},
          {"name": "description", "type": "string"},
          {"name": "source", "type": "string"},
          {"name": "record_count", "type": "integer"},
          {"name": "table_count", "type": "integer"},
          {"name": "row_count", "type": "integer"},
          {"name": "generated", "type": "date"},
          {"name": "cases", "type": "array", "description": "Array of case objects with nested tables"}
        ]
      }
    },
    {
      "name": "crime-csv",
      "path": "crime.csv",
      "description": "Criminal offences, arrests, prosecutions, policing incidents, and justice statistics — flattened CSV format",
      "format": "csv",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "bytes": 512231,
      "hash": "sha256:45feb6f3ddf081da8369f35c8cc38c8e1f7f3353c61de2c1005f61d4229927f7",
      "schema": {
        "fields": [
          {"name": "case_id", "type": "integer", "description": "FOI case identifier"},
          {"name": "authority", "type": "string", "description": "Public authority that released the data"},
          {"name": "date_received", "type": "date", "description": "Date the FOI request was received"},
          {"name": "title", "type": "string", "description": "Request title; rows prefixed [HEADER] contain column names for the table that follows"},
          {"name": "col_1", "type": "string", "description": "Data column 1 (meaning varies per table)"},
          {"name": "col_2", "type": "string", "description": "Data column 2"},
          {"name": "col_3", "type": "string", "description": "Data column 3"},
          {"name": "col_4", "type": "string", "description": "Data column 4"},
          {"name": "col_5", "type": "string", "description": "Data column 5"},
          {"name": "col_6", "type": "string", "description": "Data column 6 (up to col_46; columns vary per table)"}
        ]
      }
    },
    {
      "name": "education-json",
      "path": "education.json",
      "description": "Schools, pupil numbers, exam results, attainment data, and educational assessments (233 cases, 2,440 tables, 29,771 rows)",
      "format": "json",
      "mediatype": "application/json",
      "encoding": "utf-8",
      "bytes": 9311226,
      "hash": "sha256:41b8a7be1d16d58cae71e6b84ab95d0e67fec8b7595f293e8d7330baa21ddc67"
    },
    {
      "name": "education-csv",
      "path": "education.csv",
      "description": "Schools, pupil numbers, exam results, attainment data, and educational assessments — flattened CSV format",
      "format": "csv",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "bytes": 7513311,
      "hash": "sha256:267555cced945c5b3d519a1b3bced9fa3e955c3fe5aa5dd70994c09a6724a1a4"
    },
    {
      "name": "employment-json",
      "path": "employment.json",
      "description": "Staff numbers, sick leave, vacancies, salaries, agency costs, and workforce data (125 cases, 465 tables, 5,221 rows)",
      "format": "json",
      "mediatype": "application/json",
      "encoding": "utf-8",
      "bytes": 1677746,
      "hash": "sha256:3436a453886552446aad8d90785b03490c8083825956eb007b4d9e6527ec7e1c"
    },
    {
      "name": "employment-csv",
      "path": "employment.csv",
      "description": "Staff numbers, sick leave, vacancies, salaries, agency costs, and workforce data — flattened CSV format",
      "format": "csv",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "bytes": 1325353,
      "hash": "sha256:e1c3c776b396fec6695fc22d5ad86cec7bc842699634adcae457df12ce4ccb57"
    },
    {
      "name": "environment-json",
      "path": "environment.json",
      "description": "Energy, waste, water, emissions, wildlife, agriculture, and conservation data (106 cases, 1,033 tables, 11,275 rows)",
      "format": "json",
      "mediatype": "application/json",
      "encoding": "utf-8",
      "bytes": 3703266,
      "hash": "sha256:578bbff76a3946709c8c513e94c8d621d65e8bf1176bf004d68971fee6643404"
    },
    {
      "name": "environment-csv",
      "path": "environment.csv",
      "description": "Energy, waste, water, emissions, wildlife, agriculture, and conservation data — flattened CSV format",
      "format": "csv",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "bytes": 2698880,
      "hash": "sha256:d42ce2542d4a80532314c9ca7edfaded088074eaa275715b6868bfd7b9f9eb2c"
    },
    {
      "name": "healthcare-json",
      "path": "healthcare.json",
      "description": "Patient data, waiting times, hospital statistics, prescriptions, and public health information (310 cases, 2,955 tables, 54,311 rows)",
      "format": "json",
      "mediatype": "application/json",
      "encoding": "utf-8",
      "bytes": 9812760,
      "hash": "sha256:eaedd490e733fb840ad159aae6e6377bba3f3627b0ca339ab3d5b866c89a7310"
    },
    {
      "name": "healthcare-csv",
      "path": "healthcare.csv",
      "description": "Patient data, waiting times, hospital statistics, prescriptions, and public health information — flattened CSV format",
      "format": "csv",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "bytes": 10995166,
      "hash": "sha256:53836314e196519a059880a12aa3463ceb661a8e25d90ac48076ffd419b527b9"
    },
    {
      "name": "other-json",
      "path": "other.json",
      "description": "FOI cases with data tables that did not match any specific theme category (71 cases, 402 tables, 5,291 rows)",
      "format": "json",
      "mediatype": "application/json",
      "encoding": "utf-8",
      "bytes": 1461145,
      "hash": "sha256:b6f7e61d8334d99afe8ef4732708903f577587fd44928c7a2bd0fe2de21ae10d"
    },
    {
      "name": "other-csv",
      "path": "other.csv",
      "description": "FOI cases with data tables that did not match any specific theme category — flattened CSV format",
      "format": "csv",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "bytes": 1096269,
      "hash": "sha256:4c84eb9fc52e4e79a3cf2bcb49bd954791b2e6e1f59f5a787432abc67ba15da2"
    },
    {
      "name": "planning-json",
      "path": "planning.json",
      "description": "Planning applications, housing, property, dwellings, and development data (90 cases, 315 tables, 3,260 rows)",
      "format": "json",
      "mediatype": "application/json",
      "encoding": "utf-8",
      "bytes": 842086,
      "hash": "sha256:493ab322b22d59e686ade3346ae33df636c149a8e707d9b04ec47fcc709732b2"
    },
    {
      "name": "planning-csv",
      "path": "planning.csv",
      "description": "Planning applications, housing, property, dwellings, and development data — flattened CSV format",
      "format": "csv",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "bytes": 751745,
      "hash": "sha256:1472adc3a694ea6f649ff2db495932ded509556d645d5258a207aea4f5b3a38c"
    },
    {
      "name": "spending-json",
      "path": "spending.json",
      "description": "Government spending, budgets, expenditure, and financial data disclosed through FOI (414 cases, 2,515 tables, 45,226 rows)",
      "format": "json",
      "mediatype": "application/json",
      "encoding": "utf-8",
      "bytes": 10629982,
      "hash": "sha256:fd764bd2b75bf0b243b3834db82c140fa3d2eca03d33fa8ba421cacb6ab60b75"
    },
    {
      "name": "spending-csv",
      "path": "spending.csv",
      "description": "Government spending, budgets, expenditure, and financial data disclosed through FOI — flattened CSV format",
      "format": "csv",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "bytes": 9438570,
      "hash": "sha256:528a111b050b7a80c63fb1b686a14b11c7060ea33611088ef8f31226da99a839"
    },
    {
      "name": "transport-json",
      "path": "transport.json",
      "description": "Roads, traffic, vehicles, public transport, airport, and infrastructure data (234 cases, 1,134 tables, 17,420 rows)",
      "format": "json",
      "mediatype": "application/json",
      "encoding": "utf-8",
      "bytes": 4457998,
      "hash": "sha256:053637a2604034ae5d3c2481fe3cace110b86a45407467661c84af28f89b580b"
    },
    {
      "name": "transport-csv",
      "path": "transport.csv",
      "description": "Roads, traffic, vehicles, public transport, airport, and infrastructure data — flattened CSV format",
      "format": "csv",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "bytes": 3626567,
      "hash": "sha256:de955ccdba865c12b4bace7451cb1e745177eab7a064af387d7b5abea0a24945"
    }
  ]
}
