The Feature types section displays the feature types contained in the profile’s schema. For each feature type, haleconnect displays its name and properties.
The search box at the top of the page allows you to filter feature types by name. Toggle the Show inherited properties switch to view additional, inherited properties for each feature type. Toggle the Show diff switch to view the feature types that are extended by the profile.
For each property in a feature type, the name and data type are listed. Click the » button to view additional information on the property, such as constraints defined on it.
To make a single feature type mandatory, toggle the switch in the feature type header. A mandatory feature type has to occur at least once in any document. This is particularly useful in GML Feature Collections, when you want to state which types of objects have to be present.
Click the «Edit» icon next to the name of the feature type to add property level constraints.
Required fields, range values, cardinality and tagged values can each be defined on the property level. Click the » button next to the property’s data type to expand the panel.
Content required Click the drop down menu to make the property optional or mandatory. This is only possible if the property was not previously mandatory.
Allowed values This function can be used to restrict which values may be present in the data. This restriction can narrow down an already existing restriction or define a new restriction. A typical use case is when only one code list value in the context of the profile should be allowed.
To specify valid values for any string, enter them in the text box, separated by a comma.
To select valid values for a field with a code list or enumeration, select them from the list of options.
To set a value range for a numeric field, enter an upper limit and a lower limit. This must be narrower than existing limitations at the schema level.
Minimum and Maximum count The cardinality can be restricted on the property level, e.g. from [1..n] to [1..1]. Enter the minimum and maximum values in the text boxes. Only narrower values are allowed.
Tagged values This function can be used to identify profile elements that will be used to generate test suites and example files.
To specify a tagged value, select a tag name from the drop down menu. Enter the value in the text box provided. Multiple tagged values for the same tag name are not possible.
When you are finished adding constraints to the selected feature type, click «Update»