{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/astrofabric-ai/json-schema/astrofabric-ai-get-api-v1-postings-response-schema.json",
  "title": "GetApiV1PostingsResponse",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/astrofabric-ai-openapi-generated.yml#/components/schemas/GetApiV1PostingsResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Posting identifier."
    },
    "event": {
      "type": "string",
      "description": "opened or closed."
    },
    "at": {
      "type": "string",
      "description": "Timestamp of event (ISO 8601)."
    },
    "company_id": {
      "type": "string",
      "description": "Company UUID."
    },
    "company": {
      "type": "string",
      "description": "Company name."
    },
    "title": {
      "type": "string",
      "description": "Job title."
    },
    "url": {
      "type": "string",
      "description": "Link to posting."
    },
    "department": {
      "type": "string",
      "description": "Department name."
    },
    "country": {
      "type": "string",
      "description": "Country code."
    },
    "locations": {
      "type": "array",
      "description": "List of location objects (city, country)."
    },
    "work_mode": {
      "type": "string",
      "description": "Work mode (remote, onsite, hybrid)."
    },
    "employment_type": {
      "type": "string",
      "description": "Employment type."
    },
    "posted_at": {
      "type": "string",
      "description": "When posted (ISO 8601)."
    },
    "first_seen_at": {
      "type": "string",
      "description": "First seen timestamp."
    },
    "closed_at": {
      "type": "string",
      "description": "When closed (ISO 8601) or null."
    },
    "baseline": {
      "type": "boolean",
      "description": "Baseline flag."
    },
    "salary_usd_annual_min": {
      "type": "number",
      "description": "Minimum annual salary in USD."
    },
    "salary_usd_annual_max": {
      "type": "number",
      "description": "Maximum annual salary in USD."
    },
    "labels": {
      "type": "object",
      "description": "Job function, seniority, remote_policy, tool flags."
    },
    "sales_labels": {
      "type": "object",
      "description": "Sales role, segment, quota flag (null if not sales)."
    }
  }
}