Module Values.CreateSchemaRequestSource

Creates a schema definition. Inactive schemas will be deleted after two years.

Sourcetype nonrec t = {
  1. content : string;
    (*

    The source of the schema definition.

    *)
  2. description : string option;
    (*

    A description of the schema.

    *)
  3. registryName : string;
    (*

    The name of the registry.

    *)
  4. schemaName : string;
    (*

    The name of the schema.

    *)
  5. tags : Tags.t option;
    (*

    Tags associated with the schema.

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

    The type of schema.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?tags:??? -> content:string -> registryName:string -> schemaName:string -> type_:Type.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of string ] * [> `String of string ]) list | `String of string ]) 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