From a45d303008aa906f90579bf48d7b0acbad9e7176 Mon Sep 17 00:00:00 2001 From: Anxo Rodriguez Date: Thu, 22 Feb 2024 19:43:06 +0000 Subject: [PATCH] feat: make types stricter (#57) --- src/schemas/partnerFee/v0.1.0.json | 1 + src/schemas/widget/v0.1.0.json | 1 + 2 files changed, 2 insertions(+) diff --git a/src/schemas/partnerFee/v0.1.0.json b/src/schemas/partnerFee/v0.1.0.json index 81572e1..7c8a749 100644 --- a/src/schemas/partnerFee/v0.1.0.json +++ b/src/schemas/partnerFee/v0.1.0.json @@ -4,6 +4,7 @@ "required": ["bps", "recipient"], "title": "Partner fee", "type": "object", + "additionalItems": false, "properties": { "bps": { "title": "Basis Point (BPS)", diff --git a/src/schemas/widget/v0.1.0.json b/src/schemas/widget/v0.1.0.json index 47a442e..ddb0846 100644 --- a/src/schemas/widget/v0.1.0.json +++ b/src/schemas/widget/v0.1.0.json @@ -4,6 +4,7 @@ "required": ["appCode"], "title": "Widget", "type": "object", + "additionalItems": false, "properties": { "appCode": { "$id": "#/properties/appCodeWidget",