changedOutput schema / oneOf
Previous value: -[
- {
- "properties": {
- "errors": {
- "maxItems": 0
- },
- "result": {
- "additionalProperties": false,
- "properties": {
- "item": {
- "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"
- },
- "preview": {
- "type": "string"
- },
- "price": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "quote": {
- "type": "null"
- },
- "status": {
- "const": "unconfigured",
- "type": "string"
- }
- },
- "required": [
- "status",
- "quote"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "quote": {
- "additionalProperties": false,
- "properties": {
- "contentId": {
- "type": "string"
- },
- "contentVersion": {
- "type": "string"
- },
- "credits": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "expiresAt": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "priceVersion": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "contentId",
- "contentVersion",
- "priceVersion",
- "credits",
- "expiresAt"
- ],
- "type": "object"
- },
- "status": {
- "const": "configured",
- "type": "string"
- }
- },
- "required": [
- "status",
- "quote"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "contentVersion": {
- "type": "string"
- },
- "credits": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "loginHref": {
- "type": "string"
- },
- "priceVersion": {
- "type": "string"
- },
- "quote": {
- "type": "null"
- },
- "status": {
- "const": "configured",
- "type": "string"
- }
- },
- "required": [
- "status",
- "quote",
- "credits",
- "contentVersion",
- "priceVersion",
- "loginHref"
- ],
- "type": "object"
- }
- ]
- }
- },
- "required": [
- "item",
- "price",
- "preview"
- ],
- "type": "object"
- },
- "success": {
- "const": true
- }
- }
- },
- {
- "properties": {
- "errors": {
- "minItems": 1
- },
- "result": {
- "type": "null"
- },
- "success": {
- "const": false
- }
- }
- }
-]New value: +[
+ {
+ "properties": {
+ "errors": {
+ "maxItems": 0
+ },
+ "result": {
+ "additionalProperties": false,
+ "properties": {
+ "item": {
+ "additionalProperties": false,
+ "properties": {
+ "access": {
+ "enum": [
+ "free",
+ "premium"
+ ],
+ "type": "string"
+ },
+ "categories": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "contentLocale": {
+ "description": "Content language: de for German, en for English or es for Spanish. The transport defaults to German when omitted.",
+ "enum": [
+ "de",
+ "en",
+ "es"
+ ],
+ "type": "string"
+ },
+ "creditPrice": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "euroPrice": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "href": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "locale": {
+ "description": "Content language: de for German, en for English or es for Spanish. The transport defaults to German when omitted.",
+ "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": {
+ "description": "Library content kind from the catalog; use the declared enum value to filter metadata rather than guessing a category.",
+ "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"
+ },
+ "preview": {
+ "type": "string"
+ },
+ "price": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "quote": {
+ "type": "null"
+ },
+ "status": {
+ "const": "unconfigured",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "quote"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "quote": {
+ "additionalProperties": false,
+ "properties": {
+ "contentId": {
+ "type": "string"
+ },
+ "contentVersion": {
+ "type": "string"
+ },
+ "credits": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "expiresAt": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "priceVersion": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "contentId",
+ "contentVersion",
+ "priceVersion",
+ "credits",
+ "expiresAt"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "const": "configured",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "quote"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "contentVersion": {
+ "type": "string"
+ },
+ "credits": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "loginHref": {
+ "type": "string"
+ },
+ "priceVersion": {
+ "type": "string"
+ },
+ "quote": {
+ "type": "null"
+ },
+ "status": {
+ "const": "configured",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "quote",
+ "credits",
+ "contentVersion",
+ "priceVersion",
+ "loginHref"
+ ],
+ "type": "object"
+ }
+ ]
+ }
+ },
+ "required": [
+ "item",
+ "price",
+ "preview"
+ ],
+ "type": "object"
+ },
+ "success": {
+ "const": true
+ }
+ }
+ },
+ {
+ "properties": {
+ "errors": {
+ "minItems": 1
+ },
+ "result": {
+ "type": "null"
+ },
+ "success": {
+ "const": false
+ }
+ }
+ }
+]