{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Account",
  "title": "Account",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the OpsGenie account."
    },
    "userCount": {
      "type": "integer",
      "description": "Number of users in the account."
    },
    "plan": {
      "type": "object",
      "properties": {
        "maxUserCount": {
          "type": "integer",
          "description": "Maximum number of users allowed by the plan."
        },
        "name": {
          "type": "string",
          "description": "Name of the current plan."
        },
        "isYearly": {
          "type": "boolean",
          "description": "Whether the plan is billed yearly."
        }
      },
      "description": "Plan information for the account."
    }
  }
}