pet.trezy.getFeatures
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"entry": {
"properties": {
"consenting": {
"type": "boolean"
},
"keeper": {
"format": "did",
"type": "string"
},
"passedOver": {
"items": {
"format": "did",
"type": "string"
},
"type": "array"
},
"pet": {
"ref": "#pet",
"type": "ref"
},
"pickedAt": {
"format": "datetime",
"type": "string"
},
"post": {
"format": "at-uri",
"type": "string"
},
"postedAt": {
"format": "datetime",
"type": "string"
},
"reply": {
"ref": "#reply",
"type": "ref"
},
"status": {
"knownValues": [
"picked",
"posted",
"skipped"
],
"type": "string"
},
"week": {
"maxLength": 8,
"type": "string"
}
},
"required": [
"week",
"status",
"passedOver",
"pickedAt",
"consenting"
],
"type": "object"
},
"main": {
"description": "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.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"type": "string"
},
"features": {
"items": {
"ref": "#entry",
"type": "ref"
},
"type": "array"
}
},
"required": [
"features"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"description": "A week. Returns weeks strictly before it.",
"type": "string"
},
"limit": {
"default": 25,
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"pet": {
"format": "at-uri",
"type": "string"
},
"status": {
"knownValues": [
"picked",
"posted",
"skipped"
],
"type": "string"
},
"week": {
"maxLength": 8,
"type": "string"
}
},
"type": "params"
},
"type": "query"
},
"pet": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"interactions": {
"minimum": 0,
"type": "integer"
},
"name": {
"type": "string"
},
"retired": {
"type": "boolean"
},
"species": {
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"name",
"species",
"createdAt",
"interactions",
"retired"
],
"type": "object"
},
"reply": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"decline": {
"type": "boolean"
},
"text": {
"maxGraphemes": 140,
"maxLength": 1400,
"type": "string"
}
},
"required": [
"decline",
"text",
"createdAt"
],
"type": "object"
}
},
"id": "pet.trezy.getFeatures",
"lexicon": 1
}
Metadata
- DID
-
did:plc:ollch4g7tes2reb5eceiwuol - CID
-
bafyreihlgnxsq4pgufy7kfpcweycg2ts2uy7gtmfrmju3jgp37oof7a7um - Indexed At
- 2026-09-22 18:24 UTC
- AT-URI
-
at://did:plc:ollch4g7tes2reb5eceiwuol/com.atproto.lexicon.schema/pet.trezy.getFeatures
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
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…
-
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.
-
pet.trezy.feature record
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…
-
pet.trezy.getNewPets query
The pets adopted in the 7 days before asOf, for the weekly arrivals post. Live pets only: a pet retired inside the same week is not an arrival any more. ⚠ `total` IS THE TRUE COUNT AND `pets` IS ONLY WHAT FITS ON STAG…
-
pet.trezy.featureReply record
The featured keeper's answer for one week, keyed by that ISO week. Either a note to quote in the post (text, possibly empty) or decline: true for 'not this time'. Written only by pet.trezy.replyToFeature.