changedOutput schema / anyOf
Previous value: -[
- {
- "properties": {
- "coverage": {
- "properties": {
- "nextStep": {
- "type": "string"
- },
- "requiresLogin": {
- "const": false
- },
- "requiresProviderKey": {
- "const": false
- },
- "status": {
- "enum": [
- "listed",
- "source_not_listed",
- "publisher_not_supported",
- "no_metadata_match"
- ]
- }
- },
- "required": [
- "status",
- "nextStep",
- "requiresLogin",
- "requiresProviderKey"
- ],
- "type": "object"
- },
- "limitations": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "listed": {
- "type": "integer"
- },
- "nextOffset": {
- "type": [
- "integer",
- "null"
- ]
- },
- "offset": {
- "type": "integer"
- },
- "sources": {
- "items": {
- "properties": {
- "id": {
- "type": "string"
- },
- "indexSha256": {
- "type": [
- "string",
- "null"
- ]
- },
- "indexUrl": {
- "type": [
- "string",
- "null"
- ]
- },
- "readTested": {
- "const": "not_established_by_index"
- },
- "reviewedAt": {
- "type": "string"
- },
- "sourceUrl": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "verification": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "title",
- "url",
- "sourceUrl",
- "reviewedAt",
- "verification",
- "readTested"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "total": {
- "type": "integer"
- }
- },
- "required": [
- "sources",
- "total",
- "listed",
- "offset",
- "nextOffset",
- "coverage",
- "limitations"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "minLength": 1,
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- },
- "error_code": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "error_code",
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "coverage": {
+ "properties": {
+ "nextStep": {
+ "type": "string"
+ },
+ "requiresLogin": {
+ "const": false
+ },
+ "requiresProviderKey": {
+ "const": false
+ },
+ "status": {
+ "enum": [
+ "listed",
+ "source_not_listed",
+ "publisher_not_supported",
+ "no_metadata_match"
+ ]
+ }
+ },
+ "required": [
+ "status",
+ "nextStep",
+ "requiresLogin",
+ "requiresProviderKey"
+ ],
+ "type": "object"
+ },
+ "limitations": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "listed": {
+ "type": "integer"
+ },
+ "nextOffset": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "offset": {
+ "type": "integer"
+ },
+ "sources": {
+ "items": {
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "indexSha256": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "indexUrl": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "readTested": {
+ "const": "not_established_by_index"
+ },
+ "reviewedAt": {
+ "type": "string"
+ },
+ "sourceUrl": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "verification": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "url",
+ "sourceUrl",
+ "reviewedAt",
+ "verification",
+ "readTested"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "total": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "sources",
+ "total",
+ "listed",
+ "offset",
+ "nextOffset",
+ "coverage",
+ "limitations"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "message"
+ ],
+ "type": "object"
+ },
+ "error_code": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "recovery": {
+ "additionalProperties": false,
+ "properties": {
+ "automaticRetryAllowed": {
+ "const": false
+ },
+ "guidance": {
+ "type": "string"
+ },
+ "requiredArguments": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "tool": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "tool",
+ "requiredArguments",
+ "guidance",
+ "automaticRetryAllowed"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "error_code",
+ "error"
+ ],
+ "type": "object"
+ }
+]