changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "allocation_note": {
- "type": "string"
- },
- "as_of": {
- "type": "string"
- },
- "bids": {
- "items": {
- "type": "object"
- },
- "type": "array"
- },
- "bpc_buyback_context": {
- "additionalProperties": true,
- "type": [
- "object",
- "null"
- ]
- },
- "comparison": {
- "additionalProperties": false,
- "properties": {
- "comparable_bid_count": {
- "minimum": 0,
- "type": "integer"
- },
- "comparable_distinct_dealers": {
- "minimum": 0,
- "type": "integer"
- },
- "groups": {
- "items": {
- "type": "object"
- },
- "type": "array"
- },
- "highest_comparable_per_unit_net": {
- "type": "object"
- },
- "market_best_label": {
- "additionalProperties": false,
- "properties": {
- "reason": {
- "type": "string"
- },
- "status": {
- "const": "not_applied"
- }
- },
- "required": [
- "status",
- "reason"
- ],
- "type": "object"
- },
- "per_unit_net_spread": {
- "type": "object"
- }
- },
- "required": [
- "comparable_bid_count",
- "comparable_distinct_dealers",
- "groups",
- "per_unit_net_spread",
- "highest_comparable_per_unit_net",
- "market_best_label"
- ],
- "type": "object"
- },
- "customization": {
- "type": "string"
- },
- "data_as_of": {
- "type": [
- "string",
- "null"
- ]
- },
- "data_sources": {
- "additionalProperties": true,
- "type": "object"
- },
- "disclaimer": {
- "type": "string"
- },
- "execution_mode": {
- "enum": [
- "caller_supplied_stateless",
- "bpc_live_and_caller"
- ]
- },
- "freshness": {
- "required": [
- "stale"
- ],
- "type": "object"
- },
- "no_accuracy_guarantee": {
- "type": "string"
- },
- "ok": {
- "const": true
- },
- "schema_version": {
- "const": "1.0.0"
- },
- "subject_identity_key": {
- "type": "string"
- },
- "tool": {
- "const": "buyback_compare"
- }
- },
- "required": [
- "ok",
- "tool",
- "schema_version",
- "execution_mode",
- "as_of",
- "disclaimer",
- "no_accuracy_guarantee",
- "subject_identity_key",
- "allocation_note",
- "bids",
- "comparison"
- ],
- "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": "buyback_compare"
- }
- },
- "required": [
- "ok",
- "tool",
- "schema_version",
- "execution_mode",
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "allocation_note": {
+ "type": "string"
+ },
+ "as_of": {
+ "type": "string"
+ },
+ "attribution_credit": {
+ "type": "object"
+ },
+ "bids": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "bpc_buyback_context": {
+ "additionalProperties": true,
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "comparison": {
+ "additionalProperties": false,
+ "properties": {
+ "comparable_bid_count": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "comparable_distinct_dealers": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "groups": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "highest_comparable_per_unit_net": {
+ "type": "object"
+ },
+ "market_best_label": {
+ "additionalProperties": false,
+ "properties": {
+ "reason": {
+ "type": "string"
+ },
+ "status": {
+ "const": "not_applied"
+ }
+ },
+ "required": [
+ "status",
+ "reason"
+ ],
+ "type": "object"
+ },
+ "per_unit_net_spread": {
+ "type": "object"
+ }
+ },
+ "required": [
+ "comparable_bid_count",
+ "comparable_distinct_dealers",
+ "groups",
+ "per_unit_net_spread",
+ "highest_comparable_per_unit_net",
+ "market_best_label"
+ ],
+ "type": "object"
+ },
+ "customization": {
+ "type": "string"
+ },
+ "data_as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "data_sources": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "disclaimer": {
+ "type": "string"
+ },
+ "execution_mode": {
+ "enum": [
+ "caller_supplied_stateless",
+ "bpc_live_and_caller"
+ ]
+ },
+ "freshness": {
+ "required": [
+ "stale"
+ ],
+ "type": "object"
+ },
+ "no_accuracy_guarantee": {
+ "type": "string"
+ },
+ "ok": {
+ "const": true
+ },
+ "schema_version": {
+ "const": "1.0.0"
+ },
+ "subject_identity_key": {
+ "type": "string"
+ },
+ "tool": {
+ "const": "buyback_compare"
+ }
+ },
+ "required": [
+ "ok",
+ "tool",
+ "schema_version",
+ "execution_mode",
+ "as_of",
+ "disclaimer",
+ "no_accuracy_guarantee",
+ "subject_identity_key",
+ "allocation_note",
+ "bids",
+ "comparison"
+ ],
+ "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": "buyback_compare"
+ }
+ },
+ "required": [
+ "ok",
+ "tool",
+ "schema_version",
+ "execution_mode",
+ "error"
+ ],
+ "type": "object"
+ }
+]