{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/100hires-com/json-schema/100hires-com-career-site-job-list-response-schema.json",
  "title": "CareerSiteJobListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/100hires-com-career-site-api-openapi.yml#/components/schemas/CareerSiteJobListResponse",
  "type": "object",
  "required": [
    "jobs",
    "pagination"
  ],
  "properties": {
    "jobs": {
      "type": "array",
      "description": "Array of public jobs.",
      "items": {
        "$ref": "#/$defs/CareerSiteJob"
      }
    },
    "pagination": {
      "$ref": "#/$defs/Pagination"
    }
  },
  "$defs": {
    "CareerSiteJob": {
      "type": "object",
      "required": [
        "id",
        "title",
        "description",
        "location",
        "is_remote",
        "is_hybrid",
        "application_url",
        "form_id",
        "created_at"
      ],
      "properties": {
        "id": {
          "type": "integer",
          "description": "Job ID."
        },
        "title": {
          "type": "string",
          "description": "Job title."
        },
        "description": {
          "type": "string",
          "description": "HTML content"
        },
        "department": {
          "nullable": true,
          "allOf": [
            {
              "$ref": "#/$defs/IdName"
            }
          ]
        },
        "location": {
          "$ref": "#/$defs/CareerSiteLocation"
        },
        "employment_type": {
          "nullable": true,
          "allOf": [
            {
              "$ref": "#/$defs/IdName"
            }
          ]
        },
        "is_remote": {
          "type": "boolean",
          "description": "Whether this is a remote position."
        },
        "is_hybrid": {
          "type": "boolean",
          "description": "Whether this is a hybrid position (office days plus remote days at the job address)."
        },
        "application_url": {
          "type": "string",
          "format": "uri",
          "description": "Public application form URL."
        },
        "form_id": {
          "type": [
            "integer",
            "null"
          ],
          "description": "ID of the application form this job uses — the form attached to the job, or the company default form when none is attached (the same rule the apply page at `application_url` follows). Resolve the questions server-side with `GET /forms/{id}` (private API key) and render them on your own site; submit the candidate's answers with `POST /career-site/applications`. `null` only when the company has no forms."
        },
        "created_at": {
          "type": "integer",
          "format": "int64",
          "description": "Unix timestamp (seconds)"
        }
      }
    },
    "CareerSiteLocation": {
      "type": "object",
      "properties": {
        "city": {
          "type": [
            "string",
            "null"
          ],
          "description": "City."
        },
        "country": {
          "type": [
            "string",
            "null"
          ],
          "description": "Country."
        },
        "state": {
          "type": [
            "string",
            "null"
          ],
          "description": "State or region."
        }
      }
    },
    "IdName": {
      "type": "object",
      "required": [
        "id",
        "name"
      ],
      "properties": {
        "id": {
          "type": "integer",
          "description": "Unique identifier."
        },
        "name": {
          "type": "string",
          "description": "Display name."
        }
      }
    },
    "Pagination": {
      "type": "object",
      "required": [
        "page_size",
        "page_count",
        "page",
        "total_count"
      ],
      "properties": {
        "page_size": {
          "type": "integer",
          "description": "Items per page."
        },
        "page_count": {
          "type": "integer",
          "description": "Total number of pages."
        },
        "page": {
          "type": "integer",
          "description": "Current page number."
        },
        "total_count": {
          "type": "integer",
          "description": "Total number of items."
        }
      }
    }
  }
}