changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "content_trust": {
- "const": "untrusted",
- "type": "string"
- },
- "files": {
- "items": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "compressed_size": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "file_class": {
- "type": "string"
- },
- "kind": {
- "const": "file",
- "type": "string"
- },
- "name": {
- "maxLength": 255,
- "minLength": 1,
- "type": "string"
- },
- "path": {
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- },
- "size_bytes": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "compressed_size",
- "file_class",
- "kind",
- "name",
- "path",
- "size_bytes"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "file_class": {
- "type": "string"
- },
- "kind": {
- "const": "symlink",
- "type": "string"
- },
- "name": {
- "maxLength": 255,
- "minLength": 1,
- "type": "string"
- },
- "path": {
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- },
- "target": {
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "file_class",
- "kind",
- "name",
- "path",
- "target"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "next_cursor": {
- "type": [
- "string",
- "null"
- ]
- },
- "package_id": {
- "type": "string"
- },
- "publication_id": {
- "type": "string"
- },
- "size_bytes": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "success": {
- "const": true,
- "type": "boolean"
- },
- "total_file_count": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "content_trust",
- "files",
- "next_cursor",
- "package_id",
- "publication_id",
- "size_bytes",
- "total_file_count",
- "success"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "category": {
- "enum": [
- "auth_required",
- "bad_request",
- "conflict",
- "forbidden",
- "not_found",
- "rate_limit",
- "server_error",
- "service_unavailable"
- ],
- "type": "string"
- },
- "error": {
- "minLength": 1,
- "type": "string"
- },
- "hint": {
- "minLength": 1,
- "type": "string"
- },
- "retry_after_seconds": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "success": {
- "const": false,
- "type": "boolean"
- }
- },
- "required": [
- "category",
- "error",
- "success"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "content_trust": {
+ "const": "untrusted",
+ "type": "string"
+ },
+ "files": {
+ "items": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "compressed_size": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "file_class": {
+ "type": "string"
+ },
+ "kind": {
+ "const": "file",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 255,
+ "minLength": 1,
+ "type": "string"
+ },
+ "path": {
+ "maxLength": 1024,
+ "minLength": 1,
+ "type": "string"
+ },
+ "size_bytes": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "compressed_size",
+ "file_class",
+ "kind",
+ "name",
+ "path",
+ "size_bytes"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "file_class": {
+ "type": "string"
+ },
+ "kind": {
+ "const": "symlink",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 255,
+ "minLength": 1,
+ "type": "string"
+ },
+ "path": {
+ "maxLength": 1024,
+ "minLength": 1,
+ "type": "string"
+ },
+ "target": {
+ "maxLength": 1024,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "file_class",
+ "kind",
+ "name",
+ "path",
+ "target"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "next_cursor": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "size_bytes": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "success": {
+ "const": true,
+ "type": "boolean"
+ },
+ "total_file_count": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "content_trust",
+ "files",
+ "next_cursor",
+ "size_bytes",
+ "total_file_count",
+ "success"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "category": {
+ "enum": [
+ "auth_required",
+ "bad_request",
+ "conflict",
+ "forbidden",
+ "not_found",
+ "rate_limit",
+ "server_error",
+ "service_unavailable"
+ ],
+ "type": "string"
+ },
+ "error": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "hint": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "retry_after_seconds": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "success": {
+ "const": false,
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "category",
+ "error",
+ "success"
+ ],
+ "type": "object"
+ }
+]