addedInput schema / properties / blueprint / anyOf
Added value: +[
+ {
+ "type": "string"
+ },
+ {
+ "properties": {
+ "categories": {
+ "items": {
+ "properties": {
+ "channels": {
+ "items": {
+ "properties": {
+ "id": {
+ "description": "Discord id from export_server_blueprint. Matches this exact item, so a new name renames it.",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "permissions": {
+ "description": "Extra permissions per role here, beyond who can see and post (private_to, read_only, posting_roles). Example: [{\"role\": \"Event Staff\", \"allow\": [\"mention_everyone\", \"embed_links\"]}]. A listed role's extras become exactly these; roles not listed keep theirs.",
+ "items": {
+ "properties": {
+ "allow": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "deny": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "role": {
+ "description": "Role name, or @everyone.",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "role"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "posting_roles": {
+ "description": "With read_only: role names that may still post and start threads.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "private_to": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Role names that can see this channel; everyone else is denied view. [] leaves only admins. null makes it visible to everyone. Omit to follow the category."
+ },
+ "read_only": {
+ "description": "Deny sending for everyone; for rules and announcements.",
+ "type": "boolean"
+ },
+ "slowmode_seconds": {
+ "maximum": 21600,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "topic": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "type": {
+ "description": "Default text.",
+ "enum": [
+ "text",
+ "voice",
+ "forum",
+ "stage",
+ "announcement"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "id": {
+ "description": "Discord id from export_server_blueprint. Matches this exact item, so a new name renames it.",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "permissions": {
+ "description": "Extra permissions per role here, beyond who can see and post (private_to, read_only, posting_roles). Example: [{\"role\": \"Event Staff\", \"allow\": [\"mention_everyone\", \"embed_links\"]}]. A listed role's extras become exactly these; roles not listed keep theirs.",
+ "items": {
+ "properties": {
+ "allow": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "deny": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "role": {
+ "description": "Role name, or @everyone.",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "role"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "private_to": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Role names that can see the whole category. [] leaves only admins. null makes it visible to everyone."
+ }
+ },
+ "required": [
+ "name",
+ "channels"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "channels": {
+ "description": "Top-level channels outside any category.",
+ "items": {
+ "properties": {
+ "id": {
+ "description": "Discord id from export_server_blueprint. Matches this exact item, so a new name renames it.",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "permissions": {
+ "description": "Extra permissions per role here, beyond who can see and post (private_to, read_only, posting_roles). Example: [{\"role\": \"Event Staff\", \"allow\": [\"mention_everyone\", \"embed_links\"]}]. A listed role's extras become exactly these; roles not listed keep theirs.",
+ "items": {
+ "properties": {
+ "allow": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "deny": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "role": {
+ "description": "Role name, or @everyone.",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "role"
+ ],
+ "type": "object"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "posting_roles": {
+ "description": "With read_only: role names that may still post and start threads.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "private_to": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Role names that can see this channel; everyone else is denied view. [] leaves only admins. null makes it visible to everyone. Omit to follow the category."
+ },
+ "read_only": {
+ "description": "Deny sending for everyone; for rules and announcements.",
+ "type": "boolean"
+ },
+ "slowmode_seconds": {
+ "maximum": 21600,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "topic": {
+ "maxLength": 1024,
+ "type": "string"
+ },
+ "type": {
+ "description": "Default text.",
+ "enum": [
+ "text",
+ "voice",
+ "forum",
+ "stage",
+ "announcement"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "maxItems": 500,
+ "type": "array"
+ },
+ "name": {
+ "description": "Optional label for saving or referencing this blueprint.",
+ "maxLength": 100,
+ "type": "string"
+ },
+ "roles": {
+ "description": "Highest role first, the way the server settings list them. A build creates them in this order and that order is the hierarchy.",
+ "items": {
+ "properties": {
+ "color": {
+ "anyOf": [
+ {
+ "pattern": "^#?[0-9a-fA-F]{6}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "null clears it."
+ },
+ "hoist": {
+ "description": "Show members with this role separately in the sidebar.",
+ "type": "boolean"
+ },
+ "id": {
+ "description": "Discord id from export_server_blueprint. Matches this exact item, so a new name renames it.",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "mentionable": {
+ "type": "boolean"
+ },
+ "name": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "permissions": {
+ "description": "Extra permission names beyond the preset.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "preset": {
+ "description": "Vetted permission bundle. Administrator is never included.",
+ "enum": [
+ "none",
+ "member",
+ "moderator",
+ "admin"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "maxItems": 250,
+ "type": "array"
+ },
+ "theme": {
+ "description": "Freeform note recording the intent and naming style.",
+ "maxLength": 500,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+]