{"$defs":{"CompanyStage":{"enum":["seed","early","mid","late","public","enterprise","unknown"],"title":"CompanyStage","type":"string"},"Education":{"properties":{"required":{"$ref":"#/$defs/EducationLevel","description":"Minimum education required."},"preferred":{"$ref":"#/$defs/EducationLevel","description":"Preferred education level."},"field_of_study":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Field of study if mentioned.","title":"Field Of Study"}},"required":["required","preferred"],"title":"Education","type":"object"},"EducationLevel":{"enum":["none","high_school","associate","bachelor","master","phd","unknown"],"title":"EducationLevel","type":"string"},"EmploymentType":{"enum":["full_time","part_time","contract","freelance","internship","temporary","unknown"],"title":"EmploymentType","type":"string"},"Location":{"properties":{"workplace_type":{"$ref":"#/$defs/WorkplaceType","description":"Remote/hybrid/onsite."},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"City. Null if not specified.","title":"City"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"State or province.","title":"State"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"ISO 3166-1 alpha-2 country code.","title":"Country"},"raw":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original location text verbatim.","title":"Raw"}},"required":["workplace_type"],"title":"Location","type":"object"},"PTOType":{"enum":["unlimited","accrual","fixed","unknown"],"title":"PTOType","type":"string"},"ParseMeta":{"properties":{"confidence":{"description":"Objective completeness score 0.0–1.0 computed from extracted fields. Below 0.7 = key fields missing.","maximum":1.0,"minimum":0.0,"title":"Confidence","type":"number"},"confidence_flags":{"description":"Fields that reduced the confidence score. Empty = complete JD.","items":{"type":"string"},"title":"Confidence Flags","type":"array"},"model":{"description":"Model used for parsing.","title":"Model","type":"string"},"processing_time_ms":{"description":"Processing time in milliseconds.","title":"Processing Time Ms","type":"integer"},"input_length_chars":{"description":"Character length of input text.","title":"Input Length Chars","type":"integer"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Source URL if input was fetched from a URL.","title":"Source Url"}},"required":["confidence","confidence_flags","model","processing_time_ms","input_length_chars"],"title":"ParseMeta","type":"object"},"RoleType":{"enum":["ic","manager","tech_lead","hybrid","unknown"],"title":"RoleType","type":"string"},"Salary":{"properties":{"present":{"description":"Whether any salary info was found.","title":"Present","type":"boolean"},"min":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Minimum salary as a number.","title":"Min"},"max":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"description":"Maximum salary. Null if single value.","title":"Max"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"ISO 4217 currency code.","examples":["USD","GBP"],"title":"Currency"},"period":{"$ref":"#/$defs/SalaryPeriod","description":"Pay period."},"raw":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original salary text verbatim.","title":"Raw"}},"required":["present","period"],"title":"Salary","type":"object"},"SalaryPeriod":{"enum":["hourly","daily","weekly","monthly","annual","unknown"],"title":"SalaryPeriod","type":"string"},"SeniorityLevel":{"enum":["intern","junior","mid","senior","lead","principal","staff","manager","director","vp","executive","unknown"],"title":"SeniorityLevel","type":"string"},"WorkplaceType":{"enum":["remote","hybrid","onsite","flexible","unknown"],"title":"WorkplaceType","type":"string"},"YearsExperience":{"properties":{"min":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Minimum years required. Null if not specified.","title":"Min"},"max":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Maximum years. Null if open-ended.","title":"Max"},"raw":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Original experience text verbatim.","title":"Raw"}},"title":"YearsExperience","type":"object"}},"properties":{"job_title":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Normalized job title.","title":"Job Title"},"seniority":{"$ref":"#/$defs/SeniorityLevel"},"employment_type":{"$ref":"#/$defs/EmploymentType"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Company name if stated. Never inferred.","title":"Company Name"},"company_description":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Brief company description if stated in the JD.","title":"Company Description"},"company_stage":{"$ref":"#/$defs/CompanyStage","description":"Company stage inferred from context."},"company_mission":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Company mission or purpose if stated.","title":"Company Mission"},"department":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Department or team mentioned.","title":"Department"},"role_type":{"$ref":"#/$defs/RoleType","description":"IC, manager, tech lead, or hybrid role."},"direct_reports":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Number of direct reports if mentioned.","title":"Direct Reports"},"required_skills":{"description":"Explicitly required skills.","items":{"type":"string"},"title":"Required Skills","type":"array"},"preferred_skills":{"description":"Nice-to-have skills.","items":{"type":"string"},"title":"Preferred Skills","type":"array"},"years_experience":{"$ref":"#/$defs/YearsExperience"},"salary":{"$ref":"#/$defs/Salary"},"location":{"$ref":"#/$defs/Location"},"additional_locations":{"description":"Additional locations for multi-location roles (e.g. 'NYC or SF or Remote'). Empty for single-location roles.","items":{"$ref":"#/$defs/Location"},"title":"Additional Locations","type":"array"},"education":{"$ref":"#/$defs/Education"},"equity_offered":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"true=equity mentioned, false=explicitly none, null=not mentioned.","title":"Equity Offered"},"visa_sponsorship":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"true=offered, false=not offered, null=not mentioned.","title":"Visa Sponsorship"},"security_clearance_required":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"null=not mentioned.","title":"Security Clearance Required"},"travel_required":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"true=travel required, null=not mentioned.","title":"Travel Required"},"on_call_required":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"true=on-call required, null=not mentioned.","title":"On Call Required"},"pto_type":{"$ref":"#/$defs/PTOType","description":"PTO policy type if mentioned."},"parental_leave_weeks":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Paid parental leave in weeks if stated.","title":"Parental Leave Weeks"},"application_deadline":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Application deadline if stated (e.g. 'March 31, 2025'). Null if not mentioned.","title":"Application Deadline"},"start_date":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Expected start date or timeline if stated (e.g. 'ASAP', 'Q1 2025'). Null if not mentioned.","title":"Start Date"},"languages_required":{"description":"Human languages required (not programming).","items":{"type":"string"},"title":"Languages Required","type":"array"},"industry":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Industry inferred from context.","title":"Industry"},"benefits":{"description":"Benefits or perks mentioned.","items":{"type":"string"},"title":"Benefits","type":"array"},"meta":{"$ref":"#/$defs/ParseMeta"}},"required":["seniority","employment_type","company_stage","role_type","required_skills","preferred_skills","years_experience","salary","location","education","pto_type","languages_required","benefits","meta"],"title":"ParseResponse","type":"object"}