support multiple sets of airship files
[yaml_builds.git] / site_type / sriov / airship-treasuremap / global / v4.0 / schemas / drydock / Region / v1.yaml
diff --git a/site_type/sriov/airship-treasuremap/global/v4.0/schemas/drydock/Region/v1.yaml b/site_type/sriov/airship-treasuremap/global/v4.0/schemas/drydock/Region/v1.yaml
new file mode 100644 (file)
index 0000000..42636dd
--- /dev/null
@@ -0,0 +1,71 @@
+---
+schema: 'deckhand/DataSchema/v1'
+metadata:
+  schema: metadata/Control/v1
+  name: drydock/Region/v1
+  labels:
+    application: drydock
+data:
+  $schema: 'http://json-schema.org/schema#'
+  type: 'object'
+  properties:
+    tag_definitions:
+      type: 'array'
+      items:
+        type: 'object'
+        properties:
+          tag:
+            type: 'string'
+          definition_type:
+            type: 'string'
+            enum:
+              - 'lshw_xpath'
+          definition:
+            type: 'string'
+        additionalProperties: false
+    authorized_keys:
+      type: 'array'
+      items:
+        type: 'string'
+    repositories:
+      # top level is class (e.g. apt, rpm)
+      type: 'object'
+      properties:
+        remove_unlisted:
+          type: 'boolean'
+      additionalPropties:
+        type: 'object'
+        properties:
+          repo_type:
+            type: 'string'
+            pattern: 'apt|rpm'
+          url:
+            type: 'string'
+          distributions:
+            type: 'array'
+            items:
+              type: 'string'
+          subrepos:
+            type: 'array'
+            items:
+              type: 'string'
+          components:
+            type: 'array'
+            items:
+              type: 'string'
+          gpgkey:
+            type: 'string'
+          arches:
+            type: 'array'
+            items:
+              type: 'string'
+          options:
+            type: 'object'
+            additionalProperties:
+              type: 'string'
+        additionalProperties: false
+        required:
+          - 'repo_type'
+          - 'url'
+          - 'arches'
+  additionalProperties: false