Enumeration Fields
Within our Widget Table Spec, we need the ability to track the status of the widget. Specifically, we need to assign one of four specific values that denote status: Design, Development, Testing, and Production. These values are static and will not change through the lifetime of the application. In programming parlance, we call these Enumerations. The corresponding TableSpec element is the EnumField. By reviewing the documentation within the TableSpec.XSD, we see the definition for the EnumField.