{"openapi":"3.1.0","info":{"title":"Synthetic HRIS Data Generator - Public API","description":"Generate realistic synthetic HRIS data over HTTP. Authenticate with a Bearer API key minted from the dashboard. Tier and rate limits match the signed-in app - both key on your user, not the credential.","version":"1.0.0"},"servers":[{"url":"/api"}],"paths":{"/industries":{"get":{"summary":"List Industries","description":"Get available industries (NAICS codes) for job weighting.\n\nNon-admin callers see only the 19-industry curated list (Free/Email tiers\nare further restricted to their own smaller sets via /api/free-industries\nand the homepage samples respectively). Admin sees all 27. Always\nalphabetized by name. See FREE_TIER_PACKAGING_PLAN.md.","operationId":"list_industries_industries_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"session_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/data-dictionary":{"get":{"summary":"Data Dictionary","description":"Every column the generator emits, with types, examples and sources.\n\nThe machine-readable half of the discovery pair (the other is\n/api/industries): with the OpenAPI spec, a client can learn the shape of\nthe output before generating anything. Built from the same model as the\n/docs field reference and the in-bundle data_dictionary.md, so the three\ncannot disagree.\n\nPublic and unauthenticated on purpose: it describes the product, carries no\none's data, and robots.txt allows it. Cached after the first build.","operationId":"data_dictionary_data_dictionary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/scenarios":{"get":{"summary":"Scenarios","description":"The breakage presets `scenario=` accepts, with a one-line description each.\n\nThe discovery surface for the use-case / breakage layer\n(TASK_E_SCENARIO_LAYER_SCOPE.md): a client reads this to learn it can ask\nfor, say, a `pay_equity_gap`, then passes that name to /generate. Public and\nunauthenticated like /industries and /data-dictionary - it describes the\nproduct and carries no one's data. Built from reference_data/breakage_config.yaml,\nso it cannot advertise a preset that does not exist.","operationId":"scenarios_scenarios_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/generate":{"post":{"summary":"Generate","description":"Start async generation of synthetic employee data.\n\nReturns a job ID that can be polled for progress.\nWhen complete, use /api/jobs/{job_id}/download/{filename} to download.\nTier limits apply based on subscription status.","operationId":"generate_generate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"session_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobCreatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Generate Get","description":"Start async generation via GET request.\n\nReturns a job ID that can be polled for progress.\nRequires active subscription (or dev mode).","operationId":"generate_get_generate_get","parameters":[{"name":"org_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":50000,"minimum":1},{"type":"null"}],"description":"Number of employees","title":"Org Size"},"description":"Number of employees"},{"name":"job_families","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated job families","title":"Job Families"},"description":"Comma-separated job families"},{"name":"industry","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"NAICS industry code (e.g., '51', '62')","title":"Industry"},"description":"NAICS industry code (e.g., '51', '62')"},{"name":"seed","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":4294967295,"minimum":0},{"type":"null"}],"description":"Random seed; minted and returned if omitted","title":"Seed"},"description":"Random seed; minted and returned if omitted"},{"name":"reference_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Pins the date generation treats as 'today' (YYYY-MM-DD)","title":"Reference Date"},"description":"Pins the date generation treats as 'today' (YYYY-MM-DD)"},{"name":"company_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"A company ID from an earlier generation, in place of the parameters above","title":"Company Id"},"description":"A company ID from an earlier generation, in place of the parameters above"},{"name":"scenario","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Breakage preset to apply as a post-pass, e.g. 'pay_equity_gap' (see /api/scenarios)","title":"Scenario"},"description":"Breakage preset to apply as a post-pass, e.g. 'pay_equity_gap' (see /api/scenarios)"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"session_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobCreatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/{job_id}/status":{"get":{"summary":"Get Job Status","description":"Get the status of a generation job.","operationId":"get_job_status_jobs__job_id__status_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"session_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/jobs/{job_id}/download/{filename}":{"get":{"summary":"Download Job File","description":"Download a generated file from a completed job.","operationId":"download_job_file_jobs__job_id__download__filename__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"filename","in":"path","required":true,"schema":{"type":"string","title":"Filename"}},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"session_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/history/generate":{"post":{"summary":"Generate History","description":"Start async generation of synthetic employee data with event history.\n\nGenerates two files:\n- employees_{org_size}_{timestamp}.csv - Current employee snapshot\n- event_history_{org_size}_{timestamp}.csv - Event log with all changes\n\nEvent types emitted: HIRE, TERMINATION, MERIT, OFFICIAL_PROMOTION,\nOFF_CYCLE_PROMOTION, COMPENSATION_ADJUSTMENT, PAY_RANGE_ADJUSTMENT,\nBONUS_PAYOUT, EQUITY_GRANT, MANAGER_CHANGE, LOCATION_CHANGE, FTE_CHANGE,\nLEAVE_OF_ABSENCE, RETURN_FROM_LEAVE, PIP_START, PIP_END.\n\nOFFICIAL_DEMOTION, OFF_CYCLE_DEMOTION and LATERAL_MOVE are declared in\nhistory_config.yaml but never emitted; this docstring used to list them.\n\nReturns a job ID that can be polled for progress.\nWhen complete, use /api/jobs/{job_id}/download/{filename} to download.\nTier limits apply based on subscription status.","operationId":"generate_history_history_generate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"session_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoryGenerateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobCreatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Generate History Get","description":"Start async history generation via GET request.\n\nReturns a job ID that can be polled for progress.\nTier limits apply based on subscription status.","operationId":"generate_history_get_history_generate_get","parameters":[{"name":"org_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":50000,"minimum":1},{"type":"null"}],"description":"Number of employees","title":"Org Size"},"description":"Number of employees"},{"name":"job_families","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated job families","title":"Job Families"},"description":"Comma-separated job families"},{"name":"industry","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"NAICS industry code (e.g., '51', '62')","title":"Industry"},"description":"NAICS industry code (e.g., '51', '62')"},{"name":"history_months","in":"query","required":false,"schema":{"type":"integer","maximum":36,"minimum":1,"description":"Months of history","default":36,"title":"History Months"},"description":"Months of history"},{"name":"include_terminated","in":"query","required":false,"schema":{"type":"boolean","description":"Include terminated employees","default":true,"title":"Include Terminated"},"description":"Include terminated employees"},{"name":"include_report","in":"query","required":false,"schema":{"type":"boolean","description":"Generate HTML report","default":false,"title":"Include Report"},"description":"Generate HTML report"},{"name":"snapshot_only","in":"query","required":false,"schema":{"type":"boolean","description":"Emit only the snapshot; skip event history and report","default":false,"title":"Snapshot Only"},"description":"Emit only the snapshot; skip event history and report"},{"name":"seed","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":4294967295,"minimum":0},{"type":"null"}],"description":"Random seed; minted and returned if omitted","title":"Seed"},"description":"Random seed; minted and returned if omitted"},{"name":"reference_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Pins the date generation treats as 'today' (YYYY-MM-DD)","title":"Reference Date"},"description":"Pins the date generation treats as 'today' (YYYY-MM-DD)"},{"name":"company_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"A company ID from an earlier generation, in place of the parameters above","title":"Company Id"},"description":"A company ID from an earlier generation, in place of the parameters above"},{"name":"scenario","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Breakage preset to apply as a post-pass, e.g. 'pay_equity_gap' (see /api/scenarios)","title":"Scenario"},"description":"Breakage preset to apply as a post-pass, e.g. 'pay_equity_gap' (see /api/scenarios)"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"session_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobCreatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/merge/generate":{"post":{"summary":"Generate Merge","description":"Start async generation of Merge format data.\n\nReturns a job ID that can be polled for progress.\nRequires paid tier or admin access.","operationId":"generate_merge_merge_generate_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"session_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Token"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MergeGenerateRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobCreatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Generate Merge Get","description":"Start async Merge format generation via GET request.\nRequires paid tier or admin access.","operationId":"generate_merge_get_merge_generate_get","parameters":[{"name":"org_size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":50000,"minimum":1},{"type":"null"}],"description":"Number of employees","title":"Org Size"},"description":"Number of employees"},{"name":"vendor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Vendor filter","title":"Vendor"},"description":"Vendor filter"},{"name":"categories","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Comma-separated categories","title":"Categories"},"description":"Comma-separated categories"},{"name":"seed","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":4294967295,"minimum":0},{"type":"null"}],"description":"Random seed; minted and returned if omitted","title":"Seed"},"description":"Random seed; minted and returned if omitted"},{"name":"reference_date","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Pins the date generation treats as 'today' (YYYY-MM-DD)","title":"Reference Date"},"description":"Pins the date generation treats as 'today' (YYYY-MM-DD)"},{"name":"company_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"A company ID from an earlier generation, in place of the parameters above","title":"Company Id"},"description":"A company ID from an earlier generation, in place of the parameters above"},{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}},{"name":"session_token","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobCreatedResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"GenerateRequest":{"properties":{"org_size":{"anyOf":[{"type":"integer","maximum":50000.0,"minimum":25.0},{"type":"null"}],"title":"Org Size","description":"Number of employees to generate (minimum 25 for reliable hierarchy). Required unless company_id is given."},"international":{"anyOf":[{"$ref":"#/components/schemas/InternationalConfig"},{"type":"null"}],"description":"International employee configuration (admin only). When provided, generates multinational org data."},"seed":{"anyOf":[{"type":"integer","maximum":4294967295.0,"minimum":0.0},{"type":"null"}],"title":"Seed","description":"Optional random seed. The same seed with the same other parameters returns identical data, for reproducible test fixtures. Omit it and one is minted for you and returned with the job, so a company you liked can be regenerated even if you did not plan to."},"reference_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Reference Date","description":"Pins the date generation treats as 'today' (YYYY-MM-DD). Hire dates, ages, tenure and the event window are all measured from it, so WITHOUT it a seeded run reproduces only until midnight. Pin it for a fixture you commit; omit it for a demo that should look recent."},"company_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Id","description":"A company ID returned by an earlier generation, e.g. 'v1-technology-12354-wua7hglzi7aduia'. Supplied in place of org_size, industry, seed, reference_date, job_title_mode and international - it encodes all six. Tier limits are still checked against the decoded parameters."},"job_families":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Job Families","description":"Optional list of job families to include (BLS 22-category format)"},"industry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry","description":"Optional NAICS industry code (e.g., '51' for Technology, '62' for Healthcare)"},"job_title_mode":{"type":"string","pattern":"^(vanilla|oews)$","title":"Job Title Mode","description":"How job titles are chosen. 'vanilla' draws from a curated list of clean, demo-friendly titles - about 60 to 110 per industry, which is also the CEILING on distinct titles whatever the org size. 'oews' draws the occupational mix from BLS OEWS industry employment data: a 10,000-person technology company gets ~570 distinct titles instead of ~100, plus the support functions a curated list omits. Default stays 'vanilla' until every industry has enough authored titles - see OEWS_STAFFING_PLAN.md.","default":"vanilla"},"scenario":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scenario","description":"Optional breakage preset applied as a post-pass over the finished company, e.g. 'pay_equity_gap' for a documented gender/race pay gap. It is an overlay, not part of the company ID, and every run with a scenario emits a scenario_manifest.json listing exactly what was broken and the affected employee_ids. Call GET /api/scenarios for the catalog. See TASK_E_SCENARIO_LAYER_SCOPE.md."}},"type":"object","title":"GenerateRequest","description":"Request body for generating employees."},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HistoryGenerateRequest":{"properties":{"org_size":{"anyOf":[{"type":"integer","maximum":50000.0,"minimum":25.0},{"type":"null"}],"title":"Org Size","description":"Number of employees to generate (minimum 25 for reliable hierarchy). Required unless company_id is given."},"international":{"anyOf":[{"$ref":"#/components/schemas/InternationalConfig"},{"type":"null"}],"description":"International employee configuration (admin only). When provided, generates multinational org data."},"seed":{"anyOf":[{"type":"integer","maximum":4294967295.0,"minimum":0.0},{"type":"null"}],"title":"Seed","description":"Optional random seed. The same seed with the same other parameters returns identical data, for reproducible test fixtures. Omit it and one is minted for you and returned with the job, so a company you liked can be regenerated even if you did not plan to."},"reference_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Reference Date","description":"Pins the date generation treats as 'today' (YYYY-MM-DD). Hire dates, ages, tenure and the event window are all measured from it, so WITHOUT it a seeded run reproduces only until midnight. Pin it for a fixture you commit; omit it for a demo that should look recent."},"company_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Id","description":"A company ID returned by an earlier generation, e.g. 'v1-technology-12354-wua7hglzi7aduia'. Supplied in place of org_size, industry, seed, reference_date, job_title_mode and international - it encodes all six. Tier limits are still checked against the decoded parameters."},"job_families":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Job Families","description":"Optional list of job families to include (BLS 22-category format)"},"industry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Industry","description":"Optional NAICS industry code (e.g., '51' for Technology)"},"job_title_mode":{"type":"string","pattern":"^(vanilla|oews)$","title":"Job Title Mode","description":"How job titles are chosen. 'vanilla' draws from a curated list of clean, demo-friendly titles - about 60 to 110 per industry, which is also the CEILING on distinct titles whatever the org size. 'oews' draws the occupational mix from BLS OEWS industry employment data: a 10,000-person technology company gets ~570 distinct titles instead of ~100, plus the support functions a curated list omits. Default stays 'vanilla' until every industry has enough authored titles - see OEWS_STAFFING_PLAN.md.","default":"vanilla"},"history_months":{"type":"integer","maximum":36.0,"minimum":1.0,"title":"History Months","description":"Months of history to generate (max 36)","default":36},"include_terminated":{"type":"boolean","title":"Include Terminated","description":"Include terminated employees who appear in history but not current snapshot","default":true},"include_report":{"type":"boolean","title":"Include Report","description":"Generate interactive HTML report with visualizations","default":false},"snapshot_only":{"type":"boolean","title":"Snapshot Only","description":"Emit only the current-employee snapshot and skip the event-history file and the report. The cheap path for CI and the MCP server: a 500-person snapshot is about 1s against ~4s with history, and it skips the large event CSV. Output selection only - it picks what is emitted, not how people are generated. See API_KEYS_AND_MCP_SCOPE.md Part 4, Layer 3.","default":false},"scenario":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scenario","description":"Optional breakage preset applied as a post-pass over the finished company, e.g. 'pay_equity_gap' for a documented gender/race pay gap. It is an overlay, not part of the company ID, and every run with a scenario emits a scenario_manifest.json listing exactly what was broken and the affected employee_ids. Call GET /api/scenarios for the catalog. See TASK_E_SCENARIO_LAYER_SCOPE.md."}},"type":"object","title":"HistoryGenerateRequest","description":"Request body for generating employees with event history.\n\n`history_months`, `include_terminated` and `include_report` are views of a\ncompany rather than part of its identity, so none of them is in the company\nID. The snapshot is built from the seed first and history is generated\nagainst it afterwards, so the window cannot reach back and change who was\nhired."},"InternationalConfig":{"properties":{"hq_country":{"type":"string","maxLength":2,"minLength":2,"title":"Hq Country","description":"Headquarters country code (ISO 3166-1 alpha-2, e.g., 'US', 'GB', 'DE')","default":"US"},"branch_countries":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Branch Countries","description":"Optional list of branch office country codes for multinational orgs"}},"type":"object","title":"InternationalConfig","description":"Configuration for international employee data generation (admin only)."},"JobCreatedResponse":{"properties":{"job_id":{"type":"string","title":"Job Id"},"status_url":{"type":"string","title":"Status Url"},"message":{"type":"string","title":"Message"},"company_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Id"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seed"},"reference_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Date"}},"type":"object","required":["job_id","status_url","message"],"title":"JobCreatedResponse","description":"Response when a job is created."},"JobFileResponse":{"properties":{"filename":{"type":"string","title":"Filename"},"size_bytes":{"type":"integer","title":"Size Bytes"},"download_url":{"type":"string","title":"Download Url"}},"type":"object","required":["filename","size_bytes","download_url"],"title":"JobFileResponse","description":"File info in job response."},"JobResponse":{"properties":{"job_id":{"type":"string","title":"Job Id"},"status":{"type":"string","title":"Status"},"progress":{"type":"integer","title":"Progress"},"message":{"type":"string","title":"Message"},"created_at":{"type":"string","title":"Created At"},"files":{"items":{"$ref":"#/components/schemas/JobFileResponse"},"type":"array","title":"Files","default":[]},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"company_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Id"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Seed"},"reference_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Date"}},"type":"object","required":["job_id","status","progress","message","created_at"],"title":"JobResponse","description":"Response for job status."},"MergeGenerateRequest":{"properties":{"org_size":{"anyOf":[{"type":"integer","maximum":50000.0,"minimum":25.0},{"type":"null"}],"title":"Org Size","description":"Number of employees to generate (minimum 25 for reliable hierarchy). Required unless company_id is given."},"international":{"anyOf":[{"$ref":"#/components/schemas/InternationalConfig"},{"type":"null"}],"description":"International employee configuration (admin only). When provided, generates multinational org data."},"seed":{"anyOf":[{"type":"integer","maximum":4294967295.0,"minimum":0.0},{"type":"null"}],"title":"Seed","description":"Optional random seed. The same seed with the same other parameters returns identical data, for reproducible test fixtures. Omit it and one is minted for you and returned with the job, so a company you liked can be regenerated even if you did not plan to."},"reference_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Reference Date","description":"Pins the date generation treats as 'today' (YYYY-MM-DD). Hire dates, ages, tenure and the event window are all measured from it, so WITHOUT it a seeded run reproduces only until midnight. Pin it for a fixture you commit; omit it for a demo that should look recent."},"company_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Id","description":"A company ID returned by an earlier generation, e.g. 'v1-technology-12354-wua7hglzi7aduia'. Supplied in place of org_size, industry, seed, reference_date, job_title_mode and international - it encodes all six. Tier limits are still checked against the decoded parameters."},"vendor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vendor","description":"Optional vendor to filter fields (e.g., 'Workday', 'BambooHR')"},"categories":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Categories","description":"Optional list of categories to include (e.g., ['Employee', 'Employment'])"},"scenario":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scenario","description":"Reserved for the breakage layer (Task E). Accepted on this request but NOT yet applied on the Merge path - the pay-equity breakages run on the standard snapshot and history paths today. See TASK_E_SCENARIO_LAYER_SCOPE.md."}},"type":"object","title":"MergeGenerateRequest","description":"Request body for Merge format generation.\n\n`vendor` and `categories` shape the OUTPUT, not the company, so neither is\npart of the company ID - see the module docstring in\nsrc/generators/company_id.py. That is what makes \"the same company exported\nfor a different vendor\" possible."},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}