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