Class JsonSchema.VariantData
In a variant data type, the value of one property is used to determine how to interpret the entire entity. Its value must exist in a map of descriminant values to schema names.
Inherited Members
Namespace: Google.Apis.Discovery.v1.Data
Assembly: Google.Apis.Discovery.v1.dll
Syntax
public class JsonSchema.VariantData
Properties
Discriminant
The name of the type discriminant property.
Declaration
[JsonProperty("discriminant")]
public virtual string Discriminant { get; set; }
Property Value
Type | Description |
---|---|
string |
Map
The map of discriminant value to schema to use for parsing..
Declaration
[JsonProperty("map")]
public virtual IList<JsonSchema.VariantData.MapData> Map { get; set; }
Property Value
Type | Description |
---|---|
IList<JsonSchema.VariantData.MapData> |