changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": true,
+ "oneOf": [
+ {
+ "properties": {
+ "success": {
+ "const": true
+ }
+ },
+ "required": [
+ "configuration"
+ ]
+ },
+ {
+ "properties": {
+ "success": {
+ "const": false
+ }
+ },
+ "required": [
+ "message"
+ ]
+ }
+ ],
+ "properties": {
+ "configuration": {
+ "additionalProperties": true,
+ "properties": {
+ "category": {
+ "type": "string"
+ },
+ "colour": {
+ "type": "string"
+ },
+ "colour_hex": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "contact_name": {
+ "type": "string"
+ },
+ "contact_phone": {
+ "type": "string"
+ },
+ "contact_required": {
+ "type": "boolean"
+ },
+ "currency": {
+ "const": "ZAR",
+ "type": "string"
+ },
+ "effective_height_mm": {
+ "type": "number"
+ },
+ "effective_width_mm": {
+ "type": "number"
+ },
+ "finish": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "height_mm": {
+ "type": "number"
+ },
+ "lead_time": {
+ "type": "string"
+ },
+ "material": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "measurement_review_required": {
+ "type": "boolean"
+ },
+ "message": {
+ "type": "string"
+ },
+ "mount_type": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "product_id": {
+ "type": "string"
+ },
+ "product_name": {
+ "type": "string"
+ },
+ "product_url": {
+ "type": "string"
+ },
+ "quantity": {
+ "type": "number"
+ },
+ "success": {
+ "type": "boolean"
+ },
+ "total_price_zar": {
+ "type": "number"
+ },
+ "unit_price_zar": {
+ "type": "number"
+ },
+ "vat_included": {
+ "type": "boolean"
+ },
+ "whatsapp": {
+ "type": "string"
+ },
+ "width_mm": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "product_id",
+ "width_mm",
+ "height_mm",
+ "colour",
+ "mount_type",
+ "quantity",
+ "unit_price_zar",
+ "total_price_zar",
+ "currency",
+ "vat_included"
+ ],
+ "type": "object"
+ },
+ "contact_name": {
+ "type": "string"
+ },
+ "contact_phone": {
+ "type": "string"
+ },
+ "contact_required": {
+ "type": "boolean"
+ },
+ "message": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "success": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "success"
+ ],
+ "type": "object"
+}