From 4282142c982781cee5221149fdd3c03ac3bd4304 Mon Sep 17 00:00:00 2001 From: guilhem_barthes Date: Tue, 14 May 2019 13:00:27 +0200 Subject: [PATCH 1/2] Added required fields into 'Link' Definition --- cds-hooks.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cds-hooks.yaml b/cds-hooks.yaml index b20868a..a923d7a 100644 --- a/cds-hooks.yaml +++ b/cds-hooks.yaml @@ -185,6 +185,10 @@ definitions: Link: type: object + required: + - label + - url + - type properties: label: type: string From fc6b640ad106db3c69b7eb1fe1b570754c8f7a28 Mon Sep 17 00:00:00 2001 From: guilhem_barthes Date: Tue, 14 May 2019 13:03:01 +0200 Subject: [PATCH 2/2] Added available values for 'type' property in 'Link' definition --- cds-hooks.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cds-hooks.yaml b/cds-hooks.yaml index a923d7a..949e05c 100644 --- a/cds-hooks.yaml +++ b/cds-hooks.yaml @@ -197,6 +197,9 @@ definitions: format: url type: type: string + enum: + - absolute + - smart appContext: type: string