addedOutput schema / anyOf
Added value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "contract_version": {
+ "const": "2",
+ "title": "Contract Version",
+ "type": "string"
+ },
+ "graph_degraded_reason": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Graph Degraded Reason"
+ },
+ "graph_used": {
+ "default": false,
+ "title": "Graph Used",
+ "type": "boolean"
+ },
+ "graph_version": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Graph Version"
+ },
+ "has_more": {
+ "default": false,
+ "title": "Has More",
+ "type": "boolean"
+ },
+ "next_cursor": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Next Cursor"
+ },
+ "query": {
+ "title": "Query",
+ "type": "string"
+ },
+ "results": {
+ "items": {
+ "$ref": "#/$defs/PublicCorpusSearchResult"
+ },
+ "title": "Results",
+ "type": "array"
+ },
+ "returned_count": {
+ "title": "Returned Count",
+ "type": "integer"
+ },
+ "searchable_fields": {
+ "items": {
+ "type": "string"
+ },
+ "title": "Searchable Fields",
+ "type": "array"
+ },
+ "semantic_degraded_reason": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Semantic Degraded Reason"
+ },
+ "semantic_index_used": {
+ "default": false,
+ "title": "Semantic Index Used",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "contract_version",
+ "query",
+ "returned_count",
+ "results",
+ "searchable_fields"
+ ],
+ "title": "PublicCorpusSearchResponse",
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "adapter_error": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "message": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "retryable": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "retryable"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "contract_version": {
+ "const": "2",
+ "type": "string"
+ },
+ "record_url": {
+ "format": "uri",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "result": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "properties": {
+ "search_contract_version": {
+ "const": "1.0",
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "resolved",
+ "ambiguous",
+ "not_found",
+ "invalid_request",
+ "unsupported",
+ "resolution_unavailable"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "search_contract_version",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "contract_version",
+ "record_url",
+ "result",
+ "adapter_error"
+ ],
+ "type": "object"
+ }
+]
removedOutput schema / properties
Removed value: -{
- "contract_version": {
- "const": "1.0",
- "title": "Contract Version",
- "type": "string"
- },
- "graph_degraded_reason": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Graph Degraded Reason"
- },
- "graph_used": {
- "default": false,
- "title": "Graph Used",
- "type": "boolean"
- },
- "graph_version": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Graph Version"
- },
- "has_more": {
- "default": false,
- "title": "Has More",
- "type": "boolean"
- },
- "next_cursor": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Next Cursor"
- },
- "query": {
- "title": "Query",
- "type": "string"
- },
- "results": {
- "items": {
- "$ref": "#/$defs/PublicCorpusSearchResult"
- },
- "title": "Results",
- "type": "array"
- },
- "returned_count": {
- "title": "Returned Count",
- "type": "integer"
- },
- "searchable_fields": {
- "items": {
- "type": "string"
- },
- "title": "Searchable Fields",
- "type": "array"
- },
- "semantic_degraded_reason": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Semantic Degraded Reason"
- },
- "semantic_index_used": {
- "default": false,
- "title": "Semantic Index Used",
- "type": "boolean"
- },
- "usage_boundary": {
- "additionalProperties": true,
- "title": "Usage Boundary",
- "type": "object"
- }
-}