{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bloomberg-aim/json-schema/bloomberg-aim-universe-collection-schema.json",
  "title": "UniverseCollection",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bloomberg-aim-universes-api-openapi.yml#/components/schemas/UniverseCollection",
  "type": "object",
  "properties": {
    "contains": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Universe"
      }
    }
  },
  "$defs": {
    "SecurityIdentifier": {
      "type": "object",
      "properties": {
        "@type": {
          "type": "string",
          "const": "Identifier"
        },
        "identifierType": {
          "type": "string",
          "description": "Type of identifier",
          "enum": [
            "TICKER",
            "BB_GLOBAL",
            "ISIN",
            "CUSIP",
            "SEDOL",
            "BB_UNIQUE",
            "FIGI"
          ]
        },
        "identifierValue": {
          "type": "string",
          "description": "The identifier value"
        }
      }
    },
    "Universe": {
      "type": "object",
      "properties": {
        "@type": {
          "type": "string",
          "const": "Universe"
        },
        "identifier": {
          "type": "string",
          "description": "Unique universe identifier"
        },
        "title": {
          "type": "string",
          "description": "Human-readable universe title"
        },
        "description": {
          "type": "string"
        },
        "contains": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SecurityIdentifier"
          }
        }
      }
    }
  }
}