{
  "geography": {
    "id": "us_state",
    "label": "United States states",
    "urlPrefix": "us-state",
    "scope": "United States",
    "feature": "States",
    "ogIllustration": "us_state_og.png",
    "dataPreparation": {
      "recommended": {
        "header": "State",
        "examples": ["Georgia", "South Carolina", "North Carolina"],
        "note": "Use full state names with consistent spelling."
      },
      "alternatives": [
        {
          "header": "State Abbr",
          "examples": ["GA", "SC", "NC"],
          "note": "Two-letter postal abbreviations are supported."
        },
        {
          "header": "FIPS",
          "examples": ["13", "45", "37"],
          "note": "Two-digit state FIPS codes are supported; preserve leading zeros when applicable."
        }
      ],
      "note": "Use one supported state identifier column; separate geometry fields are not required."
    },
    "appConfig": {
      "boundaryFile": "us_bndry.json",
      "polygonsFile": "us_state_poly.json",
      "lookupFile": "us_state_lookup.csv"
    }
  },
  "join": {
    "primary": {
      "type": "fips2",
      "csv_lookup": "STATEFP",
      "GeoJSON_feature": "STATEFP",
      "aliases": ["STATEFP","FIPS","FIPS2","GEOID","geoid"],
      "normalize": { "digits": true, "pad": 2 }
    },
    "labels": {
      "titleFormat": "none",
      "reportTextOverride": "State",
      "featureSingularOverride": "State",
      "featurePluralOverride": "States"
    },


    "crosswalks": [
      {
        "fromType": "state_name",
        "toType": "fips2",
        "lookupColumns": { "from": "NAME", "to": "STATEFP" },
        "aliases": ["NAME", "State", "State Name"],
        "normalize": { "case": "lower", "trim": true, "strip_punct": true }
      },
      {
        "fromType": "state_abbr",
        "toType": "fips2",
        "lookupColumns": { "from": "STUSPS", "to": "STATEFP" },
        "aliases": ["STUSPS","USPS","State Abbr","Abbreviation","Postal Code"],
        "normalize": { "case": "upper", "trim": true }
      },
      {
        "fromType": "statens",
        "toType": "fips2",
        "lookupColumns": { "from": "STATENS", "to": "STATEFP" },
        "aliases": ["STATENS"],
        "normalize": { "digits": true, "pad": 8, "trim": true }
      },
      {
        "fromType": "geoid2",
        "toType": "fips2",
        "lookupColumns": { "from": "GEOID", "to": "STATEFP" },
        "aliases": ["GEOID","geoid"],
        "normalize": { "digits": true, "pad": 2, "trim": true }
      },
      {
        "fromType": "affgeoid",
        "toType": "fips2",
        "lookupColumns": { "from": "AFFGEOID", "to": "STATEFP" },
        "aliases": ["AFFGEOID","affgeoid"],
        "normalize": { "trim": true }
      }
    ],

    "lookupCsv": {
      "columns": {
        "id": "STATEFP",
        "name": "NAME",
        "lat": "Latitude",
        "lng": "Longitude"
      }
    },
    "logo": {
      "enabled": true,
      "padX": 0.07,
      "padY": 0.20,

      "sizePct": 0.18,
      "minPx": 44,
      "maxPx": 110,

      "boundsWidthPct": 0.20,
      "boundsMinPx": 36,

      "opacity": 0.95,
      "zIndex": 1000,

      "iconUrl": null,
      "title": "CU Ag Tech",
      "linkUrl": "https://cuagtech.com/"
    }
  },
  "display": {
    "dataLabels": {
      "minZoom": 3,
      "viewportOnly": true,
      "maxVisibleLabels": 80
    },
    "surface": {
      "maxResolution": 600
    }
  }
}
