changedOutput schema / allOf
Previous value: -[
- {
- "if": {
- "properties": {
- "status": {
- "const": "ok"
- }
- }
- },
- "then": {
- "properties": {
- "data": {
- "properties": {
- "bytes": {
- "type": "number"
- },
- "content": {
- "type": "string"
- },
- "contentType": {
- "type": "string"
- },
- "links": {
- "items": {
- "properties": {
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "title",
- "url"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "statusCode": {
- "type": "number"
- },
- "title": {
- "type": "string"
- },
- "truncated": {
- "type": "boolean"
- },
- "untrustedContent": {
- "const": true
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "url",
- "statusCode",
- "contentType",
- "title",
- "content",
- "links",
- "bytes",
- "truncated",
- "untrustedContent"
- ],
- "type": "object"
- },
- "error": {
- "type": "null"
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "status": {
- "const": "confirmation_required"
- }
- }
- },
- "then": {
- "properties": {
- "data": {
- "properties": {
- "action": {
- "type": "string"
- },
- "approvalId": {
- "type": "string"
- },
- "expiresAt": {
- "type": "string"
- },
- "reviewUrl": {
- "enum": [
- "tinycast://extensions/cano/macos-agent-bridge/approvals",
- "raycast://extensions/cano/macos-agent-bridge/approvals"
- ]
- },
- "reviewUrls": {
- "properties": {
- "raycast": {
- "const": "raycast://extensions/cano/macos-agent-bridge/approvals"
- },
- "tinycast": {
- "const": "tinycast://extensions/cano/macos-agent-bridge/approvals"
- }
- },
- "required": [
- "tinycast",
- "raycast"
- ],
- "type": "object"
- }
- },
- "required": [
- "approvalId",
- "expiresAt",
- "action",
- "reviewUrl",
- "reviewUrls"
- ],
- "type": "object"
- },
- "error": {
- "type": "null"
- }
- }
- }
- }
-]New value: +[
+ {
+ "if": {
+ "properties": {
+ "status": {
+ "const": "ok"
+ }
+ }
+ },
+ "then": {
+ "properties": {
+ "data": {
+ "properties": {
+ "bytes": {
+ "type": "number"
+ },
+ "content": {
+ "type": "string"
+ },
+ "contentType": {
+ "type": "string"
+ },
+ "dnsSource": {
+ "enum": [
+ "system",
+ "public-doh"
+ ]
+ },
+ "fetchedAt": {
+ "type": "string"
+ },
+ "links": {
+ "items": {
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "serverDate": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "statusCode": {
+ "type": "number"
+ },
+ "title": {
+ "type": "string"
+ },
+ "truncated": {
+ "type": "boolean"
+ },
+ "untrustedContent": {
+ "const": true
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "url",
+ "statusCode",
+ "contentType",
+ "title",
+ "content",
+ "links",
+ "bytes",
+ "truncated",
+ "untrustedContent",
+ "fetchedAt",
+ "serverDate",
+ "dnsSource"
+ ],
+ "type": "object"
+ },
+ "error": {
+ "type": "null"
+ }
+ }
+ }
+ },
+ {
+ "if": {
+ "properties": {
+ "status": {
+ "const": "confirmation_required"
+ }
+ }
+ },
+ "then": {
+ "properties": {
+ "data": {
+ "properties": {
+ "action": {
+ "type": "string"
+ },
+ "approvalId": {
+ "type": "string"
+ },
+ "expiresAt": {
+ "type": "string"
+ },
+ "reviewUrl": {
+ "enum": [
+ "tinycast://extensions/cano/macos-agent-bridge/approvals",
+ "raycast://extensions/cano/macos-agent-bridge/approvals"
+ ]
+ },
+ "reviewUrls": {
+ "properties": {
+ "raycast": {
+ "const": "raycast://extensions/cano/macos-agent-bridge/approvals"
+ },
+ "tinycast": {
+ "const": "tinycast://extensions/cano/macos-agent-bridge/approvals"
+ }
+ },
+ "required": [
+ "tinycast",
+ "raycast"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "approvalId",
+ "expiresAt",
+ "action",
+ "reviewUrl",
+ "reviewUrls"
+ ],
+ "type": "object"
+ },
+ "error": {
+ "type": "null"
+ }
+ }
+ }
+ }
+]