{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bloomberg-aim/json-schema/bloomberg-aim-distribution-collection-schema.json",
  "title": "DistributionCollection",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bloomberg-aim-distributions-api-openapi.yml#/components/schemas/DistributionCollection",
  "type": "object",
  "properties": {
    "contains": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Distribution"
      }
    }
  },
  "$defs": {
    "Distribution": {
      "type": "object",
      "properties": {
        "@type": {
          "type": "string",
          "const": "Distribution"
        },
        "identifier": {
          "type": "string"
        },
        "snapshotTime": {
          "type": "string",
          "format": "date-time"
        },
        "status": {
          "type": "string",
          "enum": [
            "pending",
            "completed",
            "error"
          ]
        },
        "links": {
          "type": "object",
          "properties": {
            "replies": {
              "type": "string",
              "format": "uri"
            }
          }
        }
      }
    }
  }
}