changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "definitions": {
+ "__schema0": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ },
+ {
+ "items": {
+ "$ref": "#/definitions/__schema0"
+ },
+ "type": "array"
+ },
+ {
+ "additionalProperties": {
+ "$ref": "#/definitions/__schema0"
+ },
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ }
+ ]
+ }
+ },
+ "oneOf": [
+ {
+ "not": {
+ "required": [
+ "error"
+ ]
+ },
+ "properties": {
+ "ok": {
+ "const": true
+ }
+ },
+ "required": [
+ "ok",
+ "data"
+ ]
+ },
+ {
+ "not": {
+ "required": [
+ "data"
+ ]
+ },
+ "properties": {
+ "ok": {
+ "const": false
+ }
+ },
+ "required": [
+ "ok",
+ "error"
+ ]
+ }
+ ],
+ "properties": {
+ "contract_version": {
+ "const": "1.0",
+ "type": "string"
+ },
+ "data": {
+ "additionalProperties": {},
+ "properties": {
+ "agent_readiness": {
+ "additionalProperties": false,
+ "properties": {
+ "compatibility_score": {
+ "type": "number"
+ },
+ "level": {
+ "type": "string"
+ },
+ "recommendation_allowed": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "compatibility_score",
+ "level",
+ "recommendation_allowed"
+ ],
+ "type": "object"
+ },
+ "basis": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "business_id": {
+ "type": "string"
+ },
+ "business_verification_state": {
+ "type": "string"
+ },
+ "citation": {
+ "additionalProperties": {},
+ "properties": {
+ "cite_as": {
+ "type": "string"
+ },
+ "human_url": {
+ "type": "string"
+ },
+ "registry": {
+ "type": "string"
+ },
+ "source_url": {
+ "type": "string"
+ },
+ "verified_at_field": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "cite_as",
+ "registry",
+ "source_url",
+ "human_url",
+ "verified_at_field"
+ ],
+ "type": "object"
+ },
+ "commercial_neutrality": {
+ "additionalProperties": {},
+ "properties": {
+ "affects_recommendation_rank": {
+ "type": "boolean"
+ },
+ "affects_risk_level": {
+ "const": false,
+ "type": "boolean"
+ },
+ "affects_safe_to_recommend": {
+ "const": false,
+ "type": "boolean"
+ },
+ "affects_trust_score": {
+ "const": false,
+ "type": "boolean"
+ },
+ "commercial_influence_on_placement": {
+ "type": "string"
+ },
+ "commercial_influence_on_trust": {
+ "const": "none",
+ "type": "string"
+ },
+ "commercial_status": {
+ "type": "string"
+ },
+ "statement": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "commercial_influence_on_trust",
+ "commercial_influence_on_placement",
+ "commercial_status",
+ "affects_trust_score",
+ "affects_risk_level",
+ "affects_safe_to_recommend",
+ "affects_recommendation_rank",
+ "statement"
+ ],
+ "type": "object"
+ },
+ "confidence": {
+ "type": "string"
+ },
+ "decision": {
+ "enum": [
+ "safe_to_recommend",
+ "not_recommended"
+ ],
+ "type": "string"
+ },
+ "display_name": {
+ "type": "string"
+ },
+ "evidence": {
+ "additionalProperties": {},
+ "properties": {
+ "total": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "verified": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "verified",
+ "total"
+ ],
+ "type": "object"
+ },
+ "meets_score_threshold": {
+ "type": "boolean"
+ },
+ "public_profile_url": {
+ "type": "string"
+ },
+ "publishing_rule": {
+ "type": "string"
+ },
+ "recommendation_caveat": {
+ "type": "string"
+ },
+ "registry_name": {
+ "type": "string"
+ },
+ "risk_level": {
+ "type": "string"
+ },
+ "safe_to_recommend": {
+ "type": "boolean"
+ },
+ "schema_version": {
+ "type": "string"
+ },
+ "score_threshold": {
+ "type": "number"
+ },
+ "trust_card_url": {
+ "type": "string"
+ },
+ "trust_score": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "verification_status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "schema_version",
+ "registry_name",
+ "business_id",
+ "display_name",
+ "decision",
+ "safe_to_recommend",
+ "trust_score",
+ "score_threshold",
+ "meets_score_threshold",
+ "business_verification_state",
+ "verification_status",
+ "risk_level",
+ "confidence",
+ "publishing_rule",
+ "basis",
+ "evidence",
+ "agent_readiness",
+ "commercial_neutrality",
+ "recommendation_caveat",
+ "citation",
+ "trust_card_url",
+ "public_profile_url"
+ ],
+ "type": "object"
+ },
+ "error": {
+ "additionalProperties": {},
+ "properties": {
+ "code": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "details": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/__schema0"
+ }
+ ]
+ },
+ "message": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "status": {
+ "maximum": 599,
+ "minimum": 400,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "ok": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "contract_version",
+ "ok"
+ ],
+ "type": "object"
+}