pet.trezy.tier

trezy.pet

Documentation

A rarity tier and its base price, published in the game's own repo (did:plc:ollch4g7tes2reb5eceiwuol). No prices live in code at all, so repricing is publishing a record. Only records from that DID are ever read — record.index:pet.trezy.tier refuses the rest, and a forged tier reprices every species in it at once.

main record

A rarity tier and its base price, published in the game's own repo (did:plc:ollch4g7tes2reb5eceiwuol). No prices live in code at all, so repricing is publishing a record. Only records from that DID are ever read — record.index:pet.trezy.tier refuses the rest, and a forged tier reprices every species in it at once.

Record Key any Any valid record key

Properties

color string Optional

Hex, for the shop and anywhere else a tier is shown. Optional because nothing reads it yet; it is here so adding it later does not mean re-publishing every record.

maxLength: 32 bytes
displayName string Required

No description available.

maxLength: 64 bytes
id string Required

Matches the `tier` on a species record. Renaming one orphans every species pointing at it, and an orphaned species is unpriceable rather than cheap — createPet refuses the sale.

maxLength: 64 bytes
price integer Required

The base price in coins for species in this tier. Safe to change at any time, including downward: the ledger stores the price actually paid, never a live lookup.

minimum: 0
rank integer Required

Sort order, ascending by value. Leaves gaps for tiers inserted later.

minimum: 0
View raw schema
{
  "key": "any",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "id",
      "displayName",
      "price",
      "rank"
    ],
    "properties": {
      "id": {
        "type": "string",
        "maxLength": 64,
        "description": "Matches the `tier` on a species record. Renaming one orphans every species pointing at it, and an orphaned species is unpriceable rather than cheap — createPet refuses the sale."
      },
      "rank": {
        "type": "integer",
        "minimum": 0,
        "description": "Sort order, ascending by value. Leaves gaps for tiers inserted later."
      },
      "color": {
        "type": "string",
        "maxLength": 32,
        "description": "Hex, for the shop and anywhere else a tier is shown. Optional because nothing reads it yet; it is here so adding it later does not mean re-publishing every record."
      },
      "price": {
        "type": "integer",
        "minimum": 0,
        "description": "The base price in coins for species in this tier. Safe to change at any time, including downward: the ledger stores the price actually paid, never a live lookup."
      },
      "displayName": {
        "type": "string",
        "maxLength": 64
      }
    }
  },
  "description": "A rarity tier and its base price, published in the game's own repo (did:plc:ollch4g7tes2reb5eceiwuol). No prices live in code at all, so repricing is publishing a record. Only records from that DID are ever read — record.index:pet.trezy.tier refuses the rest, and a forged tier reprices every species in it at once."
}

Lexicon Garden

@