{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/realeyes-ai/json-schema/realeyes-ai-post-v1-verification-create-or-update-request-schema.json",
  "title": "PostV1VerificationCreateOrUpdateRequest",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/realeyes-ai-openapi-generated.yml#/components/schemas/PostV1VerificationCreateOrUpdateRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "verificationConfig": {
      "type": "object",
      "properties": {
        "verifierConfigs": {
          "type": "object",
          "properties": {
            "liveness": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                },
                "challengeType": {
                  "type": "string"
                }
              }
            },
            "age": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                }
              }
            },
            "faceRecognition": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                },
                "collectionId": {
                  "type": "string"
                }
              }
            },
            "gender": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                }
              }
            },
            "emotion": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                }
              }
            },
            "attention": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                }
              }
            }
          }
        },
        "redirectConfig": {
          "type": "object",
          "properties": {
            "passedUrl": {
              "type": "string"
            },
            "failedUrl": {
              "type": "string"
            }
          }
        },
        "resultParameterConfig": {
          "type": "object",
          "properties": {
            "includeSignature": {
              "type": "boolean"
            },
            "includeSessionId": {
              "type": "boolean"
            },
            "includeFaceId": {
              "type": "boolean"
            },
            "includeAge": {
              "type": "boolean"
            },
            "includeGender": {
              "type": "boolean"
            },
            "includeConfusion": {
              "type": "boolean"
            },
            "includeContempt": {
              "type": "boolean"
            },
            "includeDisgust": {
              "type": "boolean"
            },
            "includeHappy": {
              "type": "boolean"
            },
            "includeEmpathy": {
              "type": "boolean"
            },
            "includeSurprise": {
              "type": "boolean"
            },
            "includePresence": {
              "type": "boolean"
            },
            "includeEyesOnScreen": {
              "type": "boolean"
            },
            "includeAttention": {
              "type": "boolean"
            },
            "includeVerificationResult": {
              "type": "boolean"
            },
            "includeCustomInputParameters": {
              "type": "boolean"
            },
            "includeLivenessCheckResult": {
              "type": "boolean"
            },
            "includeAgeVerificationResult": {
              "type": "boolean"
            },
            "includeGenderVerificationResult": {
              "type": "boolean"
            },
            "includeFaceRecognitionResult": {
              "type": "boolean"
            },
            "includeCorrelationId": {
              "type": "boolean"
            },
            "includeTotalFaceCount": {
              "type": "boolean"
            },
            "includeFailedReason": {
              "type": "boolean"
            }
          }
        },
        "securityConfig": {
          "type": "object",
          "properties": {
            "forceSignedInput": {
              "type": "boolean"
            }
          }
        },
        "sessionOverrideConfig": {
          "type": "object",
          "properties": {
            "allowVerifierOverrides": {
              "type": "boolean"
            },
            "allowResultParameterOverrides": {
              "type": "boolean"
            },
            "allowRedirectOverrides": {
              "type": "boolean"
            },
            "allowRetentionOverrides": {
              "type": "boolean"
            }
          }
        }
      }
    }
  }
}