Module Values_0.ContextSourceSource

A structure describing the source of a context.

Sourcetype nonrec t = {
  1. sourceUri : SourceUri.t;
    (*

    The URI of the source.

    *)
  2. sourceType : String256.t option;
    (*

    The type of the source.

    *)
  3. sourceId : String256.t option;
    (*

    The ID of the source.

    *)
}
Sourceval context_ : string
Sourceval make : ?sourceType:??? -> ?sourceId:??? -> sourceUri:SourceUri.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of SourceUri.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