changedOutput schema / anyOf
Previous value: -[
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "additionalProperties": {},
- "properties": {
- "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"
- }
- ]
- },
- "request": {
- "type": "string"
- },
- "source": {
- "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"
- },
- "status": {
- "enum": [
- "ready",
- "partial",
- "no_match"
- ],
- "type": "string"
- },
- "verification": {
- "additionalProperties": false,
- "properties": {
- "blueprint_bytes": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "blueprint_validation": {
- "enum": [
- "not_run",
- "passed"
- ],
- "type": "string"
- },
- "cache_hits": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "candidates_inspected": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "catalog_records": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "metadata_candidates": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "rest_failed": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "rest_requests": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "rest_verified": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "safety_rejected": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "catalog_records",
- "metadata_candidates",
- "candidates_inspected",
- "rest_requests",
- "cache_hits",
- "rest_verified",
- "rest_failed",
- "safety_rejected",
- "blueprint_validation",
- "blueprint_bytes"
- ],
- "type": "object"
- },
- "warnings": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "status",
- "request",
- "source",
- "blueprint_id",
- "blueprint",
- "verification",
- "warnings"
- ],
- "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": {
+ "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"
+ }
+ ]
+ },
+ "request": {
+ "type": "string"
+ },
+ "source": {
+ "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"
+ },
+ "status": {
+ "enum": [
+ "ready",
+ "partial",
+ "no_match"
+ ],
+ "type": "string"
+ },
+ "verification": {
+ "additionalProperties": false,
+ "properties": {
+ "blueprint_bytes": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "blueprint_validation": {
+ "enum": [
+ "not_run",
+ "passed"
+ ],
+ "type": "string"
+ },
+ "cache_hits": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "candidates_inspected": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "catalog_records": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "metadata_candidates": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "rest_failed": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "rest_requests": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "rest_verified": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "safety_rejected": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "catalog_records",
+ "metadata_candidates",
+ "candidates_inspected",
+ "rest_requests",
+ "cache_hits",
+ "rest_verified",
+ "rest_failed",
+ "safety_rejected",
+ "blueprint_validation",
+ "blueprint_bytes"
+ ],
+ "type": "object"
+ },
+ "warnings": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "status",
+ "request",
+ "source",
+ "blueprint_id",
+ "blueprint",
+ "verification",
+ "warnings"
+ ],
+ "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"
+ }
+]