changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "businesses": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "agent_address": {
- "description": "Canonical public Kirah Agent Address for this business when its authoritative domain is a safe single-label *.kirah.ai domain. Locator only; never authentication. Absent for custom domains and reserved/invalid handles in migration-free v1.",
- "type": "string"
- },
- "agent_bookable": {
- "type": "boolean"
- },
- "agent_discoverable": {
- "description": "Present for V1-enrolled tenants; true because the row passed current owner discovery consent.",
- "type": "boolean"
- },
- "authority_mode": {
- "description": "Present for V1-enrolled tenants; null when discoverable but not agent-bookable.",
- "enum": [
- "instant",
- "approval_required",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "demo": {
- "description": "true = a DEMONSTRATION business (present on every result; demo results also carry demo_notice).",
- "type": "boolean"
- },
- "demo_notice": {
- "type": "string"
- },
- "location": {
- "additionalProperties": false,
- "properties": {
- "city": {
- "type": [
- "string",
- "null"
- ]
- },
- "match": {
- "description": "The coarse place relationship used for this result.",
- "enum": [
- "postal",
- "city",
- "market",
- "region"
- ],
- "type": "string"
- },
- "postal_code": {
- "type": [
- "string",
- "null"
- ]
- },
- "region": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "matched_services": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "duration_minutes": {
- "type": "integer"
- },
- "id": {
- "type": "string"
- },
- "match_evidence": {
- "description": "Grounded explanations (which query/ontology terms matched which catalog text).",
- "items": {
- "type": "string"
- },
- "maxItems": 4,
- "type": "array"
- },
- "match_type": {
- "description": "exact = a direct query term matched the service name or category. ontology = only a discovery-ontology expansion term matched the name or description. description = a direct query term matched ONLY the description. Ranking always tiers exact above ontology above description, regardless of score — a service whose description merely mentions a term never outranks a service actually named for it.",
- "enum": [
- "exact",
- "ontology",
- "description"
- ],
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "price_cents": {
- "type": [
- "integer",
- "null"
- ]
- },
- "price_label": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "match_type"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "minItems": 0,
- "type": "array"
- },
- "score": {
- "description": "The tenant's top matched service's integer score — used for cross-business ranking together with match_type tier. Zero in exact agent_address resolution mode when matched_services is empty.",
- "type": "integer"
- },
- "service_match": {
- "description": "True when matched_services contains a grounded query match. False only for exact agent_address resolution with no matching/supplied service query.",
- "type": "boolean"
- },
- "tenant_name": {
- "type": "string"
- },
- "tenant_slug": {
- "description": "The stable identifier for every tenant-scoped action (the tenant's full domain).",
- "type": "string"
- }
- },
- "required": [
- "tenant_slug",
- "tenant_name",
- "demo",
- "score",
- "service_match",
- "matched_services"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "demo_notice": {
- "description": "Present when any demo result is included.",
- "type": "string"
- },
- "is_exhaustive": {
- "description": "True only when the roster scan did not hit its internal candidate cap AND every matching tenant (from any cursor position forward) fit within this page. NEVER fabricated: hitting the roster cap always yields false, even with no cursor and few matches.",
- "type": "boolean"
- },
- "location_precision": {
- "description": "The public surface reports coarse matching precision only.",
- "enum": [
- "city_zip_market",
- "none"
- ],
- "type": "string"
- },
- "next_cursor": {
- "description": "Present only when more matching tenants exist beyond this page. Opaque; pass back verbatim as `cursor` with the SAME query/filters to resume.",
- "type": "string"
- },
- "outcome": {
- "enum": [
- "ok"
- ],
- "type": "string"
- },
- "resolution": {
- "additionalProperties": false,
- "properties": {
- "agent_address": {
- "type": "string"
- },
- "exact": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "found": {
- "type": "boolean"
- },
- "type": {
- "enum": [
- "agent_address"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "agent_address",
- "exact",
- "found"
- ],
- "type": "object"
- }
- },
- "required": [
- "outcome",
- "location_precision",
- "businesses",
- "is_exhaustive"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "detail": {
- "description": "A short user-safe explanation.",
- "type": "string"
- },
- "outcome": {
- "description": "A stable failure category.",
- "enum": [
- "validation_error",
- "rate_limited",
- "internal_error"
- ],
- "type": "string"
- },
- "reason": {
- "description": "A stable machine-readable reason.",
- "type": "string"
- },
- "retry_after_sec": {
- "minimum": 1,
- "type": "integer"
- }
- },
- "required": [
- "outcome",
- "reason",
- "detail"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "businesses": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "agent_address": {
+ "type": "string"
+ },
+ "agent_bookable": {
+ "type": "boolean"
+ },
+ "agent_discoverable": {
+ "type": "boolean"
+ },
+ "authority_mode": {
+ "enum": [
+ "instant",
+ "approval_required",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "demo": {
+ "type": "boolean"
+ },
+ "demo_notice": {
+ "type": "string"
+ },
+ "listed": {
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ },
+ "location": {
+ "additionalProperties": false,
+ "properties": {
+ "city": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "distance_miles": {
+ "type": "number"
+ },
+ "match": {
+ "enum": [
+ "postal",
+ "city",
+ "market",
+ "region",
+ "coordinates"
+ ],
+ "type": "string"
+ },
+ "postal_code": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "region": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "matched_services": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "duration_minutes": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ },
+ "match_evidence": {
+ "items": {
+ "type": "string"
+ },
+ "maxItems": 4,
+ "type": "array"
+ },
+ "match_type": {
+ "enum": [
+ "exact",
+ "ontology",
+ "description"
+ ],
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "price_cents": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "price_label": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "match_type"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "minItems": 0,
+ "type": "array"
+ },
+ "resolution": {
+ "enum": [
+ "exact_agent_address"
+ ],
+ "type": "string"
+ },
+ "score": {
+ "type": "integer"
+ },
+ "service_match": {
+ "type": "boolean"
+ },
+ "tenant_name": {
+ "type": "string"
+ },
+ "tenant_slug": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "tenant_slug",
+ "tenant_name",
+ "demo",
+ "listed",
+ "matched_services",
+ "score",
+ "service_match",
+ "agent_bookable"
+ ],
+ "type": "object"
+ },
+ "maxItems": 10,
+ "type": "array"
+ },
+ "demo_businesses_excluded": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "demo_businesses_excluded_is_exhaustive": {
+ "type": "boolean"
+ },
+ "demo_exclusion_note": {
+ "type": "string"
+ },
+ "demo_notice": {
+ "type": "string"
+ },
+ "distance_note": {
+ "type": "string"
+ },
+ "is_exhaustive": {
+ "type": "boolean"
+ },
+ "location_precision": {
+ "enum": [
+ "coordinates",
+ "city_zip_market",
+ "none"
+ ],
+ "type": "string"
+ },
+ "next_cursor": {
+ "type": "string"
+ },
+ "outcome": {
+ "enum": [
+ "ok"
+ ],
+ "type": "string"
+ },
+ "resolution": {
+ "additionalProperties": false,
+ "properties": {
+ "agent_address": {
+ "type": "string"
+ },
+ "exact": {
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ },
+ "found": {
+ "type": "boolean"
+ },
+ "type": {
+ "enum": [
+ "agent_address"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "agent_address",
+ "exact",
+ "found"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "outcome",
+ "location_precision",
+ "businesses",
+ "is_exhaustive"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "type": "string"
+ },
+ "outcome": {
+ "enum": [
+ "validation_error",
+ "rate_limited",
+ "internal_error"
+ ],
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "retry_after_sec": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "outcome",
+ "reason",
+ "detail"
+ ],
+ "type": "object"
+ }
+]