{"openapi":"3.1.1","info":{"title":"WARN Act layoff and closure notices by county: California and Texas: data API","version":"v1","summary":"Static, read-only JSON and CSV files. No key, no sign-up. CORS open.","description":"WARN Act layoff and closure notices by county: California and Texas: How many mass-layoff and plant-closure notices employers filed under the Worker Adjustment and Retraining Notification (WARN) Act, and how many employees they covered, for every county in the states whose workforce agencies publish the notices as files: California (July 2023 on, from the Employment Development Department's reports) and Texas (2019 on, from the Texas Workforce Commission's open-data table). Each county, state and county-not-given record carries the last 12 months, the last complete calendar year, the total since the file starts, and the month-by-month series. Only counts are kept: no employer name, address or contact. Notices are dated by the day the state agency received them. Other states are not included.\n\nProbative is a marketing firm, not a law firm; not legal advice. Every JSON response starts with a \"meta\" object holding the credit line, citation, DOI and license (CC BY 4.0).","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"contact":{"name":"Probative Growth","url":"https://probativegrowth.com/contact/","email":"hello@probativegrowth.com"}},"servers":[{"url":"https://probativegrowth.com"}],"externalDocs":{"description":"How to use the API and the MCP server","url":"https://probativegrowth.com/resources/rules-api/"},"paths":{"/data/v1/warn-layoffs/index.json":{"get":{"summary":"WARN Act layoff and closure notices by county: California and Texas: index","description":"warn-layoffs: meta, summary and what the dataset holds","parameters":[],"responses":{"200":{"description":"WARN Act layoff and closure notices by county: California and Texas: index","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"404":{"description":"No such file"}},"tags":["warn-layoffs"]}},"/data/v1/warn-layoffs/changes.json":{"get":{"summary":"WARN Act layoff and closure notices by county: California and Texas: confirmed changes","description":"warn-layoffs: confirmed changes, newest first","parameters":[],"responses":{"200":{"description":"WARN Act layoff and closure notices by county: California and Texas: confirmed changes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"404":{"description":"No such file"}},"tags":["warn-layoffs"]}},"/data/v1/warn-layoffs/jurisdictions/{key}.json":{"get":{"summary":"WARN Act layoff and closure notices by county: California and Texas: one jurisdiction","description":"warn-layoffs: the records for one jurisdiction","parameters":[{"name":"key","in":"path","required":true,"description":"The jurisdiction key, uppercase","schema":{"type":"string"}}],"responses":{"200":{"description":"WARN Act layoff and closure notices by county: California and Texas: one jurisdiction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"404":{"description":"No such file"}},"tags":["warn-layoffs"]}},"/data/v1/warn-layoffs/warn-layoffs.csv":{"get":{"summary":"WARN Act layoff and closure notices by county: California and Texas as CSV","description":"warn-layoffs: every record (credit line in README.txt)","parameters":[],"responses":{"200":{"description":"WARN Act layoff and closure notices by county: California and Texas as CSV","content":{"text/csv":{"schema":{"type":"string"}}}},"404":{"description":"No such file"}},"tags":["warn-layoffs"]}},"/data/v1/warn-layoffs/warn-layoffs.json":{"get":{"summary":"WARN Act layoff and closure notices by county: California and Texas: every record","description":"warn-layoffs: every record in one file","parameters":[],"responses":{"200":{"description":"WARN Act layoff and closure notices by county: California and Texas: every record","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"404":{"description":"No such file"}},"tags":["warn-layoffs"]}},"/data/v1/warn-layoffs/search.json":{"get":{"summary":"WARN Act layoff and closure notices by county: California and Texas: keyword index","description":"warn-layoffs: id, key, status and text of every record","parameters":[],"responses":{"200":{"description":"WARN Act layoff and closure notices by county: California and Texas: keyword index","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Envelope"}}}},"404":{"description":"No such file"}},"tags":["warn-layoffs"]}},"/data/v1/warn-layoffs/README.txt":{"get":{"summary":"Credit line, citation and columns","description":"warn-layoffs: the CSV sidecar","parameters":[],"responses":{"200":{"description":"Credit line, citation and columns","content":{"text/plain":{"schema":{"type":"string"}}}},"404":{"description":"No such file"}},"tags":["warn-layoffs"]}}},"components":{"schemas":{"Meta":{"type":"object","description":"Credit line, citation, DOI, version, license and disclaimer. Present in every response.","required":["dataset","version","license","attribution","disclaimer","url"],"properties":{"dataset":{"type":"string"},"title":{"type":"string"},"version":{"type":"string"},"doi":{"type":["string","null"]},"doiUrl":{"type":["string","null"]},"conceptDoi":{"type":["string","null"]},"license":{"type":"string","const":"CC BY 4.0"},"licenseUrl":{"type":"string"},"attribution":{"type":"string"},"citation":{"type":"string"},"disclaimer":{"type":"string"},"notice":{"type":"string"},"lastChecked":{"type":"string"},"url":{"type":"string"},"humanUrl":{"type":"string"},"statusCodes":{"type":"object"}}},"Envelope":{"type":"object","required":["meta"],"properties":{"meta":{"$ref":"#/components/schemas/Meta"}},"additionalProperties":true}}}}