-
Notifications
You must be signed in to change notification settings - Fork 8
Configuration Files BN Forms
Given here are Backus-Naur Forms for Configuration Parameter Descriptors and Configuration Parameters
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 } ]
parameters ::= {
parameter { ,
parameter } }
parameter ::= parameter-name :
parameter-value
parameter-name ::= string
parameter-value ::= boolean | number | string