diff --git a/packages/php/remote-specs-validation/bundles/obw-free-extensions.json b/packages/php/remote-specs-validation/bundles/obw-free-extensions.json index 4f6eab2bf3f..76da6d4426c 100644 --- a/packages/php/remote-specs-validation/bundles/obw-free-extensions.json +++ b/packages/php/remote-specs-validation/bundles/obw-free-extensions.json @@ -195,7 +195,10 @@ "$ref": "#/definitions/operations" }, "value": { - "type": "string" + "type": [ + "string", + "array" + ] } } }, @@ -217,7 +220,10 @@ "$ref": "#/definitions/operations" }, "value": { - "type": "string" + "type": [ + "string", + "array" + ] } } }, diff --git a/packages/php/remote-specs-validation/bundles/payment-gateway-suggestions.json b/packages/php/remote-specs-validation/bundles/payment-gateway-suggestions.json index 78a72622f7b..37928228c99 100644 --- a/packages/php/remote-specs-validation/bundles/payment-gateway-suggestions.json +++ b/packages/php/remote-specs-validation/bundles/payment-gateway-suggestions.json @@ -179,7 +179,10 @@ "$ref": "#/definitions/operations" }, "value": { - "type": "string" + "type": [ + "string", + "array" + ] } } }, @@ -201,7 +204,10 @@ "$ref": "#/definitions/operations" }, "value": { - "type": "string" + "type": [ + "string", + "array" + ] } } }, @@ -864,7 +870,10 @@ "$ref": "#/definitions/operations" }, "value": { - "type": "string" + "type": [ + "string", + "array" + ] } } }, @@ -886,7 +895,10 @@ "$ref": "#/definitions/operations" }, "value": { - "type": "string" + "type": [ + "string", + "array" + ] } } }, diff --git a/packages/php/remote-specs-validation/bundles/remote-inbox-notification.json b/packages/php/remote-specs-validation/bundles/remote-inbox-notification.json index c64ac57f605..f9b0de6f6b2 100644 --- a/packages/php/remote-specs-validation/bundles/remote-inbox-notification.json +++ b/packages/php/remote-specs-validation/bundles/remote-inbox-notification.json @@ -283,7 +283,10 @@ "$ref": "#/definitions/operations" }, "value": { - "type": "string" + "type": [ + "string", + "array" + ] } } }, @@ -305,7 +308,10 @@ "$ref": "#/definitions/operations" }, "value": { - "type": "string" + "type": [ + "string", + "array" + ] } } }, diff --git a/packages/php/remote-specs-validation/bundles/shipping-partner-suggestions.json b/packages/php/remote-specs-validation/bundles/shipping-partner-suggestions.json index 0e886b8aca7..d86a98dd5df 100644 --- a/packages/php/remote-specs-validation/bundles/shipping-partner-suggestions.json +++ b/packages/php/remote-specs-validation/bundles/shipping-partner-suggestions.json @@ -173,7 +173,10 @@ "$ref": "#/definitions/operations" }, "value": { - "type": "string" + "type": [ + "string", + "array" + ] } } }, @@ -195,7 +198,10 @@ "$ref": "#/definitions/operations" }, "value": { - "type": "string" + "type": [ + "string", + "array" + ] } } }, @@ -847,7 +853,10 @@ "$ref": "#/definitions/operations" }, "value": { - "type": "string" + "type": [ + "string", + "array" + ] } } }, @@ -869,7 +878,10 @@ "$ref": "#/definitions/operations" }, "value": { - "type": "string" + "type": [ + "string", + "array" + ] } } }, diff --git a/packages/php/remote-specs-validation/bundles/wc-pay-promotions.json b/packages/php/remote-specs-validation/bundles/wc-pay-promotions.json index 75f8d2fd7d1..c90eac95ab4 100644 --- a/packages/php/remote-specs-validation/bundles/wc-pay-promotions.json +++ b/packages/php/remote-specs-validation/bundles/wc-pay-promotions.json @@ -176,7 +176,10 @@ "$ref": "#/definitions/operations" }, "value": { - "type": "string" + "type": [ + "string", + "array" + ] } } }, @@ -198,7 +201,10 @@ "$ref": "#/definitions/operations" }, "value": { - "type": "string" + "type": [ + "string", + "array" + ] } } }, @@ -844,7 +850,10 @@ "$ref": "#/definitions/operations" }, "value": { - "type": "string" + "type": [ + "string", + "array" + ] } } }, @@ -866,7 +875,10 @@ "$ref": "#/definitions/operations" }, "value": { - "type": "string" + "type": [ + "string", + "array" + ] } } }, diff --git a/packages/php/remote-specs-validation/changelog/fix-remote-spec-schema b/packages/php/remote-specs-validation/changelog/fix-remote-spec-schema new file mode 100644 index 00000000000..0feab54689d --- /dev/null +++ b/packages/php/remote-specs-validation/changelog/fix-remote-spec-schema @@ -0,0 +1,4 @@ +Significance: patch +Type: fix + +Fix base_location_state and base_location_country value type diff --git a/packages/php/remote-specs-validation/schemas/shared/rules/base_location_country.json b/packages/php/remote-specs-validation/schemas/shared/rules/base_location_country.json index bcb565ef6b3..6d15e8f5ae2 100644 --- a/packages/php/remote-specs-validation/schemas/shared/rules/base_location_country.json +++ b/packages/php/remote-specs-validation/schemas/shared/rules/base_location_country.json @@ -10,7 +10,10 @@ "$ref": "#/definitions/operations" }, "value": { - "type": "string" + "type": [ + "string", + "array" + ] } } -} \ No newline at end of file +} diff --git a/packages/php/remote-specs-validation/schemas/shared/rules/base_location_state.json b/packages/php/remote-specs-validation/schemas/shared/rules/base_location_state.json index e2f1abb7fc9..b0f9266cbce 100644 --- a/packages/php/remote-specs-validation/schemas/shared/rules/base_location_state.json +++ b/packages/php/remote-specs-validation/schemas/shared/rules/base_location_state.json @@ -10,7 +10,10 @@ "$ref": "#/definitions/operations" }, "value": { - "type": "string" + "type": [ + "string", + "array" + ] } } -} \ No newline at end of file +}