changedOutput schema / properties / pricing / anyOf
Previous value: -[
- {
- "properties": {
- "line_items": {
- "anyOf": [
- {
- "items": {
- "properties": {
- "amount": {
- "anyOf": [
- {
- "properties": {
- "amount_grosz": {
- "title": "Amount Grosz",
- "type": "integer"
- },
- "currency": {
- "default": "PLN",
- "enum": [
- "PLN"
- ],
- "title": "Currency",
- "type": "string"
- },
- "label": {
- "title": "Label",
- "type": "string"
- }
- },
- "required": [
- "amount_grosz",
- "label"
- ],
- "title": "Money",
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "code": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Code"
- },
- "group": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Group"
- },
- "label": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Label"
- }
- },
- "title": "LineItem",
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Line Items"
- },
- "pay_at_pickup": {
- "anyOf": [
- {
- "properties": {
- "amount_grosz": {
- "title": "Amount Grosz",
- "type": "integer"
- },
- "currency": {
- "default": "PLN",
- "enum": [
- "PLN"
- ],
- "title": "Currency",
- "type": "string"
- },
- "label": {
- "title": "Label",
- "type": "string"
- }
- },
- "required": [
- "amount_grosz",
- "label"
- ],
- "title": "Money",
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "pay_now": {
- "anyOf": [
- {
- "properties": {
- "amount_grosz": {
- "title": "Amount Grosz",
- "type": "integer"
- },
- "currency": {
- "default": "PLN",
- "enum": [
- "PLN"
- ],
- "title": "Currency",
- "type": "string"
- },
- "label": {
- "title": "Label",
- "type": "string"
- }
- },
- "required": [
- "amount_grosz",
- "label"
- ],
- "title": "Money",
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "rental_days": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Rental Days"
- },
- "rounded_down": {
- "anyOf": [
- {
- "properties": {
- "amount": {
- "properties": {
- "amount_grosz": {
- "title": "Amount Grosz",
- "type": "integer"
- },
- "currency": {
- "default": "PLN",
- "enum": [
- "PLN"
- ],
- "title": "Currency",
- "type": "string"
- },
- "label": {
- "title": "Label",
- "type": "string"
- }
- },
- "required": [
- "amount_grosz",
- "label"
- ],
- "title": "Money",
- "type": "object"
- },
- "note": {
- "title": "Note",
- "type": "string"
- }
- },
- "required": [
- "amount",
- "note"
- ],
- "title": "RoundedDown",
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "total": {
- "anyOf": [
- {
- "properties": {
- "amount_grosz": {
- "title": "Amount Grosz",
- "type": "integer"
- },
- "currency": {
- "default": "PLN",
- "enum": [
- "PLN"
- ],
- "title": "Currency",
- "type": "string"
- },
- "label": {
- "title": "Label",
- "type": "string"
- }
- },
- "required": [
- "amount_grosz",
- "label"
- ],
- "title": "Money",
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "title": "Pricing",
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "properties": {
+ "line_items": {
+ "anyOf": [
+ {
+ "items": {
+ "properties": {
+ "amount": {
+ "anyOf": [
+ {
+ "properties": {
+ "amount_grosz": {
+ "title": "Amount Grosz",
+ "type": "integer"
+ },
+ "currency": {
+ "default": "PLN",
+ "enum": [
+ "PLN"
+ ],
+ "title": "Currency",
+ "type": "string"
+ },
+ "label": {
+ "title": "Label",
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount_grosz",
+ "label"
+ ],
+ "title": "Money",
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "charge_type": {
+ "anyOf": [
+ {
+ "enum": [
+ "bundled",
+ "free",
+ "itemized"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Charge Type"
+ },
+ "code": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Code"
+ },
+ "group": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Group"
+ },
+ "included": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Included"
+ },
+ "label": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Label"
+ }
+ },
+ "title": "LineItem",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Line Items"
+ },
+ "pay_at_pickup": {
+ "anyOf": [
+ {
+ "properties": {
+ "amount_grosz": {
+ "title": "Amount Grosz",
+ "type": "integer"
+ },
+ "currency": {
+ "default": "PLN",
+ "enum": [
+ "PLN"
+ ],
+ "title": "Currency",
+ "type": "string"
+ },
+ "label": {
+ "title": "Label",
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount_grosz",
+ "label"
+ ],
+ "title": "Money",
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "pay_now": {
+ "anyOf": [
+ {
+ "properties": {
+ "amount_grosz": {
+ "title": "Amount Grosz",
+ "type": "integer"
+ },
+ "currency": {
+ "default": "PLN",
+ "enum": [
+ "PLN"
+ ],
+ "title": "Currency",
+ "type": "string"
+ },
+ "label": {
+ "title": "Label",
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount_grosz",
+ "label"
+ ],
+ "title": "Money",
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "rental_days": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Rental Days"
+ },
+ "rounded_down": {
+ "anyOf": [
+ {
+ "properties": {
+ "amount": {
+ "properties": {
+ "amount_grosz": {
+ "title": "Amount Grosz",
+ "type": "integer"
+ },
+ "currency": {
+ "default": "PLN",
+ "enum": [
+ "PLN"
+ ],
+ "title": "Currency",
+ "type": "string"
+ },
+ "label": {
+ "title": "Label",
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount_grosz",
+ "label"
+ ],
+ "title": "Money",
+ "type": "object"
+ },
+ "note": {
+ "title": "Note",
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "note"
+ ],
+ "title": "RoundedDown",
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "total": {
+ "anyOf": [
+ {
+ "properties": {
+ "amount_grosz": {
+ "title": "Amount Grosz",
+ "type": "integer"
+ },
+ "currency": {
+ "default": "PLN",
+ "enum": [
+ "PLN"
+ ],
+ "title": "Currency",
+ "type": "string"
+ },
+ "label": {
+ "title": "Label",
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount_grosz",
+ "label"
+ ],
+ "title": "Money",
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "title": "Pricing",
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]