pet.trezy.getFeatureStatus

trezy.pet

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "current": {
      "properties": {
        "pet": {
          "format": "at-uri",
          "type": "string"
        },
        "petName": {
          "description": "Absent when the pet's name can't be read — its trezy_pet_pets row is missing or hasn't caught up with the feature record yet. Requiring it would fail response validation and turn a valid answer into a 500 on that lag.",
          "type": "string"
        },
        "replied": {
          "type": "boolean"
        },
        "week": {
          "maxLength": 8,
          "type": "string"
        }
      },
      "required": [
        "week",
        "pet",
        "replied"
      ],
      "type": "object"
    },
    "main": {
      "description": "The caller's own Pet of the Week state: consent, the account-wide interaction count, this week's pick and the last posted feature. ⚠ IT ONLY EVER DESCRIBES THE CALLER; there is no parameter that names anybody else.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "consenting": {
              "type": "boolean"
            },
            "current": {
              "ref": "#current",
              "type": "ref"
            },
            "error": {
              "knownValues": [
                "not-authenticated"
              ],
              "type": "string"
            },
            "interactions": {
              "description": "Account-wide, not per pet.",
              "minimum": 0,
              "type": "integer"
            },
            "lastPosted": {
              "ref": "#posted",
              "type": "ref"
            },
            "message": {
              "type": "string"
            }
          },
          "required": [],
          "type": "object"
        }
      },
      "type": "query"
    },
    "posted": {
      "properties": {
        "post": {
          "format": "at-uri",
          "type": "string"
        },
        "week": {
          "maxLength": 8,
          "type": "string"
        }
      },
      "required": [
        "week",
        "post"
      ],
      "type": "object"
    }
  },
  "id": "pet.trezy.getFeatureStatus",
  "lexicon": 1
}

Validate Record

Validate a record against pet.trezy.getFeatureStatus

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:ollch4g7tes2reb5eceiwuol
CID
bafyreiem4nttyn743u66ud6gu5ejx4ikjnyn77suu5n2ta4wm6fmb5ubc4
Indexed At
2026-09-22 18:24 UTC
AT-URI
at://did:plc:ollch4g7tes2reb5eceiwuol/com.atproto.lexicon.schema/pet.trezy.getFeatureStatus

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Feature records, newest week first, with what a reader needs to show them: the pet's facts, the keeper's reply and consent. Public: every field here is already public in somebody's repo.

  • Keepers who could be Pet of the Week as of a moment, and for each the pets that could be featured. A keeper qualifies when they have a featureConsent record, an activity record in the 14 days before asOf, no refused rec…

  • One week's Pet of the Week, held in the publisher's repo. The record key is the ISO week (e.g. 2026-W39), so there is exactly one per week and every step that writes it is idempotent. ⚠ ONLY THE PUBLISHER'S COPY COUNT…

Lexicon Garden

@