From 554376fec6c29ae3de065db6bc33c6999751914d Mon Sep 17 00:00:00 2001 From: Jochem Gravendeel <119667571+GravendeelJochem@users.noreply.github.com> Date: Thu, 12 Dec 2024 17:00:38 +0100 Subject: [PATCH] Delete config/schema/myparcel/order/postnl/base.json --- config/schema/myparcel/order/postnl/base.json | 177 ------------------ 1 file changed, 177 deletions(-) delete mode 100644 config/schema/myparcel/order/postnl/base.json diff --git a/config/schema/myparcel/order/postnl/base.json b/config/schema/myparcel/order/postnl/base.json deleted file mode 100644 index c664b8930..000000000 --- a/config/schema/myparcel/order/postnl/base.json +++ /dev/null @@ -1,177 +0,0 @@ -{ - "description": "myparcel/order/postnl/base", - "type": "object", - "allOf": [ - { - "anyOf": [ - { - "type": "object", - "properties": { - "deliveryOptions": { - "type": "object", - "properties": { - "shipmentOptions": { - "required": ["ageCheck"], - "properties": { - "ageCheck": { - "enum": [1] - }, - "onlyRecipient": { - "enum": [1] - }, - "signature": { - "enum": [1] - } - } - } - } - } - } - }, - { - "type": "object", - "properties": { - "deliveryOptions": { - "type": "object", - "properties": { - "shipmentOptions": { - "properties": { - "ageCheck": { - "enum": [0] - } - } - } - } - } - } - } - ] - }, - { - "anyOf": [ - { - "properties": { - "deliveryOptions": { - "properties": { - "shipmentOptions": { - "required": ["largeFormat"], - "properties": { - "largeFormat": { - "enum": [1] - } - } - } - } - } - } - }, - { - "properties": {} - } - ] - }, - { - "anyOf": [ - { - "properties": { - "deliveryOptions": { - "required": ["deliveryType"], - "properties": { - "deliveryType": { - "enum": ["standard", "pickup", null] - } - } - } - } - }, - { - "properties": { - "deliveryOptions": { - "required": ["date"], - "properties": { - "date": { - "type": "string", - "pattern": "^(20\\d\\d)-(0[1-9]|1[012])-(0[1-9]|[12]\\d|3[01]) ([01]\\d|2[0123]):([012345]\\d):([012345]\\d)$" - } - } - } - } - } - ] - }, - { - "anyOf": [ - { - "properties": { - "deliveryOptions": { - "required": ["deliveryType", "pickupLocation"], - "properties": { - "deliveryType": { - "enum": ["pickup"] - }, - "pickupLocation": { - "type": "object", - "properties": { - "locationCode": { - "type": "string" - } - } - }, - "shipmentOptions": { - "properties": { - "onlyRecipient": { - "enum": [0] - }, - "return": { - "enum": [0] - } - } - } - } - } - } - }, - { - "properties": { - "deliveryOptions": { - "properties": { - "deliveryType": { - "enum": ["morning", "standard", "evening", null] - } - } - } - } - } - ] - } - ], - "properties": { - "physicalProperties": { - "properties": { - "weight": { - "note": "Do not put (low) maximum here, for it will be enforced regardless of largeFormat in anyOf" - } - } - }, - "deliveryOptions": { - "properties": { - "deliveryType": { - "enum": ["morning", "standard", "evening", "pickup", null] - }, - "packageType": { - "enum": ["digital_stamp", "letter", "mailbox", "package", "package_small", null] - }, - "shipmentOptions": { - "properties": { - "labelDescription": { - "maxLength": 50 - }, - "sameDayDelivery": { - "enum": [0] - } - } - } - } - } - } -}