changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "aborted_early": {
+ "type": "boolean"
+ },
+ "complete": {
+ "type": "boolean"
+ },
+ "duration_ms": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "failed_count": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "failures": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "path": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "path",
+ "message"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "failures_omitted": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "mode": {
+ "enum": [
+ "dry_run",
+ "deploy"
+ ],
+ "type": "string"
+ },
+ "planned": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "path": {
+ "type": "string"
+ },
+ "size_bytes": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path",
+ "size_bytes"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "planned_omitted": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "remote_base": {
+ "type": "string"
+ },
+ "security_warning": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "server": {
+ "type": "string"
+ },
+ "total_bytes": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "total_files": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "uploaded": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "path": {
+ "type": "string"
+ },
+ "size_bytes": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "path",
+ "size_bytes"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "uploaded_bytes": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "uploaded_count": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "uploaded_omitted": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "mode",
+ "server",
+ "remote_base",
+ "total_files",
+ "total_bytes",
+ "uploaded_count",
+ "uploaded_bytes",
+ "failed_count",
+ "aborted_early",
+ "complete",
+ "duration_ms",
+ "security_warning",
+ "uploaded",
+ "uploaded_omitted",
+ "planned",
+ "planned_omitted",
+ "failures",
+ "failures_omitted"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "enum": [
+ "CONFIG_REQUIRED",
+ "CONFIG_INVALID",
+ "SERVER_REQUIRED",
+ "SERVER_UNKNOWN",
+ "INVALID_ARGUMENT",
+ "READ_ONLY",
+ "TRANSPORT_POLICY",
+ "HOST_KEY_REJECTED",
+ "REMOTE_ROOT_REJECTED",
+ "PATH_REJECTED",
+ "NOT_FOUND",
+ "ALREADY_EXISTS",
+ "TRANSFER_LIMIT",
+ "TRANSFER_VERIFY",
+ "TARGET_CHANGED",
+ "CANCELLED",
+ "TIMEOUT",
+ "DEPLOY_PARTIAL",
+ "TRANSPORT_ERROR",
+ "OUTPUT_LIMIT",
+ "INTERNAL_ERROR",
+ "SCAN_LIMIT",
+ "CAPACITY_LIMIT"
+ ],
+ "type": "string"
+ },
+ "effects": {
+ "enum": [
+ "none",
+ "possible",
+ "confirmed"
+ ],
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "next_action": {
+ "enum": [
+ "fix_input",
+ "fix_config",
+ "select_server",
+ "inspect_target",
+ "retry",
+ "contact_operator",
+ "none"
+ ],
+ "type": "string"
+ },
+ "partial": {
+ "additionalProperties": false,
+ "properties": {
+ "completed_bytes": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "completed_files": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "failed_files": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "final": {
+ "type": "boolean"
+ },
+ "total_files": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "completed_files",
+ "completed_bytes",
+ "failed_files",
+ "final"
+ ],
+ "type": "object"
+ },
+ "request_id": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "retryable": {
+ "type": "boolean"
+ },
+ "schema_version": {
+ "const": 1,
+ "type": "number"
+ }
+ },
+ "required": [
+ "schema_version",
+ "code",
+ "message",
+ "retryable",
+ "request_id",
+ "next_action",
+ "effects"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+ ],
+ "type": "object"
+}