{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-postgresql/json-schema/microsoft-azure-postgresql-quota-usage-list-schema.json",
  "title": "QuotaUsageList",
  "description": "Capability for the PostgreSQL server",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-postgresql-subscriptions-api-openapi.yml#/components/schemas/QuotaUsageList",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The QuotaUsage items on this page",
      "items": {
        "$ref": "#/$defs/QuotaUsage"
      },
      "readOnly": true,
      "x-ms-identifiers": [
        "name"
      ]
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "NameProperty": {
      "type": "object",
      "description": "Name property for quota usage",
      "properties": {
        "value": {
          "type": "string",
          "description": "Name value"
        },
        "localizedValue": {
          "type": "string",
          "description": "Localized name"
        }
      }
    },
    "QuotaUsage": {
      "type": "object",
      "description": "Quota usage for servers",
      "properties": {
        "name": {
          "$ref": "#/$defs/NameProperty",
          "description": "Name of quota usage for servers"
        },
        "limit": {
          "type": "integer",
          "format": "int64",
          "description": "Quota limit"
        },
        "unit": {
          "type": "string",
          "description": "Quota unit",
          "default": "Count"
        },
        "currentValue": {
          "type": "integer",
          "format": "int64",
          "description": "Current Quota usage value"
        },
        "id": {
          "type": "string",
          "description": "Fully qualified ARM resource Id"
        }
      }
    }
  }
}