The type of a Constraint is a string rather than an enum because enums are closed to additional values. However, a "no-fly" Constraint is specifically defined in the standard text, so there should be a corresponding specific value specified for that type.
The
type
of a Constraint is a string rather than an enum because enums are closed to additional values. However, a "no-fly" Constraint is specifically defined in the standard text, so there should be a corresponding specific value specified for that type.