{
   "name": "gsscode",
   "abstract": "UK ONS/GSS geography code type, packed into 32 bits",
   "description": "Packs a 9-character UK ONS/GSS statistical geography code (eg E01000001) into a 32-bit integer for fast indexing and prefix matching. Includes %/!% prefix-match operators (single or array of prefixes), text-compatibility shims (~, ~*, LEFT()) for queries written against the original text column, isnan() for ONS's reserved/placeholder codes, and a private type-registry table (description()) seeded from and refreshable against the ONS Register of Geographic Codes.",
   "version": "1.0.0",
   "date": "2026-08-30T08:03:14Z",
   "maintainer": [
      "John Burns <john@impactdatametrics.com>"
   ],
   "release_status": "stable",
   "user": "JohnB",
   "sha1": "856af9d2dca62a94bece205a653255a44a6a2405",
   "license": "postgresql",
   "provides": {
      "gsscode": {
         "abstract": "UK ONS/GSS geography code type, packed into 32 bits",
         "file": "gsscode--1.0.0.sql",
         "version": "1.0.0"
      },
      "gsscode_ons_refresh": {
         "abstract": "Optional in-database refresh of gsscode_types via plpython3u",
         "file": "gsscode_ons_refresh--1.0.0.sql",
         "version": "1.0.0"
      }
   },
   "tags": ["gss", "ons", "geography", "uk", "statistics"]
}
