changedOutput schema / anyOf
Previous value: -[
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "additionalProperties": {},
- "properties": {
- "guild_id": {
- "description": "Discord guild (server) ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "id": {
- "description": "Discord channel ID (snowflake)",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "name": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "nsfw": {
- "type": "boolean"
- },
- "parent_id": {
- "anyOf": [
- {
- "description": "Discord channel ID (snowflake)",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "position": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "rate_limit_per_user": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "topic": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "type": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "id",
- "name",
- "type",
- "nsfw",
- "topic",
- "rate_limit_per_user"
- ],
- "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": {
+ "applied_tags": {
+ "description": "Tag IDs applied to a forum/media post, when returned by Discord",
+ "items": {
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "available_tags": {
+ "description": "Complete forum/media tags, including IDs, names, moderation and emoji fields, when returned by Discord",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "emoji_id": {
+ "anyOf": [
+ {
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "emoji_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "moderated": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "moderated",
+ "emoji_id",
+ "emoji_name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "guild_id": {
+ "description": "Discord guild (server) ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "id": {
+ "description": "Discord channel ID (snowflake)",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent_id": {
+ "anyOf": [
+ {
+ "description": "Discord channel ID (snowflake)",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "position": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "rate_limit_per_user": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "topic": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "type",
+ "nsfw",
+ "topic",
+ "rate_limit_per_user"
+ ],
+ "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"
+ }
+]