changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "all_in": {
- "type": "object"
- },
- "as_of": {
- "type": "string"
- },
- "asking_price_basis": {
- "const": "per_unit"
- },
- "attribution_credit": {
- "type": "object"
- },
- "customization": {
- "type": "string"
- },
- "data_as_of": {
- "type": [
- "string",
- "null"
- ]
- },
- "data_sources": {
- "additionalProperties": true,
- "type": "object"
- },
- "decision": {
- "enum": [
- "buy",
- "counter",
- "pass",
- "insufficient_data"
- ]
- },
- "decision_basis": {
- "enum": [
- "melt_screen",
- "all_in",
- "market_cap",
- "none"
- ]
- },
- "disclaimer": {
- "type": "string"
- },
- "execution_mode": {
- "enum": [
- "caller_supplied_stateless",
- "bpc_live_and_caller"
- ]
- },
- "freshness": {
- "required": [
- "stale"
- ],
- "type": "object"
- },
- "market_evidence": {
- "type": "object"
- },
- "melt_screen": {
- "type": "object"
- },
- "no_accuracy_guarantee": {
- "type": "string"
- },
- "ok": {
- "const": true
- },
- "plausibility": {
- "additionalProperties": false,
- "properties": {
- "pct_below_melt": {
- "type": "number"
- },
- "plausible": {
- "type": "boolean"
- },
- "status": {
- "enum": [
- "ok",
- "warning_below_spot"
- ]
- },
- "warning": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "status",
- "plausible",
- "pct_below_melt",
- "warning"
- ],
- "type": "object"
- },
- "policy_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "reason": {
- "type": "string"
- },
- "schema_version": {
- "const": "1.0.0"
- },
- "screen_note": {
- "type": "string"
- },
- "tool": {
- "const": "fair_offer_check"
- }
- },
- "required": [
- "ok",
- "tool",
- "schema_version",
- "execution_mode",
- "as_of",
- "disclaimer",
- "no_accuracy_guarantee",
- "decision",
- "decision_basis",
- "policy_id",
- "asking_price_basis",
- "melt_screen",
- "all_in",
- "market_evidence",
- "screen_note"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "customization": {
- "type": "string"
- },
- "data_as_of": {
- "type": [
- "string",
- "null"
- ]
- },
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "const": "INVALID_INPUT"
- },
- "diagnostics": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "blocks_eligibility": {
- "type": "boolean"
- },
- "blocks_validity": {
- "type": "boolean"
- },
- "code": {
- "type": "string"
- },
- "field": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "severity": {
- "enum": [
- "error",
- "warning",
- "info"
- ]
- }
- },
- "required": [
- "code",
- "severity",
- "field",
- "message",
- "blocks_validity",
- "blocks_eligibility"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message",
- "diagnostics"
- ],
- "type": "object"
- },
- "execution_mode": {
- "const": "caller_supplied_stateless"
- },
- "ok": {
- "const": false
- },
- "schema_version": {
- "const": "1.0.0"
- },
- "tool": {
- "const": "fair_offer_check"
- }
- },
- "required": [
- "ok",
- "tool",
- "schema_version",
- "execution_mode",
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "all_in": {
+ "type": "object"
+ },
+ "as_of": {
+ "type": "string"
+ },
+ "asking_price_basis": {
+ "const": "per_unit"
+ },
+ "attribution_credit": {
+ "type": "object"
+ },
+ "counter_basis": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "counter_price_usd": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "customization": {
+ "type": "string"
+ },
+ "data_as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "data_sources": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "decision": {
+ "enum": [
+ "buy",
+ "counter",
+ "pass",
+ "insufficient_data"
+ ]
+ },
+ "decision_basis": {
+ "enum": [
+ "melt_screen",
+ "all_in",
+ "market_cap",
+ "none"
+ ]
+ },
+ "disclaimer": {
+ "type": "string"
+ },
+ "execution_mode": {
+ "enum": [
+ "caller_supplied_stateless",
+ "bpc_live_and_caller"
+ ]
+ },
+ "freshness": {
+ "required": [
+ "stale"
+ ],
+ "type": "object"
+ },
+ "market_evidence": {
+ "type": "object"
+ },
+ "melt_screen": {
+ "type": "object"
+ },
+ "no_accuracy_guarantee": {
+ "type": "string"
+ },
+ "ok": {
+ "const": true
+ },
+ "plausibility": {
+ "additionalProperties": false,
+ "properties": {
+ "pct_below_melt": {
+ "type": "number"
+ },
+ "plausible": {
+ "type": "boolean"
+ },
+ "status": {
+ "enum": [
+ "ok",
+ "warning_below_spot"
+ ]
+ },
+ "warning": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "status",
+ "plausible",
+ "pct_below_melt",
+ "warning"
+ ],
+ "type": "object"
+ },
+ "policy_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "reason": {
+ "type": "string"
+ },
+ "schema_version": {
+ "const": "1.0.0"
+ },
+ "screen_note": {
+ "type": "string"
+ },
+ "tool": {
+ "const": "fair_offer_check"
+ },
+ "walk_away_price_usd": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "ok",
+ "tool",
+ "schema_version",
+ "execution_mode",
+ "as_of",
+ "disclaimer",
+ "no_accuracy_guarantee",
+ "decision",
+ "decision_basis",
+ "policy_id",
+ "asking_price_basis",
+ "melt_screen",
+ "all_in",
+ "market_evidence",
+ "screen_note"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "customization": {
+ "type": "string"
+ },
+ "data_as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "const": "INVALID_INPUT"
+ },
+ "diagnostics": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "blocks_eligibility": {
+ "type": "boolean"
+ },
+ "blocks_validity": {
+ "type": "boolean"
+ },
+ "code": {
+ "type": "string"
+ },
+ "field": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "severity": {
+ "enum": [
+ "error",
+ "warning",
+ "info"
+ ]
+ }
+ },
+ "required": [
+ "code",
+ "severity",
+ "field",
+ "message",
+ "blocks_validity",
+ "blocks_eligibility"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "diagnostics"
+ ],
+ "type": "object"
+ },
+ "execution_mode": {
+ "const": "caller_supplied_stateless"
+ },
+ "ok": {
+ "const": false
+ },
+ "schema_version": {
+ "const": "1.0.0"
+ },
+ "tool": {
+ "const": "fair_offer_check"
+ }
+ },
+ "required": [
+ "ok",
+ "tool",
+ "schema_version",
+ "execution_mode",
+ "error"
+ ],
+ "type": "object"
+ }
+]