tested schema of extensions and validated ipv6 against

This commit is contained in:
Marcel M. Otte 2016-09-20 07:38:52 +02:00
parent f4ea8d4e69
commit a4b80c4fa5
1 changed files with 29 additions and 24 deletions

View File

@ -22,30 +22,7 @@ properties:
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
$ref: "#/definitions/extension"
documentation:
type: object
properties:
@ -108,3 +85,31 @@ definitions:
- data
required:
- field
extension:
type: object
properties:
extension:
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