{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/red-hat-3scale/json-schema/red-hat-3scale-top-applications-list-schema.json",
  "title": "TopApplicationsList",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-3scale-services-api-openapi.yml#/components/schemas/TopApplicationsList",
  "type": "object",
  "properties": {
    "applications": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TopApplication"
      }
    }
  },
  "$defs": {
    "TopApplication": {
      "type": "object",
      "properties": {
        "application": {
          "type": "object",
          "properties": {
            "id": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            },
            "account": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "org_name": {
                  "type": "string"
                }
              }
            }
          }
        },
        "total": {
          "type": "integer",
          "description": "Total usage for this application in the period"
        }
      }
    }
  }
}