{
  "format": "sqlite",
  "from": {
    "cycle": "2026q3r1",
    "id": "highways-conus"
  },
  "kind": "highways",
  "pack_meta_keys": [
    "attribution",
    "cycle",
    "id",
    "kind",
    "license",
    "license_url",
    "schema_version"
  ],
  "packs": {
    "highways-conus": {
      "builder": {
        "builder_refs": {},
        "commit": null,
        "makerplane_data_commit": null,
        "repo": "pyEfis",
        "tool": "tools/build_highway_db.py"
      },
      "container": "sqlite",
      "indexes": {},
      "pack": {
        "cycle": "2026q3r1",
        "id": "highways-conus",
        "kind": "highways",
        "schema_version": "1"
      },
      "pack_meta_keys": [
        "attribution",
        "cycle",
        "id",
        "kind",
        "license",
        "license_url",
        "schema_version"
      ],
      "rtrees": {
        "highway_rtree": {
          "columns": [
            "id",
            "min_lat",
            "max_lat",
            "min_lon",
            "max_lon"
          ],
          "sql": "CREATE VIRTUAL TABLE highway_rtree USING rtree(\n    id, min_lat, max_lat, min_lon, max_lon\n)"
        }
      },
      "schema": "pack-schema/1",
      "source": "bootstrap: read from the published pack",
      "tables": {
        "highway_lines": {
          "columns": [
            {
              "default": null,
              "name": "id",
              "notnull": false,
              "pk": 1,
              "type": "INTEGER"
            },
            {
              "default": null,
              "name": "fclass",
              "notnull": true,
              "pk": 0,
              "type": "TEXT"
            },
            {
              "default": null,
              "name": "min_lat",
              "notnull": false,
              "pk": 0,
              "type": "REAL"
            },
            {
              "default": null,
              "name": "max_lat",
              "notnull": false,
              "pk": 0,
              "type": "REAL"
            },
            {
              "default": null,
              "name": "min_lon",
              "notnull": false,
              "pk": 0,
              "type": "REAL"
            },
            {
              "default": null,
              "name": "max_lon",
              "notnull": false,
              "pk": 0,
              "type": "REAL"
            },
            {
              "default": null,
              "name": "verts",
              "notnull": true,
              "pk": 0,
              "type": "BLOB"
            },
            {
              "default": "0",
              "name": "flags",
              "notnull": true,
              "pk": 0,
              "type": "INTEGER"
            },
            {
              "default": null,
              "name": "ref",
              "notnull": false,
              "pk": 0,
              "type": "TEXT"
            }
          ],
          "sql": "CREATE TABLE highway_lines (\n    id INTEGER PRIMARY KEY,\n    fclass TEXT NOT NULL,\n    min_lat REAL, max_lat REAL, min_lon REAL, max_lon REAL,\n    verts BLOB NOT NULL,\n    flags INTEGER NOT NULL DEFAULT 0,\n    ref TEXT\n)"
        },
        "pack_meta": {
          "columns": [
            {
              "default": null,
              "name": "key",
              "notnull": false,
              "pk": 1,
              "type": "TEXT"
            },
            {
              "default": null,
              "name": "value",
              "notnull": false,
              "pk": 0,
              "type": "TEXT"
            }
          ],
          "sql": "CREATE TABLE pack_meta (key TEXT PRIMARY KEY, value TEXT)"
        }
      }
    }
  },
  "schema": "pack-schema/1",
  "schema_version": "1",
  "tables": [
    {
      "columns": [
        {
          "default": null,
          "name": "id",
          "notnull": false,
          "pk": 1,
          "type": "INTEGER"
        },
        {
          "default": null,
          "name": "fclass",
          "notnull": true,
          "pk": 0,
          "type": "TEXT"
        },
        {
          "default": null,
          "name": "min_lat",
          "notnull": false,
          "pk": 0,
          "type": "REAL"
        },
        {
          "default": null,
          "name": "max_lat",
          "notnull": false,
          "pk": 0,
          "type": "REAL"
        },
        {
          "default": null,
          "name": "min_lon",
          "notnull": false,
          "pk": 0,
          "type": "REAL"
        },
        {
          "default": null,
          "name": "max_lon",
          "notnull": false,
          "pk": 0,
          "type": "REAL"
        },
        {
          "default": null,
          "name": "verts",
          "notnull": true,
          "pk": 0,
          "type": "BLOB"
        },
        {
          "default": "0",
          "name": "flags",
          "notnull": true,
          "pk": 0,
          "type": "INTEGER"
        },
        {
          "default": null,
          "name": "ref",
          "notnull": false,
          "pk": 0,
          "type": "TEXT"
        }
      ],
      "indexes": [],
      "name": "highway_lines",
      "sql": "CREATE TABLE highway_lines (\n    id INTEGER PRIMARY KEY,\n    fclass TEXT NOT NULL,\n    min_lat REAL, max_lat REAL, min_lon REAL, max_lon REAL,\n    verts BLOB NOT NULL,\n    flags INTEGER NOT NULL DEFAULT 0,\n    ref TEXT\n)",
      "virtual": false
    },
    {
      "columns": [
        {
          "default": null,
          "name": "id",
          "notnull": false,
          "pk": 0,
          "type": "INT"
        },
        {
          "default": null,
          "name": "min_lat",
          "notnull": false,
          "pk": 0,
          "type": "REAL"
        },
        {
          "default": null,
          "name": "max_lat",
          "notnull": false,
          "pk": 0,
          "type": "REAL"
        },
        {
          "default": null,
          "name": "min_lon",
          "notnull": false,
          "pk": 0,
          "type": "REAL"
        },
        {
          "default": null,
          "name": "max_lon",
          "notnull": false,
          "pk": 0,
          "type": "REAL"
        }
      ],
      "indexes": [],
      "name": "highway_rtree",
      "shadow_tables": [
        "highway_rtree_node",
        "highway_rtree_parent",
        "highway_rtree_rowid"
      ],
      "sql": "CREATE VIRTUAL TABLE highway_rtree USING rtree(\n    id, min_lat, max_lat, min_lon, max_lon\n)",
      "virtual": true
    },
    {
      "columns": [
        {
          "default": null,
          "name": "key",
          "notnull": false,
          "pk": 1,
          "type": "TEXT"
        },
        {
          "default": null,
          "name": "value",
          "notnull": false,
          "pk": 0,
          "type": "TEXT"
        }
      ],
      "indexes": [
        {
          "name": "sqlite_autoindex_pack_meta_1",
          "sql": null,
          "unique": false
        }
      ],
      "name": "pack_meta",
      "sql": "CREATE TABLE pack_meta (key TEXT PRIMARY KEY, value TEXT)",
      "virtual": false
    }
  ]
}
