pet.trezy.getFeatureCandidates
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"keeper": {
"properties": {
"did": {
"format": "did",
"type": "string"
},
"pets": {
"items": {
"ref": "#pet",
"type": "ref"
},
"type": "array"
}
},
"required": [
"did",
"pets"
],
"type": "object"
},
"main": {
"description": "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 record in the 90 days before it, were not the keeper of a feature picked in the 365 days before it, and were not passed over in the 84 days before it. A pet qualifies when it is not retired and has at least 3 interactions. Every window is measured from asOf, never from the clock, so a dry run and a real run agree. Everything returned is already public.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"error": {
"knownValues": [
"missing-as-of"
],
"type": "string"
},
"keepers": {
"items": {
"ref": "#keeper",
"type": "ref"
},
"type": "array"
},
"message": {
"type": "string"
}
},
"required": [],
"type": "object"
}
},
"parameters": {
"properties": {
"asOf": {
"format": "datetime",
"type": "string"
},
"ignoreWeek": {
"description": "Leave this week's feature out of the exclusions, so the week being re-picked does not rule out its own keeper.",
"maxLength": 8,
"type": "string"
}
},
"required": [
"asOf"
],
"type": "params"
},
"type": "query"
},
"pet": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"interactions": {
"minimum": 0,
"type": "integer"
},
"name": {
"type": "string"
},
"species": {
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"name",
"species",
"createdAt",
"interactions"
],
"type": "object"
}
},
"id": "pet.trezy.getFeatureCandidates",
"lexicon": 1
}
Metadata
- DID
-
did:plc:ollch4g7tes2reb5eceiwuol - CID
-
bafyreic5wjqcojjdzukqasj2ram6ey7njauewcvv2tjmvdxjv4j7koqyjq - Indexed At
- 2026-09-22 18:24 UTC
- AT-URI
-
at://did:plc:ollch4g7tes2reb5eceiwuol/com.atproto.lexicon.schema/pet.trezy.getFeatureCandidates
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
pet.trezy.getFeatures query
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.
-
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…
-
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.