{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/trulioo/main/json-schema/trulioo-document-verify-request-schema.json",
  "title": "DocumentVerifyRequest",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trulioo-document-verification-api-openapi.yml#/components/schemas/DocumentVerifyRequest",
  "type": "object",
  "required": [
    "AcceptTruliooTermsAndConditions",
    "ConfigurationName",
    "CountryCode",
    "DataFields"
  ],
  "properties": {
    "AcceptTruliooTermsAndConditions": {
      "type": "boolean"
    },
    "ConfigurationName": {
      "type": "string"
    },
    "CountryCode": {
      "type": "string"
    },
    "CustomerReferenceID": {
      "type": "string"
    },
    "CallBackUrl": {
      "type": "string",
      "format": "uri"
    },
    "DataFields": {
      "type": "object",
      "properties": {
        "Document": {
          "type": "object",
          "properties": {
            "DocumentFrontImage": {
              "type": "string",
              "format": "byte"
            },
            "DocumentBackImage": {
              "type": "string",
              "format": "byte"
            },
            "LivePhoto": {
              "type": "string",
              "format": "byte"
            },
            "DocumentType": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}