Document

Schema #/components/schemas/Document of contract 1.0.0-draft.14.

  • id Uuidrequiredread-only

    Fields of id
  • kind stringrequired

    One of: "kyb_company", "kyb_person_id", "kyb_proof_of_address", "kyb_ownership", "kyb_other", "attachment", "bulk_payments", "statement", "confirmation", "export", "other"

  • fileName stringrequired

    max length 255

  • contentType stringrequired

    One of: "application/pdf", "image/png", "image/jpeg", "text/csv", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"

  • size integerrequired

    Bytes.

    min 1 · max 20971520

  • sha256 stringread-only

    pattern ^[a-f0-9]{64}$

  • scanStatus DocumentScanStatusrequiredread-only

    Fields of scanStatus
  • status DocumentStatusrequiredread-only

    Fields of status
  • uploadedBy string | null (uuid)read-only

    Uploading user; null for platform-generated documents.

  • createdAt Timestamprequiredread-only

    Fields of createdAt