{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/xquik-api/json-schema/xquik-api-job-locations-schema.json",
  "title": "JobLocations",
  "description": "The places whose names match a query.",
  "x-generated": "2026-12-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/xquik-api-jobs-api-openapi.yml#/components/schemas/JobLocations",
  "type": "object",
  "required": [
    "locations",
    "count"
  ],
  "properties": {
    "locations": {
      "type": "array",
      "description": "Matching places, best match first.",
      "items": {
        "$ref": "#/$defs/JobLocation"
      }
    },
    "count": {
      "type": "integer",
      "minimum": 0,
      "description": "Places returned, each charged 1 credit.",
      "format": "int64",
      "maximum": 9007199254740991
    }
  },
  "$defs": {
    "JobLocation": {
      "description": "A place a job search can name by its ID.",
      "type": "object",
      "required": [
        "id",
        "name"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "Location ID, which the job search locationId takes."
        },
        "name": {
          "type": "string",
          "description": "Place name with its region or country code."
        }
      }
    }
  }
}