Skip to main content
Glama
cappyeo

discord-mcp

guild_blueprint_plan

Read-onlyIdempotent

Create a complete Discord server blueprint from a natural-language request, verify the target bot and guild, and return a safe dry-run plan reference for later apply.

Instructions

Purpose: Build, create, or design a complete Discord server from one natural-language request and return a target-bound execution preview without mutating Discord. It compiles a safe blueprint, verifies the exact caller-owned bot and allowlisted guild, reads live state, blocks ambiguous resources or missing permissions, and returns a compact local plan reference for guild_blueprint_apply.

When to use: This is the required first step for an unqualified request to build, design, create, dựng, or tạo a gaming or community server. Call it immediately with the original request instead of asking which kind of server the user means or manually chaining template, role, channel, onboarding, AutoMod, and Components V2 tools. In this Discord integration, unqualified “server” means a Discord guild—not a VPS, hardware, or game-hosting machine—unless the user explicitly says otherwise. Examples include “build a professional gaming server” and “dựng cho tôi một server gaming chuyên nghiệp”.

Safety: This tool makes no Discord mutation and writes no checkpoint. It may persist private, authenticated deterministic plan material locally so a caller can resume with plan_ref; the raw plan token is not persisted. It resolves the bot only from DISCORD_EXPECTED_BOT_ID and resolves an omitted guild only from DISCORD_DEFAULT_GUILD_ID or exactly one ALLOWED_GUILDS entry; multiple possible guilds fail closed. Explicit values are never overwritten and must match the locked profile. Existing unrelated resources are preserved; duplicate or mismatched unbound resources block the plan. The opaque token is authenticated to this bot profile; the displayed approval ID is not standalone authorization.

Returns: Verified source evidence, the complete blueprint, exact bot/guild binding, dry-run operations and risks, blockers, and a local plan_ref (or a legacy compressed plan_token) accepted by the confirmed resumable apply tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYesNatural-language description of the Discord server to build
guild_idNoOptional explicit target guild; omit only when the selected profile has a default or exactly one allowlisted guild
expected_bot_idNoOptional exact caller-owned bot ID; omit to use DISCORD_EXPECTED_BOT_ID from the selected profile
preferred_primary_codeNoOptional public template code to prefer only when relevant and live-verified safe

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.28.0
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "$schema": "https://json-schema.org/draft/2020-12/schema",
      -    "additionalProperties": {},
      -    "properties": {
      -      "approval_id": {
      -        "anyOf": [
      -          {
      -            "pattern": "^sha256:[a-f0-9]{64}$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "blockers": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "code": {
      -              "pattern": "^[A-Z][A-Z0-9_]{2,63}$",
      -              "type": "string"
      -            },
      -            "message": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "recovery_hint": {
      -              "maxLength": 500,
      -              "minLength": 1,
      -              "type": "string"
      -            },
      -            "resource": {
      -              "anyOf": [
      -                {
      -                  "maxLength": 160,
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            }
      -          },
      -          "required": [
      -            "code",
      -            "message",
      -            "resource",
      -            "recovery_hint"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "blueprint": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "automod": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "rules": {
      -                    "items": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "actions": {
      -                          "items": {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "alert_channel_key": {
      -                                "anyOf": [
      -                                  {
      -                                    "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                                    "type": "string"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              },
      -                              "custom_message": {
      -                                "anyOf": [
      -                                  {
      -                                    "maxLength": 150,
      -                                    "type": "string"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              },
      -                              "duration_seconds": {
      -                                "anyOf": [
      -                                  {
      -                                    "maximum": 2419200,
      -                                    "minimum": 0,
      -                                    "type": "integer"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              },
      -                              "type": {
      -                                "anyOf": [
      -                                  {
      -                                    "const": 1,
      -                                    "type": "number"
      -                                  },
      -                                  {
      -                                    "const": 2,
      -                                    "type": "number"
      -                                  },
      -                                  {
      -                                    "const": 3,
      -                                    "type": "number"
      -                                  },
      -                                  {
      -                                    "const": 4,
      -                                    "type": "number"
      -                                  }
      -                                ]
      -                              }
      -                            },
      -                            "required": [
      -                              "type",
      -                              "alert_channel_key",
      -                              "duration_seconds",
      -                              "custom_message"
      -                            ],
      -                            "type": "object"
      -                          },
      -                          "maxItems": 3,
      -                          "minItems": 1,
      -                          "type": "array"
      -                        },
      -                        "allow_list": {
      -                          "items": {
      -                            "maxLength": 60,
      -                            "type": "string"
      -                          },
      -                          "maxItems": 1000,
      -                          "type": "array"
      -                        },
      -                        "enabled": {
      -                          "type": "boolean"
      -                        },
      -                        "event_type": {
      -                          "anyOf": [
      -                            {
      -                              "const": 1,
      -                              "type": "number"
      -                            },
      -                            {
      -                              "const": 2,
      -                              "type": "number"
      -                            }
      -                          ]
      -                        },
      -                        "exempt_channel_keys": {
      -                          "items": {
      -                            "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 50,
      -                          "type": "array"
      -                        },
      -                        "exempt_role_keys": {
      -                          "items": {
      -                            "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                            "type": "string"
      -                          },
      -                          "maxItems": 20,
      -                          "type": "array"
      -                        },
      -                        "key": {
      -                          "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                          "type": "string"
      -                        },
      -                        "keyword_filter": {
      -                          "items": {
      -                            "maxLength": 60,
      -                            "type": "string"
      -                          },
      -                          "maxItems": 1000,
      -                          "type": "array"
      -                        },
      -                        "mention_raid_protection_enabled": {
      -                          "anyOf": [
      -                            {
      -                              "type": "boolean"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "mention_total_limit": {
      -                          "anyOf": [
      -                            {
      -                              "maximum": 50,
      -                              "minimum": 0,
      -                              "type": "integer"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "name": {
      -                          "maxLength": 100,
      -                          "minLength": 1,
      -                          "type": "string"
      -                        },
      -                        "presets": {
      -                          "items": {
      -                            "anyOf": [
      -                              {
      -                                "const": 1,
      -                                "type": "number"
      -                              },
      -                              {
      -                                "const": 2,
      -                                "type": "number"
      -                              },
      -                              {
      -                                "const": 3,
      -                                "type": "number"
      -                              }
      -                            ]
      -                          },
      -                          "maxItems": 3,
      -                          "type": "array"
      -                        },
      -                        "regex_patterns": {
      -                          "items": {
      -                            "maxLength": 260,
      -                            "type": "string"
      -                          },
      -                          "maxItems": 10,
      -                          "type": "array"
      -                        },
      -                        "trigger_type": {
      -                          "anyOf": [
      -                            {
      -                              "const": 1,
      -                              "type": "number"
      -                            },
      -                            {
      -                              "const": 3,
      -                              "type": "number"
      -                            },
      -                            {
      -                              "const": 4,
      -                              "type": "number"
      -                            },
      -                            {
      -                              "const": 5,
      -                              "type": "number"
      -                            },
      -                            {
      -                              "const": 6,
      -                              "type": "number"
      -                            }
      -                          ]
      -                        }
      -                      },
      -                      "required": [
      -                        "key",
      -                        "name",
      -                        "event_type",
      -                        "trigger_type",
      -                        "keyword_filter",
      -                        "regex_patterns",
      -                        "presets",
      -                        "allow_list",
      -                        "mention_total_limit",
      -                        "mention_raid_protection_enabled",
      -                        "actions",
      -                        "exempt_role_keys",
      -                        "exempt_channel_keys",
      -                        "enabled"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "maxItems": 8,
      -                    "minItems": 1,
      -                    "type": "array"
      -                  },
      -                  "verification": {
      -                    "const": "read_after_write",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "rules",
      -                  "verification"
      -                ],
      -                "type": "object"
      -              },
      -              "bot_boundary": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "always_required_permissions": {
      -                    "items": {
      -                      "enum": [
      -                        "VIEW_CHANNEL",
      -                        "READ_MESSAGE_HISTORY",
      -                        "SEND_MESSAGES",
      -                        "ADD_REACTIONS",
      -                        "EMBED_LINKS",
      -                        "ATTACH_FILES",
      -                        "USE_APPLICATION_COMMANDS",
      -                        "CREATE_PUBLIC_THREADS",
      -                        "SEND_MESSAGES_IN_THREADS",
      -                        "CONNECT",
      -                        "SPEAK",
      -                        "STREAM",
      -                        "USE_VAD",
      -                        "USE_EMBEDDED_ACTIVITIES",
      -                        "MANAGE_MESSAGES",
      -                        "MANAGE_THREADS",
      -                        "VIEW_AUDIT_LOG",
      -                        "KICK_MEMBERS",
      -                        "MODERATE_MEMBERS",
      -                        "CREATE_EVENTS",
      -                        "MANAGE_EVENTS",
      -                        "MANAGE_CHANNELS",
      -                        "MANAGE_ROLES",
      -                        "MANAGE_GUILD",
      -                        "ADMINISTRATOR"
      -                      ],
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "auto_grant_permissions": {
      -                    "const": false,
      -                    "type": "boolean"
      -                  },
      -                  "conditional_requirements": {
      -                    "items": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "permission": {
      -                          "enum": [
      -                            "VIEW_CHANNEL",
      -                            "READ_MESSAGE_HISTORY",
      -                            "SEND_MESSAGES",
      -                            "ADD_REACTIONS",
      -                            "EMBED_LINKS",
      -                            "ATTACH_FILES",
      -                            "USE_APPLICATION_COMMANDS",
      -                            "CREATE_PUBLIC_THREADS",
      -                            "SEND_MESSAGES_IN_THREADS",
      -                            "CONNECT",
      -                            "SPEAK",
      -                            "STREAM",
      -                            "USE_VAD",
      -                            "USE_EMBEDDED_ACTIVITIES",
      -                            "MANAGE_MESSAGES",
      -                            "MANAGE_THREADS",
      -                            "VIEW_AUDIT_LOG",
      -                            "KICK_MEMBERS",
      -                            "MODERATE_MEMBERS",
      -                            "CREATE_EVENTS",
      -                            "MANAGE_EVENTS",
      -                            "MANAGE_CHANNELS",
      -                            "MANAGE_ROLES",
      -                            "MANAGE_GUILD",
      -                            "ADMINISTRATOR"
      -                          ],
      -                          "type": "string"
      -                        },
      -                        "reason": {
      -                          "type": "string"
      -                        },
      -                        "when": {
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "permission",
      -                        "when",
      -                        "reason"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "generated_roles_must_remain_below_bot": {
      -                    "const": true,
      -                    "type": "boolean"
      -                  },
      -                  "managed_roles_are_immutable": {
      -                    "const": true,
      -                    "type": "boolean"
      -                  },
      -                  "target_identity_and_guild_must_be_verified": {
      -                    "const": true,
      -                    "type": "boolean"
      -                  }
      -                },
      -                "required": [
      -                  "always_required_permissions",
      -                  "conditional_requirements",
      -                  "generated_roles_must_remain_below_bot",
      -                  "managed_roles_are_immutable",
      -                  "target_identity_and_guild_must_be_verified",
      -                  "auto_grant_permissions"
      -                ],
      -                "type": "object"
      -              },
      -              "categories": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "key": {
      -                      "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                      "type": "string"
      -                    },
      -                    "name": {
      -                      "maxLength": 100,
      -                      "minLength": 1,
      -                      "type": "string"
      -                    },
      -                    "overwrites": {
      -                      "items": {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "allow": {
      -                            "items": {
      -                              "enum": [
      -                                "VIEW_CHANNEL",
      -                                "READ_MESSAGE_HISTORY",
      -                                "SEND_MESSAGES",
      -                                "ADD_REACTIONS",
      -                                "EMBED_LINKS",
      -                                "ATTACH_FILES",
      -                                "USE_APPLICATION_COMMANDS",
      -                                "CREATE_PUBLIC_THREADS",
      -                                "SEND_MESSAGES_IN_THREADS",
      -                                "CONNECT",
      -                                "SPEAK",
      -                                "STREAM",
      -                                "USE_VAD",
      -                                "USE_EMBEDDED_ACTIVITIES",
      -                                "MANAGE_MESSAGES",
      -                                "MANAGE_THREADS",
      -                                "VIEW_AUDIT_LOG",
      -                                "KICK_MEMBERS",
      -                                "MODERATE_MEMBERS",
      -                                "CREATE_EVENTS",
      -                                "MANAGE_EVENTS",
      -                                "MANAGE_CHANNELS",
      -                                "MANAGE_ROLES",
      -                                "MANAGE_GUILD",
      -                                "ADMINISTRATOR"
      -                              ],
      -                              "type": "string"
      -                            },
      -                            "type": "array"
      -                          },
      -                          "deny": {
      -                            "items": {
      -                              "enum": [
      -                                "VIEW_CHANNEL",
      -                                "READ_MESSAGE_HISTORY",
      -                                "SEND_MESSAGES",
      -                                "ADD_REACTIONS",
      -                                "EMBED_LINKS",
      -                                "ATTACH_FILES",
      -                                "USE_APPLICATION_COMMANDS",
      -                                "CREATE_PUBLIC_THREADS",
      -                                "SEND_MESSAGES_IN_THREADS",
      -                                "CONNECT",
      -                                "SPEAK",
      -                                "STREAM",
      -                                "USE_VAD",
      -                                "USE_EMBEDDED_ACTIVITIES",
      -                                "MANAGE_MESSAGES",
      -                                "MANAGE_THREADS",
      -                                "VIEW_AUDIT_LOG",
      -                                "KICK_MEMBERS",
      -                                "MODERATE_MEMBERS",
      -                                "CREATE_EVENTS",
      -                                "MANAGE_EVENTS",
      -                                "MANAGE_CHANNELS",
      -                                "MANAGE_ROLES",
      -                                "MANAGE_GUILD",
      -                                "ADMINISTRATOR"
      -                              ],
      -                              "type": "string"
      -                            },
      -                            "type": "array"
      -                          },
      -                          "subject": {
      -                            "oneOf": [
      -                              {
      -                                "additionalProperties": false,
      -                                "properties": {
      -                                  "kind": {
      -                                    "const": "everyone",
      -                                    "type": "string"
      -                                  }
      -                                },
      -                                "required": [
      -                                  "kind"
      -                                ],
      -                                "type": "object"
      -                              },
      -                              {
      -                                "additionalProperties": false,
      -                                "properties": {
      -                                  "kind": {
      -                                    "const": "bot",
      -                                    "type": "string"
      -                                  }
      -                                },
      -                                "required": [
      -                                  "kind"
      -                                ],
      -                                "type": "object"
      -                              },
      -                              {
      -                                "additionalProperties": false,
      -                                "properties": {
      -                                  "key": {
      -                                    "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                                    "type": "string"
      -                                  },
      -                                  "kind": {
      -                                    "const": "role",
      -                                    "type": "string"
      -                                  }
      -                                },
      -                                "required": [
      -                                  "kind",
      -                                  "key"
      -                                ],
      -                                "type": "object"
      -                              }
      -                            ]
      -                          }
      -                        },
      -                        "required": [
      -                          "subject",
      -                          "allow",
      -                          "deny"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "position": {
      -                      "maximum": 9007199254740991,
      -                      "minimum": 0,
      -                      "type": "integer"
      -                    },
      -                    "private": {
      -                      "type": "boolean"
      -                    }
      -                  },
      -                  "required": [
      -                    "key",
      -                    "name",
      -                    "position",
      -                    "private",
      -                    "overwrites"
      -                  ],
      -                  "type": "object"
      -                },
      -                "maxItems": 8,
      -                "minItems": 4,
      -                "type": "array"
      -              },
      -              "channels": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "default_onboarding": {
      -                      "type": "boolean"
      -                    },
      -                    "everyone_sendable": {
      -                      "type": "boolean"
      -                    },
      -                    "forum_tags": {
      -                      "items": {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "emoji_name": {
      -                            "anyOf": [
      -                              {
      -                                "type": "string"
      -                              },
      -                              {
      -                                "type": "null"
      -                              }
      -                            ]
      -                          },
      -                          "key": {
      -                            "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                            "type": "string"
      -                          },
      -                          "moderated": {
      -                            "type": "boolean"
      -                          },
      -                          "name": {
      -                            "maxLength": 20,
      -                            "minLength": 1,
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "key",
      -                          "name",
      -                          "moderated",
      -                          "emoji_name"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "maxItems": 20,
      -                      "type": "array"
      -                    },
      -                    "key": {
      -                      "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                      "type": "string"
      -                    },
      -                    "name": {
      -                      "maxLength": 100,
      -                      "minLength": 1,
      -                      "type": "string"
      -                    },
      -                    "overwrites": {
      -                      "items": {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "allow": {
      -                            "items": {
      -                              "enum": [
      -                                "VIEW_CHANNEL",
      -                                "READ_MESSAGE_HISTORY",
      -                                "SEND_MESSAGES",
      -                                "ADD_REACTIONS",
      -                                "EMBED_LINKS",
      -                                "ATTACH_FILES",
      -                                "USE_APPLICATION_COMMANDS",
      -                                "CREATE_PUBLIC_THREADS",
      -                                "SEND_MESSAGES_IN_THREADS",
      -                                "CONNECT",
      -                                "SPEAK",
      -                                "STREAM",
      -                                "USE_VAD",
      -                                "USE_EMBEDDED_ACTIVITIES",
      -                                "MANAGE_MESSAGES",
      -                                "MANAGE_THREADS",
      -                                "VIEW_AUDIT_LOG",
      -                                "KICK_MEMBERS",
      -                                "MODERATE_MEMBERS",
      -                                "CREATE_EVENTS",
      -                                "MANAGE_EVENTS",
      -                                "MANAGE_CHANNELS",
      -                                "MANAGE_ROLES",
      -                                "MANAGE_GUILD",
      -                                "ADMINISTRATOR"
      -                              ],
      -                              "type": "string"
      -                            },
      -                            "type": "array"
      -                          },
      -                          "deny": {
      -                            "items": {
      -                              "enum": [
      -                                "VIEW_CHANNEL",
      -                                "READ_MESSAGE_HISTORY",
      -                                "SEND_MESSAGES",
      -                                "ADD_REACTIONS",
      -                                "EMBED_LINKS",
      -                                "ATTACH_FILES",
      -                                "USE_APPLICATION_COMMANDS",
      -                                "CREATE_PUBLIC_THREADS",
      -                                "SEND_MESSAGES_IN_THREADS",
      -                                "CONNECT",
      -                                "SPEAK",
      -                                "STREAM",
      -                                "USE_VAD",
      -                                "USE_EMBEDDED_ACTIVITIES",
      -                                "MANAGE_MESSAGES",
      -                                "MANAGE_THREADS",
      -                                "VIEW_AUDIT_LOG",
      -                                "KICK_MEMBERS",
      -                                "MODERATE_MEMBERS",
      -                                "CREATE_EVENTS",
      -                                "MANAGE_EVENTS",
      -                                "MANAGE_CHANNELS",
      -                                "MANAGE_ROLES",
      -                                "MANAGE_GUILD",
      -                                "ADMINISTRATOR"
      -                              ],
      -                              "type": "string"
      -                            },
      -                            "type": "array"
      -                          },
      -                          "subject": {
      -                            "oneOf": [
      -                              {
      -                                "additionalProperties": false,
      -                                "properties": {
      -                                  "kind": {
      -                                    "const": "everyone",
      -                                    "type": "string"
      -                                  }
      -                                },
      -                                "required": [
      -                                  "kind"
      -                                ],
      -                                "type": "object"
      -                              },
      -                              {
      -                                "additionalProperties": false,
      -                                "properties": {
      -                                  "kind": {
      -                                    "const": "bot",
      -                                    "type": "string"
      -                                  }
      -                                },
      -                                "required": [
      -                                  "kind"
      -                                ],
      -                                "type": "object"
      -                              },
      -                              {
      -                                "additionalProperties": false,
      -                                "properties": {
      -                                  "key": {
      -                                    "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                                    "type": "string"
      -                                  },
      -                                  "kind": {
      -                                    "const": "role",
      -                                    "type": "string"
      -                                  }
      -                                },
      -                                "required": [
      -                                  "kind",
      -                                  "key"
      -                                ],
      -                                "type": "object"
      -                              }
      -                            ]
      -                          }
      -                        },
      -                        "required": [
      -                          "subject",
      -                          "allow",
      -                          "deny"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "parent_key": {
      -                      "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                      "type": "string"
      -                    },
      -                    "position": {
      -                      "maximum": 9007199254740991,
      -                      "minimum": 0,
      -                      "type": "integer"
      -                    },
      -                    "slowmode_seconds": {
      -                      "maximum": 21600,
      -                      "minimum": 0,
      -                      "type": "integer"
      -                    },
      -                    "topic": {
      -                      "anyOf": [
      -                        {
      -                          "maxLength": 4096,
      -                          "type": "string"
      -                        },
      -                        {
      -                          "type": "null"
      -                        }
      -                      ]
      -                    },
      -                    "type": {
      -                      "enum": [
      -                        "text",
      -                        "voice",
      -                        "forum",
      -                        "stage"
      -                      ],
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "key",
      -                    "name",
      -                    "type",
      -                    "parent_key",
      -                    "position",
      -                    "topic",
      -                    "slowmode_seconds",
      -                    "default_onboarding",
      -                    "everyone_sendable",
      -                    "forum_tags",
      -                    "overwrites"
      -                  ],
      -                  "type": "object"
      -                },
      -                "maxItems": 32,
      -                "minItems": 12,
      -                "type": "array"
      -              },
      -              "components_v2": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "flags": {
      -                    "const": 32768,
      -                    "type": "number"
      -                  },
      -                  "publications": {
      -                    "items": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "allowed_mentions": {
      -                          "additionalProperties": false,
      -                          "properties": {
      -                            "parse": {
      -                              "items": {
      -                                "not": {}
      -                              },
      -                              "maxItems": 0,
      -                              "type": "array"
      -                            }
      -                          },
      -                          "required": [
      -                            "parse"
      -                          ],
      -                          "type": "object"
      -                        },
      -                        "channel_key": {
      -                          "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                          "type": "string"
      -                        },
      -                        "components": {
      -                          "items": {},
      -                          "maxItems": 40,
      -                          "minItems": 1,
      -                          "type": "array"
      -                        },
      -                        "key": {
      -                          "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                          "type": "string"
      -                        }
      -                      },
      -                      "required": [
      -                        "key",
      -                        "channel_key",
      -                        "allowed_mentions",
      -                        "components"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "maxItems": 6,
      -                    "minItems": 2,
      -                    "type": "array"
      -                  },
      -                  "resolve_channel_placeholders_before_send": {
      -                    "const": true,
      -                    "type": "boolean"
      -                  },
      -                  "validate_before_send": {
      -                    "const": true,
      -                    "type": "boolean"
      -                  }
      -                },
      -                "required": [
      -                  "flags",
      -                  "validate_before_send",
      -                  "resolve_channel_placeholders_before_send",
      -                  "publications"
      -                ],
      -                "type": "object"
      -              },
      -              "design_capabilities": {
      -                "items": {
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              },
      -              "guild": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "community": {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "public_updates_channel_key": {
      -                        "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                        "type": "string"
      -                      },
      -                      "required": {
      -                        "const": true,
      -                        "type": "boolean"
      -                      },
      -                      "rules_channel_key": {
      -                        "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                        "type": "string"
      -                      },
      -                      "safety_alerts_channel_key": {
      -                        "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "required",
      -                      "rules_channel_key",
      -                      "public_updates_channel_key",
      -                      "safety_alerts_channel_key"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "default_message_notifications": {
      -                    "const": 1,
      -                    "type": "number"
      -                  },
      -                  "description": {
      -                    "maxLength": 300,
      -                    "type": "string"
      -                  },
      -                  "explicit_content_filter": {
      -                    "const": 2,
      -                    "type": "number"
      -                  },
      -                  "name": {
      -                    "maxLength": 100,
      -                    "minLength": 2,
      -                    "type": "string"
      -                  },
      -                  "preferred_locale": {
      -                    "maxLength": 20,
      -                    "minLength": 2,
      -                    "type": "string"
      -                  },
      -                  "verification_level": {
      -                    "const": 2,
      -                    "type": "number"
      -                  },
      -                  "welcome_screen": {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "channel_keys": {
      -                        "items": {
      -                          "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                          "type": "string"
      -                        },
      -                        "maxItems": 5,
      -                        "minItems": 1,
      -                        "type": "array"
      -                      },
      -                      "description": {
      -                        "maxLength": 140,
      -                        "type": "string"
      -                      },
      -                      "enabled": {
      -                        "const": true,
      -                        "type": "boolean"
      -                      }
      -                    },
      -                    "required": [
      -                      "enabled",
      -                      "description",
      -                      "channel_keys"
      -                    ],
      -                    "type": "object"
      -                  }
      -                },
      -                "required": [
      -                  "name",
      -                  "description",
      -                  "preferred_locale",
      -                  "verification_level",
      -                  "default_message_notifications",
      -                  "explicit_content_filter",
      -                  "community",
      -                  "welcome_screen"
      -                ],
      -                "type": "object"
      -              },
      -              "onboarding": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "default_channel_keys": {
      -                    "items": {
      -                      "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                      "type": "string"
      -                    },
      -                    "minItems": 7,
      -                    "type": "array"
      -                  },
      -                  "enabled": {
      -                    "const": true,
      -                    "type": "boolean"
      -                  },
      -                  "mode": {
      -                    "const": 1,
      -                    "type": "number"
      -                  },
      -                  "prompts": {
      -                    "items": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "in_onboarding": {
      -                          "type": "boolean"
      -                        },
      -                        "key": {
      -                          "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                          "type": "string"
      -                        },
      -                        "options": {
      -                          "items": {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "channel_keys": {
      -                                "items": {
      -                                  "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                                  "type": "string"
      -                                },
      -                                "type": "array"
      -                              },
      -                              "description": {
      -                                "maxLength": 100,
      -                                "type": "string"
      -                              },
      -                              "key": {
      -                                "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                                "type": "string"
      -                              },
      -                              "role_keys": {
      -                                "items": {
      -                                  "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                                  "type": "string"
      -                                },
      -                                "type": "array"
      -                              },
      -                              "title": {
      -                                "maxLength": 100,
      -                                "minLength": 1,
      -                                "type": "string"
      -                              }
      -                            },
      -                            "required": [
      -                              "key",
      -                              "title",
      -                              "description",
      -                              "role_keys",
      -                              "channel_keys"
      -                            ],
      -                            "type": "object"
      -                          },
      -                          "maxItems": 25,
      -                          "minItems": 1,
      -                          "type": "array"
      -                        },
      -                        "required": {
      -                          "type": "boolean"
      -                        },
      -                        "single_select": {
      -                          "type": "boolean"
      -                        },
      -                        "title": {
      -                          "maxLength": 100,
      -                          "minLength": 1,
      -                          "type": "string"
      -                        },
      -                        "type": {
      -                          "anyOf": [
      -                            {
      -                              "const": 0,
      -                              "type": "number"
      -                            },
      -                            {
      -                              "const": 1,
      -                              "type": "number"
      -                            }
      -                          ]
      -                        }
      -                      },
      -                      "required": [
      -                        "key",
      -                        "type",
      -                        "title",
      -                        "required",
      -                        "in_onboarding",
      -                        "single_select",
      -                        "options"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "maxItems": 5,
      -                    "minItems": 1,
      -                    "type": "array"
      -                  },
      -                  "verification": {
      -                    "const": "api_readback_then_fresh_member_client_check",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "enabled",
      -                  "mode",
      -                  "default_channel_keys",
      -                  "prompts",
      -                  "verification"
      -                ],
      -                "type": "object"
      -              },
      -              "policy_version": {
      -                "const": "community-safe.v1",
      -                "type": "string"
      -              },
      -              "profile": {
      -                "enum": [
      -                  "professional_community",
      -                  "professional_gaming",
      -                  "professional_technology",
      -                  "professional_creative",
      -                  "professional_roleplay"
      -                ],
      -                "type": "string"
      -              },
      -              "resolution": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "channel_placeholder_format": {
      -                    "const": "<#{{channel:<symbol_key>}}>",
      -                    "type": "string"
      -                  },
      -                  "source_template_ids_allowed": {
      -                    "const": false,
      -                    "type": "boolean"
      -                  },
      -                  "strategy": {
      -                    "const": "resolve_from_target_guild_and_create_results",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "strategy",
      -                  "source_template_ids_allowed",
      -                  "channel_placeholder_format"
      -                ],
      -                "type": "object"
      -              },
      -              "role_order": {
      -                "items": {
      -                  "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                  "type": "string"
      -                },
      -                "maxItems": 16,
      -                "minItems": 3,
      -                "type": "array"
      -              },
      -              "roles": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "color": {
      -                      "maximum": 16777215,
      -                      "minimum": 0,
      -                      "type": "integer"
      -                    },
      -                    "hoist": {
      -                      "type": "boolean"
      -                    },
      -                    "key": {
      -                      "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -                      "type": "string"
      -                    },
      -                    "mentionable": {
      -                      "type": "boolean"
      -                    },
      -                    "name": {
      -                      "maxLength": 100,
      -                      "minLength": 1,
      -                      "type": "string"
      -                    },
      -                    "permissions": {
      -                      "items": {
      -                        "enum": [
      -                          "VIEW_CHANNEL",
      -                          "READ_MESSAGE_HISTORY",
      -                          "SEND_MESSAGES",
      -                          "ADD_REACTIONS",
      -                          "EMBED_LINKS",
      -                          "ATTACH_FILES",
      -                          "USE_APPLICATION_COMMANDS",
      -                          "CREATE_PUBLIC_THREADS",
      -                          "SEND_MESSAGES_IN_THREADS",
      -                          "CONNECT",
      -                          "SPEAK",
      -                          "STREAM",
      -                          "USE_VAD",
      -                          "USE_EMBEDDED_ACTIVITIES",
      -                          "MANAGE_MESSAGES",
      -                          "MANAGE_THREADS",
      -                          "VIEW_AUDIT_LOG",
      -                          "KICK_MEMBERS",
      -                          "MODERATE_MEMBERS",
      -                          "CREATE_EVENTS",
      -                          "MANAGE_EVENTS",
      -                          "MANAGE_CHANNELS",
      -                          "MANAGE_ROLES",
      -                          "MANAGE_GUILD",
      -                          "ADMINISTRATOR"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "position": {
      -                      "exclusiveMinimum": 0,
      -                      "maximum": 9007199254740991,
      -                      "type": "integer"
      -                    }
      -                  },
      -                  "required": [
      -                    "key",
      -                    "name",
      -                    "position",
      -                    "color",
      -                    "hoist",
      -                    "mentionable",
      -                    "permissions"
      -                  ],
      -                  "type": "object"
      -                },
      -                "maxItems": 16,
      -                "minItems": 3,
      -                "type": "array"
      -              },
      -              "safety": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "components_v2_pre_resolution_valid": {
      -                    "const": true,
      -                    "type": "boolean"
      -                  },
      -                  "dangling_symbolic_references": {
      -                    "const": 0,
      -                    "type": "number"
      -                  },
      -                  "onboarding_requirements_met": {
      -                    "const": true,
      -                    "type": "boolean"
      -                  },
      -                  "severe_generated_role_permissions": {
      -                    "const": 0,
      -                    "type": "number"
      -                  },
      -                  "source_overwrites_discarded": {
      -                    "const": true,
      -                    "type": "boolean"
      -                  },
      -                  "source_permissions_discarded": {
      -                    "const": true,
      -                    "type": "boolean"
      -                  }
      -                },
      -                "required": [
      -                  "source_permissions_discarded",
      -                  "source_overwrites_discarded",
      -                  "severe_generated_role_permissions",
      -                  "dangling_symbolic_references",
      -                  "onboarding_requirements_met",
      -                  "components_v2_pre_resolution_valid"
      -                ],
      -                "type": "object"
      -              },
      -              "schema_version": {
      -                "const": "guild_blueprint.v1",
      -                "type": "string"
      -              },
      -              "structure_basis": {
      -                "additionalProperties": false,
      -                "properties": {
      -                  "applied_signals": {
      -                    "items": {
      -                      "type": "string"
      -                    },
      -                    "type": "array"
      -                  },
      -                  "primary_category_count": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "primary_channel_count": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "primary_role_count": {
      -                    "maximum": 9007199254740991,
      -                    "minimum": 0,
      -                    "type": "integer"
      -                  },
      -                  "source_interpretation": {
      -                    "const": "verified_structural_signals_and_capability_modules",
      -                    "type": "string"
      -                  }
      -                },
      -                "required": [
      -                  "source_interpretation",
      -                  "primary_channel_count",
      -                  "primary_category_count",
      -                  "primary_role_count",
      -                  "applied_signals"
      -                ],
      -                "type": "object"
      -              }
      -            },
      -            "required": [
      -              "schema_version",
      -              "policy_version",
      -              "profile",
      -              "design_capabilities",
      -              "guild",
      -              "structure_basis",
      -              "roles",
      -              "role_order",
      -              "categories",
      -              "channels",
      -              "onboarding",
      -              "automod",
      -              "components_v2",
      -              "bot_boundary",
      -              "resolution",
      -              "safety"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "blueprint_id": {
      -        "anyOf": [
      -          {
      -            "pattern": "^sha256:[a-f0-9]{64}$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "bot_permissions": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "administrator": {
      -                "type": "boolean"
      -              },
      -              "missing": {
      -                "items": {
      -                  "type": "string"
      -                },
      -                "type": "array"
      -              },
      -              "top_role_id": {
      -                "anyOf": [
      -                  {
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              },
      -              "top_role_position": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "administrator",
      -              "missing",
      -              "top_role_id",
      -              "top_role_position"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "operations": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "action": {
      -              "enum": [
      -                "create",
      -                "update",
      -                "reorder",
      -                "send"
      -              ],
      -              "type": "string"
      -            },
      -            "key": {
      -              "pattern": "^[a-z][a-z0-9_]{0,63}$",
      -              "type": "string"
      -            },
      -            "operation_id": {
      -              "pattern": "^[a-z][a-z0-9_:.-]{0,159}$",
      -              "type": "string"
      -            },
      -            "phase": {
      -              "enum": [
      -                "roles",
      -                "categories",
      -                "channels",
      -                "ordering",
      -                "guild",
      -                "welcome",
      -                "onboarding",
      -                "automod",
      -                "publications"
      -              ],
      -              "type": "string"
      -            },
      -            "resource": {
      -              "enum": [
      -                "role",
      -                "category",
      -                "channel",
      -                "role_order",
      -                "channel_order",
      -                "guild",
      -                "welcome_screen",
      -                "onboarding",
      -                "automod_rule",
      -                "publication"
      -              ],
      -              "type": "string"
      -            },
      -            "risk": {
      -              "enum": [
      -                "low",
      -                "medium",
      -                "high"
      -              ],
      -              "type": "string"
      -            },
      -            "summary": {
      -              "maxLength": 240,
      -              "minLength": 1,
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "operation_id",
      -            "phase",
      -            "action",
      -            "resource",
      -            "key",
      -            "summary",
      -            "risk"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 128,
      -        "type": "array"
      -      },
      -      "plan_id": {
      -        "anyOf": [
      -          {
      -            "pattern": "^sha256:[a-f0-9]{64}$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "plan_ref": {
      -        "anyOf": [
      -          {
      -            "pattern": "^dmbpr1\\.[a-f0-9]{64}$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Preferred caller-local apply reference; null only when local persistence failed"
      -      },
      -      "plan_token": {
      -        "anyOf": [
      -          {
      -            "maxLength": 65536,
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Legacy portable apply credential; prefer plan_ref when it is available"
      -      },
      -      "request": {
      -        "type": "string"
      -      },
      -      "snapshot_id": {
      -        "anyOf": [
      -          {
      -            "pattern": "^sha256:[a-f0-9]{64}$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "source": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "catalog_version": {
      -                "type": "string"
      -              },
      -              "inspirations": {
      -                "items": {
      -                  "additionalProperties": false,
      -                  "properties": {
      -                    "blueprint": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "category_count": {
      -                          "maximum": 9007199254740991,
      -                          "minimum": 0,
      -                          "type": "integer"
      -                        },
      -                        "channel_count": {
      -                          "maximum": 9007199254740991,
      -                          "minimum": 0,
      -                          "type": "integer"
      -                        },
      -                        "forum_channel_count": {
      -                          "maximum": 9007199254740991,
      -                          "minimum": 0,
      -                          "type": "integer"
      -                        },
      -                        "nsfw_channel_count": {
      -                          "maximum": 9007199254740991,
      -                          "minimum": 0,
      -                          "type": "integer"
      -                        },
      -                        "other_channel_count": {
      -                          "maximum": 9007199254740991,
      -                          "minimum": 0,
      -                          "type": "integer"
      -                        },
      -                        "permission_overwrite_count": {
      -                          "maximum": 9007199254740991,
      -                          "minimum": 0,
      -                          "type": "integer"
      -                        },
      -                        "privileged_role_count": {
      -                          "maximum": 9007199254740991,
      -                          "minimum": 0,
      -                          "type": "integer"
      -                        },
      -                        "risky_permission_signals": {
      -                          "items": {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "permission": {
      -                                "enum": [
      -                                  "ADMINISTRATOR",
      -                                  "MANAGE_GUILD",
      -                                  "MANAGE_ROLES",
      -                                  "MANAGE_CHANNELS",
      -                                  "MANAGE_WEBHOOKS",
      -                                  "KICK_MEMBERS",
      -                                  "BAN_MEMBERS",
      -                                  "MENTION_EVERYONE"
      -                                ],
      -                                "type": "string"
      -                              },
      -                              "role_count": {
      -                                "exclusiveMinimum": 0,
      -                                "maximum": 9007199254740991,
      -                                "type": "integer"
      -                              }
      -                            },
      -                            "required": [
      -                              "permission",
      -                              "role_count"
      -                            ],
      -                            "type": "object"
      -                          },
      -                          "type": "array"
      -                        },
      -                        "role_count": {
      -                          "maximum": 9007199254740991,
      -                          "minimum": 0,
      -                          "type": "integer"
      -                        },
      -                        "stage_channel_count": {
      -                          "maximum": 9007199254740991,
      -                          "minimum": 0,
      -                          "type": "integer"
      -                        },
      -                        "text_channel_count": {
      -                          "maximum": 9007199254740991,
      -                          "minimum": 0,
      -                          "type": "integer"
      -                        },
      -                        "voice_channel_count": {
      -                          "maximum": 9007199254740991,
      -                          "minimum": 0,
      -                          "type": "integer"
      -                        }
      -                      },
      -                      "required": [
      -                        "channel_count",
      -                        "category_count",
      -                        "text_channel_count",
      -                        "voice_channel_count",
      -                        "forum_channel_count",
      -                        "stage_channel_count",
      -                        "other_channel_count",
      -                        "nsfw_channel_count",
      -                        "permission_overwrite_count",
      -                        "role_count",
      -                        "privileged_role_count",
      -                        "risky_permission_signals"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "code": {
      -                      "maxLength": 100,
      -                      "minLength": 1,
      -                      "pattern": "^[a-zA-Z0-9_-]+$",
      -                      "type": "string"
      -                    },
      -                    "contributes": {
      -                      "items": {
      -                        "enum": [
      -                          "gaming",
      -                          "community",
      -                          "roleplay",
      -                          "lfg",
      -                          "platform",
      -                          "staff",
      -                          "support",
      -                          "events",
      -                          "technology",
      -                          "learning",
      -                          "art",
      -                          "music",
      -                          "voice",
      -                          "forum"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "effective_capabilities": {
      -                      "items": {
      -                        "enum": [
      -                          "gaming",
      -                          "community",
      -                          "roleplay",
      -                          "lfg",
      -                          "platform",
      -                          "staff",
      -                          "support",
      -                          "events",
      -                          "technology",
      -                          "learning",
      -                          "art",
      -                          "music",
      -                          "voice",
      -                          "forum"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "matched_capabilities": {
      -                      "items": {
      -                        "enum": [
      -                          "gaming",
      -                          "community",
      -                          "roleplay",
      -                          "lfg",
      -                          "platform",
      -                          "staff",
      -                          "support",
      -                          "events",
      -                          "technology",
      -                          "learning",
      -                          "art",
      -                          "music",
      -                          "voice",
      -                          "forum"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "provenance": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "evidence_digest": {
      -                          "pattern": "^sha256:[a-f0-9]{64}$",
      -                          "type": "string"
      -                        },
      -                        "fetched_at": {
      -                          "format": "date-time",
      -                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -                          "type": "string"
      -                        },
      -                        "source_guild": {
      -                          "additionalProperties": false,
      -                          "properties": {
      -                            "icon_hash": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "id": {
      -                              "pattern": "^\\d{17,20}$",
      -                              "type": "string"
      -                            },
      -                            "preferred_locale": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            },
      -                            "snapshot_id": {
      -                              "anyOf": [
      -                                {
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "type": "null"
      -                                }
      -                              ]
      -                            }
      -                          },
      -                          "required": [
      -                            "id",
      -                            "snapshot_id",
      -                            "icon_hash",
      -                            "preferred_locale"
      -                          ],
      -                          "type": "object"
      -                        }
      -                      },
      -                      "required": [
      -                        "evidence_digest",
      -                        "fetched_at",
      -                        "source_guild"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "quality": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "code_match": {
      -                          "const": true,
      -                          "type": "boolean"
      -                        },
      -                        "confidence": {
      -                          "enum": [
      -                            "high",
      -                            "medium"
      -                          ],
      -                          "type": "string"
      -                        },
      -                        "marked_dirty": {
      -                          "anyOf": [
      -                            {
      -                              "type": "boolean"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ]
      -                        },
      -                        "permission_handling": {
      -                          "const": "discarded_and_regenerated",
      -                          "type": "string"
      -                        },
      -                        "risky_permission_signals": {
      -                          "items": {
      -                            "type": "string"
      -                          },
      -                          "type": "array"
      -                        },
      -                        "verified": {
      -                          "const": true,
      -                          "type": "boolean"
      -                        }
      -                      },
      -                      "required": [
      -                        "verified",
      -                        "code_match",
      -                        "marked_dirty",
      -                        "confidence",
      -                        "permission_handling",
      -                        "risky_permission_signals"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "reasons": {
      -                      "items": {
      -                        "type": "string"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "score": {
      -                      "maximum": 100,
      -                      "minimum": 0,
      -                      "type": "number"
      -                    },
      -                    "score_breakdown": {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "intent_fit": {
      -                          "maximum": 45,
      -                          "minimum": 0,
      -                          "type": "number"
      -                        },
      -                        "metadata_quality": {
      -                          "maximum": 5,
      -                          "minimum": 0,
      -                          "type": "number"
      -                        },
      -                        "structural_quality": {
      -                          "maximum": 30,
      -                          "minimum": 0,
      -                          "type": "number"
      -                        },
      -                        "total": {
      -                          "maximum": 100,
      -                          "minimum": 0,
      -                          "type": "number"
      -                        },
      -                        "usage": {
      -                          "maximum": 5,
      -                          "minimum": 0,
      -                          "type": "number"
      -                        },
      -                        "verified_safety": {
      -                          "maximum": 15,
      -                          "minimum": 0,
      -                          "type": "number"
      -                        }
      -                      },
      -                      "required": [
      -                        "intent_fit",
      -                        "structural_quality",
      -                        "verified_safety",
      -                        "metadata_quality",
      -                        "usage",
      -                        "total"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "structural_contributions": {
      -                      "items": {
      -                        "enum": [
      -                          "categories",
      -                          "text_channels",
      -                          "voice_channels",
      -                          "forums",
      -                          "stages",
      -                          "custom_roles"
      -                        ],
      -                        "type": "string"
      -                      },
      -                      "type": "array"
      -                    },
      -                    "use_url": {
      -                      "format": "uri",
      -                      "type": "string"
      -                    }
      -                  },
      -                  "required": [
      -                    "code",
      -                    "use_url",
      -                    "score",
      -                    "matched_capabilities",
      -                    "effective_capabilities",
      -                    "contributes",
      -                    "structural_contributions",
      -                    "reasons",
      -                    "blueprint",
      -                    "quality",
      -                    "score_breakdown",
      -                    "provenance"
      -                  ],
      -                  "type": "object"
      -                },
      -                "maxItems": 3,
      -                "type": "array"
      -              },
      -              "permission_policy": {
      -                "const": "discard_source_and_regenerate",
      -                "type": "string"
      -              },
      -              "primary": {
      -                "anyOf": [
      -                  {
      -                    "additionalProperties": false,
      -                    "properties": {
      -                      "blueprint": {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "category_count": {
      -                            "maximum": 9007199254740991,
      -                            "minimum": 0,
      -                            "type": "integer"
      -                          },
      -                          "channel_count": {
      -                            "maximum": 9007199254740991,
      -                            "minimum": 0,
      -                            "type": "integer"
      -                          },
      -                          "forum_channel_count": {
      -                            "maximum": 9007199254740991,
      -                            "minimum": 0,
      -                            "type": "integer"
      -                          },
      -                          "nsfw_channel_count": {
      -                            "maximum": 9007199254740991,
      -                            "minimum": 0,
      -                            "type": "integer"
      -                          },
      -                          "other_channel_count": {
      -                            "maximum": 9007199254740991,
      -                            "minimum": 0,
      -                            "type": "integer"
      -                          },
      -                          "permission_overwrite_count": {
      -                            "maximum": 9007199254740991,
      -                            "minimum": 0,
      -                            "type": "integer"
      -                          },
      -                          "privileged_role_count": {
      -                            "maximum": 9007199254740991,
      -                            "minimum": 0,
      -                            "type": "integer"
      -                          },
      -                          "risky_permission_signals": {
      -                            "items": {
      -                              "additionalProperties": false,
      -                              "properties": {
      -                                "permission": {
      -                                  "enum": [
      -                                    "ADMINISTRATOR",
      -                                    "MANAGE_GUILD",
      -                                    "MANAGE_ROLES",
      -                                    "MANAGE_CHANNELS",
      -                                    "MANAGE_WEBHOOKS",
      -                                    "KICK_MEMBERS",
      -                                    "BAN_MEMBERS",
      -                                    "MENTION_EVERYONE"
      -                                  ],
      -                                  "type": "string"
      -                                },
      -                                "role_count": {
      -                                  "exclusiveMinimum": 0,
      -                                  "maximum": 9007199254740991,
      -                                  "type": "integer"
      -                                }
      -                              },
      -                              "required": [
      -                                "permission",
      -                                "role_count"
      -                              ],
      -                              "type": "object"
      -                            },
      -                            "type": "array"
      -                          },
      -                          "role_count": {
      -                            "maximum": 9007199254740991,
      -                            "minimum": 0,
      -                            "type": "integer"
      -                          },
      -                          "stage_channel_count": {
      -                            "maximum": 9007199254740991,
      -                            "minimum": 0,
      -                            "type": "integer"
      -                          },
      -                          "text_channel_count": {
      -                            "maximum": 9007199254740991,
      -                            "minimum": 0,
      -                            "type": "integer"
      -                          },
      -                          "voice_channel_count": {
      -                            "maximum": 9007199254740991,
      -                            "minimum": 0,
      -                            "type": "integer"
      -                          }
      -                        },
      -                        "required": [
      -                          "channel_count",
      -                          "category_count",
      -                          "text_channel_count",
      -                          "voice_channel_count",
      -                          "forum_channel_count",
      -                          "stage_channel_count",
      -                          "other_channel_count",
      -                          "nsfw_channel_count",
      -                          "permission_overwrite_count",
      -                          "role_count",
      -                          "privileged_role_count",
      -                          "risky_permission_signals"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "code": {
      -                        "maxLength": 100,
      -                        "minLength": 1,
      -                        "pattern": "^[a-zA-Z0-9_-]+$",
      -                        "type": "string"
      -                      },
      -                      "contributes": {
      -                        "items": {
      -                          "enum": [
      -                            "gaming",
      -                            "community",
      -                            "roleplay",
      -                            "lfg",
      -                            "platform",
      -                            "staff",
      -                            "support",
      -                            "events",
      -                            "technology",
      -                            "learning",
      -                            "art",
      -                            "music",
      -                            "voice",
      -                            "forum"
      -                          ],
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "effective_capabilities": {
      -                        "items": {
      -                          "enum": [
      -                            "gaming",
      -                            "community",
      -                            "roleplay",
      -                            "lfg",
      -                            "platform",
      -                            "staff",
      -                            "support",
      -                            "events",
      -                            "technology",
      -                            "learning",
      -                            "art",
      -                            "music",
      -                            "voice",
      -                            "forum"
      -                          ],
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "matched_capabilities": {
      -                        "items": {
      -                          "enum": [
      -                            "gaming",
      -                            "community",
      -                            "roleplay",
      -                            "lfg",
      -                            "platform",
      -                            "staff",
      -                            "support",
      -                            "events",
      -                            "technology",
      -                            "learning",
      -                            "art",
      -                            "music",
      -                            "voice",
      -                            "forum"
      -                          ],
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "provenance": {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "evidence_digest": {
      -                            "pattern": "^sha256:[a-f0-9]{64}$",
      -                            "type": "string"
      -                          },
      -                          "fetched_at": {
      -                            "format": "date-time",
      -                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -                            "type": "string"
      -                          },
      -                          "source_guild": {
      -                            "additionalProperties": false,
      -                            "properties": {
      -                              "icon_hash": {
      -                                "anyOf": [
      -                                  {
      -                                    "type": "string"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              },
      -                              "id": {
      -                                "pattern": "^\\d{17,20}$",
      -                                "type": "string"
      -                              },
      -                              "preferred_locale": {
      -                                "anyOf": [
      -                                  {
      -                                    "type": "string"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              },
      -                              "snapshot_id": {
      -                                "anyOf": [
      -                                  {
      -                                    "type": "string"
      -                                  },
      -                                  {
      -                                    "type": "null"
      -                                  }
      -                                ]
      -                              }
      -                            },
      -                            "required": [
      -                              "id",
      -                              "snapshot_id",
      -                              "icon_hash",
      -                              "preferred_locale"
      -                            ],
      -                            "type": "object"
      -                          }
      -                        },
      -                        "required": [
      -                          "evidence_digest",
      -                          "fetched_at",
      -                          "source_guild"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "quality": {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "code_match": {
      -                            "const": true,
      -                            "type": "boolean"
      -                          },
      -                          "confidence": {
      -                            "enum": [
      -                              "high",
      -                              "medium"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          "marked_dirty": {
      -                            "anyOf": [
      -                              {
      -                                "type": "boolean"
      -                              },
      -                              {
      -                                "type": "null"
      -                              }
      -                            ]
      -                          },
      -                          "permission_handling": {
      -                            "const": "discarded_and_regenerated",
      -                            "type": "string"
      -                          },
      -                          "risky_permission_signals": {
      -                            "items": {
      -                              "type": "string"
      -                            },
      -                            "type": "array"
      -                          },
      -                          "verified": {
      -                            "const": true,
      -                            "type": "boolean"
      -                          }
      -                        },
      -                        "required": [
      -                          "verified",
      -                          "code_match",
      -                          "marked_dirty",
      -                          "confidence",
      -                          "permission_handling",
      -                          "risky_permission_signals"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "reasons": {
      -                        "items": {
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "score": {
      -                        "maximum": 100,
      -                        "minimum": 0,
      -                        "type": "number"
      -                      },
      -                      "score_breakdown": {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "intent_fit": {
      -                            "maximum": 45,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "metadata_quality": {
      -                            "maximum": 5,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "structural_quality": {
      -                            "maximum": 30,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "total": {
      -                            "maximum": 100,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "usage": {
      -                            "maximum": 5,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          },
      -                          "verified_safety": {
      -                            "maximum": 15,
      -                            "minimum": 0,
      -                            "type": "number"
      -                          }
      -                        },
      -                        "required": [
      -                          "intent_fit",
      -                          "structural_quality",
      -                          "verified_safety",
      -                          "metadata_quality",
      -                          "usage",
      -                          "total"
      -                        ],
      -                        "type": "object"
      -                      },
      -                      "structural_contributions": {
      -                        "items": {
      -                          "enum": [
      -                            "categories",
      -                            "text_channels",
      -                            "voice_channels",
      -                            "forums",
      -                            "stages",
      -                            "custom_roles"
      -                          ],
      -                          "type": "string"
      -                        },
      -                        "type": "array"
      -                      },
      -                      "use_url": {
      -                        "format": "uri",
      -                        "type": "string"
      -                      }
      -                    },
      -                    "required": [
      -                      "code",
      -                      "use_url",
      -                      "score",
      -                      "matched_capabilities",
      -                      "effective_capabilities",
      -                      "contributes",
      -                      "structural_contributions",
      -                      "reasons",
      -                      "blueprint",
      -                      "quality",
      -                      "score_breakdown",
      -                      "provenance"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ]
      -              }
      -            },
      -            "required": [
      -              "catalog_version",
      -              "primary",
      -              "inspirations",
      -              "permission_policy"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "status": {
      -        "enum": [
      -          "ready",
      -          "already_current",
      -          "blocked",
      -          "no_match"
      -        ],
      -        "type": "string"
      -      },
      -      "summary": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "by_phase": {
      -                "additionalProperties": {
      -                  "maximum": 9007199254740991,
      -                  "minimum": 0,
      -                  "type": "integer"
      -                },
      -                "propertyNames": {
      -                  "enum": [
      -                    "roles",
      -                    "categories",
      -                    "channels",
      -                    "ordering",
      -                    "guild",
      -                    "welcome",
      -                    "onboarding",
      -                    "automod",
      -                    "publications"
      -                  ],
      -                  "type": "string"
      -                },
      -                "required": [
      -                  "roles",
      -                  "categories",
      -                  "channels",
      -                  "ordering",
      -                  "guild",
      -                  "welcome",
      -                  "onboarding",
      -                  "automod",
      -                  "publications"
      -                ],
      -                "type": "object"
      -              },
      -              "create_operations": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "high_risk_operations": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "reorder_operations": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "send_operations": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "total_operations": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              },
      -              "update_operations": {
      -                "maximum": 9007199254740991,
      -                "minimum": 0,
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "total_operations",
      -              "create_operations",
      -              "update_operations",
      -              "reorder_operations",
      -              "send_operations",
      -              "high_risk_operations",
      -              "by_phase"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "target": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "bot_id": {
      -                "description": "Discord user ID",
      -                "pattern": "^\\d{17,20}$",
      -                "type": "string"
      -              },
      -              "guild_id": {
      -                "description": "Discord guild (server) ID",
      -                "pattern": "^\\d{17,20}$",
      -                "type": "string"
      -              }
      -            },
      -            "required": [
      -              "guild_id",
      -              "bot_id"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "verification": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "blueprint_validation": {
      -            "enum": [
      -              "not_run",
      -              "passed"
      -            ],
      -            "type": "string"
      -          },
      -          "candidates_inspected": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "catalog_records": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "target_readback": {
      -            "enum": [
      -              "not_run",
      -              "passed"
      -            ],
      -            "type": "string"
      -          },
      -          "template_cache_hits": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "template_rest_requests": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "templates_verified": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "catalog_records",
      -          "candidates_inspected",
      -          "template_rest_requests",
      -          "template_cache_hits",
      -          "templates_verified",
      -          "blueprint_validation",
      -          "target_readback"
      -        ],
      -        "type": "object"
      -      },
      -      "warnings": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "request",
      -      "source",
      -      "target",
      -      "blueprint_id",
      -      "blueprint",
      -      "snapshot_id",
      -      "plan_id",
      -      "approval_id",
      -      "plan_token",
      -      "plan_ref",
      -      "summary",
      -      "operations",
      -      "bot_permissions",
      -      "blockers",
      -      "warnings",
      -      "verification"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "category": {
      -        "enum": [
      -          "client",
      -          "server"
      -        ],
      -        "type": "string"
      -      },
      -      "code": {
      -        "type": "string"
      -      },
      -      "recovery_hint": {
      -        "type": "string"
      -      },
      -      "retriable": {
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "code",
      -      "retriable",
      -      "category",
      -      "recovery_hint"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "$schema": "https://json-schema.org/draft/2020-12/schema",
      +    "additionalProperties": {},
      +    "properties": {
      +      "approval_id": {
      +        "anyOf": [
      +          {
      +            "pattern": "^sha256:[a-f0-9]{64}$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "blockers": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "code": {
      +              "pattern": "^[A-Z][A-Z0-9_]{2,63}$",
      +              "type": "string"
      +            },
      +            "message": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "recovery_hint": {
      +              "maxLength": 500,
      +              "minLength": 1,
      +              "type": "string"
      +            },
      +            "resource": {
      +              "anyOf": [
      +                {
      +                  "maxLength": 160,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "code",
      +            "message",
      +            "resource",
      +            "recovery_hint"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "blueprint": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "automod": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "rules": {
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "actions": {
      +                          "items": {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "alert_channel_key": {
      +                                "anyOf": [
      +                                  {
      +                                    "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ]
      +                              },
      +                              "custom_message": {
      +                                "anyOf": [
      +                                  {
      +                                    "maxLength": 150,
      +                                    "type": "string"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ]
      +                              },
      +                              "duration_seconds": {
      +                                "anyOf": [
      +                                  {
      +                                    "maximum": 2419200,
      +                                    "minimum": 0,
      +                                    "type": "integer"
      +                                  },
      +                                  {
      +                                    "type": "null"
      +                                  }
      +                                ]
      +                              },
      +                              "type": {
      +                                "anyOf": [
      +                                  {
      +                                    "const": 1,
      +                                    "type": "number"
      +                                  },
      +                                  {
      +                                    "const": 2,
      +                                    "type": "number"
      +                                  },
      +                                  {
      +                                    "const": 3,
      +                                    "type": "number"
      +                                  },
      +                                  {
      +                                    "const": 4,
      +                                    "type": "number"
      +                                  }
      +                                ]
      +                              }
      +                            },
      +                            "required": [
      +                              "type",
      +                              "alert_channel_key",
      +                              "duration_seconds",
      +                              "custom_message"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          "maxItems": 3,
      +                          "minItems": 1,
      +                          "type": "array"
      +                        },
      +                        "allow_list": {
      +                          "items": {
      +                            "maxLength": 60,
      +                            "type": "string"
      +                          },
      +                          "maxItems": 1000,
      +                          "type": "array"
      +                        },
      +                        "enabled": {
      +                          "type": "boolean"
      +                        },
      +                        "event_type": {
      +                          "anyOf": [
      +                            {
      +                              "const": 1,
      +                              "type": "number"
      +                            },
      +                            {
      +                              "const": 2,
      +                              "type": "number"
      +                            }
      +                          ]
      +                        },
      +                        "exempt_channel_keys": {
      +                          "items": {
      +                            "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 50,
      +                          "type": "array"
      +                        },
      +                        "exempt_role_keys": {
      +                          "items": {
      +                            "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                            "type": "string"
      +                          },
      +                          "maxItems": 20,
      +                          "type": "array"
      +                        },
      +                        "key": {
      +                          "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                          "type": "string"
      +                        },
      +                        "keyword_filter": {
      +                          "items": {
      +                            "maxLength": 60,
      +                            "type": "string"
      +                          },
      +                          "maxItems": 1000,
      +                          "type": "array"
      +                        },
      +                        "mention_raid_protection_enabled": {
      +                          "type": [
      +                            "boolean",
      +                            "null"
      +                          ]
      +                        },
      +                        "mention_total_limit": {
      +                          "anyOf": [
      +                            {
      +                              "maximum": 50,
      +                              "minimum": 0,
      +                              "type": "integer"
      +                            },
      +                            {
      +                              "type": "null"
      +                            }
      +                          ]
      +                        },
      +                        "name": {
      +                          "maxLength": 100,
      +                          "minLength": 1,
      +                          "type": "string"
      +                        },
      +                        "presets": {
      +                          "items": {
      +                            "anyOf": [
      +                              {
      +                                "const": 1,
      +                                "type": "number"
      +                              },
      +                              {
      +                                "const": 2,
      +                                "type": "number"
      +                              },
      +                              {
      +                                "const": 3,
      +                                "type": "number"
      +                              }
      +                            ]
      +                          },
      +                          "maxItems": 3,
      +                          "type": "array"
      +                        },
      +                        "regex_patterns": {
      +                          "items": {
      +                            "maxLength": 260,
      +                            "type": "string"
      +                          },
      +                          "maxItems": 10,
      +                          "type": "array"
      +                        },
      +                        "trigger_type": {
      +                          "anyOf": [
      +                            {
      +                              "const": 1,
      +                              "type": "number"
      +                            },
      +                            {
      +                              "const": 3,
      +                              "type": "number"
      +                            },
      +                            {
      +                              "const": 4,
      +                              "type": "number"
      +                            },
      +                            {
      +                              "const": 5,
      +                              "type": "number"
      +                            },
      +                            {
      +                              "const": 6,
      +                              "type": "number"
      +                            }
      +                          ]
      +                        }
      +                      },
      +                      "required": [
      +                        "key",
      +                        "name",
      +                        "event_type",
      +                        "trigger_type",
      +                        "keyword_filter",
      +                        "regex_patterns",
      +                        "presets",
      +                        "allow_list",
      +                        "mention_total_limit",
      +                        "mention_raid_protection_enabled",
      +                        "actions",
      +                        "exempt_role_keys",
      +                        "exempt_channel_keys",
      +                        "enabled"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "maxItems": 8,
      +                    "minItems": 1,
      +                    "type": "array"
      +                  },
      +                  "verification": {
      +                    "const": "read_after_write",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "rules",
      +                  "verification"
      +                ],
      +                "type": "object"
      +              },
      +              "bot_boundary": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "always_required_permissions": {
      +                    "items": {
      +                      "enum": [
      +                        "VIEW_CHANNEL",
      +                        "READ_MESSAGE_HISTORY",
      +                        "SEND_MESSAGES",
      +                        "ADD_REACTIONS",
      +                        "EMBED_LINKS",
      +                        "ATTACH_FILES",
      +                        "USE_APPLICATION_COMMANDS",
      +                        "CREATE_PUBLIC_THREADS",
      +                        "SEND_MESSAGES_IN_THREADS",
      +                        "CONNECT",
      +                        "SPEAK",
      +                        "STREAM",
      +                        "USE_VAD",
      +                        "USE_EMBEDDED_ACTIVITIES",
      +                        "MANAGE_MESSAGES",
      +                        "MANAGE_THREADS",
      +                        "VIEW_AUDIT_LOG",
      +                        "KICK_MEMBERS",
      +                        "MODERATE_MEMBERS",
      +                        "CREATE_EVENTS",
      +                        "MANAGE_EVENTS",
      +                        "MANAGE_CHANNELS",
      +                        "MANAGE_ROLES",
      +                        "MANAGE_GUILD",
      +                        "ADMINISTRATOR"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "auto_grant_permissions": {
      +                    "const": false,
      +                    "type": "boolean"
      +                  },
      +                  "conditional_requirements": {
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "permission": {
      +                          "enum": [
      +                            "VIEW_CHANNEL",
      +                            "READ_MESSAGE_HISTORY",
      +                            "SEND_MESSAGES",
      +                            "ADD_REACTIONS",
      +                            "EMBED_LINKS",
      +                            "ATTACH_FILES",
      +                            "USE_APPLICATION_COMMANDS",
      +                            "CREATE_PUBLIC_THREADS",
      +                            "SEND_MESSAGES_IN_THREADS",
      +                            "CONNECT",
      +                            "SPEAK",
      +                            "STREAM",
      +                            "USE_VAD",
      +                            "USE_EMBEDDED_ACTIVITIES",
      +                            "MANAGE_MESSAGES",
      +                            "MANAGE_THREADS",
      +                            "VIEW_AUDIT_LOG",
      +                            "KICK_MEMBERS",
      +                            "MODERATE_MEMBERS",
      +                            "CREATE_EVENTS",
      +                            "MANAGE_EVENTS",
      +                            "MANAGE_CHANNELS",
      +                            "MANAGE_ROLES",
      +                            "MANAGE_GUILD",
      +                            "ADMINISTRATOR"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        "reason": {
      +                          "type": "string"
      +                        },
      +                        "when": {
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "permission",
      +                        "when",
      +                        "reason"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "generated_roles_must_remain_below_bot": {
      +                    "const": true,
      +                    "type": "boolean"
      +                  },
      +                  "managed_roles_are_immutable": {
      +                    "const": true,
      +                    "type": "boolean"
      +                  },
      +                  "target_identity_and_guild_must_be_verified": {
      +                    "const": true,
      +                    "type": "boolean"
      +                  }
      +                },
      +                "required": [
      +                  "always_required_permissions",
      +                  "conditional_requirements",
      +                  "generated_roles_must_remain_below_bot",
      +                  "managed_roles_are_immutable",
      +                  "target_identity_and_guild_must_be_verified",
      +                  "auto_grant_permissions"
      +                ],
      +                "type": "object"
      +              },
      +              "categories": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "key": {
      +                      "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "maxLength": 100,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "overwrites": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "allow": {
      +                            "items": {
      +                              "enum": [
      +                                "VIEW_CHANNEL",
      +                                "READ_MESSAGE_HISTORY",
      +                                "SEND_MESSAGES",
      +                                "ADD_REACTIONS",
      +                                "EMBED_LINKS",
      +                                "ATTACH_FILES",
      +                                "USE_APPLICATION_COMMANDS",
      +                                "CREATE_PUBLIC_THREADS",
      +                                "SEND_MESSAGES_IN_THREADS",
      +                                "CONNECT",
      +                                "SPEAK",
      +                                "STREAM",
      +                                "USE_VAD",
      +                                "USE_EMBEDDED_ACTIVITIES",
      +                                "MANAGE_MESSAGES",
      +                                "MANAGE_THREADS",
      +                                "VIEW_AUDIT_LOG",
      +                                "KICK_MEMBERS",
      +                                "MODERATE_MEMBERS",
      +                                "CREATE_EVENTS",
      +                                "MANAGE_EVENTS",
      +                                "MANAGE_CHANNELS",
      +                                "MANAGE_ROLES",
      +                                "MANAGE_GUILD",
      +                                "ADMINISTRATOR"
      +                              ],
      +                              "type": "string"
      +                            },
      +                            "type": "array"
      +                          },
      +                          "deny": {
      +                            "items": {
      +                              "enum": [
      +                                "VIEW_CHANNEL",
      +                                "READ_MESSAGE_HISTORY",
      +                                "SEND_MESSAGES",
      +                                "ADD_REACTIONS",
      +                                "EMBED_LINKS",
      +                                "ATTACH_FILES",
      +                                "USE_APPLICATION_COMMANDS",
      +                                "CREATE_PUBLIC_THREADS",
      +                                "SEND_MESSAGES_IN_THREADS",
      +                                "CONNECT",
      +                                "SPEAK",
      +                                "STREAM",
      +                                "USE_VAD",
      +                                "USE_EMBEDDED_ACTIVITIES",
      +                                "MANAGE_MESSAGES",
      +                                "MANAGE_THREADS",
      +                                "VIEW_AUDIT_LOG",
      +                                "KICK_MEMBERS",
      +                                "MODERATE_MEMBERS",
      +                                "CREATE_EVENTS",
      +                                "MANAGE_EVENTS",
      +                                "MANAGE_CHANNELS",
      +                                "MANAGE_ROLES",
      +                                "MANAGE_GUILD",
      +                                "ADMINISTRATOR"
      +                              ],
      +                              "type": "string"
      +                            },
      +                            "type": "array"
      +                          },
      +                          "subject": {
      +                            "oneOf": [
      +                              {
      +                                "additionalProperties": false,
      +                                "properties": {
      +                                  "kind": {
      +                                    "const": "everyone",
      +                                    "type": "string"
      +                                  }
      +                                },
      +                                "required": [
      +                                  "kind"
      +                                ],
      +                                "type": "object"
      +                              },
      +                              {
      +                                "additionalProperties": false,
      +                                "properties": {
      +                                  "kind": {
      +                                    "const": "bot",
      +                                    "type": "string"
      +                                  }
      +                                },
      +                                "required": [
      +                                  "kind"
      +                                ],
      +                                "type": "object"
      +                              },
      +                              {
      +                                "additionalProperties": false,
      +                                "properties": {
      +                                  "key": {
      +                                    "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                                    "type": "string"
      +                                  },
      +                                  "kind": {
      +                                    "const": "role",
      +                                    "type": "string"
      +                                  }
      +                                },
      +                                "required": [
      +                                  "kind",
      +                                  "key"
      +                                ],
      +                                "type": "object"
      +                              }
      +                            ]
      +                          }
      +                        },
      +                        "required": [
      +                          "subject",
      +                          "allow",
      +                          "deny"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "position": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "private": {
      +                      "type": "boolean"
      +                    }
      +                  },
      +                  "required": [
      +                    "key",
      +                    "name",
      +                    "position",
      +                    "private",
      +                    "overwrites"
      +                  ],
      +                  "type": "object"
      +                },
      +                "maxItems": 8,
      +                "minItems": 4,
      +                "type": "array"
      +              },
      +              "channels": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "default_onboarding": {
      +                      "type": "boolean"
      +                    },
      +                    "everyone_sendable": {
      +                      "type": "boolean"
      +                    },
      +                    "forum_tags": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "emoji_name": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "key": {
      +                            "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                            "type": "string"
      +                          },
      +                          "moderated": {
      +                            "type": "boolean"
      +                          },
      +                          "name": {
      +                            "maxLength": 20,
      +                            "minLength": 1,
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "key",
      +                          "name",
      +                          "moderated",
      +                          "emoji_name"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "maxItems": 20,
      +                      "type": "array"
      +                    },
      +                    "key": {
      +                      "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                      "type": "string"
      +                    },
      +                    "name": {
      +                      "maxLength": 100,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "overwrites": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "allow": {
      +                            "items": {
      +                              "enum": [
      +                                "VIEW_CHANNEL",
      +                                "READ_MESSAGE_HISTORY",
      +                                "SEND_MESSAGES",
      +                                "ADD_REACTIONS",
      +                                "EMBED_LINKS",
      +                                "ATTACH_FILES",
      +                                "USE_APPLICATION_COMMANDS",
      +                                "CREATE_PUBLIC_THREADS",
      +                                "SEND_MESSAGES_IN_THREADS",
      +                                "CONNECT",
      +                                "SPEAK",
      +                                "STREAM",
      +                                "USE_VAD",
      +                                "USE_EMBEDDED_ACTIVITIES",
      +                                "MANAGE_MESSAGES",
      +                                "MANAGE_THREADS",
      +                                "VIEW_AUDIT_LOG",
      +                                "KICK_MEMBERS",
      +                                "MODERATE_MEMBERS",
      +                                "CREATE_EVENTS",
      +                                "MANAGE_EVENTS",
      +                                "MANAGE_CHANNELS",
      +                                "MANAGE_ROLES",
      +                                "MANAGE_GUILD",
      +                                "ADMINISTRATOR"
      +                              ],
      +                              "type": "string"
      +                            },
      +                            "type": "array"
      +                          },
      +                          "deny": {
      +                            "items": {
      +                              "enum": [
      +                                "VIEW_CHANNEL",
      +                                "READ_MESSAGE_HISTORY",
      +                                "SEND_MESSAGES",
      +                                "ADD_REACTIONS",
      +                                "EMBED_LINKS",
      +                                "ATTACH_FILES",
      +                                "USE_APPLICATION_COMMANDS",
      +                                "CREATE_PUBLIC_THREADS",
      +                                "SEND_MESSAGES_IN_THREADS",
      +                                "CONNECT",
      +                                "SPEAK",
      +                                "STREAM",
      +                                "USE_VAD",
      +                                "USE_EMBEDDED_ACTIVITIES",
      +                                "MANAGE_MESSAGES",
      +                                "MANAGE_THREADS",
      +                                "VIEW_AUDIT_LOG",
      +                                "KICK_MEMBERS",
      +                                "MODERATE_MEMBERS",
      +                                "CREATE_EVENTS",
      +                                "MANAGE_EVENTS",
      +                                "MANAGE_CHANNELS",
      +                                "MANAGE_ROLES",
      +                                "MANAGE_GUILD",
      +                                "ADMINISTRATOR"
      +                              ],
      +                              "type": "string"
      +                            },
      +                            "type": "array"
      +                          },
      +                          "subject": {
      +                            "oneOf": [
      +                              {
      +                                "additionalProperties": false,
      +                                "properties": {
      +                                  "kind": {
      +                                    "const": "everyone",
      +                                    "type": "string"
      +                                  }
      +                                },
      +                                "required": [
      +                                  "kind"
      +                                ],
      +                                "type": "object"
      +                              },
      +                              {
      +                                "additionalProperties": false,
      +                                "properties": {
      +                                  "kind": {
      +                                    "const": "bot",
      +                                    "type": "string"
      +                                  }
      +                                },
      +                                "required": [
      +                                  "kind"
      +                                ],
      +                                "type": "object"
      +                              },
      +                              {
      +                                "additionalProperties": false,
      +                                "properties": {
      +                                  "key": {
      +                                    "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                                    "type": "string"
      +                                  },
      +                                  "kind": {
      +                                    "const": "role",
      +                                    "type": "string"
      +                                  }
      +                                },
      +                                "required": [
      +                                  "kind",
      +                                  "key"
      +                                ],
      +                                "type": "object"
      +                              }
      +                            ]
      +                          }
      +                        },
      +                        "required": [
      +                          "subject",
      +                          "allow",
      +                          "deny"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "parent_key": {
      +                      "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                      "type": "string"
      +                    },
      +                    "position": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "slowmode_seconds": {
      +                      "maximum": 21600,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "topic": {
      +                      "anyOf": [
      +                        {
      +                          "maxLength": 4096,
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "type": {
      +                      "enum": [
      +                        "text",
      +                        "voice",
      +                        "forum",
      +                        "stage"
      +                      ],
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "key",
      +                    "name",
      +                    "type",
      +                    "parent_key",
      +                    "position",
      +                    "topic",
      +                    "slowmode_seconds",
      +                    "default_onboarding",
      +                    "everyone_sendable",
      +                    "forum_tags",
      +                    "overwrites"
      +                  ],
      +                  "type": "object"
      +                },
      +                "maxItems": 32,
      +                "minItems": 12,
      +                "type": "array"
      +              },
      +              "components_v2": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "flags": {
      +                    "const": 32768,
      +                    "type": "number"
      +                  },
      +                  "publications": {
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "allowed_mentions": {
      +                          "additionalProperties": false,
      +                          "properties": {
      +                            "parse": {
      +                              "items": {
      +                                "not": {}
      +                              },
      +                              "maxItems": 0,
      +                              "type": "array"
      +                            }
      +                          },
      +                          "required": [
      +                            "parse"
      +                          ],
      +                          "type": "object"
      +                        },
      +                        "channel_key": {
      +                          "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                          "type": "string"
      +                        },
      +                        "components": {
      +                          "items": {},
      +                          "maxItems": 40,
      +                          "minItems": 1,
      +                          "type": "array"
      +                        },
      +                        "key": {
      +                          "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                          "type": "string"
      +                        }
      +                      },
      +                      "required": [
      +                        "key",
      +                        "channel_key",
      +                        "allowed_mentions",
      +                        "components"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "maxItems": 6,
      +                    "minItems": 2,
      +                    "type": "array"
      +                  },
      +                  "resolve_channel_placeholders_before_send": {
      +                    "const": true,
      +                    "type": "boolean"
      +                  },
      +                  "validate_before_send": {
      +                    "const": true,
      +                    "type": "boolean"
      +                  }
      +                },
      +                "required": [
      +                  "flags",
      +                  "validate_before_send",
      +                  "resolve_channel_placeholders_before_send",
      +                  "publications"
      +                ],
      +                "type": "object"
      +              },
      +              "design_capabilities": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "guild": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "community": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "public_updates_channel_key": {
      +                        "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                        "type": "string"
      +                      },
      +                      "required": {
      +                        "const": true,
      +                        "type": "boolean"
      +                      },
      +                      "rules_channel_key": {
      +                        "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                        "type": "string"
      +                      },
      +                      "safety_alerts_channel_key": {
      +                        "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "required",
      +                      "rules_channel_key",
      +                      "public_updates_channel_key",
      +                      "safety_alerts_channel_key"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "default_message_notifications": {
      +                    "const": 1,
      +                    "type": "number"
      +                  },
      +                  "description": {
      +                    "maxLength": 300,
      +                    "type": "string"
      +                  },
      +                  "explicit_content_filter": {
      +                    "const": 2,
      +                    "type": "number"
      +                  },
      +                  "name": {
      +                    "maxLength": 100,
      +                    "minLength": 2,
      +                    "type": "string"
      +                  },
      +                  "preferred_locale": {
      +                    "maxLength": 20,
      +                    "minLength": 2,
      +                    "type": "string"
      +                  },
      +                  "verification_level": {
      +                    "const": 2,
      +                    "type": "number"
      +                  },
      +                  "welcome_screen": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "channel_keys": {
      +                        "items": {
      +                          "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                          "type": "string"
      +                        },
      +                        "maxItems": 5,
      +                        "minItems": 1,
      +                        "type": "array"
      +                      },
      +                      "description": {
      +                        "maxLength": 140,
      +                        "type": "string"
      +                      },
      +                      "enabled": {
      +                        "const": true,
      +                        "type": "boolean"
      +                      }
      +                    },
      +                    "required": [
      +                      "enabled",
      +                      "description",
      +                      "channel_keys"
      +                    ],
      +                    "type": "object"
      +                  }
      +                },
      +                "required": [
      +                  "name",
      +                  "description",
      +                  "preferred_locale",
      +                  "verification_level",
      +                  "default_message_notifications",
      +                  "explicit_content_filter",
      +                  "community",
      +                  "welcome_screen"
      +                ],
      +                "type": "object"
      +              },
      +              "onboarding": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "default_channel_keys": {
      +                    "items": {
      +                      "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                      "type": "string"
      +                    },
      +                    "minItems": 7,
      +                    "type": "array"
      +                  },
      +                  "enabled": {
      +                    "const": true,
      +                    "type": "boolean"
      +                  },
      +                  "mode": {
      +                    "const": 1,
      +                    "type": "number"
      +                  },
      +                  "prompts": {
      +                    "items": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "in_onboarding": {
      +                          "type": "boolean"
      +                        },
      +                        "key": {
      +                          "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                          "type": "string"
      +                        },
      +                        "options": {
      +                          "items": {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "channel_keys": {
      +                                "items": {
      +                                  "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                                  "type": "string"
      +                                },
      +                                "type": "array"
      +                              },
      +                              "description": {
      +                                "maxLength": 100,
      +                                "type": "string"
      +                              },
      +                              "key": {
      +                                "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                                "type": "string"
      +                              },
      +                              "role_keys": {
      +                                "items": {
      +                                  "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                                  "type": "string"
      +                                },
      +                                "type": "array"
      +                              },
      +                              "title": {
      +                                "maxLength": 100,
      +                                "minLength": 1,
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "key",
      +                              "title",
      +                              "description",
      +                              "role_keys",
      +                              "channel_keys"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          "maxItems": 25,
      +                          "minItems": 1,
      +                          "type": "array"
      +                        },
      +                        "required": {
      +                          "type": "boolean"
      +                        },
      +                        "single_select": {
      +                          "type": "boolean"
      +                        },
      +                        "title": {
      +                          "maxLength": 100,
      +                          "minLength": 1,
      +                          "type": "string"
      +                        },
      +                        "type": {
      +                          "anyOf": [
      +                            {
      +                              "const": 0,
      +                              "type": "number"
      +                            },
      +                            {
      +                              "const": 1,
      +                              "type": "number"
      +                            }
      +                          ]
      +                        }
      +                      },
      +                      "required": [
      +                        "key",
      +                        "type",
      +                        "title",
      +                        "required",
      +                        "in_onboarding",
      +                        "single_select",
      +                        "options"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "maxItems": 5,
      +                    "minItems": 1,
      +                    "type": "array"
      +                  },
      +                  "verification": {
      +                    "const": "api_readback_then_fresh_member_client_check",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "enabled",
      +                  "mode",
      +                  "default_channel_keys",
      +                  "prompts",
      +                  "verification"
      +                ],
      +                "type": "object"
      +              },
      +              "policy_version": {
      +                "const": "community-safe.v1",
      +                "type": "string"
      +              },
      +              "profile": {
      +                "enum": [
      +                  "professional_community",
      +                  "professional_gaming",
      +                  "professional_technology",
      +                  "professional_creative",
      +                  "professional_roleplay"
      +                ],
      +                "type": "string"
      +              },
      +              "resolution": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "channel_placeholder_format": {
      +                    "const": "<#{{channel:<symbol_key>}}>",
      +                    "type": "string"
      +                  },
      +                  "source_template_ids_allowed": {
      +                    "const": false,
      +                    "type": "boolean"
      +                  },
      +                  "strategy": {
      +                    "const": "resolve_from_target_guild_and_create_results",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "strategy",
      +                  "source_template_ids_allowed",
      +                  "channel_placeholder_format"
      +                ],
      +                "type": "object"
      +              },
      +              "role_order": {
      +                "items": {
      +                  "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                  "type": "string"
      +                },
      +                "maxItems": 16,
      +                "minItems": 3,
      +                "type": "array"
      +              },
      +              "roles": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "color": {
      +                      "maximum": 16777215,
      +                      "minimum": 0,
      +                      "type": "integer"
      +                    },
      +                    "hoist": {
      +                      "type": "boolean"
      +                    },
      +                    "key": {
      +                      "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +                      "type": "string"
      +                    },
      +                    "mentionable": {
      +                      "type": "boolean"
      +                    },
      +                    "name": {
      +                      "maxLength": 100,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "permissions": {
      +                      "items": {
      +                        "enum": [
      +                          "VIEW_CHANNEL",
      +                          "READ_MESSAGE_HISTORY",
      +                          "SEND_MESSAGES",
      +                          "ADD_REACTIONS",
      +                          "EMBED_LINKS",
      +                          "ATTACH_FILES",
      +                          "USE_APPLICATION_COMMANDS",
      +                          "CREATE_PUBLIC_THREADS",
      +                          "SEND_MESSAGES_IN_THREADS",
      +                          "CONNECT",
      +                          "SPEAK",
      +                          "STREAM",
      +                          "USE_VAD",
      +                          "USE_EMBEDDED_ACTIVITIES",
      +                          "MANAGE_MESSAGES",
      +                          "MANAGE_THREADS",
      +                          "VIEW_AUDIT_LOG",
      +                          "KICK_MEMBERS",
      +                          "MODERATE_MEMBERS",
      +                          "CREATE_EVENTS",
      +                          "MANAGE_EVENTS",
      +                          "MANAGE_CHANNELS",
      +                          "MANAGE_ROLES",
      +                          "MANAGE_GUILD",
      +                          "ADMINISTRATOR"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "position": {
      +                      "exclusiveMinimum": 0,
      +                      "maximum": 9007199254740991,
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "required": [
      +                    "key",
      +                    "name",
      +                    "position",
      +                    "color",
      +                    "hoist",
      +                    "mentionable",
      +                    "permissions"
      +                  ],
      +                  "type": "object"
      +                },
      +                "maxItems": 16,
      +                "minItems": 3,
      +                "type": "array"
      +              },
      +              "safety": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "components_v2_pre_resolution_valid": {
      +                    "const": true,
      +                    "type": "boolean"
      +                  },
      +                  "dangling_symbolic_references": {
      +                    "const": 0,
      +                    "type": "number"
      +                  },
      +                  "onboarding_requirements_met": {
      +                    "const": true,
      +                    "type": "boolean"
      +                  },
      +                  "severe_generated_role_permissions": {
      +                    "const": 0,
      +                    "type": "number"
      +                  },
      +                  "source_overwrites_discarded": {
      +                    "const": true,
      +                    "type": "boolean"
      +                  },
      +                  "source_permissions_discarded": {
      +                    "const": true,
      +                    "type": "boolean"
      +                  }
      +                },
      +                "required": [
      +                  "source_permissions_discarded",
      +                  "source_overwrites_discarded",
      +                  "severe_generated_role_permissions",
      +                  "dangling_symbolic_references",
      +                  "onboarding_requirements_met",
      +                  "components_v2_pre_resolution_valid"
      +                ],
      +                "type": "object"
      +              },
      +              "schema_version": {
      +                "const": "guild_blueprint.v1",
      +                "type": "string"
      +              },
      +              "structure_basis": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "applied_signals": {
      +                    "items": {
      +                      "type": "string"
      +                    },
      +                    "type": "array"
      +                  },
      +                  "primary_category_count": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "primary_channel_count": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "primary_role_count": {
      +                    "maximum": 9007199254740991,
      +                    "minimum": 0,
      +                    "type": "integer"
      +                  },
      +                  "source_interpretation": {
      +                    "const": "verified_structural_signals_and_capability_modules",
      +                    "type": "string"
      +                  }
      +                },
      +                "required": [
      +                  "source_interpretation",
      +                  "primary_channel_count",
      +                  "primary_category_count",
      +                  "primary_role_count",
      +                  "applied_signals"
      +                ],
      +                "type": "object"
      +              }
      +            },
      +            "required": [
      +              "schema_version",
      +              "policy_version",
      +              "profile",
      +              "design_capabilities",
      +              "guild",
      +              "structure_basis",
      +              "roles",
      +              "role_order",
      +              "categories",
      +              "channels",
      +              "onboarding",
      +              "automod",
      +              "components_v2",
      +              "bot_boundary",
      +              "resolution",
      +              "safety"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "blueprint_id": {
      +        "anyOf": [
      +          {
      +            "pattern": "^sha256:[a-f0-9]{64}$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "bot_permissions": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "administrator": {
      +                "type": "boolean"
      +              },
      +              "missing": {
      +                "items": {
      +                  "type": "string"
      +                },
      +                "type": "array"
      +              },
      +              "top_role_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "top_role_position": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "administrator",
      +              "missing",
      +              "top_role_id",
      +              "top_role_position"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "operations": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "action": {
      +              "enum": [
      +                "create",
      +                "update",
      +                "reorder",
      +                "send"
      +              ],
      +              "type": "string"
      +            },
      +            "key": {
      +              "pattern": "^[a-z][a-z0-9_]{0,63}$",
      +              "type": "string"
      +            },
      +            "operation_id": {
      +              "pattern": "^[a-z][a-z0-9_:.-]{0,159}$",
      +              "type": "string"
      +            },
      +            "phase": {
      +              "enum": [
      +                "roles",
      +                "categories",
      +                "channels",
      +                "ordering",
      +                "guild",
      +                "welcome",
      +                "onboarding",
      +                "automod",
      +                "publications"
      +              ],
      +              "type": "string"
      +            },
      +            "resource": {
      +              "enum": [
      +                "role",
      +                "category",
      +                "channel",
      +                "role_order",
      +                "channel_order",
      +                "guild",
      +                "welcome_screen",
      +                "onboarding",
      +                "automod_rule",
      +                "publication"
      +              ],
      +              "type": "string"
      +            },
      +            "risk": {
      +              "enum": [
      +                "low",
      +                "medium",
      +                "high"
      +              ],
      +              "type": "string"
      +            },
      +            "summary": {
      +              "maxLength": 240,
      +              "minLength": 1,
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "operation_id",
      +            "phase",
      +            "action",
      +            "resource",
      +            "key",
      +            "summary",
      +            "risk"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 128,
      +        "type": "array"
      +      },
      +      "plan_id": {
      +        "anyOf": [
      +          {
      +            "pattern": "^sha256:[a-f0-9]{64}$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "plan_ref": {
      +        "anyOf": [
      +          {
      +            "pattern": "^dmbpr1\\.[a-f0-9]{64}$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Preferred caller-local apply reference; null only when local persistence failed"
      +      },
      +      "plan_token": {
      +        "anyOf": [
      +          {
      +            "maxLength": 65536,
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Legacy portable apply credential; prefer plan_ref when it is available"
      +      },
      +      "request": {
      +        "type": "string"
      +      },
      +      "snapshot_id": {
      +        "anyOf": [
      +          {
      +            "pattern": "^sha256:[a-f0-9]{64}$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "source": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "catalog_version": {
      +                "type": "string"
      +              },
      +              "inspirations": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "blueprint": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "category_count": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "channel_count": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "forum_channel_count": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "nsfw_channel_count": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "other_channel_count": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "permission_overwrite_count": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "privileged_role_count": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "risky_permission_signals": {
      +                          "items": {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "permission": {
      +                                "enum": [
      +                                  "ADMINISTRATOR",
      +                                  "MANAGE_GUILD",
      +                                  "MANAGE_ROLES",
      +                                  "MANAGE_CHANNELS",
      +                                  "MANAGE_WEBHOOKS",
      +                                  "KICK_MEMBERS",
      +                                  "BAN_MEMBERS",
      +                                  "MENTION_EVERYONE"
      +                                ],
      +                                "type": "string"
      +                              },
      +                              "role_count": {
      +                                "exclusiveMinimum": 0,
      +                                "maximum": 9007199254740991,
      +                                "type": "integer"
      +                              }
      +                            },
      +                            "required": [
      +                              "permission",
      +                              "role_count"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          "type": "array"
      +                        },
      +                        "role_count": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "stage_channel_count": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "text_channel_count": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        },
      +                        "voice_channel_count": {
      +                          "maximum": 9007199254740991,
      +                          "minimum": 0,
      +                          "type": "integer"
      +                        }
      +                      },
      +                      "required": [
      +                        "channel_count",
      +                        "category_count",
      +                        "text_channel_count",
      +                        "voice_channel_count",
      +                        "forum_channel_count",
      +                        "stage_channel_count",
      +                        "other_channel_count",
      +                        "nsfw_channel_count",
      +                        "permission_overwrite_count",
      +                        "role_count",
      +                        "privileged_role_count",
      +                        "risky_permission_signals"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "code": {
      +                      "maxLength": 100,
      +                      "minLength": 1,
      +                      "pattern": "^[a-zA-Z0-9_-]+$",
      +                      "type": "string"
      +                    },
      +                    "contributes": {
      +                      "items": {
      +                        "enum": [
      +                          "gaming",
      +                          "community",
      +                          "roleplay",
      +                          "lfg",
      +                          "platform",
      +                          "staff",
      +                          "support",
      +                          "events",
      +                          "technology",
      +                          "learning",
      +                          "art",
      +                          "music",
      +                          "voice",
      +                          "forum"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "effective_capabilities": {
      +                      "items": {
      +                        "enum": [
      +                          "gaming",
      +                          "community",
      +                          "roleplay",
      +                          "lfg",
      +                          "platform",
      +                          "staff",
      +                          "support",
      +                          "events",
      +                          "technology",
      +                          "learning",
      +                          "art",
      +                          "music",
      +                          "voice",
      +                          "forum"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "matched_capabilities": {
      +                      "items": {
      +                        "enum": [
      +                          "gaming",
      +                          "community",
      +                          "roleplay",
      +                          "lfg",
      +                          "platform",
      +                          "staff",
      +                          "support",
      +                          "events",
      +                          "technology",
      +                          "learning",
      +                          "art",
      +                          "music",
      +                          "voice",
      +                          "forum"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "provenance": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "evidence_digest": {
      +                          "pattern": "^sha256:[a-f0-9]{64}$",
      +                          "type": "string"
      +                        },
      +                        "fetched_at": {
      +                          "format": "date-time",
      +                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +                          "type": "string"
      +                        },
      +                        "source_guild": {
      +                          "additionalProperties": false,
      +                          "properties": {
      +                            "icon_hash": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "id": {
      +                              "pattern": "^\\d{17,20}$",
      +                              "type": "string"
      +                            },
      +                            "preferred_locale": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            },
      +                            "snapshot_id": {
      +                              "type": [
      +                                "string",
      +                                "null"
      +                              ]
      +                            }
      +                          },
      +                          "required": [
      +                            "id",
      +                            "snapshot_id",
      +                            "icon_hash",
      +                            "preferred_locale"
      +                          ],
      +                          "type": "object"
      +                        }
      +                      },
      +                      "required": [
      +                        "evidence_digest",
      +                        "fetched_at",
      +                        "source_guild"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "quality": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "code_match": {
      +                          "const": true,
      +                          "type": "boolean"
      +                        },
      +                        "confidence": {
      +                          "enum": [
      +                            "high",
      +                            "medium"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        "marked_dirty": {
      +                          "type": [
      +                            "boolean",
      +                            "null"
      +                          ]
      +                        },
      +                        "permission_handling": {
      +                          "const": "discarded_and_regenerated",
      +                          "type": "string"
      +                        },
      +                        "risky_permission_signals": {
      +                          "items": {
      +                            "type": "string"
      +                          },
      +                          "type": "array"
      +                        },
      +                        "verified": {
      +                          "const": true,
      +                          "type": "boolean"
      +                        }
      +                      },
      +                      "required": [
      +                        "verified",
      +                        "code_match",
      +                        "marked_dirty",
      +                        "confidence",
      +                        "permission_handling",
      +                        "risky_permission_signals"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "reasons": {
      +                      "items": {
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "score": {
      +                      "maximum": 100,
      +                      "minimum": 0,
      +                      "type": "number"
      +                    },
      +                    "score_breakdown": {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "intent_fit": {
      +                          "maximum": 45,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        },
      +                        "metadata_quality": {
      +                          "maximum": 5,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        },
      +                        "structural_quality": {
      +                          "maximum": 30,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        },
      +                        "total": {
      +                          "maximum": 100,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        },
      +                        "usage": {
      +                          "maximum": 5,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        },
      +                        "verified_safety": {
      +                          "maximum": 15,
      +                          "minimum": 0,
      +                          "type": "number"
      +                        }
      +                      },
      +                      "required": [
      +                        "intent_fit",
      +                        "structural_quality",
      +                        "verified_safety",
      +                        "metadata_quality",
      +                        "usage",
      +                        "total"
      +                      ],
      +                      "type": "object"
      +                    },
      +                    "structural_contributions": {
      +                      "items": {
      +                        "enum": [
      +                          "categories",
      +                          "text_channels",
      +                          "voice_channels",
      +                          "forums",
      +                          "stages",
      +                          "custom_roles"
      +                        ],
      +                        "type": "string"
      +                      },
      +                      "type": "array"
      +                    },
      +                    "use_url": {
      +                      "format": "uri",
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "code",
      +                    "use_url",
      +                    "score",
      +                    "matched_capabilities",
      +                    "effective_capabilities",
      +                    "contributes",
      +                    "structural_contributions",
      +                    "reasons",
      +                    "blueprint",
      +                    "quality",
      +                    "score_breakdown",
      +                    "provenance"
      +                  ],
      +                  "type": "object"
      +                },
      +                "maxItems": 3,
      +                "type": "array"
      +              },
      +              "permission_policy": {
      +                "const": "discard_source_and_regenerate",
      +                "type": "string"
      +              },
      +              "primary": {
      +                "anyOf": [
      +                  {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "blueprint": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "category_count": {
      +                            "maximum": 9007199254740991,
      +                            "minimum": 0,
      +                            "type": "integer"
      +                          },
      +                          "channel_count": {
      +                            "maximum": 9007199254740991,
      +                            "minimum": 0,
      +                            "type": "integer"
      +                          },
      +                          "forum_channel_count": {
      +                            "maximum": 9007199254740991,
      +                            "minimum": 0,
      +                            "type": "integer"
      +                          },
      +                          "nsfw_channel_count": {
      +                            "maximum": 9007199254740991,
      +                            "minimum": 0,
      +                            "type": "integer"
      +                          },
      +                          "other_channel_count": {
      +                            "maximum": 9007199254740991,
      +                            "minimum": 0,
      +                            "type": "integer"
      +                          },
      +                          "permission_overwrite_count": {
      +                            "maximum": 9007199254740991,
      +                            "minimum": 0,
      +                            "type": "integer"
      +                          },
      +                          "privileged_role_count": {
      +                            "maximum": 9007199254740991,
      +                            "minimum": 0,
      +                            "type": "integer"
      +                          },
      +                          "risky_permission_signals": {
      +                            "items": {
      +                              "additionalProperties": false,
      +                              "properties": {
      +                                "permission": {
      +                                  "enum": [
      +                                    "ADMINISTRATOR",
      +                                    "MANAGE_GUILD",
      +                                    "MANAGE_ROLES",
      +                                    "MANAGE_CHANNELS",
      +                                    "MANAGE_WEBHOOKS",
      +                                    "KICK_MEMBERS",
      +                                    "BAN_MEMBERS",
      +                                    "MENTION_EVERYONE"
      +                                  ],
      +                                  "type": "string"
      +                                },
      +                                "role_count": {
      +                                  "exclusiveMinimum": 0,
      +                                  "maximum": 9007199254740991,
      +                                  "type": "integer"
      +                                }
      +                              },
      +                              "required": [
      +                                "permission",
      +                                "role_count"
      +                              ],
      +                              "type": "object"
      +                            },
      +                            "type": "array"
      +                          },
      +                          "role_count": {
      +                            "maximum": 9007199254740991,
      +                            "minimum": 0,
      +                            "type": "integer"
      +                          },
      +                          "stage_channel_count": {
      +                            "maximum": 9007199254740991,
      +                            "minimum": 0,
      +                            "type": "integer"
      +                          },
      +                          "text_channel_count": {
      +                            "maximum": 9007199254740991,
      +                            "minimum": 0,
      +                            "type": "integer"
      +                          },
      +                          "voice_channel_count": {
      +                            "maximum": 9007199254740991,
      +                            "minimum": 0,
      +                            "type": "integer"
      +                          }
      +                        },
      +                        "required": [
      +                          "channel_count",
      +                          "category_count",
      +                          "text_channel_count",
      +                          "voice_channel_count",
      +                          "forum_channel_count",
      +                          "stage_channel_count",
      +                          "other_channel_count",
      +                          "nsfw_channel_count",
      +                          "permission_overwrite_count",
      +                          "role_count",
      +                          "privileged_role_count",
      +                          "risky_permission_signals"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "code": {
      +                        "maxLength": 100,
      +                        "minLength": 1,
      +                        "pattern": "^[a-zA-Z0-9_-]+$",
      +                        "type": "string"
      +                      },
      +                      "contributes": {
      +                        "items": {
      +                          "enum": [
      +                            "gaming",
      +                            "community",
      +                            "roleplay",
      +                            "lfg",
      +                            "platform",
      +                            "staff",
      +                            "support",
      +                            "events",
      +                            "technology",
      +                            "learning",
      +                            "art",
      +                            "music",
      +                            "voice",
      +                            "forum"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "effective_capabilities": {
      +                        "items": {
      +                          "enum": [
      +                            "gaming",
      +                            "community",
      +                            "roleplay",
      +                            "lfg",
      +                            "platform",
      +                            "staff",
      +                            "support",
      +                            "events",
      +                            "technology",
      +                            "learning",
      +                            "art",
      +                            "music",
      +                            "voice",
      +                            "forum"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "matched_capabilities": {
      +                        "items": {
      +                          "enum": [
      +                            "gaming",
      +                            "community",
      +                            "roleplay",
      +                            "lfg",
      +                            "platform",
      +                            "staff",
      +                            "support",
      +                            "events",
      +                            "technology",
      +                            "learning",
      +                            "art",
      +                            "music",
      +                            "voice",
      +                            "forum"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "provenance": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "evidence_digest": {
      +                            "pattern": "^sha256:[a-f0-9]{64}$",
      +                            "type": "string"
      +                          },
      +                          "fetched_at": {
      +                            "format": "date-time",
      +                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      +                            "type": "string"
      +                          },
      +                          "source_guild": {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "icon_hash": {
      +                                "type": [
      +                                  "string",
      +                                  "null"
      +                                ]
      +                              },
      +                              "id": {
      +                                "pattern": "^\\d{17,20}$",
      +                                "type": "string"
      +                              },
      +                              "preferred_locale": {
      +                                "type": [
      +                                  "string",
      +                                  "null"
      +                                ]
      +                              },
      +                              "snapshot_id": {
      +                                "type": [
      +                                  "string",
      +                                  "null"
      +                                ]
      +                              }
      +                            },
      +                            "required": [
      +                              "id",
      +                              "snapshot_id",
      +                              "icon_hash",
      +                              "preferred_locale"
      +                            ],
      +                            "type": "object"
      +                          }
      +                        },
      +                        "required": [
      +                          "evidence_digest",
      +                          "fetched_at",
      +                          "source_guild"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "quality": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "code_match": {
      +                            "const": true,
      +                            "type": "boolean"
      +                          },
      +                          "confidence": {
      +                            "enum": [
      +                              "high",
      +                              "medium"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          "marked_dirty": {
      +                            "type": [
      +                              "boolean",
      +                              "null"
      +                            ]
      +                          },
      +                          "permission_handling": {
      +                            "const": "discarded_and_regenerated",
      +                            "type": "string"
      +                          },
      +                          "risky_permission_signals": {
      +                            "items": {
      +                              "type": "string"
      +                            },
      +                            "type": "array"
      +                          },
      +                          "verified": {
      +                            "const": true,
      +                            "type": "boolean"
      +                          }
      +                        },
      +                        "required": [
      +                          "verified",
      +                          "code_match",
      +                          "marked_dirty",
      +                          "confidence",
      +                          "permission_handling",
      +                          "risky_permission_signals"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "reasons": {
      +                        "items": {
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "score": {
      +                        "maximum": 100,
      +                        "minimum": 0,
      +                        "type": "number"
      +                      },
      +                      "score_breakdown": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "intent_fit": {
      +                            "maximum": 45,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "metadata_quality": {
      +                            "maximum": 5,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "structural_quality": {
      +                            "maximum": 30,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "total": {
      +                            "maximum": 100,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "usage": {
      +                            "maximum": 5,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          },
      +                          "verified_safety": {
      +                            "maximum": 15,
      +                            "minimum": 0,
      +                            "type": "number"
      +                          }
      +                        },
      +                        "required": [
      +                          "intent_fit",
      +                          "structural_quality",
      +                          "verified_safety",
      +                          "metadata_quality",
      +                          "usage",
      +                          "total"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "structural_contributions": {
      +                        "items": {
      +                          "enum": [
      +                            "categories",
      +                            "text_channels",
      +                            "voice_channels",
      +                            "forums",
      +                            "stages",
      +                            "custom_roles"
      +                          ],
      +                          "type": "string"
      +                        },
      +                        "type": "array"
      +                      },
      +                      "use_url": {
      +                        "format": "uri",
      +                        "type": "string"
      +                      }
      +                    },
      +                    "required": [
      +                      "code",
      +                      "use_url",
      +                      "score",
      +                      "matched_capabilities",
      +                      "effective_capabilities",
      +                      "contributes",
      +                      "structural_contributions",
      +                      "reasons",
      +                      "blueprint",
      +                      "quality",
      +                      "score_breakdown",
      +                      "provenance"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ]
      +              }
      +            },
      +            "required": [
      +              "catalog_version",
      +              "primary",
      +              "inspirations",
      +              "permission_policy"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "status": {
      +        "enum": [
      +          "ready",
      +          "already_current",
      +          "blocked",
      +          "no_match"
      +        ],
      +        "type": "string"
      +      },
      +      "summary": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "by_phase": {
      +                "additionalProperties": {
      +                  "maximum": 9007199254740991,
      +                  "minimum": 0,
      +                  "type": "integer"
      +                },
      +                "propertyNames": {
      +                  "enum": [
      +                    "roles",
      +                    "categories",
      +                    "channels",
      +                    "ordering",
      +                    "guild",
      +                    "welcome",
      +                    "onboarding",
      +                    "automod",
      +                    "publications"
      +                  ],
      +                  "type": "string"
      +                },
      +                "required": [
      +                  "roles",
      +                  "categories",
      +                  "channels",
      +                  "ordering",
      +                  "guild",
      +                  "welcome",
      +                  "onboarding",
      +                  "automod",
      +                  "publications"
      +                ],
      +                "type": "object"
      +              },
      +              "create_operations": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "high_risk_operations": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "reorder_operations": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "send_operations": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "total_operations": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              "update_operations": {
      +                "maximum": 9007199254740991,
      +                "minimum": 0,
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "total_operations",
      +              "create_operations",
      +              "update_operations",
      +              "reorder_operations",
      +              "send_operations",
      +              "high_risk_operations",
      +              "by_phase"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "target": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "bot_id": {
      +                "description": "Discord user ID",
      +                "pattern": "^\\d{17,20}$",
      +                "type": "string"
      +              },
      +              "guild_id": {
      +                "description": "Discord guild (server) ID",
      +                "pattern": "^\\d{17,20}$",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "guild_id",
      +              "bot_id"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "verification": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "blueprint_validation": {
      +            "enum": [
      +              "not_run",
      +              "passed"
      +            ],
      +            "type": "string"
      +          },
      +          "candidates_inspected": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "catalog_records": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "target_readback": {
      +            "enum": [
      +              "not_run",
      +              "passed"
      +            ],
      +            "type": "string"
      +          },
      +          "template_cache_hits": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "template_rest_requests": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "templates_verified": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "catalog_records",
      +          "candidates_inspected",
      +          "template_rest_requests",
      +          "template_cache_hits",
      +          "templates_verified",
      +          "blueprint_validation",
      +          "target_readback"
      +        ],
      +        "type": "object"
      +      },
      +      "warnings": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "request",
      +      "source",
      +      "target",
      +      "blueprint_id",
      +      "blueprint",
      +      "snapshot_id",
      +      "plan_id",
      +      "approval_id",
      +      "plan_token",
      +      "plan_ref",
      +      "summary",
      +      "operations",
      +      "bot_permissions",
      +      "blockers",
      +      "warnings",
      +      "verification"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "category": {
      +        "enum": [
      +          "client",
      +          "server"
      +        ],
      +        "type": "string"
      +      },
      +      "code": {
      +        "type": "string"
      +      },
      +      "recovery_hint": {
      +        "type": "string"
      +      },
      +      "retriable": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "retriable",
      +      "category",
      +      "recovery_hint"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. First observedv0.22.0

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, destructiveHint=false. The description adds meaningful context beyond annotations: it makes no Discord mutation and writes no checkpoint, may persist private deterministic plan material locally, resolves bot/guild only from locked env vars, fails closed on ambiguity, preserves unrelated resources, and blocks on duplicate/mismatched unbound resources. It also clarifies the opaque token is authenticated and the approval ID is not standalone authorization. This is rich behavioral disclosure that goes well beyond the annotation hints.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long but every section earns its place: Purpose, When to use, Safety, Returns. It is front-loaded with the core purpose and usage, and the safety section is dense but necessary for a tool that handles auth and plan persistence. It could be slightly tightened, but the structure with bolded section headers makes it scannable and the length is justified by the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (4 params, output schema present, safety-sensitive auth binding), the description is complete. It covers what the tool does, when to use it, safety/behavioral traits, parameter resolution rules, and return values. The output schema exists, so the description doesn't need to enumerate return fields in detail, but it still summarizes them. Nothing an agent needs to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description adds value by explaining the semantics of the request parameter (natural-language description of the server to build) and the guild_id/expected_bot_id resolution rules (omit only when default or exactly one allowlisted guild; explicit values never overwritten and must match locked profile). It also clarifies preferred_primary_code is optional and only used when live-verified safe. This goes beyond the schema's terse descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb-resource pair: build/create/design a complete Discord server from a natural-language request, and returns a target-bound execution preview without mutating Discord. It clearly distinguishes itself from siblings like guild_blueprint_apply and guild_blueprint_compile by positioning itself as the required first step and naming the apply tool as the consumer of its plan_ref.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says when to use it: required first step for unqualified build/design/create requests, and when not to use it: don't ask which kind of server, don't manually chain template/role/channel tools. It also disambiguates 'server' as Discord guild vs VPS/hardware, and gives concrete examples. This is explicit when/when-not guidance with alternatives named.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools