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": {
- "app_url": {
- "format": "uri",
- "type": "string"
- },
- "asking_price": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
- "type": "string"
- },
- "currency": {
- "const": "USD",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": "object"
- },
- "card": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "autograph_status": {
- "enum": [
- "yes",
- "no",
- "unknown"
- ],
- "type": "string"
- },
- "card_number": {
- "type": [
- "string",
- "null"
- ]
- },
- "catalog_card_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"
- },
- "set_name": {
- "type": [
- "string",
- "null"
- ]
- },
- "sport_or_game": {
- "type": "string"
- },
- "subject": {
- "type": "string"
- },
- "variation": {
- "type": [
- "string",
- "null"
- ]
- },
- "year": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "catalog_card_id",
- "sport_or_game",
- "year",
- "set_name",
- "card_number",
- "subject",
- "variation",
- "autograph_status"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "effective_sale_price": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
- "type": "string"
- },
- "currency": {
- "const": "USD",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "grade": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "condition": {
- "type": [
- "string",
- "null"
- ]
- },
- "kind": {
- "const": "raw",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "condition"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "certification_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "company": {
- "type": "string"
- },
- "grade": {
- "type": [
- "string",
- "null"
- ]
- },
- "kind": {
- "const": "graded",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "company",
- "grade",
- "certification_id"
- ],
- "type": "object"
- }
- ]
- },
- "image_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "images": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "artifact_id": {
- "type": "string"
- },
- "image_id": {
- "type": "string"
- },
- "is_primary": {
- "type": "boolean"
- }
- },
- "required": [
- "image_id",
- "artifact_id",
- "is_primary"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "inventory": {
- "additionalProperties": false,
- "properties": {
- "available": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "basis": {
- "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"
- }
- ]
- },
- "on_hand": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "reserved": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "on_hand",
- "reserved",
- "available",
- "basis",
- "observed_at"
- ],
- "type": "object"
- },
- "lifecycle_state": {
- "enum": [
- "DRAFT",
- "PENDING",
- "PROCESSING",
- "ACTIVE",
- "SOLD",
- "RESERVED",
- "INACTIVE",
- "REMOVED",
- "REJECTED",
- "SHOWCASE"
- ],
- "type": "string"
- },
- "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"
- },
- "sku": {
- "type": [
- "string",
- "null"
- ]
- },
- "store_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"
- },
- "title": {
- "type": "string"
- },
- "version": {
- "type": "string"
- }
- },
- "required": [
- "listing_id",
- "store_id",
- "version",
- "card",
- "grade",
- "sku",
- "title",
- "asking_price",
- "effective_sale_price",
- "inventory",
- "lifecycle_state",
- "image_count",
- "images",
- "app_url"
- ],
- "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": "record",
- "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": {
+ "app_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "asking_price": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "currency": {
+ "const": "USD",
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency"
+ ],
+ "type": "object"
+ },
+ "card": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "autograph_status": {
+ "enum": [
+ "yes",
+ "no",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "card_number": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "catalog_card_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"
+ },
+ "set_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "sport_or_game": {
+ "type": "string"
+ },
+ "subject": {
+ "type": "string"
+ },
+ "subset": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "variation": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "year": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "catalog_card_id",
+ "sport_or_game",
+ "year",
+ "set_name",
+ "card_number",
+ "subject",
+ "subset",
+ "variation",
+ "autograph_status"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "effective_sale_price": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "pattern": "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?$",
+ "type": "string"
+ },
+ "currency": {
+ "const": "USD",
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "grade": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "condition": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kind": {
+ "const": "raw",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "condition"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "certification_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "company": {
+ "type": "string"
+ },
+ "grade": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kind": {
+ "const": "graded",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "company",
+ "grade",
+ "certification_id"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "image_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "images": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "artifact_id": {
+ "type": "string"
+ },
+ "image_id": {
+ "type": "string"
+ },
+ "is_primary": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "image_id",
+ "artifact_id",
+ "is_primary"
+ ],
+ "type": "object"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "inventory": {
+ "additionalProperties": false,
+ "properties": {
+ "available": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "basis": {
+ "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"
+ }
+ ]
+ },
+ "on_hand": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "reserved": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "on_hand",
+ "reserved",
+ "available",
+ "basis",
+ "observed_at"
+ ],
+ "type": "object"
+ },
+ "lifecycle_state": {
+ "enum": [
+ "DRAFT",
+ "PENDING",
+ "PROCESSING",
+ "ACTIVE",
+ "SOLD",
+ "RESERVED",
+ "INACTIVE",
+ "REMOVED",
+ "REJECTED",
+ "SHOWCASE"
+ ],
+ "type": "string"
+ },
+ "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"
+ },
+ "sku": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "store_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"
+ },
+ "title": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "listing_id",
+ "store_id",
+ "version",
+ "card",
+ "grade",
+ "sku",
+ "title",
+ "asking_price",
+ "effective_sale_price",
+ "inventory",
+ "lifecycle_state",
+ "image_count",
+ "images",
+ "app_url"
+ ],
+ "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": "record",
+ "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"
+ }
+]