Perkville · Schema

GetV2LevelsViewResponse

LoyaltySoftware-as-a-ServiceCustomer EngagementReferral ProgramMarketing

Properties

Name Type Description
badge_url string
business string
is_current_level boolean
level_id integer
name string
point_floor integer
require_active_membership boolean
unlockable_perks array
unlockable_privileges array
points_accumulated_toward_level integer
points_until_this_level integer
level_validity_interval string
level_valid_until_dt string
unlocked_dt stringnull
View JSON Schema on GitHub

JSON Schema

perkville-get-v2-levels-view-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/perkville/json-schema/perkville-get-v2-levels-view-response-schema.json",
  "title": "GetV2LevelsViewResponse",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/perkville-openapi-generated.yml#/components/schemas/GetV2LevelsViewResponse",
  "type": "object",
  "properties": {
    "badge_url": {
      "type": "string"
    },
    "business": {
      "type": "string"
    },
    "is_current_level": {
      "type": "boolean"
    },
    "level_id": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "point_floor": {
      "type": "integer"
    },
    "require_active_membership": {
      "type": "boolean"
    },
    "unlockable_perks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "perk_id": {
            "type": "integer"
          },
          "business": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "points": {
            "type": "integer"
          },
          "type": {
            "type": "string"
          },
          "classification": {
            "type": "string"
          },
          "perk_use": {
            "type": "string"
          },
          "display_order": {
            "type": "integer"
          },
          "from_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "to_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "picture_card": {
            "type": [
              "string",
              "null"
            ]
          },
          "fine_print": {
            "type": "string"
          },
          "redemption_instructions": {
            "type": "string"
          },
          "external_reward_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "required_level": {
            "type": "string"
          },
          "must_redeem_at_home_location": {
            "type": "boolean"
          },
          "redemption_limit_interval": {
            "type": "string"
          },
          "redemption_limit_interval_count": {
            "type": [
              "string",
              "null"
            ]
          },
          "redemption_limit_count": {
            "type": [
              "string",
              "null"
            ]
          },
          "user_redemption_limit_info": {
            "type": [
              "string",
              "null"
            ]
          },
          "valid_customer_attributes": {
            "type": "array",
            "items": {}
          },
          "can_redeem": {
            "type": "boolean"
          }
        }
      }
    },
    "unlockable_privileges": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "perk_id": {
            "type": "integer"
          },
          "business": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "points": {
            "type": "integer"
          },
          "type": {
            "type": "string"
          },
          "classification": {
            "type": "string"
          },
          "perk_use": {
            "type": "string"
          },
          "display_order": {
            "type": "integer"
          },
          "from_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "to_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "picture_card": {
            "type": [
              "string",
              "null"
            ]
          },
          "fine_print": {
            "type": "string"
          },
          "redemption_instructions": {
            "type": "string"
          },
          "external_reward_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "required_level": {
            "type": "string"
          },
          "must_redeem_at_home_location": {
            "type": "boolean"
          },
          "redemption_limit_interval": {
            "type": [
              "string",
              "null"
            ]
          },
          "redemption_limit_interval_count": {
            "type": [
              "string",
              "null"
            ]
          },
          "redemption_limit_count": {
            "type": [
              "string",
              "null"
            ]
          },
          "user_redemption_limit_info": {
            "type": [
              "string",
              "null"
            ]
          },
          "valid_customer_attributes": {
            "type": "array",
            "items": {}
          },
          "can_redeem": {
            "type": "boolean"
          }
        }
      }
    },
    "points_accumulated_toward_level": {
      "type": "integer"
    },
    "points_until_this_level": {
      "type": "integer"
    },
    "level_validity_interval": {
      "type": "string"
    },
    "level_valid_until_dt": {
      "type": "string",
      "format": "date"
    },
    "unlocked_dt": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/perkville-get-v2-levels-view-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.