changedOutput schema / anyOf
Previous value: -[
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "additionalProperties": false,
- "properties": {
- "amountCents": {
- "description": "Price in cents: the plan price per interval, or the credits’ one-time price.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "change": {
- "description": "subscribe: a first paid plan, paid at checkout. upgrade: charged to the card on file when approved. top_up: a one-time credit purchase.",
- "type": "string"
- },
- "credits": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Credits being bought; null for a plan."
- },
- "currency": {
- "description": "Currency of amountCents, such as usd.",
- "type": "string"
- },
- "currentPlan": {
- "additionalProperties": false,
- "description": "The organization’s plan before approval.",
- "properties": {
- "id": {
- "description": "Plan id.",
- "type": "string"
- },
- "name": {
- "description": "Plan name to show the person.",
- "type": "string"
- }
- },
- "required": [
- "id",
- "name"
- ],
- "type": "object"
- },
- "id": {
- "description": "Link id.",
- "type": "string"
- },
- "interval": {
- "description": "month or year for a plan; null for credits.",
- "type": [
- "string",
- "null"
- ]
- },
- "kind": {
- "description": "plan or credits.",
- "type": "string"
- },
- "organization": {
- "additionalProperties": false,
- "description": "The Sync organization this call ran in.",
- "properties": {
- "id": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "name": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "name"
- ],
- "type": "object"
- },
- "plan": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "description": "Plan id.",
- "type": "string"
- },
- "name": {
- "description": "Plan name to show the person.",
- "type": "string"
- }
- },
- "required": [
- "id",
- "name"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "The plan being approved; null for credits."
- },
- "url": {
- "description": "Page on sync.so to give the person, verbatim. They sign in, review and pay there; it does not expire.",
- "type": "string"
- }
- },
- "required": [
- "id",
- "url",
- "kind",
- "change",
- "plan",
- "credits",
- "amountCents",
- "currency",
- "interval",
- "currentPlan"
- ],
- "type": "object"
- },
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "additionalProperties": false,
- "properties": {
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "type": "string"
- },
- "generationId": {
- "type": "string"
- },
- "importJobId": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "importStatus": {
- "enum": [
- "queued",
- "downloading",
- "processing",
- "completed",
- "failed"
- ],
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "progress": {
- "maximum": 100,
- "minimum": 0,
- "type": "number"
- },
- "retryAfterMs": {
- "type": "number"
- },
- "retryable": {
- "type": "boolean"
- },
- "status": {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "message"
- ],
- "type": "object"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "amountCents": {
+ "description": "Price in cents: the plan price per interval, or the credits’ one-time price.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "change": {
+ "description": "subscribe: a first paid plan, paid at checkout. upgrade: charged to the card on file when approved. top_up: a one-time credit purchase.",
+ "type": "string"
+ },
+ "credits": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Credits being bought; null for a plan."
+ },
+ "currency": {
+ "description": "Currency of amountCents, such as usd.",
+ "type": "string"
+ },
+ "currentPlan": {
+ "additionalProperties": false,
+ "description": "The organization’s plan before approval.",
+ "properties": {
+ "id": {
+ "description": "Plan id.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Plan name to show the person.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "expiresAt": {
+ "description": "When url stops working, 15 minutes after it was made: a first paid plan, paid without signing in. Null or absent for a link that needs sign-in and does not expire.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "Link id.",
+ "type": "string"
+ },
+ "interval": {
+ "description": "month or year for a plan; null for credits.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kind": {
+ "description": "plan or credits.",
+ "type": "string"
+ },
+ "organization": {
+ "additionalProperties": false,
+ "description": "The Sync organization this call ran in.",
+ "properties": {
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "plan": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "description": "Plan id.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Plan name to show the person.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The plan being approved; null for credits."
+ },
+ "url": {
+ "description": "Page on sync.so to give the person, verbatim. They review and pay there, without signing in when expiresAt is set.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "url",
+ "kind",
+ "change",
+ "plan",
+ "credits",
+ "amountCents",
+ "currency",
+ "interval",
+ "currentPlan"
+ ],
+ "type": "object"
+ },
+ {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "error": {
+ "additionalProperties": false,
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "generationId": {
+ "type": "string"
+ },
+ "importJobId": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "importStatus": {
+ "enum": [
+ "queued",
+ "downloading",
+ "processing",
+ "completed",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "progress": {
+ "maximum": 100,
+ "minimum": 0,
+ "type": "number"
+ },
+ "retryAfterMs": {
+ "type": "number"
+ },
+ "retryable": {
+ "type": "boolean"
+ },
+ "status": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "message"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "error"
+ ],
+ "type": "object"
+ }
+]