blue.hearth.tier

hearth.blue

{
  "id": "blue.hearth.tier",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "amount",
          "currency",
          "unit",
          "createdAt"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 640,
            "description": "Display name of the tier.",
            "maxGraphemes": 64
          },
          "unit": {
            "enum": [
              "monthly",
              "quarterly",
              "semiannual",
              "yearly"
            ],
            "type": "string",
            "description": "Billing period. Closed set, matching network.attested.payment.recurring exactly. Closed rather than knownValues because an unrecognised unit is not forward-compatible, it is uncomputable: a verifier cannot derive a billing period from a value it does not know, so accepting one would mean writing a tier nothing can price."
          },
          "amount": {
            "type": "integer",
            "minimum": 1,
            "description": "Price per billing period, in the smallest unit of the currency (e.g. cents). Matches network.attested.payment.recurring's amount so no conversion is needed when the payment record is written."
          },
          "closedAt": {
            "type": "string",
            "format": "datetime",
            "description": "When this tier stopped accepting NEW subscriptions. Closing is not deleting: existing entitlements keep referencing this record and must keep resolving, so a tier is never removed once anyone has subscribed to it."
          },
          "currency": {
            "type": "string",
            "maxLength": 3,
            "minLength": 3,
            "description": "ISO 4217 currency code, e.g. USD."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "frequency": {
            "type": "integer",
            "default": 1,
            "minimum": 1,
            "description": "Multiplier on unit, so unit=monthly with frequency=3 bills every three months. Defaults to 1. Mirrors network.attested.payment.recurring."
          },
          "description": {
            "type": "string",
            "maxLength": 10000,
            "description": "What a subscriber gets. Prose, not machine-read.",
            "maxGraphemes": 1000
          }
        }
      },
      "description": "A subscription tier offered by a creator. Lives in the creator's repository, so the creator is the repo owner and is not repeated as a field. Tiers are tied to the creator's DID rather than to any publication or app."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against blue.hearth.tier

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:web:hearth.blue
CID
bafyreiel5jy7dxnp3n66s37xucn73zibqf2hs6tfjq3k6s5cdpe5nj4sua
Indexed At
2026-07-22 23:48 UTC
AT-URI
at://did:web:hearth.blue/com.atproto.lexicon.schema/blue.hearth.tier

Lexicon Garden

@