{
  "openapi": "3.0.1",
  "info": {
    "title": "US Traffic Signal Locations & Intersection Dataset",
    "description": "Download traffic signal locations for any US city or state — ~170k signalized intersections across 225 cities, all 50 states + DC. Signal type, ADA flags, approach count, nearest street. JSON/CSV/Excel/KML for SUMO, VISSIM, V2X. Data © OpenStreetMap contributors (ODbL 1.0).",
    "version": "1.0",
    "x-build-id": "KYMUcYmDi50BGKCzC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scholarstack~us-traffic-signal-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scholarstack-us-traffic-signal-extractor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/scholarstack~us-traffic-signal-extractor/runs": {
      "post": {
        "operationId": "runs-sync-scholarstack-us-traffic-signal-extractor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/scholarstack~us-traffic-signal-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-scholarstack-us-traffic-signal-extractor",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "city": {
            "title": "City (single)",
            "enum": [
              "al-birmingham",
              "al-huntsville",
              "al-mobile",
              "al-montgomery",
              "ak-anchorage",
              "ak-fairbanks",
              "ak-juneau",
              "az-chandler",
              "az-gilbert",
              "az-glendale",
              "az-mesa",
              "az-phoenix",
              "az-scottsdale",
              "az-tucson",
              "ar-fayetteville",
              "ar-fort_smith",
              "ar-little_rock",
              "ca-norcal-fresno",
              "ca-norcal-oakland",
              "ca-norcal-sacramento",
              "ca-norcal-san_francisco",
              "ca-norcal-san_jose",
              "ca-norcal-stockton",
              "ca-socal-anaheim",
              "ca-socal-bakersfield",
              "ca-socal-chula_vista",
              "ca-socal-irvine",
              "ca-socal-long_beach",
              "ca-socal-los_angeles",
              "ca-socal-pasadena",
              "ca-socal-riverside",
              "ca-socal-san_diego",
              "ca-socal-santa_ana",
              "co-aurora",
              "co-boulder",
              "co-colorado_springs",
              "co-denver",
              "co-fort_collins",
              "ct-bridgeport",
              "ct-hartford",
              "ct-new_haven",
              "ct-stamford",
              "de-dover",
              "de-newark",
              "de-wilmington",
              "dc-washington",
              "fl-fort_lauderdale",
              "fl-jacksonville",
              "fl-miami",
              "fl-orlando",
              "fl-st_petersburg",
              "fl-tallahassee",
              "fl-tampa",
              "ga-athens",
              "ga-atlanta",
              "ga-augusta",
              "ga-columbus",
              "ga-savannah",
              "hi-hilo",
              "hi-honolulu",
              "hi-kailua",
              "id-boise",
              "id-idaho_falls",
              "id-meridian",
              "id-nampa",
              "il-aurora",
              "il-chicago",
              "il-naperville",
              "il-peoria",
              "il-rockford",
              "il-springfield",
              "in-bloomington",
              "in-evansville",
              "in-fort_wayne",
              "in-indianapolis",
              "in-south_bend",
              "ia-cedar_rapids",
              "ia-davenport",
              "ia-des_moines",
              "ia-iowa_city",
              "ks-olathe",
              "ks-overland_park",
              "ks-topeka",
              "ks-wichita",
              "ky-bowling_green",
              "ky-lexington",
              "ky-louisville",
              "la-baton_rouge",
              "la-lafayette",
              "la-new_orleans",
              "la-shreveport",
              "me-bangor",
              "me-lewiston",
              "me-portland",
              "md-annapolis",
              "md-baltimore",
              "md-columbia",
              "md-frederick",
              "md-germantown",
              "ma-boston",
              "ma-cambridge",
              "ma-lowell",
              "ma-springfield",
              "ma-worcester",
              "mi-ann_arbor",
              "mi-detroit",
              "mi-flint",
              "mi-grand_rapids",
              "mi-lansing",
              "mn-duluth",
              "mn-minneapolis",
              "mn-rochester",
              "mn-saint_paul",
              "ms-biloxi",
              "ms-gulfport",
              "ms-hattiesburg",
              "ms-jackson",
              "mo-columbia",
              "mo-kansas_city",
              "mo-saint_louis",
              "mo-springfield",
              "mt-billings",
              "mt-bozeman",
              "mt-great_falls",
              "mt-missoula",
              "ne-bellevue",
              "ne-lincoln",
              "ne-omaha",
              "nv-carson_city",
              "nv-henderson",
              "nv-las_vegas",
              "nv-reno",
              "nh-concord",
              "nh-manchester",
              "nh-nashua",
              "nj-camden",
              "nj-jersey_city",
              "nj-newark",
              "nj-paterson",
              "nj-trenton",
              "nm-albuquerque",
              "nm-las_cruces",
              "nm-santa_fe",
              "ny-albany",
              "ny-buffalo",
              "ny-new_york",
              "ny-rochester",
              "ny-syracuse",
              "ny-yonkers",
              "nc-asheville",
              "nc-charlotte",
              "nc-durham",
              "nc-greensboro",
              "nc-raleigh",
              "nc-winston_salem",
              "nd-bismarck",
              "nd-fargo",
              "nd-grand_forks",
              "oh-akron",
              "oh-cincinnati",
              "oh-cleveland",
              "oh-columbus",
              "oh-dayton",
              "oh-toledo",
              "ok-norman",
              "ok-oklahoma_city",
              "ok-tulsa",
              "or-bend",
              "or-eugene",
              "or-portland",
              "or-salem",
              "pa-allentown",
              "pa-erie",
              "pa-harrisburg",
              "pa-philadelphia",
              "pa-pittsburgh",
              "ri-newport",
              "ri-providence",
              "ri-warwick",
              "sc-charleston",
              "sc-columbia",
              "sc-greenville",
              "sc-myrtle_beach",
              "sd-pierre",
              "sd-rapid_city",
              "sd-sioux_falls",
              "tn-chattanooga",
              "tn-knoxville",
              "tn-memphis",
              "tn-nashville",
              "tx-arlington",
              "tx-austin",
              "tx-dallas",
              "tx-el_paso",
              "tx-fort_worth",
              "tx-houston",
              "tx-lubbock",
              "tx-san_antonio",
              "ut-ogden",
              "ut-provo",
              "ut-salt_lake_city",
              "ut-west_valley_city",
              "vt-burlington",
              "vt-montpelier",
              "vt-rutland",
              "va-alexandria",
              "va-chesapeake",
              "va-norfolk",
              "va-richmond",
              "va-virginia_beach",
              "wa-bellevue",
              "wa-seattle",
              "wa-spokane",
              "wa-tacoma",
              "wa-vancouver",
              "wv-charleston",
              "wv-huntington",
              "wv-morgantown",
              "wi-green_bay",
              "wi-kenosha",
              "wi-madison",
              "wi-milwaukee",
              "wy-casper",
              "wy-cheyenne",
              "wy-laramie"
            ],
            "type": "string",
            "description": "Select a single city (e.g. Los Angeles). Ignored if customBbox is set. For multiple cities use 'Cities' below; for all cities in a state use 'State'.",
            "default": "ca-socal-los_angeles"
          },
          "cities": {
            "title": "Cities (batch — pick multiple)",
            "type": "array",
            "description": "Select multiple cities to process in one run. All results are delivered into a single dataset. Overrides 'City' if set. Ignored if 'State' or 'Custom bbox' is set.",
            "items": {
              "type": "string",
              "enum": [
                "al-birmingham",
                "al-huntsville",
                "al-mobile",
                "al-montgomery",
                "ak-anchorage",
                "ak-fairbanks",
                "ak-juneau",
                "az-chandler",
                "az-gilbert",
                "az-glendale",
                "az-mesa",
                "az-phoenix",
                "az-scottsdale",
                "az-tucson",
                "ar-fayetteville",
                "ar-fort_smith",
                "ar-little_rock",
                "ca-norcal-fresno",
                "ca-norcal-oakland",
                "ca-norcal-sacramento",
                "ca-norcal-san_francisco",
                "ca-norcal-san_jose",
                "ca-norcal-stockton",
                "ca-socal-anaheim",
                "ca-socal-bakersfield",
                "ca-socal-chula_vista",
                "ca-socal-irvine",
                "ca-socal-long_beach",
                "ca-socal-los_angeles",
                "ca-socal-pasadena",
                "ca-socal-riverside",
                "ca-socal-san_diego",
                "ca-socal-santa_ana",
                "co-aurora",
                "co-boulder",
                "co-colorado_springs",
                "co-denver",
                "co-fort_collins",
                "ct-bridgeport",
                "ct-hartford",
                "ct-new_haven",
                "ct-stamford",
                "de-dover",
                "de-newark",
                "de-wilmington",
                "dc-washington",
                "fl-fort_lauderdale",
                "fl-jacksonville",
                "fl-miami",
                "fl-orlando",
                "fl-st_petersburg",
                "fl-tallahassee",
                "fl-tampa",
                "ga-athens",
                "ga-atlanta",
                "ga-augusta",
                "ga-columbus",
                "ga-savannah",
                "hi-hilo",
                "hi-honolulu",
                "hi-kailua",
                "id-boise",
                "id-idaho_falls",
                "id-meridian",
                "id-nampa",
                "il-aurora",
                "il-chicago",
                "il-naperville",
                "il-peoria",
                "il-rockford",
                "il-springfield",
                "in-bloomington",
                "in-evansville",
                "in-fort_wayne",
                "in-indianapolis",
                "in-south_bend",
                "ia-cedar_rapids",
                "ia-davenport",
                "ia-des_moines",
                "ia-iowa_city",
                "ks-olathe",
                "ks-overland_park",
                "ks-topeka",
                "ks-wichita",
                "ky-bowling_green",
                "ky-lexington",
                "ky-louisville",
                "la-baton_rouge",
                "la-lafayette",
                "la-new_orleans",
                "la-shreveport",
                "me-bangor",
                "me-lewiston",
                "me-portland",
                "md-annapolis",
                "md-baltimore",
                "md-columbia",
                "md-frederick",
                "md-germantown",
                "ma-boston",
                "ma-cambridge",
                "ma-lowell",
                "ma-springfield",
                "ma-worcester",
                "mi-ann_arbor",
                "mi-detroit",
                "mi-flint",
                "mi-grand_rapids",
                "mi-lansing",
                "mn-duluth",
                "mn-minneapolis",
                "mn-rochester",
                "mn-saint_paul",
                "ms-biloxi",
                "ms-gulfport",
                "ms-hattiesburg",
                "ms-jackson",
                "mo-columbia",
                "mo-kansas_city",
                "mo-saint_louis",
                "mo-springfield",
                "mt-billings",
                "mt-bozeman",
                "mt-great_falls",
                "mt-missoula",
                "ne-bellevue",
                "ne-lincoln",
                "ne-omaha",
                "nv-carson_city",
                "nv-henderson",
                "nv-las_vegas",
                "nv-reno",
                "nh-concord",
                "nh-manchester",
                "nh-nashua",
                "nj-camden",
                "nj-jersey_city",
                "nj-newark",
                "nj-paterson",
                "nj-trenton",
                "nm-albuquerque",
                "nm-las_cruces",
                "nm-santa_fe",
                "ny-albany",
                "ny-buffalo",
                "ny-new_york",
                "ny-rochester",
                "ny-syracuse",
                "ny-yonkers",
                "nc-asheville",
                "nc-charlotte",
                "nc-durham",
                "nc-greensboro",
                "nc-raleigh",
                "nc-winston_salem",
                "nd-bismarck",
                "nd-fargo",
                "nd-grand_forks",
                "oh-akron",
                "oh-cincinnati",
                "oh-cleveland",
                "oh-columbus",
                "oh-dayton",
                "oh-toledo",
                "ok-norman",
                "ok-oklahoma_city",
                "ok-tulsa",
                "or-bend",
                "or-eugene",
                "or-portland",
                "or-salem",
                "pa-allentown",
                "pa-erie",
                "pa-harrisburg",
                "pa-philadelphia",
                "pa-pittsburgh",
                "ri-newport",
                "ri-providence",
                "ri-warwick",
                "sc-charleston",
                "sc-columbia",
                "sc-greenville",
                "sc-myrtle_beach",
                "sd-pierre",
                "sd-rapid_city",
                "sd-sioux_falls",
                "tn-chattanooga",
                "tn-knoxville",
                "tn-memphis",
                "tn-nashville",
                "tx-arlington",
                "tx-austin",
                "tx-dallas",
                "tx-el_paso",
                "tx-fort_worth",
                "tx-houston",
                "tx-lubbock",
                "tx-san_antonio",
                "ut-ogden",
                "ut-provo",
                "ut-salt_lake_city",
                "ut-west_valley_city",
                "vt-burlington",
                "vt-montpelier",
                "vt-rutland",
                "va-alexandria",
                "va-chesapeake",
                "va-norfolk",
                "va-richmond",
                "va-virginia_beach",
                "wa-bellevue",
                "wa-seattle",
                "wa-spokane",
                "wa-tacoma",
                "wa-vancouver",
                "wv-charleston",
                "wv-huntington",
                "wv-morgantown",
                "wi-green_bay",
                "wi-kenosha",
                "wi-madison",
                "wi-milwaukee",
                "wy-casper",
                "wy-cheyenne",
                "wy-laramie"
              ],
              "enumTitles": [
                "Birmingham (AL)",
                "Huntsville (AL)",
                "Mobile (AL)",
                "Montgomery (AL)",
                "Anchorage (AK)",
                "Fairbanks (AK)",
                "Juneau (AK)",
                "Chandler (AZ)",
                "Gilbert (AZ)",
                "Glendale (AZ)",
                "Mesa (AZ)",
                "Phoenix (AZ)",
                "Scottsdale (AZ)",
                "Tucson (AZ)",
                "Fayetteville (AR)",
                "Fort Smith (AR)",
                "Little Rock (AR)",
                "Fresno (CA-NORCAL)",
                "Oakland (CA-NORCAL)",
                "Sacramento (CA-NORCAL)",
                "San Francisco (CA-NORCAL)",
                "San Jose (CA-NORCAL)",
                "Stockton (CA-NORCAL)",
                "Anaheim (CA-SOCAL)",
                "Bakersfield (CA-SOCAL)",
                "Chula Vista (CA-SOCAL)",
                "Irvine (CA-SOCAL)",
                "Long Beach (CA-SOCAL)",
                "Los Angeles (CA-SOCAL)",
                "Pasadena (CA-SOCAL)",
                "Riverside (CA-SOCAL)",
                "San Diego (CA-SOCAL)",
                "Santa Ana (CA-SOCAL)",
                "Aurora (CO)",
                "Boulder (CO)",
                "Colorado Springs (CO)",
                "Denver (CO)",
                "Fort Collins (CO)",
                "Bridgeport (CT)",
                "Hartford (CT)",
                "New Haven (CT)",
                "Stamford (CT)",
                "Dover (DE)",
                "Newark (DE)",
                "Wilmington (DE)",
                "Washington (DC)",
                "Fort Lauderdale (FL)",
                "Jacksonville (FL)",
                "Miami (FL)",
                "Orlando (FL)",
                "St. Petersburg (FL)",
                "Tallahassee (FL)",
                "Tampa (FL)",
                "Athens (GA)",
                "Atlanta (GA)",
                "Augusta (GA)",
                "Columbus (GA)",
                "Savannah (GA)",
                "Hilo (HI)",
                "Honolulu (HI)",
                "Kailua (HI)",
                "Boise (ID)",
                "Idaho Falls (ID)",
                "Meridian (ID)",
                "Nampa (ID)",
                "Aurora (IL)",
                "Chicago (IL)",
                "Naperville (IL)",
                "Peoria (IL)",
                "Rockford (IL)",
                "Springfield (IL)",
                "Bloomington (IN)",
                "Evansville (IN)",
                "Fort Wayne (IN)",
                "Indianapolis (IN)",
                "South Bend (IN)",
                "Cedar Rapids (IA)",
                "Davenport (IA)",
                "Des Moines (IA)",
                "Iowa City (IA)",
                "Olathe (KS)",
                "Overland Park (KS)",
                "Topeka (KS)",
                "Wichita (KS)",
                "Bowling Green (KY)",
                "Lexington (KY)",
                "Louisville (KY)",
                "Baton Rouge (LA)",
                "Lafayette (LA)",
                "New Orleans (LA)",
                "Shreveport (LA)",
                "Bangor (ME)",
                "Lewiston (ME)",
                "Portland (ME)",
                "Annapolis (MD)",
                "Baltimore (MD)",
                "Columbia (MD)",
                "Frederick (MD)",
                "Germantown (MD)",
                "Boston (MA)",
                "Cambridge (MA)",
                "Lowell (MA)",
                "Springfield (MA)",
                "Worcester (MA)",
                "Ann Arbor (MI)",
                "Detroit (MI)",
                "Flint (MI)",
                "Grand Rapids (MI)",
                "Lansing (MI)",
                "Duluth (MN)",
                "Minneapolis (MN)",
                "Rochester (MN)",
                "Saint Paul (MN)",
                "Biloxi (MS)",
                "Gulfport (MS)",
                "Hattiesburg (MS)",
                "Jackson (MS)",
                "Columbia (MO)",
                "Kansas City (MO)",
                "Saint Louis (MO)",
                "Springfield (MO)",
                "Billings (MT)",
                "Bozeman (MT)",
                "Great Falls (MT)",
                "Missoula (MT)",
                "Bellevue (NE)",
                "Lincoln (NE)",
                "Omaha (NE)",
                "Carson City (NV)",
                "Henderson (NV)",
                "Las Vegas (NV)",
                "Reno (NV)",
                "Concord (NH)",
                "Manchester (NH)",
                "Nashua (NH)",
                "Camden (NJ)",
                "Jersey City (NJ)",
                "Newark (NJ)",
                "Paterson (NJ)",
                "Trenton (NJ)",
                "Albuquerque (NM)",
                "Las Cruces (NM)",
                "Santa Fe (NM)",
                "Albany (NY)",
                "Buffalo (NY)",
                "New York City (NY)",
                "Rochester (NY)",
                "Syracuse (NY)",
                "Yonkers (NY)",
                "Asheville (NC)",
                "Charlotte (NC)",
                "Durham (NC)",
                "Greensboro (NC)",
                "Raleigh (NC)",
                "Winston-Salem (NC)",
                "Bismarck (ND)",
                "Fargo (ND)",
                "Grand Forks (ND)",
                "Akron (OH)",
                "Cincinnati (OH)",
                "Cleveland (OH)",
                "Columbus (OH)",
                "Dayton (OH)",
                "Toledo (OH)",
                "Norman (OK)",
                "Oklahoma City (OK)",
                "Tulsa (OK)",
                "Bend (OR)",
                "Eugene (OR)",
                "Portland (OR)",
                "Salem (OR)",
                "Allentown (PA)",
                "Erie (PA)",
                "Harrisburg (PA)",
                "Philadelphia (PA)",
                "Pittsburgh (PA)",
                "Newport (RI)",
                "Providence (RI)",
                "Warwick (RI)",
                "Charleston (SC)",
                "Columbia (SC)",
                "Greenville (SC)",
                "Myrtle Beach (SC)",
                "Pierre (SD)",
                "Rapid City (SD)",
                "Sioux Falls (SD)",
                "Chattanooga (TN)",
                "Knoxville (TN)",
                "Memphis (TN)",
                "Nashville (TN)",
                "Arlington (TX)",
                "Austin (TX)",
                "Dallas (TX)",
                "El Paso (TX)",
                "Fort Worth (TX)",
                "Houston (TX)",
                "Lubbock (TX)",
                "San Antonio (TX)",
                "Ogden (UT)",
                "Provo (UT)",
                "Salt Lake City (UT)",
                "West Valley City (UT)",
                "Burlington (VT)",
                "Montpelier (VT)",
                "Rutland (VT)",
                "Alexandria (VA)",
                "Chesapeake (VA)",
                "Norfolk (VA)",
                "Richmond (VA)",
                "Virginia Beach (VA)",
                "Bellevue (WA)",
                "Seattle (WA)",
                "Spokane (WA)",
                "Tacoma (WA)",
                "Vancouver (WA)",
                "Charleston (WV)",
                "Huntington (WV)",
                "Morgantown (WV)",
                "Green Bay (WI)",
                "Kenosha (WI)",
                "Madison (WI)",
                "Milwaukee (WI)",
                "Casper (WY)",
                "Cheyenne (WY)",
                "Laramie (WY)"
              ]
            }
          },
          "state": {
            "title": "State (batch — all cities)",
            "enum": [
              "AK",
              "AL",
              "AR",
              "AZ",
              "CA-NORCAL",
              "CA-SOCAL",
              "CO",
              "CT",
              "DC",
              "DE",
              "FL",
              "GA",
              "HI",
              "IA",
              "ID",
              "IL",
              "IN",
              "KS",
              "KY",
              "LA",
              "MA",
              "MD",
              "ME",
              "MI",
              "MN",
              "MO",
              "MS",
              "MT",
              "NC",
              "ND",
              "NE",
              "NH",
              "NJ",
              "NM",
              "NV",
              "NY",
              "OH",
              "OK",
              "OR",
              "PA",
              "RI",
              "SC",
              "SD",
              "TN",
              "TX",
              "UT",
              "VA",
              "VT",
              "WA",
              "WI",
              "WV",
              "WY"
            ],
            "type": "string",
            "description": "Select a state to process ALL its cities in one run. Overrides 'City' and 'Cities' inputs. Ignored if 'Custom bbox' is set."
          },
          "customBbox": {
            "title": "Custom bounding box",
            "type": "string",
            "description": "Override everything with your own bbox: \"south,west,north,east\" in decimal degrees. Example: \"34.00,-118.50,34.20,-118.20\""
          },
          "clusterRadiusMeters": {
            "title": "Cluster radius (metres)",
            "minimum": 10,
            "maximum": 150,
            "type": "integer",
            "description": "Signals within this radius are grouped into one intersection. Default 40m suits dense US grids (some downtown blocks are ~60m apart). Raise it (e.g. 70m) for sprawling suburbs with wide junctions.",
            "default": 40
          },
          "mergeRadiusMeters": {
            "title": "Merge radius (metres)",
            "minimum": 10,
            "maximum": 150,
            "type": "integer",
            "description": "Centroids within this radius of each other are merged into one intersection. Default 40m. Lower it if separate nearby junctions get merged; raise it if duplicate points appear at one wide multi-carriageway junction.",
            "default": 40
          },
          "signalType": {
            "title": "Signal type(s)",
            "type": "array",
            "description": "Filter by intersection signal type. Pick one or more, or 'All'. vehicular_junction = road junctions; pedestrian_crossing = crossings; vehicular_and_pedestrian = junction with a pedestrian phase; hawk_signal = HAWK pedestrian beacon; level_crossing = rail crossing.",
            "items": {
              "type": "string",
              "enum": [
                "all",
                "vehicular_junction",
                "pedestrian_crossing",
                "vehicular_and_pedestrian",
                "hawk_signal",
                "level_crossing"
              ],
              "enumTitles": [
                "All signal types",
                "Vehicular junction",
                "Pedestrian crossing",
                "Vehicular + pedestrian",
                "HAWK signal",
                "Level crossing"
              ]
            },
            "default": [
              "all"
            ]
          },
          "minConfidence": {
            "title": "Minimum confidence",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Drop intersections whose confidence score is below this value (0–100, interpreted as 0.00–1.00). 0 = keep all. Phase 1 scores are OSM-density based.",
            "default": 0
          },
          "includeAccessibility": {
            "title": "Include accessibility flags",
            "type": "boolean",
            "description": "Include the ADA / accessibility block (button_operated, sound_signal, tactile_paving, countdown_display, …) in each output record.",
            "default": true
          },
          "wholeState": {
            "title": "Whole state (ignore city)",
            "type": "boolean",
            "description": "Process EVERY signalized intersection in the selected State's data, ignoring city selection. Use together with 'State'. Large output — run dryRun=true first to see the count and cost.",
            "default": false
          },
          "includeKml": {
            "title": "Generate KML file (+$0.25 per run)",
            "type": "boolean",
            "description": "Also produce a Google Earth / KML file of the delivered intersections (saved to the run's key-value store with a public URL). Off by default. Charged once per run as a flat KML-export fee — see Pricing.",
            "default": false
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Cap the total number of intersections delivered (and charged) across all cities. 0 = unlimited. Run dryRun=true first to see the full count.",
            "default": 1000
          },
          "dryRun": {
            "title": "Dry run (free estimate)",
            "type": "boolean",
            "description": "When true, runs the full pipeline but charges nothing and delivers nothing. Returns estimated count, estimated cost, and a 10-row sample.",
            "default": false
          },
          "priorDatasetId": {
            "title": "Prior Dataset ID (Delta Mode)",
            "type": "string",
            "description": "The defaultDatasetId of a previous run of this actor for the same city/state. Find it in the run's Storage tab in Apify Console. When set, only added, removed, and changed intersections are charged."
          },
          "kmlFromDatasetId": {
            "title": "KML from existing run (KML-only mode)",
            "type": "string",
            "description": "Forgot to enable KML on a previous run? Paste that run's defaultDatasetId (Storage tab) here and run again. The actor builds a KML from those exact results and charges ONLY the flat $0.25 KML fee — no re-extraction, no per-intersection charges. Leave empty for normal runs."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}