{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gupy/json-schema/gupy-application-response-schema.json",
  "title": "applicationResponse",
  "description": "Application created",
  "x-generated": "2026-12-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gupy-public-api-openapi.yml#/components/schemas/applicationResponse",
  "type": "object",
  "properties": {
    "id": {
      "description": "Application identifier",
      "type": "integer",
      "format": "int64"
    },
    "tags": {
      "description": "Application tags",
      "type": "array",
      "items": {
        "description": "Array of tag names added to the candidate application",
        "type": "string",
        "maxLength": 120
      }
    },
    "score": {
      "deprecated": true,
      "description": "Deprecated. Sorting score for the application (legacy affinity or latest consolidated AI per job). Returns null when the company is not eligible via feature flags. Planned for removal in a future API version.\n",
      "type": [
        "number",
        "null"
      ],
      "format": "double"
    },
    "status": {
      "description": "Current application status",
      "type": "string",
      "enum": [
        "in_process",
        "give_up",
        "reproved",
        "hired"
      ],
      "maxLength": 255
    },
    "currentStep": {
      "description": "Current step of the application",
      "type": "object",
      "properties": {
        "id": {
          "description": "Step identifier",
          "type": "integer",
          "format": "int64"
        },
        "name": {
          "description": "Step name",
          "type": "string",
          "maxLength": 255
        },
        "status": {
          "description": "Status of the application step",
          "type": "string",
          "maxLength": 255,
          "enum": [
            "approved",
            "done",
            "not_started",
            "started"
          ]
        }
      }
    },
    "candidate": {
      "description": "Candidate information",
      "type": "object",
      "properties": {
        "id": {
          "description": "Candidate identifier",
          "type": "integer",
          "format": "int64"
        },
        "name": {
          "description": "First name of the candidate",
          "type": "string",
          "maxLength": 255
        },
        "lastName": {
          "description": "Last name of the candidate",
          "type": "string",
          "maxLength": 255
        },
        "email": {
          "description": "E-mail of the candidate",
          "type": "string",
          "maxLength": 255,
          "format": "email"
        },
        "mobileNumber": {
          "description": "Mobile phone number of the candidate (eg. +5511912345678)",
          "type": "string",
          "maxLength": 255
        },
        "linkedinProfileUrl": {
          "description": "LinkedIn profile URL",
          "type": "string",
          "maxLength": 255
        }
      }
    },
    "manualCandidate": {
      "description": "Manual insertion candidate information",
      "type": "object",
      "properties": {
        "id": {
          "description": "Candidate identifier",
          "type": "integer",
          "format": "int64"
        },
        "name": {
          "description": "First name of the candidate",
          "type": "string",
          "maxLength": 255
        },
        "lastName": {
          "description": "Last name of the candidate",
          "type": "string",
          "maxLength": 255
        },
        "email": {
          "description": "E-mail of the candidate",
          "type": "string",
          "format": "email",
          "maxLength": 255
        },
        "mobileNumber": {
          "description": "Mobile phone number of the candidate (eg. +5511912345678)",
          "type": "string",
          "maxLength": 255
        },
        "documentNumber": {
          "description": "Document number of the candidate",
          "type": "string",
          "maxLength": 255
        },
        "linkedinProfileUrl": {
          "description": "LinkedIn profile URL",
          "type": "string",
          "maxLength": 255
        },
        "insertionSource": {
          "description": "Source of the application insertion",
          "type": "string",
          "maxLength": 255,
          "enum": [
            "candidate_active_contact",
            "events",
            "hunting",
            "market_referral_consulting",
            "employee_referral",
            "chrome_extension"
          ]
        }
      }
    }
  }
}