From 92fd553135397538f58ce7c13dcab0f72611b6ea Mon Sep 17 00:00:00 2001 From: Marcel Date: Sun, 4 Jan 2015 14:54:50 +0100 Subject: [PATCH] some structure extensions and 'nextlayer' protocol id lists --- structure-schema.yml | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/structure-schema.yml b/structure-schema.yml index 4c7d470..47f1a00 100644 --- a/structure-schema.yml +++ b/structure-schema.yml @@ -36,6 +36,35 @@ mapping: type: seq sequence: *fieldsseq "osilayer": - type: int + type: int range: { max: 7, min: 1 } required: yes + "nextlayer": + type: seq + sequence: + - type: map + mapping: + "protocol": + type: str + required: yes + "identifier": + type: int + required: yes + "extensions": + type: seq + sequence: + - type: map + mapping: + "extension": + type: map + mapping: + "name": + type: str + required: yes + "referencedfrom": #referencing field of protocol definition + type: str + required: yes + "fields": + type: seq + sequence: *fieldsseq +