{
  "openapi": "3.0.4",
  "info": {},
  "paths": {},
  "components": {
    "schemas": {
      "DocumentVerificationImageSource": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "nullable": true
          },
          "base64": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AnonymizationMode": {
        "uniqueItems": true,
        "enum": [
          "None",
          "ImageOnly",
          "ResultFieldsOnly",
          "FullResult"
        ],
        "type": "string",
        "format": "string"
      },
      "MatchLevel": {
        "uniqueItems": true,
        "enum": [
          "Unknown",
          "Level1",
          "Level2",
          "Level3",
          "Level4",
          "Level5",
          "Level6",
          "Level7",
          "Level8",
          "Level9",
          "Level10",
          "Disabled"
        ],
        "type": "string",
        "format": "string"
      },
      "ImageQualityInterpretation": {
        "uniqueItems": true,
        "enum": [
          "Unknown",
          "Ignore",
          "Conservative",
          "HighAssurance",
          "HighConversion",
          "VeryHighConversion"
        ],
        "type": "string",
        "format": "string"
      },
      "ImageFormat": {
        "uniqueItems": true,
        "enum": [
          "Unknown",
          "Jpg",
          "Png",
          "Qoi"
        ],
        "type": "string",
        "format": "string"
      },
      "DocumentVerificationProcessingOptions": {
        "type": "object",
        "properties": {
          "returnFullDocumentImage": {
            "type": "boolean",
            "nullable": true
          },
          "returnFaceImage": {
            "type": "boolean",
            "nullable": true
          },
          "returnSignatureImage": {
            "type": "boolean",
            "nullable": true
          },
          "anonymizationMode": {
            "$ref": "#/components/schemas/AnonymizationMode"
          },
          "treatExpirationAsFraud": {
            "type": "boolean",
            "nullable": true
          },
          "screenMatchLevel": {
            "$ref": "#/components/schemas/MatchLevel"
          },
          "photocopyMatchLevel": {
            "$ref": "#/components/schemas/MatchLevel"
          },
          "barcodeAnomalyMatchLevel": {
            "$ref": "#/components/schemas/MatchLevel"
          },
          "photoForgeryMatchLevel": {
            "$ref": "#/components/schemas/MatchLevel"
          },
          "staticSecurityFeaturesMatchLevel": {
            "$ref": "#/components/schemas/MatchLevel"
          },
          "dataMatchMatchLevel": {
            "$ref": "#/components/schemas/MatchLevel"
          },
          "generativeAiMatchLevel": {
            "$ref": "#/components/schemas/MatchLevel"
          },
          "blurMatchLevel": {
            "$ref": "#/components/schemas/MatchLevel"
          },
          "glareMatchLevel": {
            "$ref": "#/components/schemas/MatchLevel"
          },
          "lightingMatchLevel": {
            "$ref": "#/components/schemas/MatchLevel"
          },
          "sharpnessMatchLevel": {
            "$ref": "#/components/schemas/MatchLevel"
          },
          "handOcclusionMatchLevel": {
            "$ref": "#/components/schemas/MatchLevel"
          },
          "dpiMatchLevel": {
            "$ref": "#/components/schemas/MatchLevel"
          },
          "tiltMatchLevel": {
            "$ref": "#/components/schemas/MatchLevel"
          },
          "imageQualityInterpretation": {
            "$ref": "#/components/schemas/ImageQualityInterpretation"
          },
          "returnImageFormat": {
            "$ref": "#/components/schemas/ImageFormat"
          }
        },
        "additionalProperties": false
      },
      "DocumentVerificationPolicy": {
        "uniqueItems": true,
        "enum": [
          "Unknown",
          "Permissive",
          "Standard",
          "Strict",
          "VeryStrict"
        ],
        "type": "string",
        "format": "string"
      },
      "VerificationContext": {
        "uniqueItems": true,
        "enum": [
          "Unknown",
          "Remote",
          "InPerson"
        ],
        "type": "string",
        "format": "string"
      },
      "ReviewStrategy": {
        "uniqueItems": true,
        "enum": [
          "Unknown",
          "Never",
          "RejectedAndAccepted",
          "RejectedOnly",
          "AcceptedOnly"
        ],
        "type": "string",
        "format": "string"
      },
      "ReviewSensitivity": {
        "uniqueItems": true,
        "enum": [
          "Unknown",
          "Low",
          "Default",
          "High"
        ],
        "type": "string",
        "format": "string"
      },
      "CaptureConditions": {
        "uniqueItems": true,
        "enum": [
          "Unknown",
          "NoControl",
          "Basic",
          "Hybrid"
        ],
        "type": "string",
        "format": "string"
      },
      "DocumentVerificationUseCaseOptions": {
        "type": "object",
        "properties": {
          "documentVerificationPolicy": {
            "$ref": "#/components/schemas/DocumentVerificationPolicy"
          },
          "verificationContext": {
            "$ref": "#/components/schemas/VerificationContext"
          },
          "manualReviewStrategy": {
            "$ref": "#/components/schemas/ReviewStrategy"
          },
          "manualReviewSensitivity": {
            "$ref": "#/components/schemas/ReviewSensitivity"
          },
          "captureConditions": {
            "$ref": "#/components/schemas/CaptureConditions"
          }
        },
        "additionalProperties": false
      },
      "DocumentVerificationRequest": {
        "type": "object",
        "properties": {
          "imageFront": {
            "$ref": "#/components/schemas/DocumentVerificationImageSource"
          },
          "imageBack": {
            "$ref": "#/components/schemas/DocumentVerificationImageSource"
          },
          "imageBarcode": {
            "$ref": "#/components/schemas/DocumentVerificationImageSource"
          },
          "options": {
            "$ref": "#/components/schemas/DocumentVerificationProcessingOptions"
          },
          "useCase": {
            "$ref": "#/components/schemas/DocumentVerificationUseCaseOptions"
          },
          "captureSessionId": {
            "type": "string",
            "nullable": true
          },
          "sessionID": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    }
  }
}