Commit 36634b6cb22fe1f2ad9163c114101d5b92a849d1

Authored by Alexis Koralewski
1 parent bacfe83e
Exists in dev

update obs_schema: add dependencies

Showing 1 changed file with 41 additions and 0 deletions   Show diff stats
config/schemas/schema_observatory-2.0.yml
... ... @@ -205,6 +205,45 @@ schema;schema_COMPUTERS:
205 205 COMPUTER:
206 206 include: schema_COMPUTER
207 207  
  208 +schema;schema_link:
  209 + type: map
  210 + required: True
  211 + mapping:
  212 + type:
  213 + type: str
  214 + required: True
  215 + name:
  216 + type: str
  217 + required: True
  218 + url:
  219 + type: str
  220 + required: True
  221 +
  222 +schema;schema_DEPENDENCY:
  223 + type: map
  224 + required: True
  225 + mapping:
  226 + computers:
  227 + type: seq
  228 + sequence:
  229 + - type: str
  230 + links:
  231 + type: seq
  232 + sequence:
  233 + - type: map
  234 + mapping :
  235 + link:
  236 + include: schema_link
  237 +
  238 +schema;schema_DEPENDENCIES:
  239 + type: seq
  240 + required: True
  241 + sequence:
  242 + - type: map
  243 + mapping:
  244 + DEPENDENCY:
  245 + include: schema_DEPENDENCY
  246 +
208 247 schema;schema_UNIT:
209 248 type: map
210 249 required: True
... ... @@ -235,6 +274,8 @@ schema;schema_UNIT:
235 274 include: schema_AGENTS
236 275 TOPOLOGY:
237 276 include: schema_TOPOLOGY
  277 + DEPENDENCIES:
  278 + include: schema_DEPENDENCIES
238 279  
239 280  
240 281 schema;schema_UNITS:
... ...