{
  "@context": "http://www.w3.org/ns/csvw",
  "url": "staff-numbers.csv",
  "tableSchema": {
    "columns": [
      {"name": "id", "titles": "ID", "datatype": "uri", "description": "Persistent URI for this staff-numbers record"},
      {"name": "public_body", "titles": "Public Body", "datatype": "uri", "required": false, "description": "URI of the public body this row belongs to; empty when match_status is unmatched"},
      {"name": "match_status", "titles": "Match Status", "datatype": {"base": "string", "format": "exact|rule|override|unmatched"}, "description": "How the row was tied to a public body"},
      {"name": "year", "titles": "Year", "datatype": {"base": "integer", "minimum": 2008}, "description": "Calendar year of the reporting quarter"},
      {"name": "quarter", "titles": "Quarter", "datatype": {"base": "integer", "minimum": 1, "maximum": 4}, "description": "Calendar quarter (1-4)"},
      {"name": "source_name", "titles": "Source Name", "datatype": "string", "description": "Body name as written in the source file"},
      {"name": "source_department", "titles": "Source Department", "datatype": "string", "description": "The source's department grouping (Level_2)"},
      {"name": "source_category", "titles": "Source Category", "datatype": "string", "description": "The source's category (Level_4)"},
      {"name": "source_key", "titles": "Source Key", "datatype": "string", "description": "Stable identity of the source row"},
      {"name": "fte", "titles": "FTE", "datatype": {"base": "decimal", "minimum": 0}, "required": false, "description": "Full-time-equivalent staff in the row (not headcount)"}
    ],
    "primaryKey": "id",
    "aboutUrl": "{id}"
  }
}
