changedInput schema / properties / steps / items / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,31}$",
- "type": "string"
- },
- "input": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "maximum": 16777215,
- "minimum": 0,
- "type": "integer"
- },
- "name": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "kind": {
- "const": "role.create"
- }
- },
- "required": [
- "id",
- "kind",
- "input"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,31}$",
- "type": "string"
- },
- "input": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "maximum": 16777215,
- "minimum": 0,
- "type": "integer"
- },
- "name": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "kind": {
- "const": "resource.role.create"
- }
- },
- "required": [
- "id",
- "kind",
- "input"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,31}$",
- "type": "string"
- },
- "input": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "kind": {
- "const": "category.create"
- }
- },
- "required": [
- "id",
- "kind",
- "input"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,31}$",
- "type": "string"
- },
- "input": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "kind": {
- "const": "resource.category.create"
- }
- },
- "required": [
- "id",
- "kind",
- "input"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,31}$",
- "type": "string"
- },
- "input": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "parentId": {
- "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
- "type": "string"
- },
- "privateRoleIds": {
- "description": "Explicit private staff channel: only these roles, the actor and bot can view/post. Empty array allows only actor and bot.",
- "items": {
- "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
- "type": "string"
- },
- "maxItems": 20,
- "type": "array",
- "uniqueItems": true
- },
- "type": {
- "default": "text",
- "description": "Forum and stage channels require a Community server.",
- "enum": [
- "text",
- "voice",
- "forum",
- "stage"
- ],
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "kind": {
- "const": "channel.create"
- }
- },
- "required": [
- "id",
- "kind",
- "input"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,31}$",
- "type": "string"
- },
- "input": {
- "additionalProperties": false,
- "properties": {
- "name": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "parentId": {
- "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
- "type": "string"
- },
- "privateRoleIds": {
- "description": "Explicit private staff channel: only these roles, the actor and bot can view/post. Empty array allows only actor and bot.",
- "items": {
- "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
- "type": "string"
- },
- "maxItems": 20,
- "type": "array",
- "uniqueItems": true
- },
- "type": {
- "default": "text",
- "description": "Forum and stage channels require a Community server.",
- "enum": [
- "text",
- "voice",
- "forum",
- "stage"
- ],
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "kind": {
- "const": "resource.channel.create"
- }
- },
- "required": [
- "id",
- "kind",
- "input"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,31}$",
- "type": "string"
- },
- "input": {
- "additionalProperties": false,
- "properties": {
- "channelId": {
- "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
- "type": "string"
- },
- "content": {
- "maxLength": 4000,
- "minLength": 1,
- "type": "string"
- },
- "enabled": {
- "type": "boolean"
- },
- "id": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "name",
- "channelId",
- "content",
- "enabled"
- ],
- "type": "object"
- },
- "kind": {
- "const": "welcome.save"
- }
- },
- "required": [
- "id",
- "kind",
- "input"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,31}$",
- "type": "string"
- },
- "input": {
- "additionalProperties": false,
- "properties": {
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "description": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "id": {
- "maxLength": 32,
- "minLength": 1,
- "type": "string"
- },
- "label": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- },
- "roleIds": {
- "items": {
- "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
- "type": "string"
- },
- "maxItems": 10,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "label"
- ],
- "type": "object"
- },
- "maxItems": 25,
- "minItems": 1,
- "type": "array"
- },
- "menuId": {
- "maxLength": 32,
- "minLength": 1,
- "type": "string"
- },
- "message": {
- "maxLength": 4000,
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "revision": {
- "minimum": 1,
- "type": "integer"
- },
- "type": {
- "enum": [
- "button",
- "select",
- "dropdown",
- "menu"
- ]
- }
- },
- "required": [
- "name",
- "type",
- "message",
- "items"
- ],
- "type": "object"
- },
- "kind": {
- "const": "selfroles.save"
- }
- },
- "required": [
- "id",
- "kind",
- "input"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,31}$",
- "type": "string"
- },
- "input": {
- "additionalProperties": false,
- "properties": {
- "channelId": {
- "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
- "type": "string"
- },
- "menuId": {
- "maxLength": 80,
- "type": "string"
- },
- "revision": {
- "oneOf": [
- {
- "minimum": 1,
- "type": "integer"
- },
- {
- "pattern": "^@[a-z][a-z0-9_-]{0,31}(\\.revision)?$",
- "type": "string"
- }
- ]
- }
- },
- "required": [
- "menuId",
- "revision",
- "channelId"
- ],
- "type": "object"
- },
- "kind": {
- "const": "selfroles.publish"
- }
- },
- "required": [
- "id",
- "kind",
- "input"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,31}$",
- "type": "string"
- },
- "input": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "maximum": 16777215,
- "minimum": 0,
- "type": "integer"
- },
- "expectedFingerprint": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "name": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "roleId": {
- "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
- "type": "string"
- }
- },
- "required": [
- "roleId",
- "expectedFingerprint"
- ],
- "type": "object"
- },
- "kind": {
- "const": "role.update"
- }
- },
- "required": [
- "id",
- "kind",
- "input"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,31}$",
- "type": "string"
- },
- "input": {
- "additionalProperties": false,
- "properties": {
- "expectedFingerprint": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "roleId": {
- "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
- "type": "string"
- }
- },
- "required": [
- "roleId",
- "expectedFingerprint"
- ],
- "type": "object"
- },
- "kind": {
- "const": "role.delete"
- }
- },
- "required": [
- "id",
- "kind",
- "input"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,31}$",
- "type": "string"
- },
- "input": {
- "additionalProperties": false,
- "properties": {
- "channelId": {
- "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
- "type": "string"
- },
- "expectedFingerprint": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "name": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "channelId",
- "name",
- "expectedFingerprint"
- ],
- "type": "object"
- },
- "kind": {
- "const": "channel.update"
- }
- },
- "required": [
- "id",
- "kind",
- "input"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,31}$",
- "type": "string"
- },
- "input": {
- "additionalProperties": false,
- "properties": {
- "channelId": {
- "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
- "type": "string"
- },
- "expectedFingerprint": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- }
- },
- "required": [
- "channelId",
- "expectedFingerprint"
- ],
- "type": "object"
- },
- "kind": {
- "const": "channel.delete"
- }
- },
- "required": [
- "id",
- "kind",
- "input"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "pattern": "^[a-z][a-z0-9_-]{0,31}$",
- "type": "string"
- },
- "input": {
- "description": "Exact input matching this operation's schema from get_feature_guide. Server rejects unknown fields.",
- "type": "object"
- },
- "kind": {
- "enum": [
- "config.prefix.update",
- "config.language.update",
- "config.permissions.update",
- "config.settings.update",
- "config.invites.update",
- "config.moderation.update",
- "config.autopilot.update",
- "config.antinuke.update",
- "config.security.lockdown",
- "config.security.unlock",
- "config.security.sync_muted_role",
- "config.verification.update",
- "config.verification.publish",
- "config.economy.update",
- "config.economy.create_item",
- "config.economy.update_item",
- "config.economy.delete_item",
- "config.levels.update",
- "config.giveaways.update",
- "config.giveaways.start",
- "config.giveaways.create_template",
- "config.giveaways.update_template",
- "config.giveaways.delete_template",
- "config.applications.create",
- "config.applications.update",
- "config.application_responses.accept",
- "config.application_responses.deny",
- "config.application_panels.create",
- "config.application_panels.update",
- "config.application_panels.delete",
- "config.application_panels.publish",
- "config.tickets.create",
- "config.tickets.update",
- "config.tickets.delete",
- "config.tickets.publish",
- "config.messages.create",
- "config.messages.update",
- "config.messages.delete",
- "config.messages.publish",
- "config.embeds.create",
- "config.embeds.update",
- "config.embeds.delete",
- "config.sticky.create",
- "config.sticky.update",
- "config.sticky.delete",
- "config.sticky.publish",
- "config.sticky_leaderboards.create",
- "config.sticky_leaderboards.delete",
- "config.notifications.create",
- "config.notifications.update",
- "config.notifications.delete",
- "config.discover.update",
- "config.discover.create_invite",
- "config.automations.create",
- "config.automations.update",
- "config.automations.delete",
- "config.automations.publish",
- "config.automations.pause"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "kind",
- "input"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "maximum": 16777215,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "name": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "role.create"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "maximum": 16777215,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "name": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "resource.role.create"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "category.create"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "resource.category.create"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "parentId": {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ },
+ "privateRoleIds": {
+ "description": "Explicit private staff channel: only these roles, the actor and bot can view/post. Empty array allows only actor and bot.",
+ "items": {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "type": {
+ "default": "text",
+ "description": "Forum and stage channels require a Community server.",
+ "enum": [
+ "text",
+ "voice",
+ "forum",
+ "stage"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "channel.create"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "parentId": {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ },
+ "privateRoleIds": {
+ "description": "Explicit private staff channel: only these roles, the actor and bot can view/post. Empty array allows only actor and bot.",
+ "items": {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "type": {
+ "default": "text",
+ "description": "Forum and stage channels require a Community server.",
+ "enum": [
+ "text",
+ "voice",
+ "forum",
+ "stage"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "resource.channel.create"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "channelId": {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ },
+ "content": {
+ "maxLength": 4000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "enabled": {
+ "type": "boolean"
+ },
+ "id": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "channelId",
+ "content",
+ "enabled"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "welcome.save"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "id": {
+ "maxLength": 32,
+ "minLength": 1,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "roleIds": {
+ "items": {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ },
+ "maxItems": 10,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "label"
+ ],
+ "type": "object"
+ },
+ "maxItems": 25,
+ "minItems": 1,
+ "type": "array"
+ },
+ "menuId": {
+ "maxLength": 32,
+ "minLength": 1,
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 4000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "revision": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "type": {
+ "enum": [
+ "button",
+ "select",
+ "dropdown",
+ "menu"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "type",
+ "message",
+ "items"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "selfroles.save"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "channelId": {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ },
+ "menuId": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "revision": {
+ "oneOf": [
+ {
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "pattern": "^@[a-z][a-z0-9_-]{0,31}(\\.revision)?$",
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "required": [
+ "menuId",
+ "revision",
+ "channelId"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "selfroles.publish"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "maximum": 16777215,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "expectedFingerprint": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "hoist": {
+ "description": "Show members separately in the member list.",
+ "type": "boolean"
+ },
+ "mentionable": {
+ "description": "Let anyone @mention the role.",
+ "type": "boolean"
+ },
+ "name": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "roleId": {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "roleId",
+ "expectedFingerprint"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "role.update"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "expectedFingerprint": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "roleId": {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "roleId",
+ "expectedFingerprint"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "role.delete"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "channelId": {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ },
+ "expectedFingerprint": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "expectedParentFingerprint": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parentId": {
+ "anyOf": [
+ {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Move into this category; null removes the category."
+ },
+ "slowmode": {
+ "description": "Seconds between messages per member; 0 turns it off.",
+ "maximum": 21600,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "syncPermissions": {
+ "const": true,
+ "description": "Replace the channel's own permissions with its (new) category's. Read get_setup_context permissionOverwrites first and tell the user which roles' channel-specific permissions would be lost."
+ },
+ "topic": {
+ "description": "Text, announcement and forum channels.",
+ "maxLength": 1024,
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "channelId",
+ "expectedFingerprint"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "channel.update"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "positions": {
+ "description": "Discord role positions (higher is above); each role and target must stay below both your and Discortics' highest role.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "position": {
+ "maximum": 250,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "roleId": {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "roleId",
+ "position"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "positions"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "role.reorder"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "positions": {
+ "description": "Discord channel positions (lower is higher in the list) among siblings.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "channelId": {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ },
+ "position": {
+ "maximum": 500,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "channelId",
+ "position"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "positions"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "channel.reorder"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "afkChannelId": {
+ "anyOf": [
+ {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "afkTimeout": {
+ "enum": [
+ 60,
+ 300,
+ 900,
+ 1800,
+ 3600
+ ],
+ "type": "integer"
+ },
+ "defaultNotifications": {
+ "description": "0 all messages, 1 only mentions.",
+ "enum": [
+ 0,
+ 1
+ ],
+ "type": "integer"
+ },
+ "description": {
+ "description": "Community servers only.",
+ "maxLength": 120,
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "explicitContentFilter": {
+ "description": "0 off, 1 members without roles, 2 everyone.",
+ "maximum": 2,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "name": {
+ "maxLength": 100,
+ "minLength": 2,
+ "type": "string"
+ },
+ "preferredLocale": {
+ "description": "Community servers only.",
+ "pattern": "^[a-z]{2}(-[A-Z]{2})?$",
+ "type": "string"
+ },
+ "publicUpdatesChannelId": {
+ "anyOf": [
+ {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "rulesChannelId": {
+ "anyOf": [
+ {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "safetyAlertsChannelId": {
+ "anyOf": [
+ {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "systemChannelId": {
+ "anyOf": [
+ {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "verificationLevel": {
+ "description": "0 none, 1 verified email, 2 registered 5+ minutes, 3 member 10+ minutes, 4 verified phone.",
+ "maximum": 4,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [],
+ "type": "object"
+ },
+ "kind": {
+ "const": "guild.update"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "imageUrl": {
+ "description": "Public HTTPS image. Discortics downloads it while validating the proposal and shows the exact image on the review page.",
+ "format": "uri",
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "name": {
+ "pattern": "^[A-Za-z0-9_]{2,32}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "imageUrl"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "emoji.create"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "maxLength": 100,
+ "minLength": 2,
+ "type": "string"
+ },
+ "imageUrl": {
+ "description": "Public HTTPS image. Discortics downloads it while validating the proposal and shows the exact image on the review page.",
+ "format": "uri",
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 30,
+ "minLength": 2,
+ "type": "string"
+ },
+ "tags": {
+ "description": "Related emoji name, e.g. wave.",
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "tags",
+ "imageUrl"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "sticker.create"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "channelId": {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ },
+ "expectedFingerprint": {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "channelId",
+ "expectedFingerprint"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "channel.delete"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "changes": {
+ "description": "Every permission edit for this setup in one approved step. Only member permissions are accepted; unlisted permissions keep their current state.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "allow": {
+ "items": {
+ "enum": [
+ "ViewChannel",
+ "SendMessages",
+ "SendMessagesInThreads",
+ "CreatePublicThreads",
+ "CreatePrivateThreads",
+ "EmbedLinks",
+ "AttachFiles",
+ "AddReactions",
+ "UseExternalEmojis",
+ "UseExternalStickers",
+ "ReadMessageHistory",
+ "UseApplicationCommands",
+ "UseExternalApps",
+ "SendVoiceMessages",
+ "SendPolls",
+ "Connect",
+ "Speak",
+ "Stream",
+ "UseVAD",
+ "RequestToSpeak",
+ "UseEmbeddedActivities",
+ "UseSoundboard",
+ "UseExternalSounds",
+ "CreateInstantInvite",
+ "ChangeNickname"
+ ]
+ },
+ "type": "array",
+ "uniqueItems": true
+ },
+ "channelId": {
+ "description": "Channel or category whose overwrite for this role changes. Omit to change the role's server-wide permissions.",
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ },
+ "deny": {
+ "items": {
+ "enum": [
+ "ViewChannel",
+ "SendMessages",
+ "SendMessagesInThreads",
+ "CreatePublicThreads",
+ "CreatePrivateThreads",
+ "EmbedLinks",
+ "AttachFiles",
+ "AddReactions",
+ "UseExternalEmojis",
+ "UseExternalStickers",
+ "ReadMessageHistory",
+ "UseApplicationCommands",
+ "UseExternalApps",
+ "SendVoiceMessages",
+ "SendPolls",
+ "Connect",
+ "Speak",
+ "Stream",
+ "UseVAD",
+ "RequestToSpeak",
+ "UseEmbeddedActivities",
+ "UseSoundboard",
+ "UseExternalSounds",
+ "CreateInstantInvite",
+ "ChangeNickname"
+ ]
+ },
+ "type": "array",
+ "uniqueItems": true
+ },
+ "reset": {
+ "description": "Channel overwrites only: return these permissions to inherited.",
+ "items": {
+ "enum": [
+ "ViewChannel",
+ "SendMessages",
+ "SendMessagesInThreads",
+ "CreatePublicThreads",
+ "CreatePrivateThreads",
+ "EmbedLinks",
+ "AttachFiles",
+ "AddReactions",
+ "UseExternalEmojis",
+ "UseExternalStickers",
+ "ReadMessageHistory",
+ "UseApplicationCommands",
+ "UseExternalApps",
+ "SendVoiceMessages",
+ "SendPolls",
+ "Connect",
+ "Speak",
+ "Stream",
+ "UseVAD",
+ "RequestToSpeak",
+ "UseEmbeddedActivities",
+ "UseSoundboard",
+ "UseExternalSounds",
+ "CreateInstantInvite",
+ "ChangeNickname"
+ ]
+ },
+ "type": "array",
+ "uniqueItems": true
+ },
+ "roleId": {
+ "pattern": "^([0-9]{17,20}|@[a-z][a-z0-9_-]{0,31}(\\.(roleId|channelId|menuId))?)$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "roleId"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "changes"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "permissions.update"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "pattern": "^[a-z][a-z0-9_-]{0,31}$",
+ "type": "string"
+ },
+ "input": {
+ "description": "Exact input matching this operation's schema from get_feature_guide. Server rejects unknown fields.",
+ "type": "object"
+ },
+ "kind": {
+ "enum": [
+ "config.prefix.update",
+ "config.language.update",
+ "config.permissions.update",
+ "config.settings.update",
+ "config.invites.update",
+ "config.moderation.update",
+ "config.autopilot.update",
+ "config.antinuke.update",
+ "config.security.lockdown",
+ "config.security.unlock",
+ "config.security.sync_muted_role",
+ "config.verification.update",
+ "config.verification.publish",
+ "config.economy.update",
+ "config.economy.create_item",
+ "config.economy.update_item",
+ "config.economy.delete_item",
+ "config.levels.update",
+ "config.giveaways.update",
+ "config.giveaways.start",
+ "config.giveaways.create_template",
+ "config.giveaways.update_template",
+ "config.giveaways.delete_template",
+ "config.applications.create",
+ "config.applications.update",
+ "config.application_responses.accept",
+ "config.application_responses.deny",
+ "config.application_panels.create",
+ "config.application_panels.update",
+ "config.application_panels.delete",
+ "config.application_panels.publish",
+ "config.tickets.create",
+ "config.tickets.update",
+ "config.tickets.delete",
+ "config.tickets.publish",
+ "config.messages.create",
+ "config.messages.update",
+ "config.messages.delete",
+ "config.messages.publish",
+ "config.embeds.create",
+ "config.embeds.update",
+ "config.embeds.delete",
+ "config.sticky.create",
+ "config.sticky.update",
+ "config.sticky.delete",
+ "config.sticky.publish",
+ "config.sticky_leaderboards.create",
+ "config.sticky_leaderboards.delete",
+ "config.notifications.create",
+ "config.notifications.update",
+ "config.notifications.delete",
+ "config.discover.update",
+ "config.discover.create_invite",
+ "config.automations.create",
+ "config.automations.update",
+ "config.automations.delete",
+ "config.automations.publish",
+ "config.automations.pause"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "input"
+ ],
+ "type": "object"
+ }
+]