changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "recommended_action": {
- "additionalProperties": false,
- "properties": {
- "after_completion": {
- "type": "string"
- },
- "automatic_changes": {
- "const": false
- },
- "label": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "type": {
- "const": "onboarding_link"
- },
- "url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "type",
- "label",
- "url",
- "reason",
- "after_completion",
- "automatic_changes"
- ],
- "type": "object"
- },
- "status": {
- "const": "setup_required"
- },
- "summary": {
- "type": "string"
- }
- },
- "required": [
- "status",
- "summary",
- "recommended_action"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "ready_repositories": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "display_name": {
- "type": "string"
- },
- "executor_ready": {
- "type": "boolean"
- },
- "organization_name": {
- "type": "string"
- }
- },
- "required": [
- "organization_name",
- "display_name",
- "executor_ready"
- ],
- "type": "object"
- },
- "maxItems": 3,
- "minItems": 1,
- "type": "array"
- },
- "ready_repository_count": {
- "minimum": 1,
- "type": "integer"
- },
- "recommended_action": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "after_completion": {
- "type": "string"
- },
- "automatic_changes": {
- "const": false
- },
- "label": {
- "type": "string"
- },
- "organization_id": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "tool": {
- "const": "query_context"
- },
- "type": {
- "const": "tool"
- }
- },
- "required": [
- "type",
- "tool",
- "organization_id",
- "label",
- "reason",
- "after_completion",
- "automatic_changes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "after_completion": {
- "type": "string"
- },
- "automatic_changes": {
- "const": false
- },
- "label": {
- "type": "string"
- },
- "organization_id": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "repository_full_name": {
- "type": "string"
- },
- "tool": {
- "const": "list_tasks"
- },
- "type": {
- "const": "tool"
- }
- },
- "required": [
- "type",
- "tool",
- "organization_id",
- "repository_full_name",
- "label",
- "reason",
- "after_completion",
- "automatic_changes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "after_completion": {
- "type": "string"
- },
- "automatic_changes": {
- "const": false
- },
- "label": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "type": {
- "const": "retry"
- }
- },
- "required": [
- "type",
- "label",
- "reason",
- "after_completion",
- "automatic_changes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "after_completion": {
- "type": "string"
- },
- "automatic_changes": {
- "const": false
- },
- "label": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "type": {
- "const": "onboarding_link"
- },
- "url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "type",
- "url",
- "label",
- "reason",
- "after_completion",
- "automatic_changes"
- ],
- "type": "object"
- }
- ]
- },
- "status": {
- "const": "ready"
- },
- "summary": {
- "type": "string"
- }
- },
- "required": [
- "status",
- "summary",
- "ready_repository_count",
- "ready_repositories",
- "recommended_action"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "recommended_action": {
- "additionalProperties": false,
- "properties": {
- "after_completion": {
- "type": "string"
- },
- "automatic_changes": {
- "const": false
- },
- "label": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "type": {
- "const": "repair_link"
- },
- "url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "type",
- "label",
- "url",
- "reason",
- "after_completion",
- "automatic_changes"
- ],
- "type": "object"
- },
- "status": {
- "const": "action_required"
- },
- "summary": {
- "type": "string"
- }
- },
- "required": [
- "status",
- "summary",
- "recommended_action"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "recommended_action": {
- "additionalProperties": false,
- "properties": {
- "after_completion": {
- "type": "string"
- },
- "automatic_changes": {
- "const": false
- },
- "label": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "type": {
- "const": "retry"
- }
- },
- "required": [
- "type",
- "label",
- "reason",
- "after_completion",
- "automatic_changes"
- ],
- "type": "object"
- },
- "retryable": {
- "const": true
- },
- "status": {
- "const": "temporarily_unavailable"
- },
- "summary": {
- "type": "string"
- }
- },
- "required": [
- "status",
- "summary",
- "retryable",
- "recommended_action"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "next_action": {
+ "enum": [
+ "choose_organization",
+ "connect_repository",
+ "choose_repository",
+ "view_execution",
+ "view_result",
+ "retry_status",
+ "resolve_blocker",
+ "review_pull_request",
+ "open_pull_request",
+ "automatic_review_ready",
+ "manage_automatic_review",
+ "choose_task"
+ ],
+ "type": "string"
+ },
+ "recommended_action": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "after_completion": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "automatic_changes": {
+ "const": false,
+ "type": "boolean"
+ },
+ "label": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "link",
+ "type": "string"
+ },
+ "url": {
+ "format": "uri",
+ "maxLength": 5000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "url",
+ "label",
+ "reason",
+ "after_completion",
+ "automatic_changes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "after_completion": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "automatic_changes": {
+ "const": false,
+ "type": "boolean"
+ },
+ "label": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "organization_id": {
+ "pattern": "^[A-Za-z0-9_-]{1,128}$",
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "repository_full_name": {
+ "pattern": "^(?!\\.{1,2}\\/)[A-Za-z0-9_.-]+\\/(?!\\.{1,2}$)[A-Za-z0-9_.-]+$",
+ "type": "string"
+ },
+ "tool": {
+ "const": "list_tasks",
+ "type": "string"
+ },
+ "type": {
+ "const": "tool",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "tool",
+ "organization_id",
+ "repository_full_name",
+ "label",
+ "reason",
+ "after_completion",
+ "automatic_changes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "after_completion": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "automatic_changes": {
+ "const": false,
+ "type": "boolean"
+ },
+ "label": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "retry",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "label",
+ "reason",
+ "after_completion",
+ "automatic_changes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "after_completion": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "automatic_changes": {
+ "const": false,
+ "type": "boolean"
+ },
+ "label": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "reason": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "information",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "label",
+ "reason",
+ "after_completion",
+ "automatic_changes"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "schema_version": {
+ "const": 1,
+ "type": "number"
+ },
+ "status": {
+ "const": "onboarding",
+ "type": "string"
+ },
+ "summary": {
+ "maxLength": 500,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "schema_version",
+ "summary",
+ "next_action",
+ "recommended_action"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "recommended_action": {
+ "additionalProperties": false,
+ "properties": {
+ "after_completion": {
+ "type": "string"
+ },
+ "automatic_changes": {
+ "const": false
+ },
+ "label": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "type": {
+ "const": "onboarding_link"
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "label",
+ "url",
+ "reason",
+ "after_completion",
+ "automatic_changes"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "const": "setup_required"
+ },
+ "summary": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "summary",
+ "recommended_action"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "ready_repositories": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "display_name": {
+ "type": "string"
+ },
+ "executor_ready": {
+ "type": "boolean"
+ },
+ "organization_name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "organization_name",
+ "display_name",
+ "executor_ready"
+ ],
+ "type": "object"
+ },
+ "maxItems": 3,
+ "minItems": 1,
+ "type": "array"
+ },
+ "ready_repository_count": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "recommended_action": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "after_completion": {
+ "type": "string"
+ },
+ "automatic_changes": {
+ "const": false
+ },
+ "label": {
+ "type": "string"
+ },
+ "organization_id": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "tool": {
+ "const": "query_context"
+ },
+ "type": {
+ "const": "tool"
+ }
+ },
+ "required": [
+ "type",
+ "tool",
+ "organization_id",
+ "label",
+ "reason",
+ "after_completion",
+ "automatic_changes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "after_completion": {
+ "type": "string"
+ },
+ "automatic_changes": {
+ "const": false
+ },
+ "label": {
+ "type": "string"
+ },
+ "organization_id": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "repository_full_name": {
+ "type": "string"
+ },
+ "tool": {
+ "const": "list_tasks"
+ },
+ "type": {
+ "const": "tool"
+ }
+ },
+ "required": [
+ "type",
+ "tool",
+ "organization_id",
+ "repository_full_name",
+ "label",
+ "reason",
+ "after_completion",
+ "automatic_changes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "after_completion": {
+ "type": "string"
+ },
+ "automatic_changes": {
+ "const": false
+ },
+ "label": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "type": {
+ "const": "retry"
+ }
+ },
+ "required": [
+ "type",
+ "label",
+ "reason",
+ "after_completion",
+ "automatic_changes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "after_completion": {
+ "type": "string"
+ },
+ "automatic_changes": {
+ "const": false
+ },
+ "label": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "type": {
+ "const": "onboarding_link"
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "url",
+ "label",
+ "reason",
+ "after_completion",
+ "automatic_changes"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "status": {
+ "const": "ready"
+ },
+ "summary": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "summary",
+ "ready_repository_count",
+ "ready_repositories",
+ "recommended_action"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "recommended_action": {
+ "additionalProperties": false,
+ "properties": {
+ "after_completion": {
+ "type": "string"
+ },
+ "automatic_changes": {
+ "const": false
+ },
+ "label": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "type": {
+ "const": "repair_link"
+ },
+ "url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "label",
+ "url",
+ "reason",
+ "after_completion",
+ "automatic_changes"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "const": "action_required"
+ },
+ "summary": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "summary",
+ "recommended_action"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "recommended_action": {
+ "additionalProperties": false,
+ "properties": {
+ "after_completion": {
+ "type": "string"
+ },
+ "automatic_changes": {
+ "const": false
+ },
+ "label": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "type": {
+ "const": "retry"
+ }
+ },
+ "required": [
+ "type",
+ "label",
+ "reason",
+ "after_completion",
+ "automatic_changes"
+ ],
+ "type": "object"
+ },
+ "retryable": {
+ "const": true
+ },
+ "status": {
+ "const": "temporarily_unavailable"
+ },
+ "summary": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "summary",
+ "retryable",
+ "recommended_action"
+ ],
+ "type": "object"
+ }
+]