{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zippedscript/json-schema/zippedscript-create-reference-check-schema.json",
  "title": "CreateReferenceCheck",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zippedscript-reference-checks-api-openapi.yml#/components/schemas/CreateReferenceCheck",
  "required": [
    "request_id",
    "candidate",
    "reference_name",
    "reference_email"
  ],
  "type": "object",
  "properties": {
    "request_id": {
      "title": "Request id",
      "type": "string",
      "maxLength": 256,
      "minLength": 1
    },
    "candidate": {
      "title": "Candidate",
      "type": "string"
    },
    "reference_name": {
      "title": "Reference name",
      "type": "string",
      "maxLength": 255,
      "minLength": 1
    },
    "reference_email": {
      "title": "Reference email",
      "description": "The email of the reference to send the check request to.",
      "type": "string",
      "format": "email",
      "maxLength": 254,
      "minLength": 1
    },
    "relationship": {
      "title": "Relationship",
      "description": "Relationship to the candidate",
      "type": [
        "string",
        "null"
      ],
      "maxLength": 255
    },
    "additional_details": {
      "title": "Additional details",
      "type": [
        "object",
        "null"
      ]
    },
    "lang": {
      "title": "Lang",
      "type": "string",
      "maxLength": 10
    }
  }
}