changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "contract_version": {
- "const": "ardaro.agent-utilities.response.v1"
- },
- "identities": {
- "additionalProperties": false,
- "properties": {
- "analysis_result_identity": {
- "pattern": "^res_[0-9a-f]{64}(?![\\s\\S])",
- "type": "string"
- },
- "payment_identity": {
- "additionalProperties": false,
- "properties": {
- "protocol": {
- "const": "x402-v2"
- },
- "reference": {
- "pattern": "^pay_[0-9a-f]{64}(?![\\s\\S])",
- "type": "string"
- },
- "replayed": {
- "type": "boolean"
- }
- },
- "required": [
- "protocol",
- "reference",
- "replayed"
- ],
- "type": "object"
- }
- },
- "required": [
- "analysis_result_identity",
- "payment_identity"
- ],
- "type": "object"
- },
- "result": {
- "additionalProperties": false,
- "properties": {
- "authorization_status": {
- "enum": [
- "WITHIN_SUBMITTED_LIMITS",
- "EXCEEDS_SUBMITTED_LIMITS",
- "RATE_THRESHOLD_EXCEEDED",
- "CURRENCY_MISMATCH"
- ]
- },
- "checks": {
- "additionalProperties": false,
- "properties": {
- "currency_consistent": {
- "type": "boolean"
- },
- "hourly_within_limit": {
- "type": [
- "boolean",
- "null"
- ]
- },
- "rate_within_limit": {
- "type": "boolean"
- },
- "transaction_within_limit": {
- "type": [
- "boolean",
- "null"
- ]
- }
- },
- "required": [
- "currency_consistent",
- "transaction_within_limit",
- "hourly_within_limit",
- "rate_within_limit"
- ],
- "type": "object"
- },
- "currency": {
- "enum": [
- "USD",
- "USDC"
- ],
- "type": "string"
- },
- "findings": {
- "items": {
- "enum": [
- "CURRENCY_MISMATCH",
- "TRANSACTION_LIMIT_EXCEEDED",
- "HOURLY_LIMIT_EXCEEDED",
- "RATE_THRESHOLD_EXCEEDED"
- ]
- },
- "maxItems": 3,
- "type": "array",
- "uniqueItems": true
- },
- "history_currency": {
- "enum": [
- "USD",
- "USDC"
- ],
- "type": "string"
- },
- "hourly_remaining_after_proposal": {
- "anyOf": [
- {
- "maxLength": 18,
- "minLength": 8,
- "pattern": "^(?:0|[1-9][0-9]{0,10})\\.[0-9]{6}(?![\\s\\S])",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "policy": {
- "additionalProperties": false,
- "properties": {
- "advisory_only": {
- "const": true
- },
- "caller_identity_authenticated": {
- "const": false
- },
- "checks_exclude_service_fee": {
- "const": true
- },
- "credentials_issued": {
- "const": false
- },
- "delivery_verified": {
- "const": false
- },
- "downstream_payment_authorized": {
- "const": false
- },
- "external_spend_enforced": {
- "const": false
- },
- "fee_scope": {
- "const": "The separately quoted service fee is excluded from these checks and must be budgeted separately in USDC. No USD/USDC conversion is performed."
- },
- "history_scope": {
- "const": "The caller supplies committed cost for its intended rolling-hour window, all unresolved pending reservations, and the count of prior checks in its intended minute. Completeness and timing are not verified."
- },
- "history_verified": {
- "const": false
- },
- "human_review_required": {
- "const": true
- },
- "ledger_updated": {
- "const": false
- },
- "model_calls": {
- "const": 0
- },
- "policy_authenticated": {
- "const": false
- },
- "reservation_created": {
- "const": false
- },
- "scope": {
- "const": "Compares caller-supplied downstream maximum cost with caller-supplied limits and history. A within-limits result is not authorization, a reservation, or evidence that actual spend is controlled."
- },
- "stateless": {
- "const": true
- },
- "submitted_evidence_verified": {
- "const": false
- },
- "submitted_records_retained": {
- "const": false
- }
- },
- "required": [
- "advisory_only",
- "stateless",
- "submitted_records_retained",
- "caller_identity_authenticated",
- "submitted_evidence_verified",
- "external_spend_enforced",
- "downstream_payment_authorized",
- "reservation_created",
- "ledger_updated",
- "credentials_issued",
- "delivery_verified",
- "model_calls",
- "human_review_required",
- "policy_authenticated",
- "history_verified",
- "checks_exclude_service_fee",
- "scope",
- "fee_scope",
- "history_scope"
- ],
- "type": "object"
- },
- "policy_currency": {
- "enum": [
- "USD",
- "USDC"
- ],
- "type": "string"
- },
- "proposed_cost": {
- "maxLength": 18,
- "minLength": 8,
- "pattern": "^(?:0|[1-9][0-9]{0,10})\\.[0-9]{6}(?![\\s\\S])",
- "type": "string"
- },
- "proposed_hour_total": {
- "anyOf": [
- {
- "maxLength": 18,
- "minLength": 8,
- "pattern": "^(?:0|[1-9][0-9]{0,10})\\.[0-9]{6}(?![\\s\\S])",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "submitted_budget_in_use": {
- "anyOf": [
- {
- "maxLength": 18,
- "minLength": 8,
- "pattern": "^(?:0|[1-9][0-9]{0,10})\\.[0-9]{6}(?![\\s\\S])",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "tool": {
- "const": "authorize_agent_spend"
- }
- },
- "required": [
- "tool",
- "authorization_status",
- "currency",
- "policy_currency",
- "history_currency",
- "proposed_cost",
- "submitted_budget_in_use",
- "proposed_hour_total",
- "hourly_remaining_after_proposal",
- "checks",
- "findings",
- "policy"
- ],
- "type": "object"
- },
- "service_id": {
- "const": "ardaro.authorize_agent_spend"
- },
- "status": {
- "const": "review_required"
- }
- },
- "required": [
- "contract_version",
- "service_id",
- "status",
- "result",
- "identities"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "contract_version": {
- "const": "ardaro.agent-utilities.response.v1"
- },
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "maxLength": 100,
- "type": "string"
- },
- "message": {
- "maxLength": 300,
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- },
- "status": {
- "const": "error"
- }
- },
- "required": [
- "contract_version",
- "status",
- "error"
- ],
- "type": "object"
- },
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "additionalProperties": false,
- "properties": {
- "contract_version": {
- "const": "ardaro.agent-receipt-intelligence.response.v1"
- },
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "maxLength": 80,
- "type": "string"
- },
- "message": {
- "maxLength": 280,
- "type": "string"
- },
- "remediation": {
- "maxLength": 280,
- "type": "string"
- },
- "retryable": {
- "type": "boolean"
- },
- "service_code": {
- "enum": [
- "ARDARO_ARITHMETIC_MISMATCH",
- "ARDARO_DOCUMENT_TOO_LARGE",
- "ARDARO_DUPLICATE_SUSPECTED",
- "ARDARO_EXTRACTION_LOW_CONFIDENCE",
- "ARDARO_IDEMPOTENCY_CONFLICT",
- "ARDARO_INPUT_UNSUPPORTED",
- "ARDARO_PAYMENT_INVALID",
- "ARDARO_PAYMENT_RECONCILIATION_REQUIRED",
- "ARDARO_PAYMENT_REQUIRED",
- "ARDARO_RATE_LIMITED",
- "ARDARO_SERVICE_UNAVAILABLE"
- ]
- }
- },
- "required": [
- "code",
- "service_code",
- "message",
- "retryable",
- "remediation"
- ],
- "type": "object"
- },
- "status": {
- "const": "error"
- }
- },
- "required": [
- "contract_version",
- "status",
- "error"
- ],
- "type": "object"
- },
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "additionalProperties": false,
- "properties": {
- "contract_version": {
- "const": "ardaro.agent-receipt-intelligence.response.v1"
- },
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "maxLength": 80,
- "minLength": 1,
- "type": "string"
- },
- "message": {
- "const": "Service is not ready."
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- },
- "service": {
- "const": "ardaro-receipt-intelligence"
- },
- "status": {
- "const": "not_ready"
- }
- },
- "required": [
- "contract_version",
- "status",
- "service",
- "error"
- ],
- "type": "object"
- },
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "properties": {
- "accepts": {
- "items": {
- "properties": {
- "amount": {
- "type": "string"
- },
- "asset": {
- "type": "string"
- },
- "extra": {
- "additionalProperties": true,
- "type": "object"
- },
- "maxTimeoutSeconds": {
- "type": "integer"
- },
- "network": {
- "type": "string"
- },
- "payTo": {
- "type": "string"
- },
- "scheme": {
- "type": "string"
- }
- },
- "required": [
- "scheme",
- "network",
- "asset",
- "amount",
- "payTo",
- "maxTimeoutSeconds"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "error": {
- "type": [
- "string",
- "null"
- ]
- },
- "extensions": {
- "oneOf": [
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "resource": {
- "oneOf": [
- {
- "properties": {
- "description": {
- "type": [
- "string",
- "null"
- ]
- },
- "iconUrl": {
- "type": [
- "string",
- "null"
- ]
- },
- "mimeType": {
- "type": [
- "string",
- "null"
- ]
- },
- "serviceName": {
- "type": [
- "string",
- "null"
- ]
- },
- "tags": {
- "oneOf": [
- {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "url"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "x402Version": {
- "const": 2,
- "default": 2,
- "type": "integer"
- }
- },
- "required": [
- "accepts"
- ],
- "type": "object"
- },
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "additionalProperties": false,
- "properties": {
- "error": {
- "type": "string"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "message": {
- "type": "string"
- },
- "status": {
- "const": "error"
- }
- },
- "required": [
- "status",
- "message"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "contract_version": {
+ "const": "ardaro.agent-utilities.response.v1"
+ },
+ "identities": {
+ "additionalProperties": false,
+ "properties": {
+ "analysis_result_identity": {
+ "pattern": "^res_[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "payment_identity": {
+ "additionalProperties": false,
+ "properties": {
+ "protocol": {
+ "const": "x402-v2"
+ },
+ "reference": {
+ "pattern": "^pay_[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "replayed": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "protocol",
+ "reference",
+ "replayed"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "analysis_result_identity",
+ "payment_identity"
+ ],
+ "type": "object"
+ },
+ "result": {
+ "additionalProperties": false,
+ "properties": {
+ "authorization_status": {
+ "enum": [
+ "WITHIN_SUBMITTED_LIMITS",
+ "EXCEEDS_SUBMITTED_LIMITS",
+ "RATE_THRESHOLD_EXCEEDED",
+ "CURRENCY_MISMATCH"
+ ]
+ },
+ "checks": {
+ "additionalProperties": false,
+ "properties": {
+ "currency_consistent": {
+ "type": "boolean"
+ },
+ "hourly_within_limit": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "rate_within_limit": {
+ "type": "boolean"
+ },
+ "transaction_within_limit": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "currency_consistent",
+ "transaction_within_limit",
+ "hourly_within_limit",
+ "rate_within_limit"
+ ],
+ "type": "object"
+ },
+ "currency": {
+ "enum": [
+ "USD",
+ "USDC"
+ ],
+ "type": "string"
+ },
+ "findings": {
+ "items": {
+ "enum": [
+ "CURRENCY_MISMATCH",
+ "TRANSACTION_LIMIT_EXCEEDED",
+ "HOURLY_LIMIT_EXCEEDED",
+ "RATE_THRESHOLD_EXCEEDED"
+ ]
+ },
+ "maxItems": 3,
+ "type": "array",
+ "uniqueItems": true
+ },
+ "history_currency": {
+ "enum": [
+ "USD",
+ "USDC"
+ ],
+ "type": "string"
+ },
+ "hourly_remaining_after_proposal": {
+ "anyOf": [
+ {
+ "maxLength": 18,
+ "minLength": 8,
+ "pattern": "^(?:0|[1-9][0-9]{0,10})\\.[0-9]{6}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "policy": {
+ "additionalProperties": false,
+ "properties": {
+ "advisory_only": {
+ "const": true
+ },
+ "caller_identity_authenticated": {
+ "const": false
+ },
+ "checks_exclude_service_fee": {
+ "const": true
+ },
+ "credentials_issued": {
+ "const": false
+ },
+ "delivery_verified": {
+ "const": false
+ },
+ "downstream_payment_authorized": {
+ "const": false
+ },
+ "external_spend_enforced": {
+ "const": false
+ },
+ "fee_scope": {
+ "const": "The separately quoted service fee is excluded from these checks and must be budgeted separately in USDC. No USD/USDC conversion is performed."
+ },
+ "history_scope": {
+ "const": "The caller supplies committed cost for its intended rolling-hour window, all unresolved pending reservations, and the count of prior checks in its intended minute. Completeness and timing are not verified."
+ },
+ "history_verified": {
+ "const": false
+ },
+ "human_review_required": {
+ "const": true
+ },
+ "ledger_updated": {
+ "const": false
+ },
+ "model_calls": {
+ "const": 0
+ },
+ "policy_authenticated": {
+ "const": false
+ },
+ "reservation_created": {
+ "const": false
+ },
+ "scope": {
+ "const": "Compares caller-supplied downstream maximum cost with caller-supplied limits and history. A within-limits result is not authorization, a reservation, or evidence that actual spend is controlled."
+ },
+ "stateless": {
+ "const": true
+ },
+ "submitted_evidence_verified": {
+ "const": false
+ },
+ "submitted_records_retained": {
+ "const": false
+ }
+ },
+ "required": [
+ "advisory_only",
+ "stateless",
+ "submitted_records_retained",
+ "caller_identity_authenticated",
+ "submitted_evidence_verified",
+ "external_spend_enforced",
+ "downstream_payment_authorized",
+ "reservation_created",
+ "ledger_updated",
+ "credentials_issued",
+ "delivery_verified",
+ "model_calls",
+ "human_review_required",
+ "policy_authenticated",
+ "history_verified",
+ "checks_exclude_service_fee",
+ "scope",
+ "fee_scope",
+ "history_scope"
+ ],
+ "type": "object"
+ },
+ "policy_currency": {
+ "enum": [
+ "USD",
+ "USDC"
+ ],
+ "type": "string"
+ },
+ "proposed_cost": {
+ "maxLength": 18,
+ "minLength": 8,
+ "pattern": "^(?:0|[1-9][0-9]{0,10})\\.[0-9]{6}$",
+ "type": "string"
+ },
+ "proposed_hour_total": {
+ "anyOf": [
+ {
+ "maxLength": 18,
+ "minLength": 8,
+ "pattern": "^(?:0|[1-9][0-9]{0,10})\\.[0-9]{6}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "submitted_budget_in_use": {
+ "anyOf": [
+ {
+ "maxLength": 18,
+ "minLength": 8,
+ "pattern": "^(?:0|[1-9][0-9]{0,10})\\.[0-9]{6}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tool": {
+ "const": "authorize_agent_spend"
+ }
+ },
+ "required": [
+ "tool",
+ "authorization_status",
+ "currency",
+ "policy_currency",
+ "history_currency",
+ "proposed_cost",
+ "submitted_budget_in_use",
+ "proposed_hour_total",
+ "hourly_remaining_after_proposal",
+ "checks",
+ "findings",
+ "policy"
+ ],
+ "type": "object"
+ },
+ "service_id": {
+ "const": "ardaro.authorize_agent_spend"
+ },
+ "status": {
+ "const": "review_required"
+ }
+ },
+ "required": [
+ "contract_version",
+ "service_id",
+ "status",
+ "result",
+ "identities"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "contract_version": {
+ "const": "ardaro.agent-utilities.response.v1"
+ },
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 300,
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "const": "error"
+ }
+ },
+ "required": [
+ "contract_version",
+ "status",
+ "error"
+ ],
+ "type": "object"
+ },
+ {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "contract_version": {
+ "const": "ardaro.agent-receipt-intelligence.response.v1"
+ },
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "maxLength": 80,
+ "type": "string"
+ },
+ "message": {
+ "maxLength": 280,
+ "type": "string"
+ },
+ "remediation": {
+ "maxLength": 280,
+ "type": "string"
+ },
+ "retryable": {
+ "type": "boolean"
+ },
+ "service_code": {
+ "enum": [
+ "ARDARO_ARITHMETIC_MISMATCH",
+ "ARDARO_DOCUMENT_TOO_LARGE",
+ "ARDARO_DUPLICATE_SUSPECTED",
+ "ARDARO_EXTRACTION_LOW_CONFIDENCE",
+ "ARDARO_IDEMPOTENCY_CONFLICT",
+ "ARDARO_INPUT_UNSUPPORTED",
+ "ARDARO_PAYMENT_INVALID",
+ "ARDARO_PAYMENT_RECONCILIATION_REQUIRED",
+ "ARDARO_PAYMENT_REQUIRED",
+ "ARDARO_RATE_LIMITED",
+ "ARDARO_SERVICE_UNAVAILABLE"
+ ]
+ }
+ },
+ "required": [
+ "code",
+ "service_code",
+ "message",
+ "retryable",
+ "remediation"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "const": "error"
+ }
+ },
+ "required": [
+ "contract_version",
+ "status",
+ "error"
+ ],
+ "type": "object"
+ },
+ {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "contract_version": {
+ "const": "ardaro.agent-receipt-intelligence.response.v1"
+ },
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "maxLength": 80,
+ "minLength": 1,
+ "type": "string"
+ },
+ "message": {
+ "const": "Service is not ready."
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "service": {
+ "const": "ardaro-receipt-intelligence"
+ },
+ "status": {
+ "const": "not_ready"
+ }
+ },
+ "required": [
+ "contract_version",
+ "status",
+ "service",
+ "error"
+ ],
+ "type": "object"
+ },
+ {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "properties": {
+ "accepts": {
+ "items": {
+ "properties": {
+ "amount": {
+ "type": "string"
+ },
+ "asset": {
+ "type": "string"
+ },
+ "extra": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "maxTimeoutSeconds": {
+ "type": "integer"
+ },
+ "network": {
+ "type": "string"
+ },
+ "payTo": {
+ "type": "string"
+ },
+ "scheme": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "scheme",
+ "network",
+ "asset",
+ "amount",
+ "payTo",
+ "maxTimeoutSeconds"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "error": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "extensions": {
+ "oneOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "resource": {
+ "oneOf": [
+ {
+ "properties": {
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "iconUrl": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "mimeType": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "serviceName": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "tags": {
+ "oneOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "x402Version": {
+ "const": 2,
+ "default": 2,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "accepts"
+ ],
+ "type": "object"
+ },
+ {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "status": {
+ "const": "error"
+ }
+ },
+ "required": [
+ "status",
+ "message"
+ ],
+ "type": "object"
+ }
+]