> ## Documentation Index
> Fetch the complete documentation index at: https://docs.checkin.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get an application

> Get verified application

In case of using the ApiKeyAuth, you can get any application;

In case of using the ApiTokenAuth without root access, you can get only an application marked with this token;



## OpenAPI

````yaml /versions/openapi-v1.5.yaml get /api/v1/application/{id}
openapi: 3.0.0
info:
  title: Enveloped Application
  version: '1.5'
  x-logo:
    url: ./logo.svg
    altText: GetID
  description: |
    # API
    The Enveloped Application API lets you submit applications for identity
    verification, check their progress, and retrieve the verification
    results and records.
    # SDK
    GetID provides iOS, Android and Web SDKs to simplify user's data capturing.
    Links to the SDKs documentation and usage examples:
    - [Web](https://github.com/vvorld/getid-web-sdk)
    - [iOS](https://github.com/vvorld/getid-ios-sdk)
    - [Android](https://github.com/vvorld/getid-android-sdk)

    # Response version 1.5

    `VerificationResult` is generated from `PublicEAv1_5`.

    - Changed structure of application logs.
  x-response-schema: PublicEAv1_5
servers:
  - url: https://acme.getid.ee/
    description: Example production server
  - url: https://acme.sb.getid.dev/
    description: Example sandbox server
security: []
tags:
  - name: Applications
    description: Create, fetch, and list verification applications.
  - name: Review and records
    description: Download records and update review data on an existing application.
  - name: SDK sessions
    description: Create API tokens and one-time verification links.
  - name: Translations
    description: Manage SDK translation dictionaries.
paths:
  /api/v1/application/{id}:
    get:
      tags:
        - Applications
      summary: Get an application
      description: >-
        Get verified application


        In case of using the ApiKeyAuth, you can get any application;


        In case of using the ApiTokenAuth without root access, you can get only
        an application marked with this token;
      parameters:
        - $ref: '#/components/parameters/XApiKey'
        - in: path
          name: id
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/VerificationResult'
                  - properties:
                      responseCode:
                        type: integer
                        description: contains HTTP code (200)
                        enum:
                          - 200
                    required:
                      - responseCode
                    type: object
        '401':
          description: Missing or wrong authorization headers
          headers:
            WWW-Authenticate:
              description: >-
                An authentication method that should be used to gain access to a
                resource
              schema:
                type: string
              example: apiKey realm="Access to API"
          content:
            application/json:
              schema:
                properties:
                  responseCode:
                    type: integer
                    enum:
                      - 401
                  errorMessage:
                    type: string
                    example: Unauthorized
                type: object
        '404':
          description: An application is not found
          content:
            application/json:
              schema:
                properties:
                  responseCode:
                    type: integer
                    enum:
                      - 404
                type: object
      security:
        - ApiKeyAuth: []
        - ApiTokenAuth: []
components:
  parameters:
    XApiKey:
      name: X-API-Key
      in: header
      required: true
      description: >
        Your account API key, or a token generated from /api/v1/token. You can
        also send the same value as `Authorization: Bearer <api-key-or-token>`.
      schema:
        type: string
  schemas:
    VerificationResult:
      type: object
      properties:
        logs:
          type: array
          items:
            type: object
            properties:
              user:
                type: string
              time:
                type: string
              action:
                type: string
              comment:
                type: string
            additionalProperties: false
            required:
              - action
              - comment
              - time
              - user
        comment:
          type: object
          properties:
            author:
              type: string
              description: An author's login
              example: admin
            text:
              type: string
              description: A comment text
              example: Everything's OK
            createdAt:
              type: string
              description: A date of comment's creation
              example: '2020-03-17T20:28:37.061Z'
              format: date-time
          additionalProperties: false
          required:
            - author
            - createdAt
            - text
        processingState:
          $ref: '#/components/schemas/ProcessingState'
        servicesResults:
          $ref: '#/components/schemas/ServiceResultsV1_5'
        retentionPolicy:
          type: object
          properties:
            deleteAt:
              type: string
              format: date-time
              description: ISO 8601 date-time.
          additionalProperties: false
          required:
            - deleteAt
          description: >-
            Present only when the application has a personal data retention
            policy.
        archivePolicy:
          type: object
          properties:
            archivedAt:
              type: string
              format: date-time
              description: ISO 8601 date-time.
          additionalProperties: false
          required:
            - archivedAt
          description: Present only for applications that have been archived.
        id:
          type: string
          description: Application id
          example: 5e62110968e3fb4d655756d1
          format: object-id
        metadata:
          $ref: '#/components/schemas/Metadata'
        application:
          type: object
          properties:
            fields:
              type: array
              items:
                type: object
                properties:
                  category:
                    type: string
                  contentType:
                    enum:
                      - bool
                      - country
                      - data
                      - date
                      - number
                      - sex
                      - string
                    type: string
                  content:
                    type: string
                additionalProperties: false
                required:
                  - category
                  - content
            onboarding:
              type: object
              properties:
                groups:
                  type: array
                  items:
                    type: object
                    properties:
                      name:
                        type: string
                      order:
                        type: number
                      fields:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            value:
                              type: string
                            order:
                              type: number
                            externalId:
                              type: string
                          additionalProperties: false
                          required:
                            - name
                            - value
                    additionalProperties: false
                    required:
                      - fields
                      - name
              additionalProperties: false
              required:
                - groups
            documents:
              type: array
              items:
                type: object
                properties:
                  issuingCountry:
                    type: string
                    description: >
                      The code of the country of issue

                      ([alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements)

                      or
                      [alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3#Officially_assigned_code_elements))
                    example: JPN
                    pattern: ^[a-zA-Z]{2,3}$|unknown$
                  documentType:
                    type: string
                  files:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: document id (filled automatically when missing)
                        kind:
                          type: string
                        mediaType:
                          type: string
                        uri:
                          type: string
                      additionalProperties: false
                      required:
                        - id
                        - kind
                        - mediaType
                        - uri
                    description: Temporary links to the document photos or scans
                  exif:
                    type: object
                    properties:
                      front:
                        $ref: '#/components/schemas/ExifData'
                      back:
                        $ref: '#/components/schemas/ExifData'
                    additionalProperties: false
                additionalProperties: false
                required:
                  - documentType
                  - files
                  - issuingCountry
              description: Documents for data extraction or cross-checking
            selfie:
              type: object
              properties:
                files:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                        description: file id (filled automatically when missing)
                      kind:
                        type: string
                        example: >-
                          front, back, single-page, selfie, selfie-video, video,
                          nfc-face, selfieVideo, liveness-video,
                          liveness-full-face, liveness-passive
                      mediaType:
                        type: string
                        example: image/jpeg
                      uri:
                        type: string
                        description: Temporary link to the media
                        example: https://some.site/image.jpeg?t=123
                        format: uri
                    additionalProperties: false
                    required:
                      - id
                      - kind
                      - mediaType
                      - uri
              additionalProperties: false
              required:
                - files
              description: Media required for `face-matching`
            poa:
              type: object
              properties:
                file:
                  type: object
                  properties:
                    id:
                      type: string
                    kind:
                      type: string
                    mediaType:
                      type: string
                    uri:
                      type: string
                  additionalProperties: false
                  required:
                    - id
                    - kind
                    - mediaType
                    - uri
              additionalProperties: false
              required:
                - file
              description: Media required for `poa`
            bank:
              type: object
              properties:
                file:
                  type: object
                  properties:
                    id:
                      type: string
                    kind:
                      type: string
                    mediaType:
                      type: string
                    uri:
                      type: string
                  additionalProperties: false
                  required:
                    - id
                    - kind
                    - mediaType
                    - uri
              additionalProperties: false
              required:
                - file
              description: Media required for `bank`
            documentAnalysis:
              type: object
              properties:
                file:
                  type: object
                  properties:
                    id:
                      type: string
                    kind:
                      type: string
                    mediaType:
                      type: string
                    uri:
                      type: string
                  additionalProperties: false
                  required:
                    - id
                    - kind
                    - mediaType
                    - uri
              additionalProperties: false
              required:
                - file
              description: Media required for `document-analysis`
            visa:
              type: object
              properties:
                file:
                  type: object
                  properties:
                    id:
                      type: string
                    kind:
                      type: string
                    mediaType:
                      type: string
                    uri:
                      type: string
                  additionalProperties: false
                  required:
                    - id
                    - kind
                    - mediaType
                    - uri
                fromGallery:
                  type: boolean
                isRequired:
                  type: boolean
                travelData:
                  type: object
                  properties:
                    arrival:
                      type: object
                      properties:
                        dateTime:
                          type: string
                        point:
                          type: string
                        type:
                          type: string
                      additionalProperties: false
                      required:
                        - dateTime
                        - point
                        - type
                    departure:
                      type: object
                      properties:
                        dateTime:
                          type: string
                        point:
                          type: string
                        type:
                          type: string
                      additionalProperties: false
                      required:
                        - dateTime
                        - point
                        - type
                    documentIssueCountry:
                      type: string
                    nationality:
                      type: string
                    durationOfStay:
                      type: number
                  additionalProperties: false
                  required:
                    - arrival
                    - departure
                    - documentIssueCountry
                    - durationOfStay
                    - nationality
              additionalProperties: false
              description: Media required for `visa`
            processedFiles:
              type: object
              properties:
                files:
                  type: array
                  items:
                    type: object
                    properties:
                      id:
                        type: string
                      kind:
                        type: string
                      mediaType:
                        type: string
                      uri:
                        type: string
                    additionalProperties: false
                    required:
                      - id
                      - kind
                      - mediaType
                      - uri
              additionalProperties: false
              required:
                - files
            cameraInfo:
              $ref: '#/components/schemas/CameraInfo'
            signature:
              type: object
              properties:
                file:
                  type: object
                  properties:
                    id:
                      type: string
                    kind:
                      type: string
                    mediaType:
                      type: string
                    uri:
                      type: string
                  additionalProperties: false
                  required:
                    - id
                    - kind
                    - mediaType
                    - uri
                pattern:
                  type: array
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/Point'
              additionalProperties: false
              description: Media required for `signature`
          additionalProperties: false
        verificationTypes:
          type: array
          items:
            enum:
              - age-estimation
              - bank-statement
              - cross-checking
              - data-extraction
              - deep-fake
              - document-analysis
              - express-liveness
              - face-matching
              - face-similarity
              - liveness
              - official-registry-check
              - onboarding
              - passive-liveness
              - proof-of-address
              - signature-matching
              - visa-data-extraction
              - visa-data-verification
              - watchlists
            type: string
        additionalFiles:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                description: Application id
                example: 5e62110968e3fb4d655756d1
                format: object-id
              uri:
                type: string
              kind:
                type: string
              size:
                type: number
            additionalProperties: false
            required:
              - id
              - kind
              - size
              - uri
        overallResult:
          $ref: '#/components/schemas/OverallResult'
      additionalProperties: false
      required:
        - application
        - id
        - logs
        - metadata
        - processingState
        - verificationTypes
    ProcessingState:
      enum:
        - done
        - processing
      type: string
      description: |-
        Application processing state:
          * `done` - the processing is finished
          * `processing` - the application is being processed
    ServiceResultsV1_5:
      type: object
      properties:
        faceMatching:
          $ref: '#/components/schemas/FaceMatchingServiceResult'
        watchlists:
          $ref: '#/components/schemas/WatchlistsServiceResult'
        poa:
          $ref: '#/components/schemas/POAServiceResult'
        bank:
          $ref: '#/components/schemas/BankServiceResult'
        docCheck:
          $ref: '#/components/schemas/DocCheckServiceResultV1_4'
        visaCheck:
          $ref: '#/components/schemas/VisaCheckServiceResult'
        profileCheck:
          $ref: '#/components/schemas/ProfileCheckServiceResult'
        livenessCheck:
          $ref: '#/components/schemas/LivenessServiceResult'
        officialRegistryCheck:
          $ref: '#/components/schemas/OfficialRegistryCheckServiceResult'
        screenMovementTracking:
          $ref: '#/components/schemas/ScreenMovementTrackingServiceResult'
        signatureMatching:
          $ref: '#/components/schemas/SignatureMatchingServiceResult'
        botLensCheck:
          $ref: '#/components/schemas/BotLensCheckServiceResult'
        ageEstimation:
          $ref: '#/components/schemas/AgeEstimationServiceResult'
        onboarding:
          $ref: '#/components/schemas/OnboardingServiceResult'
        documentAnalysis:
          $ref: '#/components/schemas/DocumentAnalysisServiceResult'
      additionalProperties: false
    Metadata:
      type: object
      properties:
        externalId:
          type: string
          description: Use this field to set custom ID from your system
          example: ID-342
        platform:
          type: string
          description: The platform type an application is sent from
        clientName:
          type: string
          description: The name of a client who sent a request
          example: my-api-client
        clientVersion:
          type: string
          description: The version of a client who sent a request
          example: 1.0.0
        sdkVersion:
          type: string
        acVersion:
          type: string
          description: The version of an acceptor client who received the request
          example: 1.0.0
        labels:
          type: object
          description: Custom key-value labels (maximum 30)
          maxProperties: 30
          additionalProperties:
            type: string
        ipAddress:
          type: string
          description: The IP address a request was sent from
          example: 8.8.8.8
        country:
          type: string
          description: A country detected from IP address
          example: EST
        city:
          type: string
          description: A city detected from IP address
          example: Tallinn
        security:
          $ref: '#/components/schemas/SecurityDetails'
        userAgent:
          type: string
          description: >-
            User agent data retrieved from the user's client who sent an app
            from SDK
          example: >-
            Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
            Gecko) Chrome/81.0.4044.122 Safari/537.36
        savedRequestId:
          type: string
        author:
          type: string
          description: A username or email of an author of the request
          example: admin
        createdAt:
          type: string
          description: The time when the application was created
          example: '2020-03-17T20:28:37.061Z'
          format: date-time
        disableCs:
          type: string
          description: It allows to disable the customer support check
        serverVersion:
          type: string
        clientTimestamp:
          type: string
        livenessSchemaVersion:
          type: string
        locale:
          type: string
        selectedLocale:
          type: string
        deviceId:
          type: string
        flowName:
          type: string
        createdBy:
          type: string
          description: Represent the source of starting the verification
        verificationTypes:
          type: array
          items:
            enum:
              - age-estimation
              - bank-statement
              - cross-checking
              - data-extraction
              - deep-fake
              - document-analysis
              - express-liveness
              - face-matching
              - face-similarity
              - liveness
              - official-registry-check
              - onboarding
              - passive-liveness
              - proof-of-address
              - signature-matching
              - visa-data-extraction
              - visa-data-verification
              - watchlists
            type: string
        serviceType:
          type: string
        visitorId:
          type: string
      additionalProperties: false
      description: |-
        The meta information about the input data source.
        This field can be used to add custom meta information.
        It will also be added to the response as-is.
    ExifData:
      type: object
      properties:
        software:
          $ref: '#/components/schemas/ExifTag'
        dateTime:
          $ref: '#/components/schemas/ExifTag'
    CameraInfo:
      type: object
      properties:
        selfie:
          $ref: '#/components/schemas/CameraInfoEntry'
        front:
          $ref: '#/components/schemas/CameraInfoEntry'
        back:
          $ref: '#/components/schemas/CameraInfoEntry'
        liveness:
          $ref: '#/components/schemas/CameraInfoEntry'
    Point:
      type: object
      properties:
        x:
          type: number
        'y':
          type: number
      additionalProperties: false
      required:
        - x
        - 'y'
    OverallResult:
      type: object
      properties:
        status:
          allOf:
            - $ref: '#/components/schemas/ApplicationStatus'
          description: The worst result from all services
        comments:
          type: array
          items:
            $ref: '#/components/schemas/ServiceSummary'
          description: >-
            An array of results from all services (You can find full results in
            the servicesResults section)
          example:
            - service: face-matching
              status: approved
              comment: faces are similar
            - service: watchlists
              status: declined
              comment: found 2 reports against the person
            - service: data-extraction
              status: approved
              comment: data was extracted
        concerns:
          type: array
          items:
            $ref: '#/components/schemas/ConcernSummary'
          description: A summary of concern
          example:
            - service: face-matching
              status: declined
              comment: photo is not selfie
            - service: crosschecking
              status: needs-review
              comment: The extracted last name doesn't match data from the field
        validationDate:
          type: string
          description: The date of validation completion
          example: '2020-03-17T20:28:37.061Z'
          format: date-time
      additionalProperties: false
      required:
        - comments
        - concerns
        - status
        - validationDate
      description: Summary verification result (omitted if the state is `processing`)
    FaceMatchingServiceResult:
      type: object
      properties:
        serviceType:
          $ref: '#/components/schemas/ServiceType'
        verifier:
          type: string
          description: Name of the verifier
          example: Facemelter
        comment:
          type: string
          description: A short comment about the result
          example: Faces are not similar
        processingState:
          $ref: '#/components/schemas/ProcessingState'
        status:
          $ref: '#/components/schemas/ServiceStatus'
        results:
          type: array
          items:
            type: object
            properties:
              score:
                type: number
              files:
                type: array
                items:
                  type: string
              selfieQuality:
                $ref: '#/components/schemas/BreakdownGroup'
              declineThreshold:
                type: number
              needsReviewThreshold:
                type: number
            additionalProperties: false
            required:
              - declineThreshold
              - files
              - needsReviewThreshold
              - score
              - selfieQuality
        deepFake:
          type: object
          properties:
            deepFakeScore:
              type: number
            group:
              type: string
            description:
              type: string
            tooltip:
              type: string
            considers:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  type:
                    $ref: '#/components/schemas/CheckType'
                  status:
                    $ref: '#/components/schemas/ConsiderStatus'
                  description:
                    type: string
                additionalProperties: false
                required:
                  - description
                  - name
                  - status
                  - type
          additionalProperties: false
          required:
            - considers
            - deepFakeScore
            - group
        biometrics:
          type: object
          properties:
            response:
              type: object
              properties:
                applicationCount:
                  type: number
                currentApplicationId:
                  type: string
                applications:
                  type: array
                  items:
                    type: object
                    properties:
                      age:
                        type: number
                      appId:
                        type: string
                      source:
                        type: string
                      confidence:
                        type: number
                      distance:
                        type: number
                        nullable: true
                    additionalProperties: false
                    required:
                      - appId
                      - confidence
                      - distance
                      - source
              additionalProperties: false
              required:
                - applicationCount
                - applications
                - currentApplicationId
            calculated:
              type: object
              properties:
                issues:
                  type: number
                match:
                  type: boolean
                breakdowns:
                  $ref: '#/components/schemas/BreakdownGroup'
                documentedAge:
                  type: number
                estimatedAge:
                  type: number
                ageDifference:
                  type: number
                acceptableAgeDifference:
                  type: number
                ageDifferenceOk:
                  type: boolean
                confidence:
                  type: number
              additionalProperties: false
              required:
                - breakdowns
                - issues
                - match
          additionalProperties: false
          required:
            - calculated
            - response
        biometricsAuth:
          type: object
          properties:
            response:
              type: object
              properties:
                loginStatus:
                  type: boolean
                profileId:
                  type: string
                externalId:
                  type: string
                appId:
                  type: string
                matchAppId:
                  type: string
                clientName:
                  type: string
                matchConfidence:
                  type: number
              additionalProperties: false
              required:
                - externalId
                - profileId
          additionalProperties: false
          required:
            - response
        fraudAssessment:
          type: object
          properties:
            group:
              type: string
            description:
              type: string
            tooltip:
              type: string
            hasFaceFramesManipulation:
              type: boolean
            considers:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  type:
                    $ref: '#/components/schemas/CheckType'
                  status:
                    $ref: '#/components/schemas/ConsiderStatus'
                  description:
                    type: string
                additionalProperties: false
                required:
                  - description
                  - name
                  - status
                  - type
          additionalProperties: false
          required:
            - considers
            - group
      additionalProperties: false
      required:
        - comment
        - processingState
        - serviceType
        - status
        - verifier
      description: The Face-matching service compares a photo on the document with a selfie
    WatchlistsServiceResult:
      type: object
      properties:
        serviceType:
          $ref: '#/components/schemas/ServiceType'
        verifier:
          type: string
        comment:
          type: string
        processingState:
          $ref: '#/components/schemas/ProcessingState'
        status:
          $ref: '#/components/schemas/ServiceStatus'
        records: {}
        summary:
          $ref: '#/components/schemas/BreakdownGroup'
      additionalProperties: false
      required:
        - comment
        - processingState
        - serviceType
        - status
        - verifier
    POAServiceResult:
      type: object
      properties:
        serviceType:
          $ref: '#/components/schemas/ServiceType'
        verifier:
          type: string
        comment:
          type: string
        processingState:
          $ref: '#/components/schemas/ProcessingState'
        status:
          $ref: '#/components/schemas/ServiceStatus'
        fieldsCheck:
          $ref: '#/components/schemas/BreakdownGroup'
        fields:
          $ref: '#/components/schemas/PoaFields'
        files:
          type: object
          properties:
            original:
              type: string
            snapshot:
              type: string
          additionalProperties: false
          required:
            - original
        crossChecking:
          type: array
          items:
            additionalProperties: false
            type: object
            properties:
              id:
                type: string
              equal:
                type: boolean
              valid:
                type: boolean
              category:
                type: string
              conflicts:
                type: array
                items:
                  type: string
              message:
                type: string
              mrz:
                type: string
              ocr:
                type: string
              nfc:
                type: string
              status:
                $ref: '#/components/schemas/CheckStatus'
              additional:
                type: string
            required:
              - category
              - conflicts
              - equal
              - message
              - ocr
              - status
              - valid
          description: >-
            Cross-checking between fields extracted from the proof-of-address
            document. Proof-of-address documents don't carry MRZ or NFC data, so
            `mrz` and `nfc` are not present on these items.
      additionalProperties: false
      required:
        - comment
        - fields
        - fieldsCheck
        - files
        - processingState
        - serviceType
        - status
        - verifier
    BankServiceResult:
      type: object
      properties:
        serviceType:
          $ref: '#/components/schemas/ServiceType'
        verifier:
          type: string
        comment:
          type: string
        processingState:
          $ref: '#/components/schemas/ProcessingState'
        status:
          $ref: '#/components/schemas/ServiceStatus'
        fieldsCheck:
          $ref: '#/components/schemas/BreakdownGroup'
        fields:
          $ref: '#/components/schemas/BankFields'
        files:
          type: object
          properties:
            original:
              type: string
            snapshot:
              type: string
          additionalProperties: false
          required:
            - original
        extracted:
          $ref: '#/components/schemas/BankExtracted'
        docType:
          type: string
        crossChecking:
          type: array
          items:
            additionalProperties: false
            type: object
            properties:
              id:
                type: string
              equal:
                type: boolean
              valid:
                type: boolean
              category:
                type: string
              conflicts:
                type: array
                items:
                  type: string
              message:
                type: string
              mrz:
                type: string
              ocr:
                type: string
              nfc:
                type: string
              status:
                $ref: '#/components/schemas/CheckStatus'
              additional:
                type: string
            required:
              - category
              - conflicts
              - equal
              - message
              - ocr
              - status
              - valid
          description: >-
            Cross-checking between fields extracted from the bank statement.
            Bank statements don't carry MRZ or NFC data, so `mrz` and `nfc` are
            not present on these items.
      additionalProperties: false
      required:
        - comment
        - fields
        - fieldsCheck
        - files
        - processingState
        - serviceType
        - status
        - verifier
    DocCheckServiceResultV1_4:
      type: object
      properties:
        fraudAssessment:
          additionalProperties: false
          type: object
          properties:
            group:
              type: string
            description:
              type: string
            tooltip:
              type: string
            considers:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  type:
                    $ref: '#/components/schemas/CheckType'
                  status:
                    $ref: '#/components/schemas/ConsiderStatus'
                  description:
                    type: string
                additionalProperties: false
                required:
                  - description
                  - name
                  - status
                  - type
            dataVelocity:
              $ref: '#/components/schemas/DataVelocity'
          required:
            - considers
            - group
        status:
          $ref: '#/components/schemas/ServiceStatus'
        serviceType:
          $ref: '#/components/schemas/ServiceType'
        verifier:
          type: string
        comment:
          type: string
        processingState:
          $ref: '#/components/schemas/ProcessingState'
        extracted:
          $ref: '#/components/schemas/ExtractedData'
        documentDataChecking:
          type: array
          items:
            $ref: '#/components/schemas/DocumentDataChecking'
        dataExtractionConsistency:
          $ref: '#/components/schemas/BreakdownGroup'
        documentPhotoQuality:
          $ref: '#/components/schemas/BreakdownGroup'
        documentQuality:
          $ref: '#/components/schemas/BreakdownGroup'
        originalDocumentPresence:
          $ref: '#/components/schemas/BreakdownGroup'
        imageManipulationDetection:
          type: array
          items:
            $ref: '#/components/schemas/ImageManipulationDetection'
        hasIdenticalPositions:
          type: boolean
      additionalProperties: false
      required:
        - comment
        - processingState
        - serviceType
        - status
        - verifier
    VisaCheckServiceResult:
      type: object
      properties:
        serviceType:
          enum:
            - age-estimation
            - bank-statement
            - biometrics
            - bot-lens-check
            - cross-checking
            - data-extraction
            - deep-fake
            - doc-check
            - document-analysis
            - express-liveness
            - face-matching
            - face-similarity
            - geo-location
            - liveness
            - official-registry-check
            - onboarding
            - passive-liveness
            - profile-check
            - proof-of-address
            - signature-matching
            - visa-check
            - visa-data-extraction
            - visa-data-verification
            - watchlists
          type: string
        verifier:
          type: string
        comment:
          type: string
        processingState:
          $ref: '#/components/schemas/ProcessingState'
        status:
          $ref: '#/components/schemas/ServiceStatus'
        extracted:
          $ref: '#/components/schemas/ExtractedData'
        documentDataChecking:
          type: array
          items:
            $ref: '#/components/schemas/DocumentDataCheckingWithoutNfc'
        dataExtractionConsistency:
          $ref: '#/components/schemas/BreakdownGroup'
        documentPhotoQuality:
          $ref: '#/components/schemas/BreakdownGroup'
        documentQuality:
          $ref: '#/components/schemas/BreakdownGroup'
        visaChecking:
          $ref: '#/components/schemas/BreakdownGroup'
        visaValidityChecked:
          type: boolean
      additionalProperties: false
      required:
        - comment
        - processingState
        - serviceType
        - status
        - verifier
    ProfileCheckServiceResult:
      type: object
      properties:
        serviceType:
          $ref: '#/components/schemas/ServiceType'
        verifier:
          type: string
        comment:
          type: string
        processingState:
          $ref: '#/components/schemas/ProcessingState'
        status:
          $ref: '#/components/schemas/ServiceStatus'
        formCompare:
          $ref: '#/components/schemas/BreakdownGroup'
        matchLocation:
          allOf:
            - $ref: '#/components/schemas/BreakdownGroup'
          description: Present only when the location-matching check is enabled.
        matchLocationDetection:
          $ref: '#/components/schemas/BreakdownGroup'
        fieldChecking:
          type: array
          items:
            type: object
            properties:
              equal:
                type: boolean
              category:
                type: string
              field:
                type: string
              extracted:
                type: string
              status:
                $ref: '#/components/schemas/CheckStatus'
            additionalProperties: false
            required:
              - category
              - equal
              - extracted
              - field
              - status
      additionalProperties: false
      required:
        - comment
        - fieldChecking
        - formCompare
        - processingState
        - serviceType
        - status
        - verifier
    LivenessServiceResult:
      type: object
      properties:
        serviceType:
          $ref: '#/components/schemas/ServiceType'
        verifier:
          type: string
        comment:
          type: string
        processingState:
          $ref: '#/components/schemas/ProcessingState'
        status:
          $ref: '#/components/schemas/ServiceStatus'
        livenessCheck:
          $ref: '#/components/schemas/LivenessCheck'
        deepFake:
          $ref: '#/components/schemas/DeepFakeCheck'
      additionalProperties: false
      required:
        - comment
        - livenessCheck
        - processingState
        - serviceType
        - status
        - verifier
    OfficialRegistryCheckServiceResult:
      type: object
      properties:
        serviceType:
          $ref: '#/components/schemas/ServiceType'
        verifier:
          type: string
        comment:
          type: string
        processingState:
          $ref: '#/components/schemas/ProcessingState'
        status:
          $ref: '#/components/schemas/ServiceStatus'
        results:
          type: array
          items:
            type: object
            properties:
              verifier:
                type: string
              status:
                enum:
                  - approved
                  - declined
                  - error
                  - needs-review
                type: string
              summary:
                type: object
                properties:
                  validityCheck:
                    $ref: '#/components/schemas/ValidityCheck'
                  missingTaxNumber:
                    $ref: '#/components/schemas/BreakdownGroup'
                  invalidTaxNumber:
                    $ref: '#/components/schemas/BreakdownGroup'
                  validity:
                    $ref: '#/components/schemas/BreakdownGroup'
                  datazooCheck:
                    $ref: '#/components/schemas/DataZooCheck'
                additionalProperties: false
            additionalProperties: false
            required:
              - verifier
      additionalProperties: false
      required:
        - comment
        - processingState
        - results
        - serviceType
        - status
        - verifier
    ScreenMovementTrackingServiceResult:
      type: object
      properties:
        serviceType:
          $ref: '#/components/schemas/ServiceType'
        verifier:
          type: string
        comment:
          type: string
        processingState:
          $ref: '#/components/schemas/ProcessingState'
        status:
          $ref: '#/components/schemas/ServiceStatus'
      additionalProperties: false
      required:
        - comment
        - processingState
        - serviceType
        - status
        - verifier
    SignatureMatchingServiceResult:
      type: object
      properties:
        serviceType:
          $ref: '#/components/schemas/ServiceType'
        verifier:
          type: string
        comment:
          type: string
        processingState:
          $ref: '#/components/schemas/ProcessingState'
        status:
          $ref: '#/components/schemas/ServiceStatus'
        result:
          type: object
          properties:
            pathComplexity:
              type: number
            isPotentialAutomation:
              type: boolean
            automationProbability:
              type: number
            signatureSimilarityScore:
              type: number
            hasSignature:
              type: boolean
            legalSignatureMatchingResults:
              type: object
              properties:
                baseSignature:
                  type: object
                  properties:
                    fileId:
                      type: string
                    mediaType:
                      type: string
                    uri:
                      type: string
                  additionalProperties: false
                  required:
                    - fileId
                    - mediaType
                    - uri
                extractedSignatures:
                  type: array
                  items:
                    type: object
                    properties:
                      fileId:
                        type: string
                      mediaType:
                        type: string
                      uri:
                        type: string
                    additionalProperties: false
                    required:
                      - fileId
                      - mediaType
                      - uri
                comparisons:
                  type: array
                  items:
                    type: object
                    properties:
                      fileId:
                        type: string
                      mediaType:
                        type: string
                      similarityScore:
                        type: number
                      uri:
                        type: string
                      matchesThreshold:
                        type: boolean
                    additionalProperties: false
                    required:
                      - fileId
                      - mediaType
                      - similarityScore
                      - uri
                signatureFoundOnBaseDocument:
                  type: boolean
                signatureFoundOnLegalDocument:
                  type: boolean
              additionalProperties: false
          additionalProperties: false
          required:
            - automationProbability
            - hasSignature
            - isPotentialAutomation
            - pathComplexity
            - signatureSimilarityScore
        summary:
          $ref: '#/components/schemas/BreakdownGroup'
      additionalProperties: false
      required:
        - comment
        - processingState
        - result
        - serviceType
        - status
        - summary
        - verifier
    BotLensCheckServiceResult:
      type: object
      properties:
        serviceType:
          $ref: '#/components/schemas/ServiceType'
        verifier:
          type: string
        comment:
          type: string
        processingState:
          $ref: '#/components/schemas/ProcessingState'
        status:
          $ref: '#/components/schemas/ServiceStatus'
        behaviorCheck:
          $ref: '#/components/schemas/BreakdownGroup'
        sessionAnalyzerCheck:
          $ref: '#/components/schemas/BreakdownGroup'
      additionalProperties: false
      required:
        - behaviorCheck
        - comment
        - processingState
        - serviceType
        - status
        - verifier
    AgeEstimationServiceResult:
      type: object
      properties:
        serviceType:
          $ref: '#/components/schemas/ServiceType'
        processingState:
          $ref: '#/components/schemas/ProcessingType'
        comment:
          type: string
        verifier:
          type: string
        status:
          $ref: '#/components/schemas/ServiceStatus'
        breakdowns:
          $ref: '#/components/schemas/BreakdownGroup'
        shadow:
          type: boolean
        results:
          type: object
          properties:
            documentedAge:
              type: number
            estimatedAge:
              type: number
            ageDifference:
              type: number
            acceptableAgeDifference:
              type: number
            ageDifferenceOk:
              type: boolean
            confidence:
              type: number
          additionalProperties: false
      additionalProperties: false
      required:
        - breakdowns
        - comment
        - processingState
        - serviceType
        - status
        - verifier
    OnboardingServiceResult:
      type: object
      properties:
        serviceType:
          type: string
          enum:
            - onboarding
        verifier:
          type: string
        comment:
          type: string
        processingState:
          $ref: '#/components/schemas/ProcessingState'
        status:
          $ref: '#/components/schemas/ServiceStatus'
        formCompare:
          $ref: '#/components/schemas/BreakdownGroup'
        fieldChecking:
          type: array
          items:
            type: object
            properties:
              equal:
                type: boolean
              category:
                type: string
              field:
                type: string
              extracted:
                type: string
              status:
                $ref: '#/components/schemas/CheckStatus'
            additionalProperties: false
            required:
              - category
              - equal
              - extracted
              - field
              - status
        results:
          $ref: '#/components/schemas/OnboardingSubmission'
      additionalProperties: false
      required:
        - comment
        - processingState
        - serviceType
        - status
        - verifier
    DocumentAnalysisServiceResult:
      type: object
      properties:
        serviceType:
          $ref: '#/components/schemas/ServiceType'
        verifier:
          type: string
        comment:
          type: string
        processingState:
          $ref: '#/components/schemas/ProcessingState'
        status:
          $ref: '#/components/schemas/ServiceStatus'
        documentType:
          type: string
          example: payslip
        fieldsCheck:
          $ref: '#/components/schemas/BreakdownGroup'
        crossChecking:
          type: array
          items:
            $ref: '#/components/schemas/DocumentAnalysisFieldCrossChecking'
        transactions:
          type: array
          items:
            $ref: '#/components/schemas/DocumentAnalysisTransaction'
          description: >-
            Bank statement transactions extracted from the document. Present
            only when the document contains transactions.
        files:
          type: object
          properties:
            original:
              type: string
          additionalProperties: false
          required:
            - original
      additionalProperties: false
      required:
        - comment
        - processingState
        - serviceType
        - status
        - verifier
      description: >-
        Document Analysis compares extracted document fields with the provided
        applicant data and validates document rules.
    SecurityDetails:
      type: object
      properties:
        vpn:
          type: boolean
        proxy:
          type: boolean
        tor:
          type: boolean
        relay:
          type: boolean
      additionalProperties: false
      required:
        - proxy
        - relay
        - tor
        - vpn
    ExifTag:
      type: object
      properties:
        value:
          type: string
        description:
          type: string
    CameraInfoEntry:
      type: object
      properties:
        label:
          type: string
          description: The camera label
    ApplicationStatus:
      enum:
        - approved
        - declined
        - error
        - needs-review
      type: string
    ServiceSummary:
      type: object
      properties:
        service:
          $ref: '#/components/schemas/ServiceType'
        status:
          $ref: '#/components/schemas/ServiceStatus'
        comment:
          type: string
      additionalProperties: false
      required:
        - comment
        - service
        - status
    ConcernSummary:
      type: object
      properties:
        id:
          type: string
        message:
          type: string
        service:
          $ref: '#/components/schemas/ServiceType'
        status:
          $ref: '#/components/schemas/ServiceStatus'
      additionalProperties: false
      required:
        - message
        - service
        - status
    ServiceType:
      enum:
        - age-estimation
        - bank-statement
        - biometrics
        - bot-lens-check
        - cross-checking
        - data-extraction
        - deep-fake
        - doc-check
        - document-analysis
        - express-liveness
        - face-matching
        - face-similarity
        - geo-location
        - liveness
        - official-registry-check
        - onboarding
        - passive-liveness
        - profile-check
        - proof-of-address
        - signature-matching
        - visa-check
        - visa-data-extraction
        - visa-data-verification
        - watchlists
      type: string
    ServiceStatus:
      enum:
        - approved
        - declined
        - error
        - needs-review
      type: string
    BreakdownGroup:
      type: object
      properties:
        group:
          type: string
        description:
          type: string
        tooltip:
          type: string
        considers:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
              type:
                $ref: '#/components/schemas/CheckType'
              status:
                $ref: '#/components/schemas/ConsiderStatus'
              description:
                type: string
            additionalProperties: false
            required:
              - description
              - name
              - status
              - type
      additionalProperties: false
      required:
        - considers
        - group
      description: The deep fake service compares a photo on the document with a selfie
    CheckType:
      enum:
        - clear
        - consider
        - disabled
      type: string
    ConsiderStatus:
      enum:
        - approved
        - declined
        - disabled
        - error
        - needs-review
      type: string
    PoaFields:
      type: object
      properties:
        docType:
          type: string
        dateOfIssue:
          type: object
          properties:
            value:
              type: string
            confirmed:
              type: boolean
            rect:
              type: array
              minItems: 4
              maxItems: 4
              items:
                $ref: '#/components/schemas/Point'
          additionalProperties: false
          required:
            - value
        firstName:
          type: object
          properties:
            value:
              type: string
            confirmed:
              type: boolean
            rect:
              type: array
              minItems: 4
              maxItems: 4
              items:
                $ref: '#/components/schemas/Point'
          additionalProperties: false
          required:
            - value
        lastName:
          type: object
          properties:
            value:
              type: string
            confirmed:
              type: boolean
            rect:
              type: array
              minItems: 4
              maxItems: 4
              items:
                $ref: '#/components/schemas/Point'
          additionalProperties: false
          required:
            - value
        name:
          type: object
          properties:
            value:
              type: string
            confirmed:
              type: boolean
            rect:
              type: array
              minItems: 4
              maxItems: 4
              items:
                $ref: '#/components/schemas/Point'
          additionalProperties: false
          required:
            - value
        address:
          type: object
          properties:
            value:
              type: string
            confirmed:
              type: boolean
            rect:
              type: array
              minItems: 4
              maxItems: 4
              items:
                $ref: '#/components/schemas/Point'
          additionalProperties: false
          required:
            - value
        postcode:
          type: object
          properties:
            value:
              type: string
            confirmed:
              type: boolean
            rect:
              type: array
              minItems: 4
              maxItems: 4
              items:
                $ref: '#/components/schemas/Point'
          additionalProperties: false
          required:
            - value
      additionalProperties: false
      required:
        - address
        - dateOfIssue
        - docType
        - firstName
        - lastName
        - name
        - postcode
      description: Fields extracted from the proof-of-address document
    CheckStatus:
      enum:
        - approved
        - declined
        - needs-review
        - disabled
      type: string
    BankFields:
      type: object
      properties:
        docType:
          type: string
        dateOfIssue:
          type: object
          properties:
            value:
              type: string
            confirmed:
              type: boolean
            rect:
              type: array
              minItems: 4
              maxItems: 4
              items:
                $ref: '#/components/schemas/Point'
          additionalProperties: false
          required:
            - value
        name:
          type: object
          properties:
            value:
              type: string
            confirmed:
              type: boolean
            rect:
              type: array
              minItems: 4
              maxItems: 4
              items:
                $ref: '#/components/schemas/Point'
          additionalProperties: false
          required:
            - value
        accountNumber:
          type: object
          properties:
            value:
              type: string
            confirmed:
              type: boolean
            rect:
              type: array
              minItems: 4
              maxItems: 4
              items:
                $ref: '#/components/schemas/Point'
          additionalProperties: false
          required:
            - value
        firstName:
          type: object
          properties:
            value:
              type: string
            confirmed:
              type: boolean
            rect:
              type: array
              minItems: 4
              maxItems: 4
              items:
                $ref: '#/components/schemas/Point'
          additionalProperties: false
          required:
            - value
        lastName:
          type: object
          properties:
            value:
              type: string
            confirmed:
              type: boolean
            rect:
              type: array
              minItems: 4
              maxItems: 4
              items:
                $ref: '#/components/schemas/Point'
          additionalProperties: false
          required:
            - value
        bankName:
          type: object
          properties:
            value:
              type: string
            confirmed:
              type: boolean
            rect:
              type: array
              minItems: 4
              maxItems: 4
              items:
                $ref: '#/components/schemas/Point'
          additionalProperties: false
          required:
            - value
      additionalProperties: false
      required:
        - accountNumber
        - dateOfIssue
        - docType
        - firstName
        - lastName
        - name
      description: Fields extracted from the bank statement
    BankExtracted:
      type: object
      properties:
        ocr:
          type: array
          items:
            $ref: '#/components/schemas/ContentOfCategory'
      additionalProperties: false
    DataVelocity:
      type: object
      properties:
        duplicates:
          type: array
          items:
            type: string
        duplicatesByCategory:
          type: array
          items:
            type: object
            properties:
              category:
                type: string
              content:
                type: string
              applicationCount:
                type: number
              timeFrame:
                type: string
              matchedDocumentType:
                type: boolean
              matchedPersonalDetails:
                type: boolean
            additionalProperties: false
            required:
              - applicationCount
              - category
              - content
              - matchedDocumentType
              - matchedPersonalDetails
              - timeFrame
      additionalProperties: false
    ExtractedData:
      type: object
      properties:
        ocr:
          type: array
          items:
            type: object
            properties:
              category:
                type: string
              content:
                type: string
              contentType:
                type: string
            additionalProperties: false
            required:
              - category
              - content
              - contentType
        mrz:
          type: array
          items:
            type: object
            properties:
              category:
                type: string
              content:
                type: string
              contentType:
                type: string
              valid:
                type: boolean
            additionalProperties: false
            required:
              - category
              - content
              - contentType
              - valid
        nfc:
          type: array
          items:
            type: object
            properties:
              category:
                type: string
              content:
                type: string
              contentType:
                type: string
            additionalProperties: false
            required:
              - category
              - content
              - contentType
        images:
          type: array
          items:
            type: object
            properties:
              fileId:
                type: string
              kind:
                type: string
              uri:
                type: string
              mediaType:
                type: string
            additionalProperties: false
            required:
              - fileId
              - kind
              - uri
        imageManipulationDetection:
          type: array
          items:
            $ref: '#/components/schemas/ImageManipulationDetection'
        authenticityCheckResults:
          type: array
          items:
            $ref: '#/components/schemas/AuthenticityCheck'
        hasIdenticalPositions:
          type: boolean
      additionalProperties: false
    DocumentDataChecking:
      type: object
      properties:
        equal:
          type: boolean
          description: >-
            Null means that the check between fields on the document was not
            performed
        valid:
          type: boolean
          description: >-
            The document field validation result (false means that value is
            incorrect)
        category:
          type: string
          example: First name
        conflicts:
          type: array
          items:
            type: string
          description: A list of conflicts
        message:
          type: string
        mrz:
          type: string
        ocr:
          type: string
        nfc:
          type: string
        status:
          allOf:
            - $ref: '#/components/schemas/CheckStatus'
          description: The check data status
        additional:
          type: string
      additionalProperties: false
      required:
        - category
        - conflicts
        - equal
        - message
        - ocr
        - status
        - valid
    ImageManipulationDetection:
      type: object
      properties:
        fileId:
          type: string
        prediction:
          type: number
        heatmap:
          type: array
          items:
            type: array
            items:
              type: number
      additionalProperties: false
      required:
        - fileId
        - prediction
    DocumentDataCheckingWithoutNfc:
      type: object
      properties:
        equal:
          type: boolean
        valid:
          type: boolean
        category:
          type: string
        conflicts:
          type: array
          items:
            type: string
        message:
          type: string
        mrz:
          type: string
        ocr:
          type: string
        status:
          $ref: '#/components/schemas/CheckStatus'
      additionalProperties: false
      required:
        - category
        - conflicts
        - equal
        - message
        - mrz
        - ocr
        - status
        - valid
    LivenessCheck:
      type: object
      properties:
        deepFakeScore:
          type: number
        group:
          type: string
        description:
          type: string
        tooltip:
          type: string
        considers:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
              type:
                $ref: '#/components/schemas/CheckType'
              status:
                $ref: '#/components/schemas/ConsiderStatus'
              description:
                type: string
            additionalProperties: false
            required:
              - description
              - name
              - status
              - type
      additionalProperties: false
      required:
        - considers
        - group
    DeepFakeCheck:
      type: object
      properties:
        deepFakeScore:
          type: number
        group:
          type: string
        description:
          type: string
        tooltip:
          type: string
        considers:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
              type:
                $ref: '#/components/schemas/CheckType'
              status:
                $ref: '#/components/schemas/ConsiderStatus'
              description:
                type: string
            additionalProperties: false
            required:
              - description
              - name
              - status
              - type
      additionalProperties: false
      required:
        - considers
        - group
    ValidityCheck:
      type: object
      properties:
        dataCheck:
          type: array
          items:
            $ref: '#/components/schemas/ValidityDataCheck'
        group:
          type: string
        description:
          type: string
        tooltip:
          type: string
        considers:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
              type:
                $ref: '#/components/schemas/CheckType'
              status:
                allOf:
                  - $ref: '#/components/schemas/ConsiderStatus'
                description: The data check status
              description:
                type: string
            additionalProperties: false
            required:
              - description
              - name
              - status
              - type
      additionalProperties: false
      required:
        - considers
        - dataCheck
        - group
    DataZooCheck:
      type: object
      properties:
        subDescription:
          type: string
        verificationFields:
          type: array
          items:
            $ref: '#/components/schemas/DataZooVerificationField'
        apiResults:
          $ref: '#/components/schemas/DataZooCheckApiResult'
        group:
          type: string
        description:
          type: string
        tooltip:
          type: string
        considers:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
              type:
                $ref: '#/components/schemas/CheckType'
              status:
                $ref: '#/components/schemas/ConsiderStatus'
              description:
                type: string
            additionalProperties: false
            required:
              - description
              - name
              - status
              - type
      additionalProperties: false
      required:
        - considers
        - group
    ProcessingType:
      enum:
        - done
        - processing
      type: string
    OnboardingSubmission:
      type: object
      properties:
        groups:
          type: array
          items:
            $ref: '#/components/schemas/OnboardingSubmissionGroup'
      additionalProperties: false
      required:
        - groups
    DocumentAnalysisFieldCrossChecking:
      type: object
      properties:
        id:
          type: string
        category:
          type: string
          example: Full name
        valid:
          type: boolean
        status:
          $ref: '#/components/schemas/ConsiderStatus'
        ocr:
          type: string
        form:
          type: string
        message:
          type: string
      additionalProperties: false
      required:
        - category
        - id
        - message
        - status
        - valid
    DocumentAnalysisTransaction:
      type: object
      properties:
        date:
          type: string
          example: '2022-04-08'
        description:
          type: string
          example: Opening Balance
        amount:
          type: string
          example: '-200.00'
        balance:
          type: string
          example: '5234.09'
      additionalProperties: false
    ContentOfCategory:
      type: object
      properties:
        category:
          type: string
        content:
          type: string
        contentType:
          type: string
        extractedFormat:
          type: string
        valid:
          type: boolean
        originContent:
          type: string
        error:
          type: string
        rect:
          type: array
          minItems: 4
          maxItems: 4
          items:
            $ref: '#/components/schemas/Point'
      additionalProperties: false
      required:
        - category
        - content
        - contentType
    AuthenticityCheck:
      type: object
      properties:
        checks:
          $ref: '#/components/schemas/AuthenticityCheckList'
        pageNumber:
          type: number
        imageNumber:
          type: number
      additionalProperties: false
      required:
        - checks
        - imageNumber
        - pageNumber
    ValidityDataCheck:
      type: object
      properties:
        valid:
          type: boolean
        category:
          type: string
        value:
          type: string
        status:
          $ref: '#/components/schemas/ConsiderStatus'
        message:
          type: string
      additionalProperties: false
      required:
        - category
        - status
        - valid
        - value
    DataZooVerificationField:
      type: object
      properties:
        name:
          type: string
        label:
          type: string
        value:
          type: string
        status:
          $ref: '#/components/schemas/ConsiderStatus'
      additionalProperties: false
      required:
        - label
        - name
        - status
        - value
    DataZooCheckApiResult:
      type: object
      properties:
        result:
          enum:
            - error
            - success
          type: string
        searchStatus:
          type: string
        matchStatus:
          type: string
        identityDocumentVerified:
          type: boolean
        birthdateVerified:
          type: boolean
        profileProbability:
          type: number
        verifications:
          $ref: '#/components/schemas/DataZooVerifications'
      additionalProperties: false
      required:
        - birthdateVerified
        - identityDocumentVerified
        - matchStatus
        - profileProbability
        - result
        - searchStatus
    OnboardingSubmissionGroup:
      type: object
      properties:
        name:
          type: string
        order:
          type: number
        fields:
          type: array
          items:
            $ref: '#/components/schemas/OnboardingSubmissionField'
      additionalProperties: false
      required:
        - fields
        - name
    AuthenticityCheckList:
      type: object
      additionalProperties:
        type: object
        properties:
          checkResults:
            type: array
            items:
              $ref: '#/components/schemas/AuthenticityCheckResult'
        additionalProperties: false
        required:
          - checkResults
    DataZooVerifications:
      type: object
      properties:
        dateOfBirth:
          type: boolean
        firstName:
          type: boolean
        lastName:
          type: boolean
        driversLicenceNo:
          type: boolean
        driversLicenceVersion:
          type: boolean
        passportNo:
          type: boolean
      additionalProperties: false
    OnboardingSubmissionField:
      type: object
      properties:
        name:
          type: string
        value:
          type: string
        order:
          type: number
        externalId:
          type: string
        type:
          type: string
          enum:
            - consent
        required:
          type: boolean
        currencySymbol:
          type: string
        phone:
          $ref: '#/components/schemas/OnboardingPhone'
        firstName:
          type: string
        lastName:
          type: string
      additionalProperties: false
      required:
        - name
        - value
    AuthenticityCheckResult:
      type: object
      properties:
        valid:
          type: boolean
        elementCheckDiagnose:
          type: string
        securityFeatureType:
          type: string
        visibility:
          type: string
        criticality:
          type: string
        probabilityPercent:
          type: number
        image:
          $ref: '#/components/schemas/UploadedImage'
        etalonImage:
          $ref: '#/components/schemas/UploadedImage'
      additionalProperties: false
      required:
        - elementCheckDiagnose
        - securityFeatureType
        - valid
    OnboardingPhone:
      type: object
      properties:
        countryCode:
          type: string
          example: GB
        callingCode:
          type: string
          example: '+44'
        nationalNumber:
          type: string
          example: '7700900123'
        internationalNumber:
          type: string
          example: +44 7700 900123
      required:
        - callingCode
        - nationalNumber
        - internationalNumber
      additionalProperties: false
    UploadedImage:
      type: object
      properties:
        fileId:
          type: string
        mediaType:
          type: string
        kind:
          type: string
        templateId:
          type: number
        uri:
          type: string
      additionalProperties: false
      required:
        - fileId
        - kind
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: |
        Your account's API key, found on the Settings page.
        It's required for all API methods.
        You can also send it as an `Authorization: Bearer <api-key>` header
        instead of `X-API-Key`.
    ApiTokenAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: |
        A token generated from /api/v1/token can be
        sent in this same `X-API-Key` header (or as
        `Authorization: Bearer <token>`).
        When you use that token instead of the account API key, the
        application is restricted to requests authenticated with: 1) that
        same token; 2) a token with root access; 3) the account API key.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.