{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/namirial/json-schema/namirial-envelope-bulk-get-response-schema.json",
  "title": "EnvelopeBulkGetResponse",
  "description": "The response model for requesting the bulk envelope overview.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/namirial-envelopebulk-api-openapi.yml#/components/schemas/EnvelopeBulkGetResponse",
  "type": "object",
  "properties": {
    "BulkStatus": {
      "description": "The status of the BulkParent envelope.",
      "enum": [
        "Active",
        "PartlyCompleted",
        "Completed"
      ],
      "type": "string",
      "x-ms-enum": {
        "name": "BulkStatus",
        "modelAsString": false
      }
    },
    "Children": {
      "description": "The children of the bulk envelope.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/EnvelopeBulkGetChildEnvelope"
      }
    }
  },
  "$defs": {
    "EnvelopeBulkGetChildEnvelope": {
      "description": "The child envelope of a BulkParent.",
      "type": "object",
      "properties": {
        "EnvelopeId": {
          "description": "The identifier of the child envelope.",
          "type": "string"
        },
        "SentDate": {
          "format": "date-time",
          "description": "Date when the envelope was sent.",
          "type": "string"
        },
        "Status": {
          "description": "The status of the envelope.",
          "enum": [
            "Active",
            "Completed",
            "Canceled",
            "Expired",
            "Rejected"
          ],
          "type": "string",
          "x-ms-enum": {
            "name": "EnvelopeStatusExternal",
            "modelAsString": false
          }
        },
        "Email": {
          "description": "The email address of the bulk recipient for which this child envelope was created.",
          "type": "string"
        }
      }
    }
  }
}