tools.ozone.queue.defs

ozone-lexicons.bsky.social

Documentation

assignmentView object

No description available.

Properties

did string did Required

A decentralized identifier (DID).

endAt string datetime Optional

An RFC 3339 formatted timestamp.

id integer Required

No description available.

queue ref #queueView Required

No description available.

startAt string datetime Required

An RFC 3339 formatted timestamp.

View raw schema
{
  "properties": {
    "did": {
      "format": "did",
      "type": "string"
    },
    "endAt": {
      "format": "datetime",
      "type": "string"
    },
    "id": {
      "type": "integer"
    },
    "moderator": {
      "description": "The moderator assigned to this queue",
      "ref": "tools.ozone.team.defs#member",
      "type": "ref"
    },
    "queue": {
      "ref": "#queueView",
      "type": "ref"
    },
    "startAt": {
      "format": "datetime",
      "type": "string"
    }
  },
  "required": [
    "id",
    "did",
    "queue",
    "startAt"
  ],
  "type": "object"
}
queueStats object

No description available.

Properties

actionRate integer Optional

Percentage of reports actioned (actionedCount / inboundCount * 100), rounded to nearest integer. Absent when inboundCount is 0.

actionedCount integer Optional

Number of reports in 'closed' status

avgHandlingTimeSec integer Optional

Average time in seconds from report creation to close, for reports closed in this period.

escalatedCount integer Optional

Number of reports in 'escalated' status

inboundCount integer Optional

Reports received in this queue in the last 24 hours.

lastUpdated string datetime Optional

When these statistics were last computed

pendingCount integer Optional

Number of reports in 'open' status

View raw schema
{
  "properties": {
    "actionRate": {
      "description": "Percentage of reports actioned (actionedCount / inboundCount * 100), rounded to nearest integer. Absent when inboundCount is 0.",
      "type": "integer"
    },
    "actionedCount": {
      "description": "Number of reports in 'closed' status",
      "type": "integer"
    },
    "avgHandlingTimeSec": {
      "description": "Average time in seconds from report creation to close, for reports closed in this period.",
      "type": "integer"
    },
    "escalatedCount": {
      "description": "Number of reports in 'escalated' status",
      "type": "integer"
    },
    "inboundCount": {
      "description": "Reports received in this queue in the last 24 hours.",
      "type": "integer"
    },
    "lastUpdated": {
      "description": "When these statistics were last computed",
      "format": "datetime",
      "type": "string"
    },
    "pendingCount": {
      "description": "Number of reports in 'open' status",
      "type": "integer"
    }
  },
  "required": [],
  "type": "object"
}
queueView object

No description available.

Properties

collection string nsid Optional

Collection name for record subjects (e.g., 'app.bsky.feed.post')

createdAt string datetime Required

An RFC 3339 formatted timestamp.

createdBy string did Required

DID of moderator who created this queue

deletedAt string datetime Optional

When the queue was deleted, if applicable

description string Optional

Optional description of the queue

enabled boolean Required

Whether this queue is currently active

id integer Required

Queue ID

name string Required

Display name of the queue

recommendedLabels array of string Optional

Labels recommended for this queue and used as a fallback when routing label appeals

recommendedPolicies array of string Optional

Policy keys recommended when actioning reports in this queue

reportTypes array of string Optional

Report reason types this queue accepts (fully qualified NSIDs)

stats ref #queueStats Required

Statistics about this queue

subjectTypes array of string Optional

Subject types this queue accepts.

updatedAt string datetime Required

An RFC 3339 formatted timestamp.

View raw schema
{
  "properties": {
    "collection": {
      "description": "Collection name for record subjects (e.g., 'app.bsky.feed.post')",
      "format": "nsid",
      "type": "string"
    },
    "createdAt": {
      "format": "datetime",
      "type": "string"
    },
    "createdBy": {
      "description": "DID of moderator who created this queue",
      "format": "did",
      "type": "string"
    },
    "deletedAt": {
      "description": "When the queue was deleted, if applicable",
      "format": "datetime",
      "type": "string"
    },
    "description": {
      "description": "Optional description of the queue",
      "type": "string"
    },
    "enabled": {
      "description": "Whether this queue is currently active",
      "type": "boolean"
    },
    "id": {
      "description": "Queue ID",
      "type": "integer"
    },
    "name": {
      "description": "Display name of the queue",
      "type": "string"
    },
    "recommendedLabels": {
      "description": "Labels recommended for this queue and used as a fallback when routing label appeals",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "recommendedPolicies": {
      "description": "Policy keys recommended when actioning reports in this queue",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "reportTypes": {
      "description": "Report reason types this queue accepts (fully qualified NSIDs)",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "stats": {
      "description": "Statistics about this queue",
      "ref": "#queueStats",
      "type": "ref"
    },
    "subjectTypes": {
      "description": "Subject types this queue accepts.",
      "items": {
        "knownValues": [
          "account",
          "record",
          "message",
          "conversation"
        ],
        "type": "string"
      },
      "type": "array"
    },
    "updatedAt": {
      "format": "datetime",
      "type": "string"
    }
  },
  "required": [
    "id",
    "name",
    "createdBy",
    "createdAt",
    "updatedAt",
    "enabled",
    "stats"
  ],
  "type": "object"
}

Lexicon Garden

@