changedOutput schema / anyOf
Previous value: -[
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "additionalProperties": {},
- "properties": {
- "channel_id": {
- "description": "Discord channel ID (snowflake)",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "count": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "has_more": {
- "type": "boolean"
- },
- "next_before": {
- "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"
- },
- "pins": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "author_id": {
- "description": "Discord user ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "author_name": {
- "type": "string"
- },
- "content": {
- "type": "string"
- },
- "message_id": {
- "description": "Discord message ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "pinned_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"
- },
- "timestamp": {
- "type": "string"
- }
- },
- "required": [
- "message_id",
- "author_id",
- "author_name",
- "content",
- "timestamp",
- "pinned_at"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "pins",
- "has_more",
- "count",
- "channel_id"
- ],
- "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": {
+ "channel_id": {
+ "description": "Discord channel ID (snowflake)",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "count": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "has_more": {
+ "type": "boolean"
+ },
+ "next_before": {
+ "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"
+ },
+ "pins": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "author_id": {
+ "description": "Discord user ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "author_name": {
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "message_id": {
+ "description": "Discord message ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "pinned_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"
+ },
+ "timestamp": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "message_id",
+ "author_id",
+ "author_name",
+ "content",
+ "timestamp",
+ "pinned_at"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "pins",
+ "has_more",
+ "count",
+ "channel_id"
+ ],
+ "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"
+ }
+]