changedOutput schema / (root)
Previous value: -{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "document": {
- "additionalProperties": false,
- "properties": {
- "bytes": {
- "maximum": 10485760,
- "minimum": 1,
- "type": "integer"
- },
- "contentType": {
- "const": "application/pdf"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "pages": {
- "maximum": 50,
- "minimum": 1,
- "type": "integer"
- },
- "previewUrl": {
- "format": "uri-reference",
- "type": "string"
- },
- "sha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "pages",
- "bytes",
- "sha256",
- "previewUrl",
- "contentType"
- ],
- "type": "object"
- },
- "documentRequestId": {
- "minLength": 1,
- "type": "string"
- },
- "expiresAt": {
- "type": "string"
- },
- "filename": {
- "type": [
- "string",
- "null"
- ]
- },
- "service": {
- "description": "Current or historical service identifier; reads do not enable new orders.",
- "type": "string"
- },
- "status": {
- "enum": [
- "awaiting_upload",
- "uploading",
- "complete",
- "expired"
- ]
- }
- },
- "required": [
- "documentRequestId",
- "service",
- "filename",
- "status",
- "expiresAt"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "minLength": 1,
- "type": "string"
- },
- "details": {
- "additionalProperties": false,
- "properties": {
- "addressRole": {
- "enum": [
- "recipient",
- "sender"
- ]
- },
- "canSendAsEntered": {
- "type": "boolean"
- }
- },
- "required": [
- "addressRole",
- "canSendAsEntered"
- ],
- "type": "object"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- }
- ],
- "type": "object"
-}New value: +null