added missing parts to schema.yml to reach the same level like the

kwalify schema, untested!
This commit is contained in:
Marcel M. Otte 2016-09-19 19:17:23 +02:00
parent 5a6b9e88d6
commit f4ea8d4e69
1 changed files with 49 additions and 0 deletions

View File

@ -17,6 +17,55 @@ properties:
type: integer type: integer
minimum: 1 minimum: 1
maximum: 7 maximum: 7
extensionreferencefield:
type: string
extensions:
type: array
items:
type: object
properties:
name:
type: string
referencedfrom:
type: string
referenceid:
type: integer
before:
type: string
after:
type: string
fields:
type: array
items:
$ref: "#/definitions/field"
oneOf:
required:
- before
required:
- after
required:
- name
- referenceid
documentation:
type: object
properties:
summary:
type: string
descriptions:
type: array
items:
type: object
properties:
field:
type: string
desc:
type: string
required:
- field
- desc
required:
- summary
- descriptions
required: required:
- name - name
- fields - fields