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": {
- "type": "number"
- },
- "messages": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "author_id": {
- "description": "Discord user ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "author_name": {
- "type": "string"
- },
- "content": {
- "type": "string"
- },
- "edited": {
- "type": "boolean"
- },
- "id": {
- "description": "Discord message ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "timestamp": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "author_id",
- "author_name",
- "content",
- "timestamp",
- "edited"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "newest_id": {
- "description": "Discord message ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- },
- "oldest_id": {
- "description": "Discord message ID",
- "pattern": "^\\d{17,20}$",
- "type": "string"
- }
- },
- "required": [
- "messages",
- "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": {
+ "type": "number"
+ },
+ "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"
+ },
+ "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"
+ },
+ "timestamp": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "author_id",
+ "author_name",
+ "content",
+ "timestamp",
+ "edited"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "newest_id": {
+ "description": "Discord message ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ },
+ "oldest_id": {
+ "description": "Discord message ID",
+ "pattern": "^\\d{17,20}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "messages",
+ "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"
+ }
+]