{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GetAtsApplicationsApplicationIdAttachmentsPositiveResponse",
  "title": "GetAtsApplicationsApplicationIdAttachmentsPositiveResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "const": "success"
    },
    "data": {
      "type": "object",
      "properties": {
        "results": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "enum": [
                  "CV",
                  "COVER_LETTER",
                  "OTHER"
                ]
              },
              "id": {
                "type": "string"
              },
              "remote_id": {
                "type": "string"
              },
              "data_url": {
                "type": "string"
              },
              "file_name": {
                "type": "string"
              },
              "content_type": {
                "type": "string"
              },
              "remote_created_at": {
                "description": "The date when the attachment was created.",
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "externalDocs": {
                  "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString"
                }
              },
              "remote_updated_at": {
                "description": "The date when the attachment was last updated.",
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time",
                "externalDocs": {
                  "url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString"
                }
              }
            },
            "required": [
              "type",
              "id",
              "remote_id",
              "data_url",
              "file_name",
              "content_type",
              "remote_created_at",
              "remote_updated_at"
            ]
          }
        }
      },
      "required": [
        "results"
      ],
      "examples": [
        {
          "results": [
            {
              "type": "CV",
              "id": "EYJjhMQT3LtVKXnTbnRT8s6U",
              "remote_id": "GUzE666zfyjeoCJX6A8n7wh6",
              "data_url": "https://resources.kombo.dev/7yZfKGzWigXxxRTygqAfHvyE",
              "file_name": "Frank Doe CV.pdf",
              "content_type": "application/x-pdf",
              "remote_created_at": null,
              "remote_updated_at": null
            }
          ]
        }
      ]
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          }
        },
        "required": [
          "message"
        ]
      },
      "description": "These are the interaction warnings that are shown in the dashboard. They are meant to provide debug information to you. We recommend logging them to the console."
    }
  },
  "required": [
    "status",
    "data",
    "warnings"
  ]
}