{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zippedscript/json-schema/zippedscript-create-verification-schema.json",
  "title": "CreateVerification",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zippedscript-verification-api-openapi.yml#/components/schemas/CreateVerification",
  "required": [
    "request_id"
  ],
  "type": "object",
  "properties": {
    "request_id": {
      "title": "Request id",
      "description": "A unique ID, used to help search for verifications",
      "type": "string",
      "maxLength": 64,
      "minLength": 1
    },
    "email": {
      "title": "Email",
      "description": "The email of the candidate whose education is being verified",
      "type": [
        "string",
        "null"
      ],
      "format": "email",
      "maxLength": 254
    },
    "graduated": {
      "title": "Graduated",
      "description": "Whether the candidate has graduated or not",
      "type": [
        "boolean",
        "null"
      ]
    },
    "degree_level": {
      "title": "Degree level",
      "description": "The level of degree that is being verified",
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "Certificate / Diploma or Equivalent",
        "Associate / Technical or Equivalent",
        "Bachelor's or equivalent",
        "Master's or equivalent",
        "Doctorate or equivalent",
        null
      ]
    },
    "institution": {
      "title": "Institution",
      "type": "integer"
    },
    "graduation_year": {
      "title": "Graduation year",
      "description": "The year the candidate graduated",
      "type": [
        "integer",
        "null"
      ],
      "maximum": 2036,
      "minimum": 1900
    },
    "phone_number": {
      "title": "Phone number",
      "description": "The phone number of the end user",
      "type": [
        "string",
        "null"
      ],
      "maxLength": 16
    },
    "phone_country_code": {
      "title": "Phone country code",
      "description": "The country code of the phone number",
      "type": [
        "string",
        "null"
      ],
      "maxLength": 7
    },
    "client_name": {
      "title": "Client name",
      "description": "The name of the client the verification is being performed on behalf of",
      "type": [
        "string",
        "null"
      ],
      "maxLength": 255
    }
  }
}