changedOutput schema / anyOf
Previous value: -[
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "additionalProperties": {},
- "properties": {
- "coverage": {
- "additionalProperties": false,
- "properties": {
- "budget": {
- "additionalProperties": false,
- "properties": {
- "messages": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "pages": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "reply_fetches": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "pages",
- "messages",
- "reply_fetches"
- ],
- "type": "object"
- },
- "complete": {
- "type": "boolean"
- },
- "direction": {
- "enum": [
- "older",
- "newer",
- "around",
- "recent"
- ],
- "type": "string"
- },
- "newest_scanned_id": {
- "description": "Discord message ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "oldest_scanned_id": {
- "description": "Discord message ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "partial": {
- "type": "boolean"
- },
- "reasons": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "complete",
- "partial",
- "direction",
- "budget",
- "reasons"
- ],
- "type": "object"
- },
- "messages": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "attachments": {
- "description": "Raw attachment metadata; URLs are not fetched",
- "items": {
- "additionalProperties": {},
- "properties": {},
- "type": "object"
- },
- "type": "array"
- },
- "author_id": {
- "description": "Discord user ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "author_name": {
- "type": "string"
- },
- "channel_id": {
- "description": "Discord channel ID (snowflake)",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "citation": {
- "additionalProperties": false,
- "properties": {
- "channel_id": {
- "description": "Discord channel ID (snowflake)",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "guild_id": {
- "description": "Discord guild (server) ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "jump_url": {
- "format": "uri",
- "type": "string"
- },
- "message_id": {
- "description": "Discord message ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "resolved": {
- "type": "boolean"
- }
- },
- "required": [
- "message_id",
- "channel_id",
- "resolved"
- ],
- "type": "object"
- },
- "components": {
- "description": "Complete raw Discord component tree",
- "items": {
- "additionalProperties": {},
- "properties": {
- "type": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "content": {
- "description": "Original Discord content; may be empty for component-only messages",
- "type": "string"
- },
- "edited": {
- "type": "boolean"
- },
- "embeds": {
- "description": "Complete raw Discord embeds",
- "items": {
- "additionalProperties": {},
- "properties": {},
- "type": "object"
- },
- "type": "array"
- },
- "flags": {
- "description": "Original Discord message flags, when supplied",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "id": {
- "description": "Discord message ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "reply_reference": {
- "additionalProperties": false,
- "properties": {
- "author_name": {
- "type": "string"
- },
- "channel_id": {
- "description": "Discord channel ID (snowflake)",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "citation": {
- "format": "uri",
- "type": "string"
- },
- "content": {
- "type": "string"
- },
- "guild_id": {
- "description": "Discord guild (server) ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "message_id": {
- "description": "Discord message ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "resolved": {
- "type": "boolean"
- }
- },
- "required": [
- "message_id",
- "channel_id",
- "resolved"
- ],
- "type": "object"
- },
- "timestamp": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "channel_id",
- "author_id",
- "author_name",
- "content",
- "timestamp",
- "edited",
- "citation"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "next_cursor": {
- "description": "Discord message ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "pages_scanned": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "query": {
- "type": "string"
- },
- "reply_references": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "author_name": {
- "type": "string"
- },
- "channel_id": {
- "description": "Discord channel ID (snowflake)",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "citation": {
- "format": "uri",
- "type": "string"
- },
- "content": {
- "type": "string"
- },
- "guild_id": {
- "description": "Discord guild (server) ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "message_id": {
- "description": "Discord message ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "resolved": {
- "type": "boolean"
- }
- },
- "required": [
- "message_id",
- "channel_id",
- "resolved"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "returned_count": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "scanned_count": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "scope": {
- "additionalProperties": false,
- "properties": {
- "channel_id": {
- "description": "Discord channel ID (snowflake)",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "channel_type": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "guild_id": {
- "description": "Discord guild (server) ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "parent_channel_id": {
- "description": "Discord channel ID (snowflake)",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "scope": {
- "enum": [
- "channel",
- "thread",
- "forum"
- ],
- "type": "string"
- }
- },
- "required": [
- "channel_id",
- "scope"
- ],
- "type": "object"
- }
- },
- "required": [
- "scope",
- "messages",
- "reply_references",
- "scanned_count",
- "returned_count",
- "pages_scanned",
- "coverage"
- ],
- "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": {
+ "coverage": {
+ "additionalProperties": false,
+ "properties": {
+ "budget": {
+ "additionalProperties": false,
+ "properties": {
+ "messages": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "pages": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "reply_fetches": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "pages",
+ "messages",
+ "reply_fetches"
+ ],
+ "type": "object"
+ },
+ "complete": {
+ "type": "boolean"
+ },
+ "direction": {
+ "enum": [
+ "older",
+ "newer",
+ "around",
+ "recent"
+ ],
+ "type": "string"
+ },
+ "newest_scanned_id": {
+ "description": "Discord message ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "oldest_scanned_id": {
+ "description": "Discord message ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "partial": {
+ "type": "boolean"
+ },
+ "reasons": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "complete",
+ "partial",
+ "direction",
+ "budget",
+ "reasons"
+ ],
+ "type": "object"
+ },
+ "messages": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "attachments": {
+ "description": "Raw attachment metadata; URLs are not fetched",
+ "items": {
+ "additionalProperties": {},
+ "properties": {},
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "author_bot": {
+ "type": "boolean"
+ },
+ "author_id": {
+ "description": "Discord user ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "author_name": {
+ "type": "string"
+ },
+ "channel_id": {
+ "description": "Discord channel ID (snowflake)",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "citation": {
+ "additionalProperties": false,
+ "properties": {
+ "channel_id": {
+ "description": "Discord channel ID (snowflake)",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "guild_id": {
+ "description": "Discord guild (server) ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "jump_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "message_id": {
+ "description": "Discord message ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "resolved": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "message_id",
+ "channel_id",
+ "resolved"
+ ],
+ "type": "object"
+ },
+ "components": {
+ "description": "Complete raw Discord component tree",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "type": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "content": {
+ "description": "Original Discord content; may be empty for component-only messages",
+ "type": "string"
+ },
+ "edited": {
+ "type": "boolean"
+ },
+ "edited_timestamp": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "embeds": {
+ "description": "Complete raw Discord embeds",
+ "items": {
+ "additionalProperties": {},
+ "properties": {},
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "flags": {
+ "description": "Original Discord message flags, when supplied",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "id": {
+ "description": "Discord message ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "message_reference": {
+ "additionalProperties": {},
+ "properties": {
+ "channel_id": {
+ "description": "Discord channel ID (snowflake)",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "message_id": {
+ "description": "Discord message ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "type": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "reactions": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {},
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "referenced_author_id": {
+ "description": "Discord user ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "referenced_message_state": {
+ "enum": [
+ "present",
+ "deleted",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "reply_reference": {
+ "additionalProperties": false,
+ "properties": {
+ "author_name": {
+ "type": "string"
+ },
+ "channel_id": {
+ "description": "Discord channel ID (snowflake)",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "citation": {
+ "format": "uri",
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "guild_id": {
+ "description": "Discord guild (server) ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "message_id": {
+ "description": "Discord message ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "resolved": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "message_id",
+ "channel_id",
+ "resolved"
+ ],
+ "type": "object"
+ },
+ "started_thread_id": {
+ "description": "Discord channel ID (snowflake)",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string"
+ },
+ "webhook_id": {
+ "description": "Discord user ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "channel_id",
+ "author_id",
+ "author_name",
+ "author_bot",
+ "content",
+ "timestamp",
+ "edited",
+ "citation"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "next_cursor": {
+ "description": "Discord message ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "pages_scanned": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "query": {
+ "type": "string"
+ },
+ "reply_references": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "author_name": {
+ "type": "string"
+ },
+ "channel_id": {
+ "description": "Discord channel ID (snowflake)",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "citation": {
+ "format": "uri",
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "guild_id": {
+ "description": "Discord guild (server) ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "message_id": {
+ "description": "Discord message ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "resolved": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "message_id",
+ "channel_id",
+ "resolved"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "returned_count": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "scanned_count": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "scope": {
+ "additionalProperties": false,
+ "properties": {
+ "channel_id": {
+ "description": "Discord channel ID (snowflake)",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "channel_type": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "guild_id": {
+ "description": "Discord guild (server) ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "parent_channel_id": {
+ "description": "Discord channel ID (snowflake)",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "scope": {
+ "enum": [
+ "channel",
+ "thread",
+ "forum"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "channel_id",
+ "scope"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "scope",
+ "messages",
+ "reply_references",
+ "scanned_count",
+ "returned_count",
+ "pages_scanned",
+ "coverage"
+ ],
+ "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"
+ }
+]