changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "candidates": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "score": {
- "type": "number"
- }
- },
- "required": [
- "id",
- "name",
- "score"
- ],
- "type": "object"
- },
- "maxItems": 5,
- "type": "array"
- },
- "outcome": {
- "enum": [
- "ok"
- ],
- "type": "string"
- }
- },
- "required": [
- "outcome",
- "candidates"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "detail": {
- "description": "A short user-safe explanation.",
- "type": "string"
- },
- "outcome": {
- "description": "A stable failure category.",
- "enum": [
- "validation_error",
- "rate_limited",
- "internal_error"
- ],
- "type": "string"
- },
- "reason": {
- "description": "A stable machine-readable reason.",
- "type": "string"
- },
- "retry_after_sec": {
- "minimum": 1,
- "type": "integer"
- }
- },
- "required": [
- "outcome",
- "reason",
- "detail"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "candidates": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "score": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "score"
+ ],
+ "type": "object"
+ },
+ "maxItems": 5,
+ "type": "array"
+ },
+ "outcome": {
+ "enum": [
+ "ok"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "outcome",
+ "candidates"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "detail": {
+ "type": "string"
+ },
+ "outcome": {
+ "enum": [
+ "validation_error",
+ "rate_limited",
+ "internal_error"
+ ],
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "retry_after_sec": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "outcome",
+ "reason",
+ "detail"
+ ],
+ "type": "object"
+ }
+]