{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clearstreet8e71/json-schema/clearstreet8e71-create-entitlements-request-schema.json",
  "title": "CreateEntitlementsRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clearstreet8e71-omni-ai-api-openapi.yml#/components/schemas/CreateEntitlementsRequest",
  "type": "object",
  "required": [
    "agreement_id",
    "entitlement_codes",
    "account_ids"
  ],
  "properties": {
    "account_ids": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int64"
      }
    },
    "agreement_id": {
      "type": "string"
    },
    "entitlement_codes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EntitlementCode"
      }
    }
  },
  "$defs": {
    "EntitlementCode": {
      "type": "string",
      "description": "Stable entitlement code granted by an agreement.",
      "enum": [
        "omni.account_data"
      ]
    }
  }
}