{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/salesjobs-now/json-schema/salesjobs-now-jobs-result-schema.json",
  "title": "JobsResult",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/salesjobs-now-openapi.json#/components/schemas/JobsResult",
  "type": "object",
  "properties": {
    "total": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Number of open roles that match"
    },
    "roles": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PublicRole"
      }
    },
    "more": {
      "type": "string",
      "format": "uri"
    }
  },
  "required": [
    "roles"
  ],
  "$defs": {
    "PublicRole": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "platform": {
          "type": "string",
          "description": "The hiring company"
        },
        "platform_slug": {
          "type": "string"
        },
        "kind": {
          "type": [
            "string",
            "null"
          ],
          "description": "Kind of sales work"
        },
        "kind_slug": {
          "type": [
            "string",
            "null"
          ]
        },
        "pay": {
          "type": [
            "string",
            "null"
          ],
          "description": "The pay the posting states; when it states none, the company's usual range, labelled as such in the text"
        },
        "location": {
          "type": [
            "string",
            "null"
          ]
        },
        "remote": {
          "type": "boolean"
        },
        "listed": {
          "type": "string",
          "format": "date"
        },
        "first_seen_at": {
          "type": "string",
          "format": "date-time"
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "The role's page on SalesJobs.Now, the place to apply"
        }
      },
      "required": [
        "id",
        "title",
        "platform",
        "platform_slug",
        "remote",
        "listed",
        "first_seen_at",
        "url"
      ]
    }
  }
}