changedOutput schema / anyOf
Previous value: -[
- {
- "properties": {
- "account": {
- "type": "string"
- },
- "billedTokensThisMonth": {
- "type": "integer"
- },
- "creditRemainingUsd": {
- "type": [
- "number",
- "null"
- ]
- },
- "creditUsd": {
- "type": [
- "number",
- "null"
- ]
- },
- "creditUsedUsd": {
- "type": "number"
- },
- "daysRemaining": {
- "type": "integer"
- },
- "kind": {
- "const": "usage"
- },
- "monthlyLimit": {
- "type": "integer"
- },
- "organization": {
- "type": [
- "string",
- "null"
- ]
- },
- "plan": {
- "type": [
- "string",
- "null"
- ]
- },
- "requestsRemaining": {
- "type": "integer"
- },
- "requestsThisMonth": {
- "type": "integer"
- },
- "status": {
- "type": [
- "string",
- "null"
- ]
- },
- "usagePercentage": {
- "type": "number"
- }
- },
- "required": [
- "kind",
- "account",
- "requestsThisMonth",
- "monthlyLimit",
- "daysRemaining"
- ],
- "type": "object"
- },
- {
- "properties": {
- "error": {
- "type": [
- "string",
- "object"
- ]
- },
- "kind": {
- "const": "error"
- }
- },
- "required": [
- "kind",
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "account": {
+ "type": "string"
+ },
+ "billedTokensThisMonth": {
+ "type": "integer"
+ },
+ "creditRemainingUsd": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "creditUsd": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "creditUsedUsd": {
+ "type": "number"
+ },
+ "daysRemaining": {
+ "type": "integer"
+ },
+ "kind": {
+ "const": "usage"
+ },
+ "monthlyLimit": {
+ "type": "integer"
+ },
+ "organizationId": {
+ "type": "string"
+ },
+ "plan": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "requestsRemaining": {
+ "type": "integer"
+ },
+ "requestsThisMonth": {
+ "type": "integer"
+ },
+ "status": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "usagePercentage": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "kind",
+ "account",
+ "requestsThisMonth",
+ "monthlyLimit",
+ "daysRemaining"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "error": {
+ "type": "string"
+ },
+ "kind": {
+ "const": "error"
+ }
+ },
+ "required": [
+ "kind",
+ "error"
+ ],
+ "type": "object"
+ }
+]