tools.ozone.moderation.cancelScheduledActions

ozone-lexicons.bsky.social

{
  "id": "tools.ozone.moderation.cancelScheduledActions",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "subjects"
          ],
          "properties": {
            "comment": {
              "type": "string",
              "description": "Optional comment describing the reason for cancellation"
            },
            "subjects": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "did"
              },
              "maxLength": 100,
              "description": "Array of DID subjects to cancel scheduled actions for"
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "ref": "#cancellationResults",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "description": "Cancel all pending scheduled moderation actions for specified subjects"
    },
    "failedCancellation": {
      "type": "object",
      "required": [
        "did",
        "error"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "error": {
          "type": "string"
        },
        "errorCode": {
          "type": "string"
        }
      }
    },
    "cancellationResults": {
      "type": "object",
      "required": [
        "succeeded",
        "failed"
      ],
      "properties": {
        "failed": {
          "type": "array",
          "items": {
            "ref": "#failedCancellation",
            "type": "ref"
          },
          "description": "DIDs for which cancellation failed with error details"
        },
        "succeeded": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "did"
          },
          "description": "DIDs for which all pending scheduled actions were successfully cancelled"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "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-01-09 12:47 UTC
AT-URI
at://did:plc:33dt5kftu3jq2h5h4jjlqezt/com.atproto.lexicon.schema/tools.ozone.moderation.cancelScheduledActions

Lexicon Garden

@