{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/swiftsign-ca/json-schema/swiftsign-ca-envelope-list-schema.json",
  "title": "EnvelopeList",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/swiftsign-ca-api-openapi.json#/components/schemas/EnvelopeList",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EnvelopeListItem"
      }
    },
    "has_more": {
      "type": "boolean"
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "data",
    "has_more",
    "next_cursor"
  ],
  "$defs": {
    "EnvelopeListItem": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "subject": {
          "type": "string"
        },
        "status": {
          "$ref": "#/$defs/EnvelopeStatus"
        },
        "livemode": {
          "type": "boolean"
        },
        "createdAt": {
          "type": "string"
        },
        "recipientCount": {
          "type": "integer"
        }
      },
      "required": [
        "id",
        "subject",
        "status",
        "livemode",
        "createdAt",
        "recipientCount"
      ]
    },
    "EnvelopeStatus": {
      "type": "string",
      "enum": [
        "DRAFT",
        "SENT",
        "COMPLETED",
        "DECLINED",
        "VOIDED"
      ]
    }
  }
}