pet.trezy.getNewPets

trezy.pet

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "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 STAGE — the post's number must be how many animals arrived, not how many the renderer could draw. Carries no keeper DID and no pet name, because the post says neither — `#pet` carries `rkey` rather than the at-URI so the caller never even receives the keeper's DID, which sits in the URI's authority segment.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "pets": {
              "items": {
                "ref": "#pet",
                "type": "ref"
              },
              "type": "array"
            },
            "total": {
              "description": "Every qualifying pet, including the ones beyond `limit`.",
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "pets",
            "total"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "asOf": {
            "description": "The moment the week is measured back from. Never the clock, so a dry run and the real run agree.",
            "format": "datetime",
            "type": "string"
          },
          "limit": {
            "default": 24,
            "maximum": 50,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "asOf"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "pet": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "rkey": {
          "description": "The pet's own record key, never the at-URI: the URI's authority segment is the keeper's DID, and this endpoint names no keeper.",
          "type": "string"
        },
        "species": {
          "type": "string"
        }
      },
      "required": [
        "rkey",
        "species",
        "createdAt"
      ],
      "type": "object"
    }
  },
  "id": "pet.trezy.getNewPets",
  "lexicon": 1
}

Validate Record

Validate a record against pet.trezy.getNewPets

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:ollch4g7tes2reb5eceiwuol
CID
bafyreiafzcgvg2xm4slx73cmid7xcspvrjjptqxb4w4gbghyh2x32tsmpe
Indexed At
2026-09-23 13:50 UTC
AT-URI
at://did:plc:ollch4g7tes2reb5eceiwuol/com.atproto.lexicon.schema/pet.trezy.getNewPets

Similar Lexicons

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

  • One week's arrivals post, held in the publisher's repo, keyed by the ISO week (e.g. 2026-W40). It is both the history and the idempotency guard: a run that finds this week's record posts nothing. ⚠ ONLY THE PUBLISHER'…

  • 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 at-uris of a player's pets, newest first, optionally filtered by state. Returns IDs only by default.

  • 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.

Lexicon Garden

@