tools.ozone.queue.createQueue

ozone-lexicons.bsky.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Create a new moderation queue. A queue can have optional matching criteria that ozone's queue router will use to match reports. A queue with no criteria must have reports assigned to it manually via (1) `modTool.meta.queueId` in `tools.ozone.moderation.emitEvent` or (2) `tools.ozone.report.reassignQueue`.",
      "errors": [
        {
          "description": "One or more recommended policy keys do not exist in the configured policy list",
          "name": "InvalidRecommendedPolicies"
        },
        {
          "description": "The queue configuration conflicts with an existing queue",
          "name": "ConflictingQueue"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "collection": {
              "description": "Collection name for record subjects. Required if subjectTypes includes 'record'.",
              "format": "nsid",
              "type": "string"
            },
            "description": {
              "description": "Optional description of the queue",
              "type": "string"
            },
            "name": {
              "description": "Display name for the queue (must be unique)",
              "type": "string"
            },
            "recommendedLabels": {
              "description": "Labels to recommend for this queue and use as fallback appeal routing mappings",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "recommendedPolicies": {
              "description": "Policy keys to recommend when actioning reports in this queue",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "reportTypes": {
              "description": "Report reason types (fully qualified NSIDs)",
              "items": {
                "type": "string"
              },
              "maxLength": 25,
              "type": "array"
            },
            "subjectTypes": {
              "description": "Subject types this queue accepts",
              "items": {
                "knownValues": [
                  "account",
                  "record",
                  "message",
                  "conversation"
                ],
                "type": "string"
              },
              "type": "array"
            }
          },
          "required": [
            "name"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "queue": {
              "ref": "tools.ozone.queue.defs#queueView",
              "type": "ref"
            }
          },
          "required": [
            "queue"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "tools.ozone.queue.createQueue",
  "lexicon": 1
}

Validate Record

Validate a record against tools.ozone.queue.createQueue

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:33dt5kftu3jq2h5h4jjlqezt
CID
bafyreias7762oe2n2q7jdesluaeei2jv3kkjqt6nytu2jrg2im2praxcdu
Indexed At
2026-10-03 21:31 UTC
AT-URI
at://did:plc:33dt5kftu3jq2h5h4jjlqezt/com.atproto.lexicon.schema/tools.ozone.queue.createQueue

Referenced Schemas (1)

Similar Lexicons

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

Lexicon Garden

@