changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": {},
- "properties": {
- "data_kind": {
- "enum": [
- "headline",
- "practice",
- "none"
- ],
- "type": "string"
- },
- "event": {
- "anyOf": [
- {
- "additionalProperties": {},
- "properties": {
- "kind": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "slug": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "slug",
- "name",
- "kind",
- "url"
- ],
- "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": {
- "guide_url": {
- "type": "string"
- },
- "models": {
- "items": {
- "additionalProperties": {},
- "properties": {
- "model": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "pass_rate": {
- "type": "number"
- }
- },
- "required": [
- "model",
- "name",
- "pass_rate"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "task": {
- "type": "string"
- },
- "tier": {
- "type": "string"
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "task",
- "title",
- "tier",
- "guide_url",
- "models"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "tier": {
- "enum": [
- "normal",
- "hard",
- "all"
- ],
- "type": "string"
- }
- },
- "required": [
- "data_kind",
- "tier",
- "event",
- "tasks",
- "share"
- ],
- "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": {
+ "data_kind": {
+ "enum": [
+ "headline",
+ "practice",
+ "none"
+ ],
+ "type": "string"
+ },
+ "event": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "kind": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "slug": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "slug",
+ "name",
+ "kind",
+ "url"
+ ],
+ "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": {
+ "guide_url": {
+ "type": "string"
+ },
+ "models": {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "model": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "pass_rate": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "model",
+ "name",
+ "pass_rate"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "task": {
+ "type": "string"
+ },
+ "tier": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "task",
+ "title",
+ "tier",
+ "guide_url",
+ "models"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "tier": {
+ "enum": [
+ "normal",
+ "hard",
+ "all"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "data_kind",
+ "tier",
+ "event",
+ "tasks",
+ "share"
+ ],
+ "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"
+ }
+]