{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wfhalert-com/json-schema/wfhalert-com-jobs-page-schema.json",
  "title": "JobsPage",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wfhalert-com-openapi.yaml#/components/schemas/JobsPage",
  "type": "object",
  "required": [
    "data",
    "meta"
  ],
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Job"
      }
    },
    "meta": {
      "type": "object",
      "required": [
        "total",
        "limit",
        "next_cursor",
        "freshness_note",
        "generated_at",
        "version"
      ],
      "properties": {
        "total": {
          "type": "integer",
          "minimum": 0
        },
        "limit": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        },
        "next_cursor": {
          "type": [
            "string",
            "null"
          ]
        },
        "freshness_note": {
          "type": "string"
        },
        "generated_at": {
          "type": "string",
          "format": "date-time"
        },
        "version": {
          "type": "integer"
        }
      }
    }
  },
  "$defs": {
    "Job": {
      "type": "object",
      "required": [
        "id",
        "title",
        "company",
        "shared_date",
        "original_url"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Stable identifier derived from the original source URL"
        },
        "title": {
          "type": "string"
        },
        "company": {
          "type": "string"
        },
        "shared_date": {
          "type": "string",
          "format": "date",
          "description": "Date WFH Alert shared the lead with free readers"
        },
        "original_url": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}