From 201b204931b95ef84c7be7f44d58794af7657507 Mon Sep 17 00:00:00 2001 From: Gianluca Pepe <37369540+gianluca-pepe@users.noreply.github.com> Date: Thu, 4 Apr 2024 19:26:50 +0200 Subject: [PATCH] Update custom-node-rendering model: required scale --- apis/custom-node-rendering/custom-node-rendering.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/apis/custom-node-rendering/custom-node-rendering.yaml b/apis/custom-node-rendering/custom-node-rendering.yaml index 7371040..6efc5ef 100644 --- a/apis/custom-node-rendering/custom-node-rendering.yaml +++ b/apis/custom-node-rendering/custom-node-rendering.yaml @@ -15,7 +15,7 @@ components: description: Map type: object additionalProperties: - $ref: '#/components/schemas/CustomNodeRendering' + $ref: "#/components/schemas/CustomNodeRendering" CustomNodeRendering: type: object properties: @@ -43,6 +43,8 @@ components: allOf: - $ref: "#/components/schemas/BasePropertyInfo" - type: object + required: + - scale properties: aggregation: type: string @@ -60,9 +62,9 @@ components: items: type: number icon: - $ref: '#/components/schemas/BasePropertyInfo' + $ref: "#/components/schemas/BasePropertyInfo" location: - $ref: '#/components/schemas/BasePropertyInfo' + $ref: "#/components/schemas/BasePropertyInfo" coordinates: type: object required: @@ -81,4 +83,4 @@ components: dataPropertyIri: type: string pathToDataProperty: - $ref: "https://raw.githubusercontent.com/obdasystems/swaggers/main/apis/sparqling/sparqling.yaml#/components/schemas/OntologyPath" + $ref: "https://raw.githubusercontent.com/obdasystems/swaggers/main/apis/sparqling/sparqling.yaml#/components/schemas/OntologyPath"