From 32078fec92520a42fe19bcf1d122d2cb73dd3a1a Mon Sep 17 00:00:00 2001 From: Mike Hoogesteger Date: Tue, 6 Aug 2024 12:57:10 +0000 Subject: [PATCH] Change vertices properties from integer to number so they can be imported as a decimal value --- td.vue/src/service/schema/threat-model-schema.V2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/td.vue/src/service/schema/threat-model-schema.V2.js b/td.vue/src/service/schema/threat-model-schema.V2.js index 02cac6bf4..f29d761a1 100644 --- a/td.vue/src/service/schema/threat-model-schema.V2.js +++ b/td.vue/src/service/schema/threat-model-schema.V2.js @@ -393,11 +393,11 @@ export const schema = { 'properties': { 'x': { 'description': 'The horizontal value of the curve point', - 'type': 'integer' + 'type': 'number' }, 'y': { 'description': 'The vertical value of the curve point', - 'type': 'integer' + 'type': 'number' } }, 'required': [ 'x', 'y' ]