removedInput schema / properties
Removed value: -{
- "currency": {
- "description": "ISO 4217 currency code (e.g. USD)",
- "maxLength": 3,
- "minLength": 3,
- "type": "string"
- },
- "intent": {
- "additionalProperties": false,
- "description": "Intent context for relevance and personalization",
- "properties": {
- "action": {
- "description": "Intent action (e.g. 'purchase', 'gift', 'compare')",
- "type": "string"
- },
- "context": {
- "description": "Natural language context for personalization",
- "type": "string"
- },
- "locale": {
- "description": "ISO locale",
- "type": "string"
- }
- },
- "required": [
- "action"
- ],
- "type": "object"
- },
- "label": {
- "description": "Optional label for additional identifiers (e.g. external order ref, multi-PSP reference)",
- "type": "string"
- },
- "line_items": {
- "description": "Line items for the checkout",
- "items": {
- "additionalProperties": false,
- "properties": {
- "price": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "description": "Price in smallest unit (cents)",
- "minimum": 0,
- "type": "number"
- },
- "currency": {
- "description": "ISO 4217 currency code",
- "maxLength": 3,
- "minLength": 3,
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": "object"
- },
- "product_id": {
- "description": "Product identifier",
- "minLength": 1,
- "type": "string"
- },
- "quantity": {
- "description": "Quantity",
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "title": {
- "description": "Product title",
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "product_id",
- "title",
- "quantity",
- "price"
- ],
- "type": "object"
- },
- "minItems": 1,
- "type": "array"
- }
-}
changedOutput schema / (root)
Previous value: -{
- "$schema": "http://json-schema.org/draft-07/schema#",
- "additionalProperties": false,
- "properties": {
- "created_at": {
- "type": "string"
- },
- "currency": {
- "type": "string"
- },
- "extensions": {
- "additionalProperties": false,
- "properties": {
- "warnings": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "disclosure_url": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "severity": {
- "enum": [
- "info",
- "caution",
- "critical"
- ],
- "type": "string"
- }
- },
- "required": [
- "code",
- "message",
- "severity"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- "id": {
- "type": "string"
- },
- "idempotency_key": {
- "type": "string"
- },
- "intent": {
- "additionalProperties": false,
- "properties": {
- "action": {
- "type": "string"
- },
- "context": {
- "type": "string"
- },
- "locale": {
- "type": "string"
- }
- },
- "required": [
- "action"
- ],
- "type": "object"
- },
- "label": {
- "type": "string"
- },
- "line_items": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "price": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "type": "number"
- },
- "currency": {
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": "object"
- },
- "product_id": {
- "type": "string"
- },
- "quantity": {
- "type": "number"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "product_id",
- "title",
- "quantity",
- "price"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "status": {
- "enum": [
- "incomplete",
- "requires_escalation",
- "ready_for_complete",
- "complete_in_progress",
- "completed",
- "canceled"
- ],
- "type": "string"
- },
- "totals": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "type": "number"
- },
- "currency": {
- "type": "string"
- },
- "label": {
- "type": "string"
- }
- },
- "required": [
- "label",
- "amount",
- "currency"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "updated_at": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "status",
- "currency",
- "line_items",
- "totals",
- "created_at",
- "updated_at"
- ],
- "type": "object"
-}New value: +null