changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "entitled": {
- "type": "boolean"
- },
- "entitlement_id": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "package_type": {
- "type": "string"
- },
- "price": {
- "type": "string"
- },
- "purchase_url": {
- "type": "string"
- },
- "reason_code": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "source": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "status": {
- "type": "string"
- }
- },
- "required": [
- "entitled",
- "status",
- "source",
- "entitlement_id",
- "reason_code",
- "price",
- "package_type",
- "purchase_url"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "correlation_id": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "retryable": {
- "type": "boolean"
- }
- },
- "required": [
- "code",
- "message",
- "retryable"
- ],
- "type": "object"
- },
- "status": {
- "const": "error"
- }
- },
- "required": [
- "status",
- "error"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "confirmation": {
- "additionalProperties": false,
- "properties": {
- "expires_at": {
- "type": "string"
- },
- "instruction": {
- "type": "string"
- },
- "token": {
- "type": "string"
- }
- },
- "required": [
- "token",
- "expires_at",
- "instruction"
- ],
- "type": "object"
- },
- "preview": {
- "additionalProperties": true,
- "type": "object"
- },
- "status": {
- "const": "confirmation_required"
- }
- },
- "required": [
- "status",
- "confirmation",
- "preview"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "message": {
- "type": "string"
- },
- "next_action": {
- "additionalProperties": true,
- "type": "object"
- },
- "status": {
- "const": "unavailable"
- }
- },
- "required": [
- "status",
- "message",
- "next_action"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "entitled": {
+ "type": "boolean"
+ },
+ "entitlement_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "guidance": {
+ "type": "string"
+ },
+ "purchase_supported_in_chatgpt": {
+ "type": "boolean"
+ },
+ "reason_code": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "source": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "entitled",
+ "status",
+ "source",
+ "entitlement_id",
+ "reason_code",
+ "purchase_supported_in_chatgpt",
+ "guidance"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "correlation_id": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "retryable": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "code",
+ "message",
+ "retryable"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "const": "error"
+ }
+ },
+ "required": [
+ "status",
+ "error"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "confirmation": {
+ "additionalProperties": false,
+ "properties": {
+ "expires_at": {
+ "type": "string"
+ },
+ "instruction": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "token",
+ "expires_at",
+ "instruction"
+ ],
+ "type": "object"
+ },
+ "preview": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "status": {
+ "const": "confirmation_required"
+ }
+ },
+ "required": [
+ "status",
+ "confirmation",
+ "preview"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "next_action": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "status": {
+ "const": "unavailable"
+ }
+ },
+ "required": [
+ "status",
+ "message",
+ "next_action"
+ ],
+ "type": "object"
+ }
+]