Thanx · JSON Structure

Consumer Api User Structure

User schema from Thanx Consumer API

Type: object Properties: 7
RestaurantLoyaltyGuest EngagementMarketingCRMOnline OrderingWebhooksPointsRewardsCampaigns

User is a JSON Structure definition published by Thanx, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id email phone first_name last_name birth_date zip_code

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thanx/refs/heads/main/json-structure/consumer-api-user-structure.json",
  "name": "User",
  "description": "User schema from Thanx Consumer API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "example": "92b7b0dac4"
    },
    "email": {
      "type": "string",
      "example": "jane.smith@example.com"
    },
    "phone": {
      "type": "string",
      "description": "E.164 formatted phone number.",
      "example": "+14158672345"
    },
    "first_name": {
      "type": "string",
      "example": "Jane"
    },
    "last_name": {
      "type": "string",
      "example": "Smith"
    },
    "birth_date": {
      "type": "object",
      "properties": {
        "year": {
          "type": "int32",
          "example": 1987
        },
        "month": {
          "type": "int32",
          "example": 8
        },
        "day": {
          "type": "int32",
          "example": 14
        }
      }
    },
    "zip_code": {
      "type": "string",
      "example": "94105"
    }
  }
}