{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/greenhouse/json-schema/greenhouse-attachment-schema.json",
  "title": "Attachment",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/greenhouse-applications-api-openapi.yml#/components/schemas/Attachment",
  "type": "object",
  "required": [
    "filename",
    "type"
  ],
  "properties": {
    "filename": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "type": {
      "type": "string",
      "enum": [
        "resume",
        "cover_letter",
        "admin_only",
        "public",
        "offer_letter",
        "take_home_test",
        "offer_packet"
      ]
    },
    "content": {
      "type": "string",
      "description": "Base64 file content."
    },
    "content_type": {
      "type": "string"
    }
  }
}