Initial treasuremap/template for site_type ovsdpdk
[yaml_builds.git] / site_type / ovsdpdk / airship-treasuremap / global / v4.0 / schemas / drydock / Region / v1.yaml
1 ---
2 schema: 'deckhand/DataSchema/v1'
3 metadata:
4   schema: metadata/Control/v1
5   name: drydock/Region/v1
6   labels:
7     application: drydock
8 data:
9   $schema: 'http://json-schema.org/schema#'
10   type: 'object'
11   properties:
12     tag_definitions:
13       type: 'array'
14       items:
15         type: 'object'
16         properties:
17           tag:
18             type: 'string'
19           definition_type:
20             type: 'string'
21             enum:
22               - 'lshw_xpath'
23           definition:
24             type: 'string'
25         additionalProperties: false
26     authorized_keys:
27       type: 'array'
28       items:
29         type: 'string'
30     repositories:
31       # top level is class (e.g. apt, rpm)
32       type: 'object'
33       properties:
34         remove_unlisted:
35           type: 'boolean'
36       additionalPropties:
37         type: 'object'
38         properties:
39           repo_type:
40             type: 'string'
41             pattern: 'apt|rpm'
42           url:
43             type: 'string'
44           distributions:
45             type: 'array'
46             items:
47               type: 'string'
48           subrepos:
49             type: 'array'
50             items:
51               type: 'string'
52           components:
53             type: 'array'
54             items:
55               type: 'string'
56           gpgkey:
57             type: 'string'
58           arches:
59             type: 'array'
60             items:
61               type: 'string'
62           options:
63             type: 'object'
64             additionalProperties:
65               type: 'string'
66         additionalProperties: false
67         required:
68           - 'repo_type'
69           - 'url'
70           - 'arches'
71   additionalProperties: false