changedOutput schema / anyOf
Previous value: -[
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "additionalProperties": {},
- "properties": {
- "deleted": {
- "const": true,
- "type": "boolean"
- },
- "template": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "maxLength": 100,
- "minLength": 1,
- "pattern": "^[a-zA-Z0-9_-]+$",
- "type": "string"
- },
- "created_at": {
- "type": "string"
- },
- "creator_id": {
- "description": "Discord user ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "description": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "is_dirty": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ]
- },
- "name": {
- "type": "string"
- },
- "source_guild_id": {
- "description": "Discord guild (server) ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "updated_at": {
- "type": "string"
- },
- "usage_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "use_url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "code",
- "name",
- "description",
- "usage_count",
- "creator_id",
- "created_at",
- "updated_at",
- "source_guild_id",
- "is_dirty",
- "use_url"
- ],
- "type": "object"
- },
- "untrusted_text": {
- "type": "string"
- }
- },
- "required": [
- "deleted",
- "template",
- "untrusted_text"
- ],
- "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": {
+ "deleted": {
+ "const": true,
+ "type": "boolean"
+ },
+ "template": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "maxLength": 100,
+ "minLength": 1,
+ "pattern": "^[a-zA-Z0-9_-]+$",
+ "type": "string"
+ },
+ "created_at": {
+ "type": "string"
+ },
+ "creator_id": {
+ "description": "Discord user ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "is_dirty": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "source_guild_id": {
+ "description": "Discord guild (server) ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "updated_at": {
+ "type": "string"
+ },
+ "usage_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "use_url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "name",
+ "description",
+ "usage_count",
+ "creator_id",
+ "created_at",
+ "updated_at",
+ "source_guild_id",
+ "is_dirty",
+ "use_url"
+ ],
+ "type": "object"
+ },
+ "untrusted_text": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "deleted",
+ "template",
+ "untrusted_text"
+ ],
+ "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"
+ }
+]