Kombo · Schema

PostAtsImportTrackedApplicationRequestBody

ATSEmbedded iPaaSHRISLMSPayrollUnified API

Properties

Name Type Description
erecruiter object
successfactors object
recruitee object
greenhouse object
onlyfy object
smartrecruiters object
tracked_at stringnull YYYY-MM-DDTHH:mm:ss.sssZ
View JSON Schema on GitHub

JSON Schema

kombo-postatsimporttrackedapplicationrequestbody-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PostAtsImportTrackedApplicationRequestBody",
  "title": "PostAtsImportTrackedApplicationRequestBody",
  "type": "object",
  "properties": {
    "erecruiter": {
      "discriminator": {
        "propertyName": "id_type"
      },
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "id_type": {
              "type": "string",
              "const": "application_and_job_remote_ids",
              "description": "Uses the `Api/Applications/ByJob/{jobId}` endpoint to retrieve the relevant application based on the job ID."
            },
            "application_remote_id": {
              "type": "string"
            },
            "job_remote_id": {
              "type": "string"
            }
          },
          "required": [
            "id_type",
            "application_remote_id",
            "job_remote_id"
          ]
        },
        {
          "type": "object",
          "properties": {
            "id_type": {
              "type": "string",
              "const": "application_and_candidate_remote_ids",
              "description": "Uses the `Api/Applications/{applicantId}` endpoint to retrieve the relevant application based on the candidate ID."
            },
            "candidate_remote_id": {
              "type": "string"
            },
            "application_remote_id": {
              "type": "string"
            }
          },
          "required": [
            "id_type",
            "candidate_remote_id",
            "application_remote_id"
          ]
        }
      ]
    },
    "successfactors": {
      "discriminator": {
        "propertyName": "id_type"
      },
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "id_type": {
              "type": "string",
              "const": "application_remote_id",
              "description": "Uses the `/JobApplication` ODATA endpoint to retrieve the relevant application based on the application ID."
            },
            "application_remote_id": {
              "type": "string"
            }
          },
          "required": [
            "id_type",
            "application_remote_id"
          ]
        }
      ]
    },
    "recruitee": {
      "discriminator": {
        "propertyName": "id_type"
      },
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "id_type": {
              "type": "string",
              "const": "placement_id",
              "description": "Uses the `/candidates` endpoint to retrieve all candidates, to find the relevant application based on the placement ID."
            },
            "placement_id": {
              "type": "string"
            }
          },
          "required": [
            "id_type",
            "placement_id"
          ]
        }
      ]
    },
    "greenhouse": {
      "discriminator": {
        "propertyName": "id_type"
      },
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "id_type": {
              "type": "string",
              "const": "application_id",
              "description": "Uses the `/applications/{id}` endpoint to retrieve the application."
            },
            "application_id": {
              "type": "string"
            }
          },
          "required": [
            "id_type",
            "application_id"
          ]
        }
      ]
    },
    "onlyfy": {
      "discriminator": {
        "propertyName": "id_type"
      },
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "id_type": {
              "type": "string",
              "const": "application_id",
              "description": "Uses the `/v1/application/{id}` endpoint to retrieve the application."
            },
            "application_id": {
              "type": "string"
            }
          },
          "required": [
            "id_type",
            "application_id"
          ]
        }
      ]
    },
    "smartrecruiters": {
      "discriminator": {
        "propertyName": "id_type"
      },
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "id_type": {
              "type": "string",
              "const": "candidate_and_job_remote_ids",
              "description": "Uses the `/candidates/{candidateId}/jobs/{jobId}` endpoint to retrieve the application."
            },
            "candidate_remote_id": {
              "type": "string"
            },
            "job_remote_id": {
              "type": "string"
            }
          },
          "required": [
            "id_type",
            "candidate_remote_id",
            "job_remote_id"
          ]
        }
      ]
    },
    "tracked_at": {
      "description": "YYYY-MM-DDTHH:mm:ss.sssZ",
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?)?Z?$",
      "externalDocs": {
        "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString"
      }
    }
  },
  "required": [
    "tracked_at"
  ]
}