tools.ozone.moderation.cancelScheduledActions

ozone-lexicons.bsky.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "cancellationResults": {
      "properties": {
        "failed": {
          "description": "DIDs for which cancellation failed with error details",
          "items": {
            "ref": "#failedCancellation",
            "type": "ref"
          },
          "type": "array"
        },
        "succeeded": {
          "description": "DIDs for which all pending scheduled actions were successfully cancelled",
          "items": {
            "format": "did",
            "type": "string"
          },
          "type": "array"
        }
      },
      "required": [
        "succeeded",
        "failed"
      ],
      "type": "object"
    },
    "failedCancellation": {
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        },
        "error": {
          "type": "string"
        },
        "errorCode": {
          "type": "string"
        }
      },
      "required": [
        "did",
        "error"
      ],
      "type": "object"
    },
    "main": {
      "description": "Cancel all pending scheduled moderation actions for specified subjects",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "comment": {
              "description": "Optional comment describing the reason for cancellation",
              "type": "string"
            },
            "subjects": {
              "description": "Array of DID subjects to cancel scheduled actions for",
              "items": {
                "format": "did",
                "type": "string"
              },
              "maxLength": 100,
              "type": "array"
            }
          },
          "required": [
            "subjects"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "#cancellationResults",
          "type": "ref"
        }
      },
      "type": "procedure"
    }
  },
  "id": "tools.ozone.moderation.cancelScheduledActions",
  "lexicon": 1
}

Validate Record

Validate a record against tools.ozone.moderation.cancelScheduledActions

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:33dt5kftu3jq2h5h4jjlqezt
CID
bafyreibppdbgckuadgwrm3fouoxm7dxhxkzo64jnszvr2toij3yt37lgte
Indexed At
2026-07-26 20:04 UTC
AT-URI
at://did:plc:33dt5kftu3jq2h5h4jjlqezt/com.atproto.lexicon.schema/tools.ozone.moderation.cancelScheduledActions

Similar Lexicons

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

Lexicon Garden

@