Module Values.CreateSchemaRequestSource

Creates an Amazon Personalize schema from the specified schema string. The schema you create must be in Avro JSON format. Amazon Personalize recognizes three schema variants. Each schema is associated with a dataset type and has a set of required field and keywords. If you are creating a schema for a dataset in a Domain dataset group, you provide the domain of the Domain dataset group. You specify a schema when you call CreateDataset. Related APIs ListSchemas DescribeSchema DeleteSchema

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

    The name for the schema.

    *)
  2. schema : AvroSchema.t;
    (*

    A schema in Avro JSON format.

    *)
  3. domain : Domain.t option;
    (*

    The domain for the schema. If you are creating a schema for a dataset in a Domain dataset group, specify the domain you chose when you created the Domain dataset group.

    *)
}
Sourceval context_ : string
Sourceval make : ?domain:??? -> name:Name.t -> schema:AvroSchema.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Name.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