Module Values.FieldValidationConfigurationSource

Describes the validation configuration for a field.

Sourcetype nonrec t = {
  1. type_ : String_.t;
    (*

    The validation to perform on an object type.

    *)
  2. strValues : StrValues.t option;
    (*

    The validation to perform on a string value.

    *)
  3. numValues : NumValues.t option;
    (*

    The validation to perform on a number value.

    *)
  4. validationMessage : String_.t option;
    (*

    The validation message to display.

    *)
}
Sourceval context_ : string
Sourceval make : ?strValues:??? -> ?numValues:??? -> ?validationMessage:??? -> type_:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Integer of Integer.t | `String of String_.t ] list | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t