{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/marketsdk/json-schema/marketsdk-verification-list-schema.json",
  "title": "VerificationList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/marketsdk-trust-api-openapi.yml#/components/schemas/VerificationList",
  "type": "object",
  "properties": {
    "object": {
      "type": "string",
      "enum": [
        "list"
      ]
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/VerificationObject"
      }
    },
    "has_more": {
      "type": "boolean",
      "description": "Whether another page follows."
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ],
      "description": "Pass as `starting_after` (or `cursor` for search) to get the next page."
    }
  },
  "required": [
    "object",
    "data",
    "has_more",
    "next_cursor"
  ],
  "$defs": {
    "VerificationObject": {
      "type": "object",
      "properties": {
        "object": {
          "type": "string",
          "enum": [
            "verification"
          ]
        },
        "id": {
          "type": "string"
        },
        "seller": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "requires_input",
            "processing",
            "verified",
            "canceled"
          ],
          "description": "Stripe Identity's status for this attempt. `requires_input` with a `last_error_code` means the seller must try again."
        },
        "last_error_code": {
          "type": [
            "string",
            "null"
          ],
          "description": "Stripe's reason the last attempt failed, such as `document_expired`."
        },
        "url": {
          "type": [
            "string",
            "null"
          ],
          "description": "The Stripe-hosted verification page. Returned only when the verification is created. Send the seller there."
        },
        "stripe_session": {
          "type": [
            "string",
            "null"
          ],
          "description": "The Stripe Identity verification session."
        },
        "verified_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        }
      },
      "required": [
        "object",
        "id",
        "seller",
        "status",
        "last_error_code",
        "url",
        "stripe_session",
        "verified_at",
        "created_at",
        "updated_at"
      ]
    }
  }
}