changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "content": {
- "maxLength": 131072,
- "type": "string"
- },
- "content_trust": {
- "const": "untrusted",
- "type": "string"
- },
- "format": {
- "enum": [
- "markdown",
- "text"
- ],
- "type": "string"
- },
- "original_byte_length": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "package_id": {
- "type": "string"
- },
- "path": {
- "maxLength": 1024,
- "minLength": 1,
- "type": "string"
- },
- "publication_id": {
- "type": "string"
- },
- "success": {
- "const": true,
- "type": "boolean"
- },
- "truncated": {
- "type": "boolean"
- }
- },
- "required": [
- "content",
- "format",
- "original_byte_length",
- "path",
- "truncated",
- "content_trust",
- "package_id",
- "publication_id",
- "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": {
+ "maxLength": 131072,
+ "type": "string"
+ },
+ "content_trust": {
+ "const": "untrusted",
+ "type": "string"
+ },
+ "format": {
+ "enum": [
+ "markdown",
+ "text"
+ ],
+ "type": "string"
+ },
+ "original_byte_length": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "path": {
+ "maxLength": 1024,
+ "minLength": 1,
+ "type": "string"
+ },
+ "success": {
+ "const": true,
+ "type": "boolean"
+ },
+ "truncated": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "content",
+ "format",
+ "original_byte_length",
+ "path",
+ "truncated",
+ "content_trust",
+ "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"
+ }
+]