Module Values_1.FieldDefinitionSource

Defines a field in an entity schema for REST connector data sources, specifying the field name and data type.

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

    The name of the field in the entity schema.

    *)
  2. fieldDataType : FieldDataType.t;
    (*

    The data type of the field.

    *)
}
Sourceval context_ : string
Sourceval make : name:Values_0.String_.t -> fieldDataType:FieldDataType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Values_0.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