simpleConstraintDescriptor Data Type

An object that describes a constraint on a property. This should be used for simple comparative validation when you don't want to hit the server to check for empty strings, etc.

Namespace
(Default)
Schema
ns0.xsd
Properties
name data type type namespace min/max occurs description
constraintType string element 0/1 The type of the constraint. For example: NotNull, Email, NotEmpty, etc.
failureMessage string element 0/1 The message that would show if the constraint fails.
propertyName string element 0/1 The name of the property in the object.

Example

<simpleConstraintDescriptor>
  <propertyName>...</propertyName>
  <constraintType>...</constraintType>
  <failureMessage>...</failureMessage>
</simpleConstraintDescriptor>