dev.frogspace.stacks.query

a named saved query: a structured filter over the owner's saved citations, evaluated client-side. no free-text grammar.

Repository @spacefrog.dev did:plc:b3ddarwfwuulrq7p2cfwhvmz namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritystacks.frogspace.dev
Indexed
cid bafyreia23jnvvorjyll5w57ae47wfs5alobo4t27dgvwqcgaxm7jl5n24a

Checks

Valid
  • unlimited-string defs.filter.properties.readStateNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "filter": {
      "description": "structured filter over saved citations. all fields are optional; an empty filter matches everything.",
      "properties": {
        "addedAfter": {
          "description": "the item must have been saved at or after this time.",
          "format": "datetime",
          "type": "string"
        },
        "addedBefore": {
          "description": "the item must have been saved at or before this time.",
          "format": "datetime",
          "type": "string"
        },
        "collection": {
          "description": "the item must belong to this collection record AT-URI.",
          "format": "at-uri",
          "type": "string"
        },
        "ratingMax": {
          "description": "the item rating must be at most this value.",
          "maximum": 5,
          "minimum": 1,
          "type": "integer"
        },
        "ratingMin": {
          "description": "the item rating must be at least this value.",
          "maximum": 5,
          "minimum": 1,
          "type": "integer"
        },
        "readState": {
          "description": "the item read state must equal this value.",
          "knownValues": [
            "unread",
            "reading",
            "read"
          ],
          "type": "string"
        },
        "subjectType": {
          "description": "the subject's collection NSID must equal this value (e.g. app.bsky.feed.post).",
          "format": "nsid",
          "type": "string"
        },
        "tagsAll": {
          "description": "the item must carry every one of these tags.",
          "items": {
            "maxGraphemes": 64,
            "maxLength": 256,
            "type": "string"
          },
          "maxLength": 32,
          "type": "array"
        },
        "tagsAny": {
          "description": "the item must carry at least one of these tags.",
          "items": {
            "maxGraphemes": 64,
            "maxLength": 256,
            "type": "string"
          },
          "maxLength": 32,
          "type": "array"
        }
      },
      "type": "object"
    },
    "main": {
      "description": "a named saved query: a structured filter over the owner's saved citations, evaluated client-side. no free-text grammar.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "time the query was saved. preserve it when editing.",
            "format": "datetime",
            "type": "string"
          },
          "filter": {
            "description": "closed filter object. all fields are optional; an empty filter matches every saved citation. clients reject unknown keys.",
            "ref": "#filter",
            "type": "ref"
          },
          "name": {
            "description": "human-readable query name, at most 128 graphemes.",
            "maxGraphemes": 128,
            "maxLength": 512,
            "type": "string"
          }
        },
        "required": [
          "name",
          "filter",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "dev.frogspace.stacks.query",
  "lexicon": 1
}