Skip to content

Commit

Permalink
Allow constraining enum value to specific structures
Browse files Browse the repository at this point in the history
This is one proposal to address #106

Signed-off-by: Dave Thaler <dthaler@microsoft.com>
  • Loading branch information
dthaler committed Nov 21, 2023
1 parent 3577318 commit da4cdaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _pages/yaml-file-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ Their names may be changed a YAML file with a `lang` other than `en`.

\* Note that potentially any concept could be referred to in an enumeration set, and hence any YAML file could include the `value of` key. So far, all known examples are either `type: enumeration` or `type: structure`.

A list (in no particular order) of enumeration sets that are known to contain this concepts as an enumeration value.
A list (in no particular order) of enumeration sets that are known to contain this concept as an enumeration value if the enumeration value is permitted in all structures that use the enumeration set, or if this concept is onli valid in a subset of structures that use the enumeration set, then a list of structures that are known to permit this concept as a payload.

The list may be incomplete, as a new enumeration set might be defined that re-uses an existing enumeration value.

0 comments on commit da4cdaf

Please sign in to comment.