{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/jobfinder-ai-com/json-schema/jobfinder-ai-com-job-list-document-schema.json",
  "title": "JobListDocument",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/jobfinder-ai-com-openapi.json#/components/schemas/JobListDocument",
  "type": "object",
  "required": [
    "apiVersion",
    "data",
    "meta"
  ],
  "properties": {
    "apiVersion": {
      "type": "string",
      "const": "1.0.0"
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Job"
      }
    },
    "meta": {
      "$ref": "#/$defs/ListMeta"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "CompensationUsd": {
      "type": [
        "object",
        "null"
      ],
      "required": [
        "min",
        "max"
      ],
      "properties": {
        "min": {
          "type": [
            "number",
            "null"
          ],
          "minimum": 0,
          "description": "Published minimum annual compensation in USD when known."
        },
        "max": {
          "type": [
            "number",
            "null"
          ],
          "minimum": 0,
          "description": "Published maximum annual compensation in USD when known."
        }
      },
      "additionalProperties": false
    },
    "Job": {
      "type": "object",
      "required": [
        "id",
        "type",
        "title",
        "company",
        "location",
        "remote",
        "remoteScope",
        "seniority",
        "compensationUsd",
        "skills",
        "source",
        "discoveredAt",
        "canonicalUrl",
        "applicationUrl"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Stable canonical JobFinder job slug."
        },
        "type": {
          "type": "string",
          "const": "job"
        },
        "title": {
          "type": "string"
        },
        "company": {
          "type": [
            "string",
            "null"
          ]
        },
        "location": {
          "type": [
            "string",
            "null"
          ]
        },
        "remote": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "remoteScope": {
          "type": [
            "string",
            "null"
          ]
        },
        "seniority": {
          "type": [
            "string",
            "null"
          ]
        },
        "compensationUsd": {
          "$ref": "#/$defs/CompensationUsd"
        },
        "skills": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "source": {
          "type": "string",
          "description": "Public job-board source."
        },
        "discoveredAt": {
          "type": "string",
          "format": "date-time"
        },
        "canonicalUrl": {
          "type": "string",
          "format": "uri"
        },
        "applicationUrl": {
          "type": "string",
          "format": "uri"
        }
      },
      "additionalProperties": false
    },
    "ListMeta": {
      "type": "object",
      "required": [
        "count",
        "total",
        "hasMore",
        "nextCursor",
        "readOnly"
      ],
      "properties": {
        "count": {
          "type": "integer",
          "minimum": 0,
          "description": "Records returned on this page."
        },
        "total": {
          "type": "integer",
          "minimum": 0,
          "description": "Exact total for jobs; a lower bound for companies when totalIsLowerBound is true."
        },
        "totalIsLowerBound": {
          "type": "boolean",
          "description": "Whether total is a lower bound rather than an exact count."
        },
        "hasMore": {
          "type": "boolean"
        },
        "nextCursor": {
          "type": [
            "string",
            "null"
          ],
          "description": "Opaque continuation token or null on the final page."
        },
        "readOnly": {
          "type": "boolean",
          "const": true
        }
      },
      "additionalProperties": false
    }
  }
}