regerenced_sections -> referenced_section, adding meta_constraint

parent fad926cb
...@@ -21,14 +21,70 @@ ...@@ -21,14 +21,70 @@
"meta_parent_section."], "meta_parent_section."],
"meta_parent_section":"meta_info_entry", "meta_parent_section":"meta_info_entry",
"meta_data_type":"string" "meta_data_type":"string"
},{
"meta_name":"meta_constraint",
"meta_type":"type-section",
"meta_description":[
"A constraint on the values corresponding to the section that defines ",
"it."],
"meta_parent_section":"meta_info_entry",
"meta_repeats":true,
"meta_context_identifier":[]
},{
"meta_name":"meta_constraint_description",
"meta_type":"type-value",
"meta_description":"Description of the constraint.",
"meta_parent_section":"meta_constraint",
"meta_data_type":"string"
},{
"meta_name":"meta_constraint_expected_meta_info",
"meta_type":"type-value",
"meta_description":[
"Either a meta_name or a '!' and a meta_name.If the meta_info_entry ",
"corresponding to it has meta_type type-value or type-section then the ",
"corrsponding value must be either present or absent. type-abstract are ",
"evaluated all together at the end. The type-value and type-section ",
"meta_info_entry that are not already given explicitly in other ",
"meta_constraint_expected_meta_info that have all the type-abstract in ",
"meta_abstract_types or in their parents (through meta_abstract_types) must be ",
"present, whereas those that have all the '!' type-abstract must be ",
"absent."],
"meta_parent_section":"meta_constraint",
"meta_data_type":"string",
"meta_repeats":true
},{
"meta_name":"meta_constraint_name",
"meta_type":"type-value",
"meta_description":[
"A name for the constraint (should be unique within ",
"meta_parent_section)."],
"meta_parent_section":"meta_constraint",
"meta_data_type":"string"
},{
"meta_name":"meta_constraint_required_query",
"meta_type":"type-value",
"meta_description":[
"This query if given must be true for all selected ",
"values"],
"meta_parent_section":"meta_constraint",
"meta_data_type":"string"
},{
"meta_name":"meta_constraint_select_query",
"meta_type":"type-value",
"meta_description":[
"Query that must be true for the values that have to satisfy this constraint. ",
"Typically this is for example a field having a given ",
"value."],
"meta_parent_section":"meta_constraint",
"meta_data_type":"string"
},{ },{
"meta_name":"meta_context_identifier", "meta_name":"meta_context_identifier",
"meta_type":"type-value", "meta_type":"type-value",
"meta_description":[ "meta_description":[
"The value should be the meta_name of value (meta_type = *type-value*) contained ", "The value should be the meta_name of a value (meta_info_entry with meta_type = ",
"in this meta_info_entry. I.e. its meta_parent_section should be equal to the ", "*type-value*) contained in this meta_info_entry. I.e. its meta_parent_section ",
"meta_name of the current meta_info_entry (which should be of ", "should be equal to the meta_name of the current meta_info_entry (which should ",
"*type-section*).That value should uniquely and globally identifies every ", "be of *type-section*).That value should uniquely and globally identifies every ",
"section value, even if one does not know the type of the current section. In ", "section value, even if one does not know the type of the current section. In ",
"NOMAD we always used the a gid for this purpose."], "NOMAD we always used the a gid for this purpose."],
"meta_parent_section":"meta_info_entry", "meta_parent_section":"meta_info_entry",
...@@ -79,7 +135,9 @@ ...@@ -79,7 +135,9 @@
"meta_enum_description":"A boolean value (true or false)" "meta_enum_description":"A boolean value (true or false)"
},{ },{
"meta_enum_value":"json", "meta_enum_value":"json",
"meta_enum_description":"A json value. Its use is discouraged, as it does lead to inferior documentation compared to using the meta info directly." "meta_enum_description":[
"A json value. Its use is discouraged, as it does lead to inferior documentation ",
"compared to using the meta info directly."]
},{ },{
"meta_enum_value":"string", "meta_enum_value":"string",
"meta_enum_description":"A string of unicode characters" "meta_enum_description":"A string of unicode characters"
...@@ -146,8 +204,7 @@ ...@@ -146,8 +204,7 @@
"meta_type":"type-value", "meta_type":"type-value",
"meta_description":"The description of the meaning of the meta_enum_value.", "meta_description":"The description of the meaning of the meta_enum_value.",
"meta_parent_section":"meta_enum", "meta_parent_section":"meta_enum",
"meta_data_type":"string", "meta_data_type":"string"
"meta_repeats":true
},{ },{
"meta_name":"meta_enum_from", "meta_name":"meta_enum_from",
"meta_type":"type-value", "meta_type":"type-value",
...@@ -155,8 +212,7 @@ ...@@ -155,8 +212,7 @@
"The meta_name of a meta_info_entry from which to take the meta_enum to easily ", "The meta_name of a meta_info_entry from which to take the meta_enum to easily ",
"share enumeration values across several meta_info_entry"], "share enumeration values across several meta_info_entry"],
"meta_parent_section":"meta_info_entry", "meta_parent_section":"meta_info_entry",
"meta_data_type":"string", "meta_data_type":"string"
"meta_repeats":true
},{ },{
"meta_name":"meta_enum_value", "meta_name":"meta_enum_value",
"meta_type":"type-value", "meta_type":"type-value",
...@@ -291,8 +347,7 @@ ...@@ -291,8 +347,7 @@
"meta_type":"type-value", "meta_type":"type-value",
"meta_description":"The maximum expected value", "meta_description":"The maximum expected value",
"meta_parent_section":"meta_range_expected", "meta_parent_section":"meta_range_expected",
"meta_data_type":"float", "meta_data_type":"float"
"meta_repeats":true
},{ },{
"meta_name":"meta_range_minimum", "meta_name":"meta_range_minimum",
"meta_type":"type-value", "meta_type":"type-value",
...@@ -306,15 +361,13 @@ ...@@ -306,15 +361,13 @@
"meta_parent_section":"meta_range_expected", "meta_parent_section":"meta_range_expected",
"meta_data_type":"string" "meta_data_type":"string"
},{ },{
"meta_name":"meta_referenced_sections", "meta_name":"meta_referenced_section",
"meta_type":"type-value", "meta_type":"type-value",
"meta_description":[ "meta_description":[
"If the datatype is a reference this attribute must be a list of the names of ", "If the datatype is a reference this attribute must give the name of the ",
"the sections that are referenced, referred to the rightmost ", "sections that is referenced."],
"dimension."],
"meta_parent_section":"meta_info_entry", "meta_parent_section":"meta_info_entry",
"meta_data_type":"string", "meta_data_type":"string"
"meta_repeats":true
},{ },{
"meta_name":"meta_repeats", "meta_name":"meta_repeats",
"meta_type":"type-value", "meta_type":"type-value",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment