Hierarchical Value Service API  future
api index

Constraint Object

since: 0.3
This object sometimes appears in a ColumnMetadata object to specify the special requirements for a particular column. For example, when a DECIMAL column requires a unit, a constraint with name unitRequired can be set with a BOOLEAN value equals to true. A constraint is uniquely identified by its name and type.

Fields

name
0.3required
string
the name of the constraint.
type
0.3required
string
The data type of the constraint value. Only BOOLEAN is supported in this version.
value
0.3required
string
The value of the constraint.

Example - minimal form

    {
      "name" : "unitRequired",
      "type" : "BOOLEAN",
      "value": "true"
    }