changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "context": {
- "additionalProperties": false,
- "properties": {
- "account_ref": {
- "type": "string"
- },
- "app_id": {
- "const": "supercatch",
- "type": "string"
- },
- "connection_ref": {
- "type": "string"
- },
- "environment": {
- "enum": [
- "public",
- "production",
- "staging",
- "paper",
- "sandbox"
- ],
- "type": "string"
- },
- "tenant_ref": {
- "type": [
- "string",
- "null"
- ]
- },
- "timezone": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "app_id",
- "tenant_ref",
- "environment",
- "timezone"
- ],
- "type": "object"
- },
- "data": {
- "additionalProperties": false,
- "properties": {
- "completeness": {
- "enum": [
- "complete",
- "partial",
- "unavailable"
- ],
- "type": "string"
- },
- "items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "app_url": {
- "format": "uri",
- "type": "string"
- },
- "artifact_id": {
- "type": "string"
- },
- "byte_size": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "created_at": {
- "anyOf": [
- {
- "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"
- },
- {
- "type": "null"
- }
- ]
- },
- "delivery_tool": {
- "const": "get_listing_image",
- "type": "string"
- },
- "expires_at": {
- "anyOf": [
- {
- "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"
- },
- {
- "type": "null"
- }
- ]
- },
- "height": {
- "anyOf": [
- {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "image_id": {
- "type": "string"
- },
- "image_index": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "is_primary": {
- "type": "boolean"
- },
- "listing_id": {
- "description": "Opaque identifier returned by the authorized application; never substitute a display label or another entity's ID.",
- "maxLength": 128,
- "minLength": 1,
- "type": "string"
- },
- "media_type": {
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "type": "string"
- },
- "sha256": {
- "anyOf": [
- {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "source": {
- "additionalProperties": false,
- "properties": {
- "freshness": {
- "enum": [
- "fresh",
- "stale",
- "unknown"
- ],
- "type": "string"
- },
- "observed_at": {
- "anyOf": [
- {
- "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"
- },
- {
- "type": "null"
- }
- ]
- },
- "retrieved_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"
- },
- "source_id": {
- "minLength": 1,
- "type": "string"
- },
- "source_url": {
- "format": "uri",
- "type": "string"
- },
- "source_version": {
- "type": "string"
- }
- },
- "required": [
- "source_id",
- "observed_at",
- "retrieved_at",
- "freshness"
- ],
- "type": "object"
- },
- "width": {
- "anyOf": [
- {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "image_id",
- "artifact_id",
- "is_primary",
- "listing_id",
- "image_index",
- "name",
- "media_type",
- "byte_size",
- "sha256",
- "width",
- "height",
- "created_at",
- "expires_at",
- "app_url",
- "source",
- "delivery_tool"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "omissions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "count": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "reason": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "reason",
- "count"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "page": {
- "additionalProperties": false,
- "properties": {
- "consistency": {
- "enum": [
- "snapshot",
- "live"
- ],
- "type": "string"
- },
- "has_more": {
- "type": "boolean"
- },
- "next_cursor": {
- "type": [
- "string",
- "null"
- ]
- },
- "returned_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "snapshot_expires_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"
- },
- "snapshot_id": {
- "type": "string"
- },
- "total_count": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "returned_count",
- "total_count",
- "has_more",
- "next_cursor",
- "consistency"
- ],
- "type": "object"
- }
- },
- "required": [
- "items",
- "page",
- "completeness",
- "omissions"
- ],
- "type": "object"
- },
- "generated_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"
- },
- "kind": {
- "const": "collection",
- "type": "string"
- },
- "next_actions": {
- "items": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "reason": {
- "type": "string"
- },
- "tool_name": {
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "call_tool",
- "type": "string"
- }
- },
- "required": [
- "type",
- "tool_name",
- "reason"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "reason": {
- "type": "string"
- },
- "type": {
- "const": "open_url",
- "type": "string"
- },
- "url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "type",
- "url",
- "reason"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "fields": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "reason": {
- "type": "string"
- },
- "type": {
- "const": "provide_input",
- "type": "string"
- }
- },
- "required": [
- "type",
- "fields",
- "reason"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "reason": {
- "type": "string"
- },
- "retry_after_ms": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "type": {
- "const": "wait",
- "type": "string"
- }
- },
- "required": [
- "type",
- "retry_after_ms",
- "reason"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "provenance": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "freshness": {
- "enum": [
- "fresh",
- "stale",
- "unknown"
- ],
- "type": "string"
- },
- "observed_at": {
- "anyOf": [
- {
- "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"
- },
- {
- "type": "null"
- }
- ]
- },
- "retrieved_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"
- },
- "source_id": {
- "minLength": 1,
- "type": "string"
- },
- "source_url": {
- "format": "uri",
- "type": "string"
- },
- "source_version": {
- "type": "string"
- }
- },
- "required": [
- "source_id",
- "observed_at",
- "retrieved_at",
- "freshness"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "request_id": {
- "minLength": 1,
- "type": "string"
- },
- "schema_version": {
- "const": "1.0.0",
- "type": "string"
- },
- "warnings": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "field": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "schema_version",
- "kind",
- "request_id",
- "generated_at",
- "context",
- "data",
- "warnings",
- "next_actions"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "context": {
- "additionalProperties": false,
- "properties": {
- "account_ref": {
- "type": "string"
- },
- "app_id": {
- "const": "supercatch",
- "type": "string"
- },
- "connection_ref": {
- "type": "string"
- },
- "environment": {
- "enum": [
- "public",
- "production",
- "staging",
- "paper",
- "sandbox"
- ],
- "type": "string"
- },
- "tenant_ref": {
- "type": [
- "string",
- "null"
- ]
- },
- "timezone": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "app_id",
- "tenant_ref",
- "environment",
- "timezone"
- ],
- "type": "object"
- },
- "data": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "enum": [
- "invalid_input",
- "unauthenticated",
- "permission_denied",
- "consent_required",
- "ambiguous_target",
- "not_found",
- "unsupported_capability",
- "configuration_required",
- "integration_expired",
- "stale_data",
- "version_conflict",
- "approval_required",
- "approval_expired",
- "idempotency_conflict",
- "rate_limited",
- "quota_exceeded",
- "provider_unavailable",
- "outcome_unknown",
- "reconciliation_required",
- "cursor_expired",
- "artifact_expired",
- "internal_error"
- ],
- "type": "string"
- },
- "domain_code": {
- "type": "string"
- },
- "effects": {
- "enum": [
- "none",
- "committed",
- "partial",
- "unknown"
- ],
- "type": "string"
- },
- "field_errors": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "field": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "field",
- "message"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "message": {
- "type": "string"
- },
- "operation_id": {
- "type": "string"
- },
- "retry_after_ms": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "retry_strategy": {
- "enum": [
- "never",
- "same_request",
- "after_delay",
- "after_correction",
- "reconcile_first"
- ],
- "type": "string"
- }
- },
- "required": [
- "code",
- "message",
- "effects",
- "retry_strategy"
- ],
- "type": "object"
- },
- "generated_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"
- },
- "kind": {
- "const": "error",
- "type": "string"
- },
- "next_actions": {
- "items": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "reason": {
- "type": "string"
- },
- "tool_name": {
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "call_tool",
- "type": "string"
- }
- },
- "required": [
- "type",
- "tool_name",
- "reason"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "reason": {
- "type": "string"
- },
- "type": {
- "const": "open_url",
- "type": "string"
- },
- "url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "type",
- "url",
- "reason"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "fields": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "reason": {
- "type": "string"
- },
- "type": {
- "const": "provide_input",
- "type": "string"
- }
- },
- "required": [
- "type",
- "fields",
- "reason"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "reason": {
- "type": "string"
- },
- "retry_after_ms": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "type": {
- "const": "wait",
- "type": "string"
- }
- },
- "required": [
- "type",
- "retry_after_ms",
- "reason"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "provenance": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "freshness": {
- "enum": [
- "fresh",
- "stale",
- "unknown"
- ],
- "type": "string"
- },
- "observed_at": {
- "anyOf": [
- {
- "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"
- },
- {
- "type": "null"
- }
- ]
- },
- "retrieved_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"
- },
- "source_id": {
- "minLength": 1,
- "type": "string"
- },
- "source_url": {
- "format": "uri",
- "type": "string"
- },
- "source_version": {
- "type": "string"
- }
- },
- "required": [
- "source_id",
- "observed_at",
- "retrieved_at",
- "freshness"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "request_id": {
- "minLength": 1,
- "type": "string"
- },
- "schema_version": {
- "const": "1.0.0",
- "type": "string"
- },
- "warnings": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "field": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "schema_version",
- "kind",
- "request_id",
- "generated_at",
- "context",
- "data",
- "warnings",
- "next_actions"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "context": {
+ "additionalProperties": false,
+ "properties": {
+ "account_ref": {
+ "type": "string"
+ },
+ "app_id": {
+ "const": "supercatch",
+ "type": "string"
+ },
+ "connection_ref": {
+ "type": "string"
+ },
+ "environment": {
+ "enum": [
+ "public",
+ "production",
+ "staging",
+ "paper",
+ "sandbox"
+ ],
+ "type": "string"
+ },
+ "tenant_ref": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "timezone": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "app_id",
+ "tenant_ref",
+ "environment",
+ "timezone"
+ ],
+ "type": "object"
+ },
+ "data": {
+ "additionalProperties": false,
+ "properties": {
+ "completeness": {
+ "enum": [
+ "complete",
+ "partial",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "items": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "app_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "artifact_id": {
+ "type": "string"
+ },
+ "byte_size": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "created_at": {
+ "anyOf": [
+ {
+ "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"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "delivery_tool": {
+ "const": "supercatch_get_listing_image",
+ "type": "string"
+ },
+ "expires_at": {
+ "anyOf": [
+ {
+ "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"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "height": {
+ "anyOf": [
+ {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "image_id": {
+ "type": "string"
+ },
+ "image_index": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "is_primary": {
+ "type": "boolean"
+ },
+ "listing_id": {
+ "description": "Opaque identifier returned by the authorized application; never substitute a display label or another entity's ID.",
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "media_type": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "sha256": {
+ "anyOf": [
+ {
+ "pattern": "^[a-f0-9]{64}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "source": {
+ "additionalProperties": false,
+ "properties": {
+ "freshness": {
+ "enum": [
+ "fresh",
+ "stale",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "observed_at": {
+ "anyOf": [
+ {
+ "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"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "retrieved_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"
+ },
+ "source_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "source_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "source_version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "source_id",
+ "observed_at",
+ "retrieved_at",
+ "freshness"
+ ],
+ "type": "object"
+ },
+ "width": {
+ "anyOf": [
+ {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "image_id",
+ "artifact_id",
+ "is_primary",
+ "listing_id",
+ "image_index",
+ "name",
+ "media_type",
+ "byte_size",
+ "sha256",
+ "width",
+ "height",
+ "created_at",
+ "expires_at",
+ "app_url",
+ "source",
+ "delivery_tool"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "omissions": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "count": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "reason",
+ "count"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "page": {
+ "additionalProperties": false,
+ "properties": {
+ "consistency": {
+ "enum": [
+ "snapshot",
+ "live"
+ ],
+ "type": "string"
+ },
+ "has_more": {
+ "type": "boolean"
+ },
+ "next_cursor": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "returned_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "snapshot_expires_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"
+ },
+ "snapshot_id": {
+ "type": "string"
+ },
+ "total_count": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "returned_count",
+ "total_count",
+ "has_more",
+ "next_cursor",
+ "consistency"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "items",
+ "page",
+ "completeness",
+ "omissions"
+ ],
+ "type": "object"
+ },
+ "generated_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"
+ },
+ "kind": {
+ "const": "collection",
+ "type": "string"
+ },
+ "next_actions": {
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "reason": {
+ "type": "string"
+ },
+ "tool_name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "call_tool",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "tool_name",
+ "reason"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "reason": {
+ "type": "string"
+ },
+ "type": {
+ "const": "open_url",
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "url",
+ "reason"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "type": {
+ "const": "provide_input",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "fields",
+ "reason"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "reason": {
+ "type": "string"
+ },
+ "retry_after_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "type": {
+ "const": "wait",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "retry_after_ms",
+ "reason"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "provenance": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "freshness": {
+ "enum": [
+ "fresh",
+ "stale",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "observed_at": {
+ "anyOf": [
+ {
+ "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"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "retrieved_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"
+ },
+ "source_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "source_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "source_version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "source_id",
+ "observed_at",
+ "retrieved_at",
+ "freshness"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "request_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "schema_version": {
+ "const": "1.0.0",
+ "type": "string"
+ },
+ "warnings": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "field": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "schema_version",
+ "kind",
+ "request_id",
+ "generated_at",
+ "context",
+ "data",
+ "warnings",
+ "next_actions"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "context": {
+ "additionalProperties": false,
+ "properties": {
+ "account_ref": {
+ "type": "string"
+ },
+ "app_id": {
+ "const": "supercatch",
+ "type": "string"
+ },
+ "connection_ref": {
+ "type": "string"
+ },
+ "environment": {
+ "enum": [
+ "public",
+ "production",
+ "staging",
+ "paper",
+ "sandbox"
+ ],
+ "type": "string"
+ },
+ "tenant_ref": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "timezone": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "app_id",
+ "tenant_ref",
+ "environment",
+ "timezone"
+ ],
+ "type": "object"
+ },
+ "data": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "enum": [
+ "invalid_input",
+ "unauthenticated",
+ "permission_denied",
+ "consent_required",
+ "ambiguous_target",
+ "not_found",
+ "unsupported_capability",
+ "configuration_required",
+ "integration_expired",
+ "stale_data",
+ "version_conflict",
+ "approval_required",
+ "approval_expired",
+ "idempotency_conflict",
+ "rate_limited",
+ "quota_exceeded",
+ "provider_unavailable",
+ "outcome_unknown",
+ "reconciliation_required",
+ "cursor_expired",
+ "artifact_expired",
+ "internal_error"
+ ],
+ "type": "string"
+ },
+ "domain_code": {
+ "type": "string"
+ },
+ "effects": {
+ "enum": [
+ "none",
+ "committed",
+ "partial",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "field_errors": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "field": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "field",
+ "message"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ },
+ "operation_id": {
+ "type": "string"
+ },
+ "retry_after_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "retry_strategy": {
+ "enum": [
+ "never",
+ "same_request",
+ "after_delay",
+ "after_correction",
+ "reconcile_first"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "effects",
+ "retry_strategy"
+ ],
+ "type": "object"
+ },
+ "generated_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"
+ },
+ "kind": {
+ "const": "error",
+ "type": "string"
+ },
+ "next_actions": {
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "reason": {
+ "type": "string"
+ },
+ "tool_name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "call_tool",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "tool_name",
+ "reason"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "reason": {
+ "type": "string"
+ },
+ "type": {
+ "const": "open_url",
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "url",
+ "reason"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "fields": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "type": {
+ "const": "provide_input",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "fields",
+ "reason"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "reason": {
+ "type": "string"
+ },
+ "retry_after_ms": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "type": {
+ "const": "wait",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "retry_after_ms",
+ "reason"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "provenance": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "freshness": {
+ "enum": [
+ "fresh",
+ "stale",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "observed_at": {
+ "anyOf": [
+ {
+ "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"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "retrieved_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"
+ },
+ "source_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "source_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "source_version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "source_id",
+ "observed_at",
+ "retrieved_at",
+ "freshness"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "request_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "schema_version": {
+ "const": "1.0.0",
+ "type": "string"
+ },
+ "warnings": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "field": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "schema_version",
+ "kind",
+ "request_id",
+ "generated_at",
+ "context",
+ "data",
+ "warnings",
+ "next_actions"
+ ],
+ "type": "object"
+ }
+]