changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": {},
- "properties": {
- "as_of": {
- "type": [
- "string",
- "null"
- ]
- },
- "card_version": {
- "type": "string"
- },
- "data_kind": {
- "enum": [
- "headline",
- "practice",
- "none"
- ],
- "type": "string"
- },
- "model": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "name"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "share": {
- "additionalProperties": {},
- "properties": {
- "page_url": {
- "type": [
- "string",
- "null"
- ]
- },
- "receipt_badge_url": {
- "type": "string"
- },
- "receipt_markdown": {
- "type": "string"
- },
- "receipt_url": {
- "type": "string"
- }
- },
- "required": [
- "receipt_url"
- ],
- "type": "object"
- },
- "tasks": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "task": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "traps": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "attempts": {
- "type": "number"
- },
- "card_checks": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "fall_rate": {
- "type": [
- "number",
- "null"
- ]
- },
- "fell": {
- "type": "number"
- },
- "name": {
- "type": "string"
- },
- "public_id": {
- "type": [
- "string",
- "null"
- ]
- },
- "trap": {
- "type": "string"
- }
- },
- "required": [
- "trap",
- "public_id",
- "name",
- "attempts",
- "fell",
- "fall_rate",
- "card_checks"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "task",
- "title",
- "traps"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "tier": {
- "enum": [
- "normal",
- "hard"
- ],
- "type": "string"
- }
- },
- "required": [
- "card_version",
- "tier",
- "data_kind",
- "as_of",
- "model",
- "tasks"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "data_kind": {
- "const": "input_needed",
- "type": "string"
- },
- "detail": {
- "type": [
- "string",
- "null"
- ]
- },
- "error": {
- "type": "string"
- },
- "examples": {
- "items": {
- "additionalProperties": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "type": "array"
- },
- "needed": {
- "type": "string"
- },
- "tool": {
- "type": "string"
- }
- },
- "required": [
- "error",
- "data_kind",
- "tool",
- "needed",
- "detail",
- "examples"
- ],
- "type": "object"
- },
- {
- "additionalProperties": {},
- "properties": {
- "error": {
- "const": "rate_limited",
- "type": "string"
- },
- "retry_after_s": {
- "type": "number"
- }
- },
- "required": [
- "error",
- "retry_after_s"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": {},
+ "properties": {
+ "as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "card_version": {
+ "type": "string"
+ },
+ "data_kind": {
+ "enum": [
+ "headline",
+ "practice",
+ "none"
+ ],
+ "type": "string"
+ },
+ "model": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "share": {
+ "additionalProperties": {},
+ "properties": {
+ "page_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "receipt_badge_url": {
+ "type": "string"
+ },
+ "receipt_markdown": {
+ "type": "string"
+ },
+ "receipt_url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "receipt_url"
+ ],
+ "type": "object"
+ },
+ "tasks": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "task": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "traps": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "attempts": {
+ "type": "number"
+ },
+ "card_checks": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "fall_rate": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "fell": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "public_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "trap": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "trap",
+ "public_id",
+ "name",
+ "attempts",
+ "fell",
+ "fall_rate",
+ "card_checks"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "task",
+ "title",
+ "traps"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "tier": {
+ "enum": [
+ "normal",
+ "hard"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "card_version",
+ "tier",
+ "data_kind",
+ "as_of",
+ "model",
+ "tasks"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "data_kind": {
+ "const": "input_needed",
+ "type": "string"
+ },
+ "detail": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "error": {
+ "type": "string"
+ },
+ "examples": {
+ "items": {
+ "additionalProperties": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "needed": {
+ "type": "string"
+ },
+ "tool": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "error",
+ "data_kind",
+ "tool",
+ "needed",
+ "detail",
+ "examples"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {
+ "error": {
+ "const": "rate_limited",
+ "type": "string"
+ },
+ "limit": {
+ "additionalProperties": {},
+ "properties": {
+ "per_minute": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "per_month": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "plan": {
+ "enum": [
+ "anonymous",
+ "free",
+ "team",
+ "volume",
+ "enterprise"
+ ],
+ "type": "string"
+ },
+ "resets_at": {
+ "type": "string"
+ },
+ "used_this_month": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "plan",
+ "per_minute"
+ ],
+ "type": "object"
+ },
+ "reason": {
+ "enum": [
+ "per_ip_minute",
+ "per_key_minute",
+ "monthly_quota"
+ ],
+ "type": "string"
+ },
+ "retry_after_s": {
+ "type": "number"
+ },
+ "upgrade": {
+ "additionalProperties": {},
+ "properties": {
+ "contact": {
+ "type": "string"
+ },
+ "free_key": {
+ "additionalProperties": {},
+ "properties": {
+ "per_minute": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "per_month": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "per_minute",
+ "per_month"
+ ],
+ "type": "object"
+ },
+ "keys_url": {
+ "type": "string"
+ },
+ "paid_plans": {
+ "enum": [
+ "coming_soon",
+ "available"
+ ],
+ "type": "string"
+ },
+ "plans": {
+ "items": {
+ "enum": [
+ "team",
+ "volume"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "url",
+ "keys_url",
+ "plans",
+ "paid_plans"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "error",
+ "retry_after_s"
+ ],
+ "type": "object"
+ }
+]