This repository has been archived on 2020-12-30. You can view files and clone it, but cannot push or open issues or pull requests.
2016-09-18 16:30:45 +02:00
|
|
|
---
|
|
|
|
#title: protocol-schema
|
|
|
|
type: object
|
|
|
|
properties:
|
2016-09-16 19:25:02 +02:00
|
|
|
protocol:
|
2016-09-18 16:30:45 +02:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
name:
|
|
|
|
type: string
|
|
|
|
longname:
|
|
|
|
type: string
|
|
|
|
fields:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: "#/definitions/field"
|
|
|
|
osilayer:
|
|
|
|
type: integer
|
|
|
|
minimum: 1
|
|
|
|
maximum: 7
|
2016-09-19 19:17:23 +02:00
|
|
|
extensionreferencefield:
|
|
|
|
type: string
|
|
|
|
extensions:
|
|
|
|
type: array
|
|
|
|
items:
|
2016-09-20 07:38:52 +02:00
|
|
|
$ref: "#/definitions/extension"
|
2016-09-19 19:17:23 +02:00
|
|
|
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
|
2016-09-16 19:25:02 +02:00
|
|
|
required:
|
2016-09-18 16:30:45 +02:00
|
|
|
- name
|
|
|
|
- fields
|
|
|
|
- osilayer
|
|
|
|
|
|
|
|
definitions:
|
|
|
|
field:
|
|
|
|
type: object
|
|
|
|
properties:
|
2016-09-18 18:18:22 +02:00
|
|
|
length:
|
|
|
|
type: integer
|
|
|
|
reflength:
|
|
|
|
type: string
|
|
|
|
data:
|
|
|
|
type: boolean
|
2016-09-18 16:30:45 +02:00
|
|
|
field:
|
|
|
|
type: string
|
|
|
|
desc:
|
|
|
|
type: string
|
|
|
|
bitfield:
|
|
|
|
type: boolean
|
|
|
|
optional:
|
|
|
|
type: boolean
|
|
|
|
repeatable:
|
|
|
|
type: boolean
|
|
|
|
nextlayer:
|
|
|
|
type: boolean
|
|
|
|
reference:
|
|
|
|
type: string
|
|
|
|
subfields:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: "#/definitions/field"
|
2016-09-18 18:18:22 +02:00
|
|
|
oneOf:
|
|
|
|
- required:
|
|
|
|
- length
|
|
|
|
- required:
|
|
|
|
- reflength
|
|
|
|
- required:
|
|
|
|
- data
|
2016-09-18 16:30:45 +02:00
|
|
|
required:
|
|
|
|
- field
|
2016-09-20 07:38:52 +02:00
|
|
|
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
|