tools.ozone.inbox.getUnreadCount

ozone-lexicons.bsky.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "unreadCounts": {
              "ref": "#unreadCounts",
              "type": "ref"
            }
          },
          "required": [
            "unreadCounts"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "did": {
            "description": "Account to preview. Only Ozone staff can read another account; this does not change its read state.",
            "format": "did",
            "type": "string"
          },
          "section": {
            "knownValues": [
              "reports",
              "subjects",
              "accountStatus"
            ],
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    },
    "unreadCounts": {
      "properties": {
        "accountStatus": {
          "maximum": 1,
          "minimum": 0,
          "type": "integer"
        },
        "reports": {
          "minimum": 0,
          "type": "integer"
        },
        "subjects": {
          "minimum": 0,
          "type": "integer"
        },
        "total": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "total"
      ],
      "type": "object"
    }
  },
  "id": "tools.ozone.inbox.getUnreadCount",
  "lexicon": 1
}

Validate Record

Validate a record against tools.ozone.inbox.getUnreadCount

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:33dt5kftu3jq2h5h4jjlqezt
CID
bafyreieoh6dnfrzb4xnrdcwxqy5hnrtngouewibncderjx6b7f6ku35soy
Indexed At
2026-10-07 18:19 UTC
AT-URI
at://did:plc:33dt5kftu3jq2h5h4jjlqezt/com.atproto.lexicon.schema/tools.ozone.inbox.getUnreadCount

Similar Lexicons

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

Lexicon Garden

@