tested schema of extensions and validated ipv6 against
This commit is contained in:
parent
f4ea8d4e69
commit
a4b80c4fa5
53
schema.yml
53
schema.yml
|
@ -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
|
||||||
|
|
Reference in New Issue