Starbucks · Schema

Starbucks Loyalty Account

A Starbucks Rewards loyalty account with star balance, membership tier, and transaction history.

CoffeeFood ServiceLoyaltyOrderingRetailFortune 500

Properties

Name Type Description
id string Unique identifier for the loyalty account
memberName string Account holder display name
tier string Starbucks Rewards membership tier
starBalance integer Current available star balance for redemption
ytdStars integer Total stars earned year-to-date
memberSince string Date the member joined Starbucks Rewards
status string Current account status
View JSON Schema on GitHub

JSON Schema

starbucks-loyalty-account-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12",
  "$id": "https://api.starbucks.com/schemas/loyalty-account",
  "title": "Starbucks Loyalty Account",
  "description": "A Starbucks Rewards loyalty account with star balance, membership tier, and transaction history.",
  "type": "object",
  "required": ["id", "tier", "starBalance", "status"],
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the loyalty account"
    },
    "memberName": {
      "type": "string",
      "description": "Account holder display name"
    },
    "tier": {
      "type": "string",
      "description": "Starbucks Rewards membership tier",
      "enum": ["Welcome", "Green", "Gold"]
    },
    "starBalance": {
      "type": "integer",
      "minimum": 0,
      "description": "Current available star balance for redemption"
    },
    "ytdStars": {
      "type": "integer",
      "minimum": 0,
      "description": "Total stars earned year-to-date"
    },
    "memberSince": {
      "type": "string",
      "format": "date",
      "description": "Date the member joined Starbucks Rewards"
    },
    "status": {
      "type": "string",
      "enum": ["active", "inactive", "suspended"],
      "description": "Current account status"
    }
  },
  "examples": [
    {
      "id": "loyalty_abc123",
      "memberName": "Jane Smith",
      "tier": "Gold",
      "starBalance": 450,
      "ytdStars": 1240,
      "memberSince": "2020-03-15",
      "status": "active"
    }
  ]
}