Skip to content

Configuration Files BN Forms

Norman Fomferra edited this page Jun 7, 2017 · 1 revision

Given here are Backus-Naur Forms for Configuration Parameter Descriptors and Configuration Parameters

Configuration Parameter Descriptors

parameter-descriptors ::= { parameter-descriptor { , parameter-descriptor } }

parameter-descriptor ::= parameter-name : parameter-properties

parameter-properties ::= { "data_type": string , "description": string [ , "unit": string ] [ , "value_range": value-range ] [ , "value_set": value-set ] [ , "dependencies": [ parameter-dependency ] ]
}

parameter-dependency ::= { "name": string , "relation": *relation* [ ,"value": *object* ] }`

relation ::= "value" | "is_true" | "is_false" | "is_null"

value-range ::= [ [number] , [number] ]

value-set ::= [ object { , object } ]

Configuration Parameters

parameters ::= { parameter { , parameter } }

parameter ::= parameter-name : parameter-value

parameter-name ::= string

parameter-value ::= boolean | number | string