changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "oneOf": [
+ {
+ "properties": {
+ "errors": {
+ "maxItems": 0
+ },
+ "result": {
+ "additionalProperties": false,
+ "properties": {
+ "content": {
+ "additionalProperties": false,
+ "properties": {
+ "body": {
+ "type": "string"
+ },
+ "contentHash": {
+ "type": "string"
+ },
+ "meta": {
+ "additionalProperties": false,
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "duration": {
+ "type": "string"
+ },
+ "order": {
+ "type": "number"
+ },
+ "phase": {
+ "maximum": 16,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "published": {
+ "type": "string"
+ },
+ "slug": {
+ "type": "string"
+ },
+ "tags": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "title": {
+ "type": "string"
+ },
+ "updated": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "slug",
+ "phase",
+ "order",
+ "title",
+ "description",
+ "duration"
+ ],
+ "type": "object"
+ },
+ "steps": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "body": {
+ "type": "string"
+ },
+ "index": {
+ "type": "number"
+ },
+ "title": {
+ "type": "string"
+ },
+ "validatorId": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "index",
+ "title",
+ "body"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "meta",
+ "body",
+ "steps",
+ "contentHash"
+ ],
+ "type": "object"
+ },
+ "content_locale": {
+ "enum": [
+ "de",
+ "en",
+ "es"
+ ],
+ "type": "string"
+ },
+ "fallback": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ },
+ "requestedLocale": {
+ "enum": [
+ "de",
+ "en",
+ "es"
+ ],
+ "type": "string"
+ },
+ "status": {
+ "anyOf": [
+ {
+ "enum": [
+ "draft",
+ "candidate",
+ "active",
+ "deprecated"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "updated": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "version": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "requestedLocale",
+ "content_locale",
+ "fallback",
+ "version",
+ "status",
+ "updated",
+ "content"
+ ],
+ "type": "object"
+ },
+ "success": {
+ "const": true
+ }
+ }
+ },
+ {
+ "properties": {
+ "errors": {
+ "minItems": 1
+ },
+ "result": {
+ "type": "null"
+ },
+ "success": {
+ "const": false
+ }
+ }
+ }
+ ],
+ "properties": {
+ "errors": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "code": {
+ "type": "number"
+ },
+ "documentation_url": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "hint": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "message": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "slug": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "slug",
+ "message",
+ "hint",
+ "documentation_url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "messages": {
+ "type": "array"
+ },
+ "request_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "result": {},
+ "success": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "success",
+ "result",
+ "errors",
+ "messages",
+ "request_id"
+ ],
+ "type": "object"
+}