From 36634b6cb22fe1f2ad9163c114101d5b92a849d1 Mon Sep 17 00:00:00 2001 From: Alexis Koralewski Date: Thu, 8 Sep 2022 15:21:53 +0200 Subject: [PATCH] update obs_schema: add dependencies --- config/schemas/schema_observatory-2.0.yml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+), 0 deletions(-) diff --git a/config/schemas/schema_observatory-2.0.yml b/config/schemas/schema_observatory-2.0.yml index 5f2f6e3..f78a08c 100644 --- a/config/schemas/schema_observatory-2.0.yml +++ b/config/schemas/schema_observatory-2.0.yml @@ -205,6 +205,45 @@ schema;schema_COMPUTERS: COMPUTER: include: schema_COMPUTER +schema;schema_link: + type: map + required: True + mapping: + type: + type: str + required: True + name: + type: str + required: True + url: + type: str + required: True + +schema;schema_DEPENDENCY: + type: map + required: True + mapping: + computers: + type: seq + sequence: + - type: str + links: + type: seq + sequence: + - type: map + mapping : + link: + include: schema_link + +schema;schema_DEPENDENCIES: + type: seq + required: True + sequence: + - type: map + mapping: + DEPENDENCY: + include: schema_DEPENDENCY + schema;schema_UNIT: type: map required: True @@ -235,6 +274,8 @@ schema;schema_UNIT: include: schema_AGENTS TOPOLOGY: include: schema_TOPOLOGY + DEPENDENCIES: + include: schema_DEPENDENCIES schema;schema_UNITS: -- libgit2 0.21.2