{
  "author_identity": "brian@benthic.io",
  "author_pubkey": "qwG8vQQN7m/uB0Nwgor3s1EJCKjqZM/SNThV+V7XumM=",
  "collection": "ngopen",
  "created_at": "2026-08-11T15:10:28Z",
  "cryptographic_signature": {
    "algorithm": "EdDSA",
    "canonicalization": "RFC8785",
    "hash_algorithm": "SHA-256",
    "payload_hash": "0b02c5300d154d3a640bf373e3696976d1f88dfedfcf75dc3ef152c6c6d108ba",
    "signature_base64": "f44QNBn33RO2q46zd54Trg5k1+yCETjUetpOWft71EM/iK4znEBywdVtPN9mmV0tOBK4u56KLrZPOGJAJxaeBQ==",
    "signed_at": "2026-08-11T15:12:45Z"
  },
  "dataset_name": "up_cdmaps",
  "description": "EPSG:3857 geometry; reprojection required for cross-dataset spatial joins with all other datasets which use EPSG:4326.",
  "endpoints": [
    {
      "base_url": "https://benthic.io/ngopen/up_cdmaps/",
      "meta": {
        "accept_profile": "public",
        "max_rows": 1000,
        "openapi_url": "https://benthic.io/ngopen/up_cdmaps/",
        "requires_auth": false
      },
      "transport_type": "postgrest_api"
    }
  ],
  "etl_provenance": {
    "commit_hash": "66f585560f81c15b30fc1056303ddad274502136",
    "migrated_at": "2026-08-11T15:10:28Z",
    "migration_status": "migrated",
    "pipeline_entrypoint": "pipelines/up_cdmaps/pipeline.py",
    "repository_url": "https://github.com/benthic-io/ngopen-bdp-pipelines",
    "source_attribution": [
      {
        "name": "up_cdmaps",
        "url": "https://cdmaps.polisci.ucla.edu/shp"
      }
    ]
  },
  "protocol_version": "1.0.0",
  "schema_definition": [
    {
      "columns": [
        {
          "name": "id",
          "native_type": "integer",
          "nullable": false,
          "type": "integer"
        },
        {
          "name": "congress_number",
          "native_type": "integer",
          "nullable": false,
          "type": "integer"
        },
        {
          "name": "statename",
          "native_type": "character varying(80)",
          "nullable": true,
          "type": "string"
        },
        {
          "name": "district",
          "native_type": "integer",
          "nullable": true,
          "type": "integer"
        },
        {
          "name": "startcong",
          "native_type": "numeric(24,15)",
          "nullable": true,
          "type": "number"
        },
        {
          "name": "endcong",
          "native_type": "numeric(24,15)",
          "nullable": true,
          "type": "number"
        },
        {
          "name": "district_id",
          "native_type": "character varying(80)",
          "nullable": true,
          "type": "string"
        },
        {
          "name": "districtsi",
          "native_type": "character varying(254)",
          "nullable": true,
          "type": "string"
        },
        {
          "name": "county",
          "native_type": "character varying(227)",
          "nullable": true,
          "type": "string"
        },
        {
          "name": "page",
          "native_type": "character varying(227)",
          "nullable": true,
          "type": "string"
        },
        {
          "name": "law",
          "native_type": "character varying(254)",
          "nullable": true,
          "type": "string"
        },
        {
          "name": "note",
          "native_type": "character varying(254)",
          "nullable": true,
          "type": "string"
        },
        {
          "name": "bestdec",
          "native_type": "character varying(254)",
          "nullable": true,
          "type": "string"
        },
        {
          "name": "finalnote",
          "native_type": "character varying(254)",
          "nullable": true,
          "type": "string"
        },
        {
          "name": "rnote",
          "native_type": "character varying(254)",
          "nullable": true,
          "type": "string"
        },
        {
          "name": "lastchange",
          "native_type": "date",
          "nullable": true,
          "type": "date"
        },
        {
          "name": "fromcounty",
          "native_type": "character varying(80)",
          "nullable": true,
          "type": "string"
        },
        {
          "name": "statefp",
          "native_type": "character varying(80)",
          "nullable": true,
          "type": "string"
        },
        {
          "name": "geom",
          "native_type": "geometry(MultiPolygon,3857)",
          "nullable": true,
          "srid": 3857,
          "type": "geometry"
        },
        {
          "name": "source_file",
          "native_type": "character varying(255)",
          "nullable": true,
          "type": "string"
        },
        {
          "name": "imported_at",
          "native_type": "timestamp without time zone",
          "nullable": true,
          "type": "timestamp"
        }
      ],
      "name": "congressional_districts",
      "primary_key": [
        "id"
      ],
      "provenance": "derived",
      "queryable": true,
      "relation_type": "table"
    }
  ],
  "title": "Historical Congressional District Boundaries"
}
