summaryrefslogtreecommitdiff
path: root/schemas/defaults.json-schema
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2016-02-28 21:57:34 +0000
committerBaserock Gerrit <gerrit@baserock.org>2016-03-01 10:23:02 +0000
commit9eb70b9f20fe79ff7509993d735b742cf956f5c6 (patch)
treebc2d22e45fd4a20450d0afbfb6ce57ab5a367a36 /schemas/defaults.json-schema
parentba09c5478d9c814668130c8db531938fba781495 (diff)
downloaddefinitions-9eb70b9f20fe79ff7509993d735b742cf956f5c6.tar.gz
Remove schemas - this content is now in spec.git
Change-Id: Ibde700b069ddba6056c821deb1c1a8490b04696d
Diffstat (limited to 'schemas/defaults.json-schema')
-rw-r--r--schemas/defaults.json-schema66
1 files changed, 0 insertions, 66 deletions
diff --git a/schemas/defaults.json-schema b/schemas/defaults.json-schema
deleted file mode 100644
index 2f713425..00000000
--- a/schemas/defaults.json-schema
+++ /dev/null
@@ -1,66 +0,0 @@
-$schema: http://json-schema.org/draft-04/schema#
-id: http://git.baserock.org/cgi-bin/cgit.cgi/baserock/baserock/definitions.git/tree/schemas/defaults.json-schema
-
-description: |
- This is a JSON-Schema description of the DEFAULTS file specified in the
- Baserock definitions format. DEFAULTS is a YAML file that contains global
- defaults for a set of Baserock definitions.
-
- This JSON-Schema file is valid for VERSION 7 of the Baserock definitions
- YAML serialisation format.
-
- The Baserock definitions YAML serialisation format is the recommended way of
- representing Baserock definitions on disk. The actual data model is described
- separately. See <https://wiki.baserock.org/definitions> for more information.
-
- This schema is represented as YAML, so that it can be edited more easily.
- You may need to convert to JSON if using a JSON-Schema tool that expects
- its input to be an actual string containing data serialised as JSON.
-
-definitions:
- command-sequence:
- type: array
- items: {type: string}
-
- build-system:
- type: object
- additionalProperties: false
- properties:
- build-commands: {$ref: '#/definitions/command-sequence'}
- configure-commands: {$ref: '#/definitions/command-sequence'}
- install-commands: {$ref: '#/definitions/command-sequence'}
- strip-commands: {$ref: '#/definitions/command-sequence'}
-
- split-rules:
- type: array
- items:
- type: object
-
- required: [artifact, include]
- additionalProperties: false
-
- properties:
- artifact: {type: string}
- include:
- type: array
- items:
- type: string
- format: regex
-
-type: object
-additionalProperties: false
-
-properties:
- # Predefined build systems.
- build-systems:
- type: object
- patternProperties:
- ^.*$: {$ref: '#/definitions/build-system'}
-
- # Predefined artifact splitting rules.
- split-rules:
- type: object
- additionalProperties: false
- properties:
- chunk: {$ref: '#/definitions/split-rules'}
- stratum: {$ref: '#/definitions/split-rules'}