pegleg/pegleg/schemas/deckhand-root.yaml
Felipe Monteiro 893ea9f4bb Standardize Pegleg directory structure
This patch set standardizes the Pegleg directory
structure because of the following reasons:

1) src/bin/pegleg is not necessary and only makes
building (e.g. documentation building) and running
of tox targets unnecessarily difficult.
2) src/bin/pegleg is a Java-like standard that
bears no relevance to Python.

Change-Id: I37d39d3d6186b92f8fbfe234221c9e44da48cf10
2018-09-23 10:33:40 -04:00

31 lines
502 B
YAML

$schema: http://json-schema.org/schema#
definitions:
labels:
type: object
schema:
type: string
pattern: '^.+/.+/v[0-9](\.[0-9])?$'
type: object
properties:
schema:
$ref: '#/definitions/schema'
metadata:
properties:
schema:
type: string
enum:
- metadata/Control/v1
- metadata/Document/v1
additionalProperties: true
required:
- schema
data: {}
additionalProperties: false
required:
- schema
- metadata
- data