{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/deepcure/json-schema/deepcure-patch-position-uid-request-schema.json",
  "title": "PatchPositionUidRequest",
  "x-generated": "2026-11-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/deepcure-openapi-generated.yml#/components/schemas/PatchPositionUidRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "position name"
    },
    "is_discreet": {
      "type": "boolean",
      "description": "`true` means that the position is only visible to teammates on the position's hiring team."
    },
    "department": {
      "type": "string",
      "description": "If the provided value doesn't exist it will be added as a new option"
    },
    "experience_level": {
      "type": "string",
      "description": "If the provided value doesn't exist it will be added as a new option"
    },
    "employment_type": {
      "type": "string",
      "description": "If the provided value doesn't exist it will be added as a new option"
    },
    "is_talent_pool": {
      "type": "string",
      "description": "`true` means that this position is a talent pool"
    },
    "location": {
      "type": "object"
    },
    "location.uid": {
      "type": "string",
      "description": "Location UID"
    },
    "salary_range": {
      "type": "object",
      "description": "Position salary range. Permission to write positions salary range is required."
    },
    "salary_range.min": {
      "type": "integer"
    },
    "salary_range.max": {
      "type": "integer"
    },
    "salary_range.currency_code": {
      "type": "string",
      "description": "Currency using 3 letter code (ISO 4217)"
    },
    "salary_range.period": {
      "type": "string",
      "description": "One of the following: `hourly` `weekly` `monthly` `annually`"
    },
    "categories": {
      "type": "array",
      "description": "Custom categories"
    },
    "categories[].name": {
      "type": "string",
      "description": "Must match an existing field's name"
    },
    "categories[].value": {
      "type": "string",
      "description": "For dropdown fields - a value that doesn't already exist will be added as a dropdown option"
    },
    "details": {
      "type": "array",
      "description": "Free-form text details."
    },
    "details[].name": {
      "type": "string",
      "description": "Must match an existing field's name"
    },
    "details[].value": {
      "type": "string",
      "description": "HTML"
    },
    "users": {
      "type": "object"
    },
    "users.lead_recruiter": {
      "type": "object"
    },
    "users.lead_recruiter.email": {
      "type": "string",
      "description": "Email address of an existing user. Must have a company recruiter role"
    },
    "users.hiring_manager": {
      "type": "object"
    },
    "users.hiring_manager.email": {
      "type": "string",
      "description": "Email address of an existing user"
    },
    "users.lead_recruiting_coordinator": {
      "type": "object"
    },
    "users.lead_recruiting_coordinator.email": {
      "type": "string",
      "description": "Email address of an existing user"
    },
    "questionnaire_uids": {
      "type": "array",
      "description": "questionnaires UIDs"
    }
  },
  "required": [
    "categories[].name",
    "categories[].value",
    "details[].name",
    "details[].value"
  ]
}