changedOutput schema / anyOf
Previous value: -[
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "additionalProperties": {},
- "properties": {
- "drift": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "channel_setting_difference_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "channels_added_since_snapshot_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "channels_missing_from_guild_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "channels_not_representable_in_template_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "permission_overwrite_difference_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "role_permission_difference_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "roles_added_since_snapshot_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "roles_missing_from_guild_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "source_guild_channel_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "source_guild_role_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "sync_recommended": {
- "type": "boolean"
- },
- "template_channel_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "template_marked_dirty": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ]
- },
- "template_role_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "unmapped_permission_overwrite_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "template_channel_count",
- "source_guild_channel_count",
- "channels_missing_from_guild_count",
- "channels_added_since_snapshot_count",
- "channels_not_representable_in_template_count",
- "template_role_count",
- "source_guild_role_count",
- "roles_missing_from_guild_count",
- "roles_added_since_snapshot_count",
- "role_permission_difference_count",
- "channel_setting_difference_count",
- "permission_overwrite_difference_count",
- "unmapped_permission_overwrite_count",
- "template_marked_dirty",
- "sync_recommended"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "source_guild_matches": {
- "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": [
- "template",
- "source_guild_matches",
- "drift",
- "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": {
+ "drift": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "channel_setting_difference_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "channels_added_since_snapshot_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "channels_missing_from_guild_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "channels_not_representable_in_template_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "permission_overwrite_difference_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "role_permission_difference_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "roles_added_since_snapshot_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "roles_missing_from_guild_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "source_guild_channel_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "source_guild_role_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "sync_recommended": {
+ "type": "boolean"
+ },
+ "template_channel_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "template_marked_dirty": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "template_role_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "unmapped_permission_overwrite_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "template_channel_count",
+ "source_guild_channel_count",
+ "channels_missing_from_guild_count",
+ "channels_added_since_snapshot_count",
+ "channels_not_representable_in_template_count",
+ "template_role_count",
+ "source_guild_role_count",
+ "roles_missing_from_guild_count",
+ "roles_added_since_snapshot_count",
+ "role_permission_difference_count",
+ "channel_setting_difference_count",
+ "permission_overwrite_difference_count",
+ "unmapped_permission_overwrite_count",
+ "template_marked_dirty",
+ "sync_recommended"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "source_guild_matches": {
+ "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": [
+ "template",
+ "source_guild_matches",
+ "drift",
+ "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"
+ }
+]