Module Values.GetDiscoveredSchemaRequestSource

Get the discovered schema that was generated based on sampled events.

Sourcetype nonrec t = {
  1. events : GetDiscoveredSchemaVersionItemInput.t list;
    (*

    An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.

    *)
  2. type_ : Type.t;
    (*

    The type of event.

    *)
}
Sourceval context_ : string
Sourceval make : events:GetDiscoveredSchemaVersionItemInput.t list -> type_:Type.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of GetDiscoveredSchemaVersionItemInput.t ] list ]) 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