{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ibm-db2/json-schema/ibm-db2-database-storage-schema-schema.json",
  "title": "DatabaseStorageSchema",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ibm-db2-openapi.yml#/components/schemas/DatabaseStorageSchema",
  "type": "object",
  "required": [
    "schema",
    "data_logical_size_kb",
    "index_logical_size_kb",
    "long_logical_size_kb",
    "lob_logical_size_kb",
    "xml_logical_size_kb",
    "column_organized_data_logical_size_kb",
    "total_logical_size_kb",
    "data_physical_size_kb",
    "index_physical_size_kb",
    "long_physical_size_kb",
    "lob_physical_size_kb",
    "xml_physical_size_kb",
    "column_organized_data_physical_size_kb",
    "total_physical_size_kb"
  ],
  "properties": {
    "schema": {
      "type": "string",
      "description": "Schema name"
    },
    "data_logical_size_kb": {
      "type": "integer",
      "format": "int64",
      "description": "Amount of disk space logically allocated for row-organized data in all tables in the schema, reported in kilobytes."
    },
    "index_logical_size_kb": {
      "type": "integer",
      "format": "int64",
      "description": "Amount of disk space logically allocated for the indexes defined in all tables in the schema, reported in kilobytes."
    },
    "long_logical_size_kb": {
      "type": "integer",
      "format": "int64",
      "description": "Amount of disk space logically allocated for long field data in all tables in the schema, reported in kilobytes."
    },
    "lob_logical_size_kb": {
      "type": "integer",
      "format": "int64",
      "description": "Amount of disk space logically allocated for LOB data in all tables in the schema, reported in kilobytes."
    },
    "xml_logical_size_kb": {
      "type": "integer",
      "format": "int64",
      "description": "Amount of disk space logically allocated for XML data in all tables in the schema, reported in kilobytes."
    },
    "column_organized_data_logical_size_kb": {
      "type": "integer",
      "format": "int64",
      "description": "Amount of disk space logically allocated for column-organized data in all tables in the schema, reported in kilobytes."
    },
    "total_logical_size_kb": {
      "type": "integer",
      "format": "int64",
      "description": "Total amount of logically allocated disk space for all tables in the schema, reported in kilobytes."
    },
    "data_physical_size_kb": {
      "type": "integer",
      "format": "int64",
      "description": "Amount of disk space physically allocated in all tables in the schema, reported in kilobytes."
    },
    "index_physical_size_kb": {
      "type": "integer",
      "format": "int64",
      "description": "Amount of disk space physically allocated for the indexes defined in all tables in the schema, reported in kilobytes."
    },
    "long_physical_size_kb": {
      "type": "integer",
      "format": "int64",
      "description": "Amount of disk space physically allocated for long field data in all tables in the schema, reported in kilobytes."
    },
    "lob_physical_size_kb": {
      "type": "integer",
      "format": "int64",
      "description": "Amount of disk space logically allocated for LOB data in all tables in the schema, reported in kilobytes."
    },
    "xml_physical_size_kb": {
      "type": "integer",
      "format": "int64",
      "description": "Amount of disk space physically allocated for XML data in all tables in the schema, reported in kilobytes."
    },
    "column_organized_data_physical_size_kb": {
      "type": "integer",
      "format": "int64",
      "description": "Amount of disk space physically allocated for column-organized data in all tables in the schema, reported in kilobytes."
    },
    "total_physical_size_kb": {
      "type": "integer",
      "format": "int64",
      "description": "Total amount of physically allocated disk space for all tables in the schema, reported in kilobytes."
    }
  }
}