changedInput schema / oneOf
Previous value: -[
- {
- "properties": {
- "compare": {
- "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
- "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
- "type": [
- "string",
- "null"
- ]
- },
- "currency": {
- "default": null,
- "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
- "type": [
- "string",
- "null"
- ]
- },
- "explain_change": {
- "pattern": "^[0-9.-]+$",
- "type": [
- "string",
- "null"
- ]
- },
- "from": {
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- },
- "kind": {
- "const": "trend",
- "type": "string"
- },
- "metric": {
- "description": "Quantity tracked by a historical trend report.",
- "enum": [
- "spending",
- "net-worth"
- ],
- "type": "string"
- },
- "period": {
- "enum": [
- "month",
- "quarter",
- "year",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "to": {
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "kind",
- "metric"
- ],
- "type": "object"
- },
- {
- "not": {
- "required": [
- "to",
- "as_of"
- ]
- },
- "properties": {
- "account_type": {
- "enum": [
- "asset",
- "liability",
- "equity",
- "revenue",
- "expense",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "as_of": {
- "description": "Inclusive end date. Supply either `to` or `as_of`.",
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- },
- "compare": {
- "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
- "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
- "type": [
- "string",
- "null"
- ]
- },
- "currency": {
- "default": null,
- "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
- "type": [
- "string",
- "null"
- ]
- },
- "explain_change": {
- "pattern": "^[0-9.-]+$",
- "type": [
- "string",
- "null"
- ]
- },
- "from": {
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- },
- "kind": {
- "const": "trial-balance",
- "type": "string"
- },
- "period": {
- "enum": [
- "month",
- "quarter",
- "year",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "to": {
- "description": "Inclusive end date. Supply either `to` or `as_of`.",
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- {
- "not": {
- "required": [
- "to",
- "as_of"
- ]
- },
- "properties": {
- "account": {
- "pattern": "^[0-9.-]+$",
- "type": "string"
- },
- "as_of": {
- "description": "Inclusive end date. Supply either `to` or `as_of`.",
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- },
- "compare": {
- "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
- "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
- "type": [
- "string",
- "null"
- ]
- },
- "currency": {
- "default": null,
- "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
- "type": [
- "string",
- "null"
- ]
- },
- "explain_change": {
- "pattern": "^[0-9.-]+$",
- "type": [
- "string",
- "null"
- ]
- },
- "from": {
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- },
- "kind": {
- "const": "balance",
- "type": "string"
- },
- "to": {
- "description": "Inclusive end date. Supply either `to` or `as_of`.",
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "kind",
- "account"
- ],
- "type": "object"
- },
- {
- "properties": {
- "allow_incomplete": {
- "default": false,
- "type": "boolean"
- },
- "basis": {
- "anyOf": [
- {
- "description": "Basis selected for a profit and loss statement.",
- "oneOf": [
- {
- "const": "accrual",
- "description": "Recognize the recorded journal on its posting date.",
- "type": "string"
- },
- {
- "const": "cash",
- "description": "Recognize supported receipts and disbursements.",
- "type": "string"
- }
- ]
- },
- {
- "type": "null"
- }
- ]
- },
- "card_accounts": {
- "default": [],
- "items": {
- "pattern": "^[0-9.-]+$",
- "type": "string"
- },
- "type": "array"
- },
- "compare": {
- "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
- "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
- "type": [
- "string",
- "null"
- ]
- },
- "currency": {
- "default": null,
- "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
- "type": [
- "string",
- "null"
- ]
- },
- "explain_change": {
- "pattern": "^[0-9.-]+$",
- "type": [
- "string",
- "null"
- ]
- },
- "from": {
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- },
- "kind": {
- "const": "income-statement",
- "type": "string"
- },
- "period": {
- "enum": [
- "month",
- "quarter",
- "year",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "to": {
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- {
- "not": {
- "required": [
- "to",
- "as_of"
- ]
- },
- "properties": {
- "as_of": {
- "description": "Inclusive end date. Supply either `to` or `as_of`.",
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- },
- "compare": {
- "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
- "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
- "type": [
- "string",
- "null"
- ]
- },
- "currency": {
- "default": null,
- "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
- "type": [
- "string",
- "null"
- ]
- },
- "explain_change": {
- "pattern": "^[0-9.-]+$",
- "type": [
- "string",
- "null"
- ]
- },
- "kind": {
- "const": "balance-sheet",
- "type": "string"
- },
- "to": {
- "description": "Inclusive end date. Supply either `to` or `as_of`.",
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- {
- "properties": {
- "currency": {
- "default": null,
- "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
- "type": [
- "string",
- "null"
- ]
- },
- "from": {
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- },
- "kind": {
- "const": "schedule-c",
- "type": "string"
- },
- "to": {
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- {
- "properties": {
- "currency": {
- "default": null,
- "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
- "type": [
- "string",
- "null"
- ]
- },
- "from": {
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- },
- "kind": {
- "const": "1099",
- "type": "string"
- },
- "threshold": {
- "description": "Nonnegative decimal in major currency units; defaults to \"600\".",
- "pattern": "^[+-]?[0-9]+(\\.[0-9]*)?$",
- "type": [
- "string",
- "null"
- ]
- },
- "to": {
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- {
- "properties": {
- "currency": {
- "default": null,
- "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
- "type": [
- "string",
- "null"
- ]
- },
- "from": {
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- },
- "kind": {
- "const": "tax-summary",
- "type": "string"
- },
- "to": {
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- {
- "properties": {
- "account": {
- "default": [],
- "items": {
- "pattern": "^[0-9.-]+$",
- "type": "string"
- },
- "type": "array"
- },
- "currency": {
- "default": null,
- "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
- "type": [
- "string",
- "null"
- ]
- },
- "filter_metadata": {
- "default": [],
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "from": {
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- },
- "kind": {
- "const": "ledger",
- "type": "string"
- },
- "to": {
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- {
- "properties": {
- "account_type": {
- "enum": [
- "asset",
- "liability",
- "equity",
- "revenue",
- "expense",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "currency": {
- "default": null,
- "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
- "type": [
- "string",
- "null"
- ]
- },
- "from": {
- "maximum": 12,
- "minimum": 1,
- "type": [
- "integer",
- "null"
- ]
- },
- "include_unbudgeted": {
- "default": false,
- "type": "boolean"
- },
- "kind": {
- "const": "budget-variance",
- "type": "string"
- },
- "month": {
- "maximum": 12,
- "minimum": 1,
- "type": [
- "integer",
- "null"
- ]
- },
- "to": {
- "maximum": 12,
- "minimum": 1,
- "type": [
- "integer",
- "null"
- ]
- },
- "year": {
- "format": "int32",
- "type": "integer"
- }
- },
- "required": [
- "kind",
- "year"
- ],
- "type": "object"
- },
- {
- "properties": {
- "account": {
- "items": {
- "pattern": "^[0-9.-]+$",
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- },
- "as_of": {
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- },
- "buckets": {
- "type": [
- "string",
- "null"
- ]
- },
- "currency": {
- "default": null,
- "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
- "type": [
- "string",
- "null"
- ]
- },
- "detail": {
- "default": false,
- "type": "boolean"
- },
- "filter_metadata": {
- "default": [],
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "group_across_accounts": {
- "default": false,
- "type": "boolean"
- },
- "group_by_counterparty": {
- "default": false,
- "type": "boolean"
- },
- "group_by_metadata": {
- "type": [
- "string",
- "null"
- ]
- },
- "include_children": {
- "default": false,
- "type": "boolean"
- },
- "kind": {
- "const": "aging",
- "type": "string"
- },
- "link_key": {
- "type": [
- "string",
- "null"
- ]
- },
- "method": {
- "enum": [
- "fifo",
- "specific",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "kind",
- "account"
- ],
- "type": "object"
- },
- {
- "not": {
- "required": [
- "to",
- "as_of"
- ]
- },
- "properties": {
- "account": {
- "pattern": "^[0-9.-]+$",
- "type": "string"
- },
- "as_of": {
- "description": "Inclusive end date. Supply either `to` or `as_of`.",
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- },
- "currency": {
- "default": null,
- "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
- "type": [
- "string",
- "null"
- ]
- },
- "filter_metadata": {
- "default": [],
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "group_by_metadata": {
- "type": [
- "string",
- "null"
- ]
- },
- "kind": {
- "const": "reconciliation",
- "type": "string"
- },
- "link_key": {
- "description": "Settlement link metadata key; defaults to `applies_to`.",
- "type": [
- "string",
- "null"
- ]
- },
- "mode": {
- "description": "Bank balances (default) or statement-scoped AR/AP settlements.",
- "enum": [
- "bank",
- "settlement",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "statement": {
- "type": [
- "string",
- "null"
- ]
- },
- "statement_balance": {
- "pattern": "^[+-]?[0-9]+(\\.[0-9]*)?$",
- "type": [
- "string",
- "null"
- ]
- },
- "to": {
- "description": "Inclusive end date. Supply either `to` or `as_of`.",
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "kind",
- "account"
- ],
- "type": "object"
- },
- {
- "properties": {
- "cash_account": {
- "default": [],
- "items": {
- "pattern": "^[0-9.-]+$",
- "type": "string"
- },
- "type": "array"
- },
- "compare": {
- "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
- "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
- "type": [
- "string",
- "null"
- ]
- },
- "currency": {
- "default": null,
- "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
- "type": [
- "string",
- "null"
- ]
- },
- "explain_change": {
- "pattern": "^[0-9.-]+$",
- "type": [
- "string",
- "null"
- ]
- },
- "from": {
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- },
- "kind": {
- "const": "cash-flow",
- "type": "string"
- },
- "to": {
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- {
- "properties": {
- "adjust": {
- "default": [],
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "as_of": {
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": "string"
- },
- "cadence": {
- "enum": [
- "weekly",
- "monthly",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "cash_account": {
- "default": [],
- "items": {
- "pattern": "^[0-9.-]+$",
- "type": "string"
- },
- "type": "array"
- },
- "currency": {
- "default": null,
- "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
- "type": [
- "string",
- "null"
- ]
- },
- "kind": {
- "const": "cash-forecast",
- "type": "string"
- },
- "link_sources": {
- "default": [],
- "description": "Confirmed scheduled:TEMPLATE:DATE=open-item:DOCUMENT source links.",
- "items": {
- "description": "One projected schedule occurrence explicitly designated to pay one open item.",
- "type": "string"
- },
- "type": "array"
- },
- "through": {
- "format": "date",
- "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "as_of",
- "through"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "compare": {
+ "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
+ "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "currency": {
+ "default": null,
+ "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "explain_change": {
+ "pattern": "^[0-9.-]+$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "from": {
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kind": {
+ "const": "trend",
+ "type": "string"
+ },
+ "metric": {
+ "description": "Quantity tracked by a historical trend report.",
+ "enum": [
+ "spending",
+ "net-worth"
+ ],
+ "type": "string"
+ },
+ "period": {
+ "enum": [
+ "month",
+ "quarter",
+ "year",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "to": {
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "metric"
+ ],
+ "type": "object"
+ },
+ {
+ "not": {
+ "required": [
+ "to",
+ "as_of"
+ ]
+ },
+ "properties": {
+ "account_type": {
+ "enum": [
+ "asset",
+ "liability",
+ "equity",
+ "revenue",
+ "expense",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "as_of": {
+ "description": "Inclusive end date. Supply either `to` or `as_of`.",
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "compare": {
+ "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
+ "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "currency": {
+ "default": null,
+ "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "explain_change": {
+ "pattern": "^[0-9.-]+$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "from": {
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kind": {
+ "const": "trial-balance",
+ "type": "string"
+ },
+ "period": {
+ "enum": [
+ "month",
+ "quarter",
+ "year",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "to": {
+ "description": "Inclusive end date. Supply either `to` or `as_of`.",
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "not": {
+ "required": [
+ "to",
+ "as_of"
+ ]
+ },
+ "properties": {
+ "account": {
+ "pattern": "^[0-9.-]+$",
+ "type": "string"
+ },
+ "as_of": {
+ "description": "Inclusive end date. Supply either `to` or `as_of`.",
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "compare": {
+ "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
+ "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "currency": {
+ "default": null,
+ "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "explain_change": {
+ "pattern": "^[0-9.-]+$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "from": {
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kind": {
+ "const": "balance",
+ "type": "string"
+ },
+ "to": {
+ "description": "Inclusive end date. Supply either `to` or `as_of`.",
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "account"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "allow_incomplete": {
+ "default": false,
+ "type": "boolean"
+ },
+ "basis": {
+ "anyOf": [
+ {
+ "description": "Basis selected for a profit and loss statement.",
+ "oneOf": [
+ {
+ "const": "accrual",
+ "description": "Recognize the recorded journal on its posting date.",
+ "type": "string"
+ },
+ {
+ "const": "cash",
+ "description": "Recognize supported receipts and disbursements.",
+ "type": "string"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "card_accounts": {
+ "default": [],
+ "items": {
+ "pattern": "^[0-9.-]+$",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "compare": {
+ "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
+ "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "currency": {
+ "default": null,
+ "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "explain_change": {
+ "pattern": "^[0-9.-]+$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "from": {
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kind": {
+ "const": "income-statement",
+ "type": "string"
+ },
+ "period": {
+ "enum": [
+ "month",
+ "quarter",
+ "year",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "to": {
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "not": {
+ "required": [
+ "to",
+ "as_of"
+ ]
+ },
+ "properties": {
+ "as_of": {
+ "description": "Inclusive end date. Supply either `to` or `as_of`.",
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "compare": {
+ "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
+ "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "currency": {
+ "default": null,
+ "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "explain_change": {
+ "pattern": "^[0-9.-]+$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kind": {
+ "const": "balance-sheet",
+ "type": "string"
+ },
+ "to": {
+ "description": "Inclusive end date. Supply either `to` or `as_of`.",
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "currency": {
+ "default": null,
+ "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "from": {
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kind": {
+ "const": "schedule-c",
+ "type": "string"
+ },
+ "to": {
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "currency": {
+ "default": null,
+ "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "from": {
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kind": {
+ "const": "1099",
+ "type": "string"
+ },
+ "threshold": {
+ "description": "Nonnegative decimal in major currency units; defaults to \"600\".",
+ "pattern": "^[+-]?[0-9]+(\\.[0-9]*)?$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "to": {
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "currency": {
+ "default": null,
+ "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "from": {
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kind": {
+ "const": "tax-summary",
+ "type": "string"
+ },
+ "to": {
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "account": {
+ "default": [],
+ "items": {
+ "pattern": "^[0-9.-]+$",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "currency": {
+ "default": null,
+ "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "filter_metadata": {
+ "default": [],
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "from": {
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kind": {
+ "const": "ledger",
+ "type": "string"
+ },
+ "to": {
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "account_type": {
+ "enum": [
+ "asset",
+ "liability",
+ "equity",
+ "revenue",
+ "expense",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "currency": {
+ "default": null,
+ "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "from": {
+ "maximum": 12,
+ "minimum": 1,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "include_unbudgeted": {
+ "default": false,
+ "type": "boolean"
+ },
+ "kind": {
+ "const": "budget-variance",
+ "type": "string"
+ },
+ "month": {
+ "maximum": 12,
+ "minimum": 1,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "to": {
+ "maximum": 12,
+ "minimum": 1,
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "year": {
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "kind",
+ "year"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "account": {
+ "items": {
+ "pattern": "^[0-9.-]+$",
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "as_of": {
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "buckets": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "currency": {
+ "default": null,
+ "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "detail": {
+ "default": false,
+ "type": "boolean"
+ },
+ "filter_metadata": {
+ "default": [],
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "group_across_accounts": {
+ "default": false,
+ "type": "boolean"
+ },
+ "group_by_counterparty": {
+ "default": false,
+ "type": "boolean"
+ },
+ "group_by_metadata": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "include_children": {
+ "default": false,
+ "type": "boolean"
+ },
+ "kind": {
+ "const": "aging",
+ "type": "string"
+ },
+ "link_key": {
+ "description": "Payment metadata key pointing at the charge it paid; defaults to\n`applies_to`. Values: the charge's reference (`\"#122\"` is a reference),\n`\"txn:<id>\"` or a JSON integer for a transaction ID, or an array of\nthese. A digits-only string is an ID only if no reference matches.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "method": {
+ "description": "How payments meet charges. `specific` (default) applies document\nallocations exactly, then a linked payment (a `payment` transaction\nlink, else `link_key` metadata) to its charge, and the rest\noldest-first; `fifo` ignores allocations and links.",
+ "enum": [
+ "fifo",
+ "specific",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "account"
+ ],
+ "type": "object"
+ },
+ {
+ "not": {
+ "required": [
+ "to",
+ "as_of"
+ ]
+ },
+ "properties": {
+ "account": {
+ "pattern": "^[0-9.-]+$",
+ "type": "string"
+ },
+ "as_of": {
+ "description": "Inclusive end date. Supply either `to` or `as_of`.",
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "currency": {
+ "default": null,
+ "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "filter_metadata": {
+ "default": [],
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "group_by_metadata": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kind": {
+ "const": "reconciliation",
+ "type": "string"
+ },
+ "link_key": {
+ "description": "Settlement mode: payment metadata key pointing at the charge it paid;\ndefaults to `applies_to`. Values: the charge's reference or\n`\"txn:<id>\"`, or an array of these.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "mode": {
+ "description": "Bank balances (default) or statement-scoped AR/AP settlements.",
+ "enum": [
+ "bank",
+ "settlement",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "statement": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "statement_balance": {
+ "pattern": "^[+-]?[0-9]+(\\.[0-9]*)?$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "to": {
+ "description": "Inclusive end date. Supply either `to` or `as_of`.",
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "account"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "cash_account": {
+ "default": [],
+ "items": {
+ "pattern": "^[0-9.-]+$",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "compare": {
+ "description": "A relative period or inclusive YYYY-MM-DD..YYYY-MM-DD range.",
+ "pattern": "^(previous|year-ago|prior-period|prior-year|[0-9]{4}-[0-9]{2}-[0-9]{2}\\.\\.[0-9]{4}-[0-9]{2}-[0-9]{2})$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "currency": {
+ "default": null,
+ "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "explain_change": {
+ "pattern": "^[0-9.-]+$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "from": {
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kind": {
+ "const": "cash-flow",
+ "type": "string"
+ },
+ "to": {
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "adjust": {
+ "default": [],
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "as_of": {
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": "string"
+ },
+ "cadence": {
+ "enum": [
+ "weekly",
+ "monthly",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "cash_account": {
+ "default": [],
+ "items": {
+ "pattern": "^[0-9.-]+$",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "currency": {
+ "default": null,
+ "description": "A three-letter ISO 4217 currency code with a defined decimal minor unit, such as USD, KRW, or TND. Fund and special-purpose codes are excluded.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kind": {
+ "const": "cash-forecast",
+ "type": "string"
+ },
+ "link_sources": {
+ "default": [],
+ "description": "Confirmed scheduled:TEMPLATE:DATE=open-item:DOCUMENT source links.",
+ "items": {
+ "description": "One projected schedule occurrence explicitly designated to pay one open item.",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "through": {
+ "format": "date",
+ "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "as_of",
+ "through"
+ ],
+ "type": "object"
+ }
+]