{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle/json-schema/oracle-byol-realm-allocation-collection-schema.json",
  "title": "ByolRealmAllocationCollection",
  "description": "A list of BYOL Realm Allocations.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-byol-api-openapi.yml#/components/schemas/ByolRealmAllocationCollection",
  "properties": {
    "items": {
      "description": "A list of BYOL Realm Allocations.",
      "items": {
        "$ref": "#/$defs/ByolRealmAllocationSummary"
      },
      "type": "array"
    }
  },
  "required": [
    "items"
  ],
  "type": "object",
  "$defs": {
    "ByolRealmAllocationSummary": {
      "description": "Represents a BYOL allocation for a specific region\n",
      "properties": {
        "allocatedUnits": {
          "description": "The quantity of licensed units that allocated to this region.\n",
          "type": "integer"
        },
        "byolId": {
          "description": "The [OCID](/Content/General/Concepts/identifiers.htm) of the BYOL resource from which this BYOL Allocation is derived.\n",
          "type": "string"
        },
        "compartmentId": {
          "description": "The [OCID](/Content/General/Concepts/identifiers.htm) of the compartment that\ncontains the BYOL Allocation.\n",
          "type": "string"
        },
        "region": {
          "description": "The region name for this allocation, in the format defined by \n[Region Identifier](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm).\nExample: `ap-sydney-1`\n",
          "type": "string"
        },
        "timeCreated": {
          "description": "The date and time the BYOL Allocation was created, in the format defined by\n[RFC3339](https://tools.ietf.org/html/rfc3339).\nExample: `2016-08-25T21:10:29.600Z`\n",
          "format": "date-time",
          "type": "string"
        },
        "timeUpdated": {
          "description": "The date and time the BYOL Allocation was updated, in the format defined by\n[RFC3339](https://tools.ietf.org/html/rfc3339).\n",
          "format": "date-time",
          "type": "string"
        }
      },
      "required": [
        "byolId",
        "region",
        "compartmentId",
        "allocatedUnits",
        "timeCreated",
        "timeUpdated"
      ],
      "type": "object"
    }
  }
}