changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "oneOf": [
+ {
+ "properties": {
+ "errors": {
+ "maxItems": 0
+ },
+ "result": {
+ "additionalProperties": false,
+ "properties": {
+ "items": {
+ "items": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "access": {
+ "enum": [
+ "free",
+ "premium"
+ ],
+ "type": "string"
+ },
+ "categories": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "contentLocale": {
+ "enum": [
+ "de",
+ "en",
+ "es"
+ ],
+ "type": "string"
+ },
+ "creditPrice": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "euroPrice": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "href": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "locale": {
+ "enum": [
+ "de",
+ "en",
+ "es"
+ ],
+ "type": "string"
+ },
+ "source": {
+ "additionalProperties": false,
+ "properties": {
+ "href": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "playbook",
+ "concept"
+ ],
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "slug": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "slug",
+ "href",
+ "label"
+ ],
+ "type": "object"
+ },
+ "title": {
+ "type": "string"
+ },
+ "translationPending": {
+ "type": "boolean"
+ },
+ "type": {
+ "enum": [
+ "prompt",
+ "playbook",
+ "skill",
+ "tool",
+ "agent",
+ "guide",
+ "glossary"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "type",
+ "title",
+ "description",
+ "href",
+ "access",
+ "creditPrice",
+ "euroPrice",
+ "categories",
+ "locale",
+ "contentLocale",
+ "translationPending",
+ "source"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "access": {
+ "enum": [
+ "free",
+ "premium"
+ ],
+ "type": "string"
+ },
+ "categories": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "contentLocale": {
+ "enum": [
+ "de",
+ "en",
+ "es"
+ ],
+ "type": "string"
+ },
+ "creditPrice": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "euroPrice": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "href": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "locale": {
+ "enum": [
+ "de",
+ "en",
+ "es"
+ ],
+ "type": "string"
+ },
+ "source": {
+ "additionalProperties": false,
+ "properties": {
+ "href": {
+ "type": "string"
+ },
+ "kind": {
+ "const": "lesson",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "level": {
+ "maximum": 6,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "slug": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "level",
+ "slug",
+ "href",
+ "label"
+ ],
+ "type": "object"
+ },
+ "title": {
+ "type": "string"
+ },
+ "translationPending": {
+ "type": "boolean"
+ },
+ "type": {
+ "const": "lesson",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "description",
+ "href",
+ "access",
+ "creditPrice",
+ "euroPrice",
+ "categories",
+ "locale",
+ "contentLocale",
+ "translationPending",
+ "type",
+ "source"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "nextCursor": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "items",
+ "nextCursor"
+ ],
+ "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"
+}