104 lines
1.8 KiB
YAML
104 lines
1.8 KiB
YAML
$schema: http://json-schema.org/schema#
|
|
|
|
definitions:
|
|
action:
|
|
type: object
|
|
properties:
|
|
method:
|
|
type: string
|
|
enum:
|
|
- delete
|
|
- merge
|
|
- replace
|
|
path:
|
|
$ref: '#/definitions/path'
|
|
additionalProperties: false
|
|
required:
|
|
- method
|
|
- path
|
|
|
|
labels:
|
|
type: object
|
|
|
|
path:
|
|
type: string
|
|
|
|
schema:
|
|
type: string
|
|
pattern: '^.+/.+/v[0-9](\.[0-9])?$'
|
|
|
|
substitution:
|
|
type: object
|
|
properties:
|
|
dest:
|
|
type: object
|
|
properties:
|
|
path:
|
|
$ref: '#/definitions/path'
|
|
pattern:
|
|
type: string
|
|
additionalProperties: false
|
|
required:
|
|
- path
|
|
src:
|
|
type: object
|
|
properties:
|
|
name:
|
|
type: string
|
|
path:
|
|
$ref: '#/definitions/path'
|
|
schema:
|
|
$ref: '#/definitions/schema'
|
|
required:
|
|
- name
|
|
- path
|
|
- schema
|
|
additionalProperties: false
|
|
required:
|
|
- dest
|
|
- src
|
|
|
|
type: object
|
|
properties:
|
|
schema:
|
|
type: string
|
|
pattern: '^metadata/Document/v1$'
|
|
name:
|
|
type: string
|
|
labels:
|
|
$ref: '#/definitions/labels'
|
|
layeringDefinition:
|
|
type: object
|
|
properties:
|
|
abstract:
|
|
type: boolean
|
|
layer:
|
|
type: string
|
|
parentSelector:
|
|
$ref: '#/definitions/labels'
|
|
actions:
|
|
type: array
|
|
items:
|
|
$ref: '#/definitions/action'
|
|
additionalProperties: false
|
|
required:
|
|
- abstract
|
|
- layer
|
|
storagePolicy:
|
|
type: string
|
|
enum:
|
|
- cleartext
|
|
- encrypted
|
|
substitutions:
|
|
type: array
|
|
items:
|
|
$ref: '#/definitions/substitution'
|
|
|
|
additionalProperties: false
|
|
required:
|
|
- schema
|
|
- name
|
|
- layeringDefinition
|
|
- storagePolicy
|
|
|