Perkville · Schema

GetV2ChallengesViewResponse

LoyaltySoftware-as-a-ServiceCustomer EngagementReferral ProgramMarketing

Properties

Name Type Description
business string
challenge_id integer
completed boolean
completion_dt stringnull
completion_rewards array
description string
end_date string
fine_print string
incomplete_message string
ineligible_message string
join_dt stringnull
join_message string
join_status string
loc_id integer
name string
require_active_membership boolean
requirements array
restriction_reasons array
slug string
start_date string
success_message string
use_membership_start_date boolean
user_can_join_challenge boolean
user_display_status string
user_end_date stringnull
user_start_date stringnull
valid_customer_attributes array
View JSON Schema on GitHub

JSON Schema

perkville-get-v2-challenges-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-challenges-view-response-schema.json",
  "title": "GetV2ChallengesViewResponse",
  "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/GetV2ChallengesViewResponse",
  "type": "object",
  "properties": {
    "business": {
      "type": "string"
    },
    "challenge_id": {
      "type": "integer"
    },
    "completed": {
      "type": "boolean"
    },
    "completion_dt": {
      "type": [
        "string",
        "null"
      ]
    },
    "completion_rewards": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "perk_id": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "fine_print": {
            "type": "string"
          },
          "points": {
            "type": "integer"
          },
          "type": {
            "type": "string"
          }
        }
      }
    },
    "description": {
      "type": "string"
    },
    "end_date": {
      "type": "string",
      "format": "date"
    },
    "fine_print": {
      "type": "string"
    },
    "incomplete_message": {
      "type": "string"
    },
    "ineligible_message": {
      "type": "string"
    },
    "join_dt": {
      "type": [
        "string",
        "null"
      ]
    },
    "join_message": {
      "type": "string"
    },
    "join_status": {
      "type": "string"
    },
    "loc_id": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "require_active_membership": {
      "type": "boolean"
    },
    "requirements": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "challenge_perk_requirement_id": {
            "type": "integer"
          },
          "completed_requirement": {
            "type": "boolean"
          },
          "description": {
            "type": "string"
          },
          "detail_link": {
            "type": "string"
          },
          "display_order": {
            "type": [
              "string",
              "null"
            ]
          },
          "earned_quantity": {
            "type": "integer"
          },
          "required_quantity": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          }
        }
      }
    },
    "restriction_reasons": {
      "type": "array",
      "items": {}
    },
    "slug": {
      "type": "string"
    },
    "start_date": {
      "type": "string",
      "format": "date"
    },
    "success_message": {
      "type": "string"
    },
    "use_membership_start_date": {
      "type": "boolean"
    },
    "user_can_join_challenge": {
      "type": "boolean"
    },
    "user_display_status": {
      "type": "string"
    },
    "user_end_date": {
      "type": [
        "string",
        "null"
      ]
    },
    "user_start_date": {
      "type": [
        "string",
        "null"
      ]
    },
    "valid_customer_attributes": {
      "type": "array",
      "items": {}
    }
  }
}

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-challenges-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.