changedOutput schema / oneOf
Previous value: -[
- {
- "properties": {
- "current": {
- "type": "object"
- },
- "effects": {
- "type": "string"
- },
- "expires_at": {
- "type": "string"
- },
- "instructions": {
- "type": "string"
- },
- "proposal_id": {
- "type": "string"
- },
- "proposed": {
- "properties": {
- "action": {
- "const": "start_research"
- },
- "kind": {
- "const": "onboarding"
- },
- "url": {
- "maxLength": 2048,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "kind",
- "action",
- "url"
- ],
- "type": "object"
- },
- "requires_approval": {
- "const": true
- },
- "tool": {
- "const": "start_research"
- }
- },
- "required": [
- "proposal_id",
- "expires_at",
- "requires_approval",
- "current",
- "proposed",
- "effects",
- "instructions",
- "tool"
- ],
- "type": "object"
- },
- {
- "properties": {
- "proposal_id": {
- "type": "string"
- },
- "result": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "requested": {
- "type": "boolean"
- },
- "reused": {
- "type": "boolean"
- },
- "status": {
- "const": "accepted"
- }
- },
- "required": [
- "status"
- ],
- "type": "object"
- },
- {
- "properties": {
- "product": {
- "properties": {
- "audience": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "exclusions": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "monitoring": {
- "properties": {
- "last_review_at": {
- "format": "date-time",
- "type": [
- "string",
- "null"
- ]
- },
- "status": {
- "enum": [
- "active",
- "pending",
- "paused",
- "failed"
- ],
- "type": "string"
- }
- },
- "required": [
- "status"
- ],
- "type": "object"
- },
- "name": {
- "type": "string"
- },
- "problems": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "update": {
- "anyOf": [
- {
- "oneOf": [
- {
- "properties": {
- "kind": {
- "const": "facts"
- },
- "profile": {
- "anyOf": [
- {
- "properties": {
- "audience": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "exclusions": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "name": {
- "type": "string"
- },
- "problems": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "name",
- "description",
- "audience",
- "problems",
- "exclusions"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "revision": {
- "type": "integer"
- },
- "status": {
- "enum": [
- "reviewing",
- "working"
- ]
- }
- },
- "required": [
- "kind",
- "status",
- "revision",
- "profile"
- ],
- "type": "object"
- },
- {
- "properties": {
- "error": {
- "type": [
- "string",
- "null"
- ]
- },
- "id": {
- "type": "string"
- },
- "kind": {
- "const": "website"
- },
- "offerings": {
- "items": {
- "type": "object"
- },
- "type": "array"
- },
- "profile": {
- "anyOf": [
- {
- "properties": {
- "audience": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "exclusions": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "name": {
- "type": "string"
- },
- "problems": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "name",
- "description",
- "audience",
- "problems",
- "exclusions"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "type": "string"
- },
- "website": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "id",
- "website",
- "status",
- "offerings",
- "profile",
- "error"
- ],
- "type": "object"
- }
- ]
- },
- {
- "type": "null"
- }
- ]
- },
- "version": {
- "type": "integer"
- },
- "website": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "description",
- "audience",
- "problems",
- "exclusions",
- "monitoring",
- "website",
- "update"
- ],
- "type": "object"
- },
- "status": {
- "const": "accepted"
- }
- },
- "required": [
- "status",
- "product"
- ],
- "type": "object"
- },
- {
- "properties": {
- "integrations": {
- "properties": {
- "data": {
- "items": {
- "properties": {
- "address": {
- "type": [
- "string",
- "null"
- ]
- },
- "candidate": {
- "anyOf": [
- {
- "properties": {
- "chat_type": {
- "type": "string"
- },
- "display": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "chat_type",
- "display"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "candidate_ready": {
- "type": "boolean"
- },
- "connection": {
- "anyOf": [
- {
- "properties": {
- "activeChannels": {
- "minimum": 0,
- "type": "integer"
- },
- "workspace": {
- "type": "string"
- }
- },
- "required": [
- "workspace",
- "activeChannels"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "hostname": {
- "type": [
- "string",
- "null"
- ]
- },
- "instructions": {
- "type": "string"
- },
- "provider": {
- "enum": [
- "email",
- "slack",
- "telegram",
- "webhook"
- ]
- },
- "signing_secret_url": {
- "type": "string"
- },
- "status": {
- "type": "string"
- },
- "value": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "provider",
- "status"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- }
- },
- "required": [
- "data"
- ],
- "type": "object"
- },
- "slack_uninstall_status": {
- "type": "string"
- },
- "status": {
- "const": "complete"
- }
- },
- "required": [
- "status",
- "integrations"
- ],
- "type": "object"
- },
- {
- "properties": {
- "instructions": {
- "type": "string"
- },
- "phase": {
- "type": "string"
- },
- "status": {
- "const": "action-required"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "status",
- "url",
- "instructions"
- ],
- "type": "object"
- },
- {
- "properties": {
- "phase": {
- "const": "connected"
- },
- "status": {
- "const": "complete"
- }
- },
- "required": [
- "status",
- "phase"
- ],
- "type": "object"
- },
- {
- "properties": {
- "instructions": {
- "type": "string"
- },
- "signing_secret_url": {
- "type": "string"
- },
- "status": {
- "const": "candidate"
- }
- },
- "required": [
- "status",
- "signing_secret_url",
- "instructions"
- ],
- "type": "object"
- },
- {
- "properties": {
- "message": {
- "type": "string"
- },
- "status": {
- "const": "failed"
- }
- },
- "required": [
- "status",
- "message"
- ],
- "type": "object"
- }
- ]
- },
- "reused": {
- "type": "boolean"
- },
- "state": {
- "enum": [
- "complete",
- "failed"
- ]
- }
- },
- "required": [
- "proposal_id",
- "state",
- "result"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "current": {
+ "type": "object"
+ },
+ "effects": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "string"
+ },
+ "instructions": {
+ "type": "string"
+ },
+ "proposal_id": {
+ "type": "string"
+ },
+ "proposed": {
+ "properties": {
+ "action": {
+ "const": "start_research"
+ },
+ "kind": {
+ "const": "onboarding"
+ },
+ "url": {
+ "maxLength": 2048,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "action",
+ "url"
+ ],
+ "type": "object"
+ },
+ "requires_approval": {
+ "const": true
+ },
+ "tool": {
+ "const": "start_research"
+ }
+ },
+ "required": [
+ "proposal_id",
+ "expires_at",
+ "requires_approval",
+ "current",
+ "proposed",
+ "effects",
+ "instructions",
+ "tool"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "proposal_id": {
+ "type": "string"
+ },
+ "result": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "requested": {
+ "type": "boolean"
+ },
+ "reused": {
+ "type": "boolean"
+ },
+ "status": {
+ "const": "accepted"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "instructions": {
+ "type": "string"
+ },
+ "phase": {
+ "type": "string"
+ },
+ "status": {
+ "const": "action-required"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "url",
+ "instructions"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "status": {
+ "const": "failed"
+ }
+ },
+ "required": [
+ "status",
+ "message"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "reused": {
+ "type": "boolean"
+ },
+ "state": {
+ "enum": [
+ "complete",
+ "failed"
+ ]
+ }
+ },
+ "required": [
+ "proposal_id",
+ "state",
+ "result"
+ ],
+ "type": "object"
+ }
+]