{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/red-hat-3scale/json-schema/red-hat-3scale-application-list-schema.json",
  "title": "ApplicationList",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-3scale-applications-api-openapi.yml#/components/schemas/ApplicationList",
  "type": "object",
  "properties": {
    "applications": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Application"
      }
    }
  },
  "$defs": {
    "Application": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        },
        "state": {
          "type": "string",
          "enum": [
            "live",
            "suspended"
          ]
        },
        "user_account_id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "user_key": {
          "type": "string",
          "description": "API key (for API key authentication mode)"
        },
        "plan": {
          "$ref": "#/$defs/ApplicationPlan"
        }
      }
    },
    "ApplicationPlan": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "system_name": {
          "type": "string"
        },
        "state": {
          "type": "string",
          "enum": [
            "published",
            "hidden"
          ]
        },
        "approval_required": {
          "type": "boolean"
        },
        "setup_fee": {
          "type": "number"
        },
        "cost_per_month": {
          "type": "number"
        }
      }
    }
  }
}