changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "count": {
- "minimum": 0,
- "type": "integer"
- },
- "entries": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "modified_at": {
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "type": "string"
- },
- "size_bytes": {
- "minimum": 0,
- "type": "number"
- },
- "type": {
- "enum": [
- "dir",
- "file",
- "link"
- ],
- "type": "string"
- }
- },
- "required": [
- "name",
- "type",
- "size_bytes",
- "modified_at"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "has_more": {
- "type": "boolean"
- },
- "limit": {
- "maximum": 200,
- "minimum": 1,
- "type": "integer"
- },
- "next_offset": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "offset": {
- "minimum": 0,
- "type": "integer"
- },
- "path": {
- "type": "string"
- },
- "security_warning": {
- "type": [
- "string",
- "null"
- ]
- },
- "server": {
- "type": "string"
- },
- "total": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "server",
- "path",
- "total",
- "count",
- "offset",
- "limit",
- "has_more",
- "next_offset",
- "entries",
- "security_warning"
- ],
- "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"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "entries": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "modified_at": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "size_bytes": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "type": {
+ "enum": [
+ "dir",
+ "file",
+ "link"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "type",
+ "size_bytes",
+ "modified_at"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "has_more": {
+ "type": "boolean"
+ },
+ "limit": {
+ "maximum": 200,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "next_offset": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "offset": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "path": {
+ "type": "string"
+ },
+ "security_warning": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "server": {
+ "type": "string"
+ },
+ "total": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "server",
+ "path",
+ "total",
+ "count",
+ "offset",
+ "limit",
+ "has_more",
+ "next_offset",
+ "entries",
+ "security_warning"
+ ],
+ "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",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "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"
+ }
+]