{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/token-io/main/json-schema/token-io-io-token-proto-gateway-get-documents-response-schema.json",
  "title": "io.token.proto.gateway.GetDocumentsResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/token-io-subtpp-api-openapi.yml#/components/schemas/io.token.proto.gateway.GetDocumentsResponse",
  "type": "object",
  "properties": {
    "documents": {
      "items": {
        "$ref": "#/$defs/io.token.proto.common.member.Document"
      },
      "type": "array"
    }
  },
  "$defs": {
    "io.token.proto.common.member.Document": {
      "type": "object",
      "properties": {
        "createdAtMs": {
          "format": "string",
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "documentName": {
          "type": "string"
        },
        "fileId": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "memberId": {
          "type": "string"
        },
        "status": {
          "$ref": "#/$defs/io.token.proto.common.member.DocumentStatus"
        },
        "subTppId": {
          "type": "string"
        },
        "updatedAtMs": {
          "format": "string",
          "type": "string"
        },
        "uploadOptional": {
          "format": "boolean",
          "type": "boolean"
        }
      }
    },
    "io.token.proto.common.member.DocumentStatus": {
      "enum": [
        "INVALID_DOCUMENT_STATUS",
        "PENDING_UPLOAD",
        "UPLOADED",
        "WITHDRAWN"
      ],
      "default": "INVALID_DOCUMENT_STATUS",
      "type": "string"
    }
  }
}