changedInput schema / properties / changes / additionalProperties / anyOf
Previous value: -[
- {
- "maxLength": 80,
- "type": "string"
- },
- {
- "type": "boolean"
- },
- {
- "items": {},
- "maxItems": 31,
- "type": "array"
- }
-]New value: +[
+ {
+ "maxLength": 80,
+ "type": "string"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "description": "A whole new list: dates, rate changes or recurring fees.",
+ "items": {
+ "anyOf": [
+ {
+ "description": "A date as YYYY-MM-DD.",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "date": {
+ "description": "A date as YYYY-MM-DD.",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ },
+ "rate": {
+ "description": "A percentage exactly as printed, for example \"6.04%\".",
+ "maxLength": 20,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "date",
+ "rate"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "description": "Dollars exactly as printed, for example \"$412,345.67\".",
+ "maxLength": 24,
+ "minLength": 1,
+ "type": "string"
+ },
+ "cadence": {
+ "enum": [
+ "monthly",
+ "annual"
+ ],
+ "type": "string"
+ },
+ "lastCharged": {
+ "description": "A date as YYYY-MM-DD.",
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "cadence",
+ "amount",
+ "lastCharged"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "maxItems": 31,
+ "type": "array"
+ }
+]