changedOutput schema / properties / subscription / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "active": {
- "description": "True while status is active or trialing.",
- "type": "boolean"
- },
- "cancelAt": {
- "description": "ISO 8601 time the subscription is scheduled to end, or null when no cancellation is scheduled.",
- "type": [
- "string",
- "null"
- ]
- },
- "currency": {
- "type": [
- "string",
- "null"
- ]
- },
- "customTargets": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Number of custom targets the subscription allows, or null when it sets no allowance."
- },
- "interval": {
- "type": [
- "string",
- "null"
- ]
- },
- "intervalCount": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "price": {
- "description": "Price in the currency’s smallest unit.",
- "type": [
- "number",
- "null"
- ]
- },
- "signupTrial": {
- "description": "True for a trial started at Synoptic sign-up.",
- "type": "boolean"
- },
- "status": {
- "description": "Stripe subscription status, such as active, trialing, past_due or canceled.",
- "type": "string"
- }
- },
- "required": [
- "active",
- "status",
- "interval",
- "intervalCount",
- "price",
- "currency",
- "cancelAt",
- "customTargets",
- "signupTrial"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "active": {
+ "description": "True while status is active or trialing.",
+ "type": "boolean"
+ },
+ "cancelAt": {
+ "description": "ISO 8601 time the subscription is scheduled to end, or null when no cancellation is scheduled.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "currency": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "customTargets": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Number of custom targets the subscription allows, or null when the subscription records none; set_stream_custom_targets and patch_stream_custom_targets then accept no targets."
+ },
+ "interval": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "intervalCount": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "price": {
+ "description": "Price in the currency’s smallest unit.",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "signupTrial": {
+ "description": "True for a trial started at Synoptic sign-up.",
+ "type": "boolean"
+ },
+ "status": {
+ "description": "Stripe subscription status, such as active, trialing, past_due or canceled.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "active",
+ "status",
+ "interval",
+ "intervalCount",
+ "price",
+ "currency",
+ "cancelAt",
+ "customTargets",
+ "signupTrial"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]