Class JsonSchema
JsonSchema representation of schema metadata
Implements
Inherited Members
Namespace: Google.Apis.Connectors.v2.Data
Assembly: Google.Apis.Connectors.v2.dll
Syntax
public class JsonSchema : IDirectResponseSchema
Properties
AdditionalDetails
Additional details apart from standard json schema fields, this gives flexibility to store metadata about the schema
Declaration
[JsonProperty("additionalDetails")]
public virtual IDictionary<string, object> AdditionalDetails { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
Default__
The default value of the field or object described by this schema.
Declaration
[JsonProperty("default")]
public virtual object Default__ { get; set; }
Property Value
Type | Description |
---|---|
object |
Description
A description of this schema.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Enum__
Possible values for an enumeration. This works in conjunction with type
to represent types with a fixed
set of legal values
Declaration
[JsonProperty("enum")]
public virtual IList<object> Enum__ { get; set; }
Property Value
Type | Description |
---|---|
IList<object> |
Format
Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format
Declaration
[JsonProperty("format")]
public virtual string Format { get; set; }
Property Value
Type | Description |
---|---|
string |
Items
Schema that applies to array values, applicable only if this is of type array
.
Declaration
[JsonProperty("items")]
public virtual JsonSchema Items { get; set; }
Property Value
Type | Description |
---|---|
JsonSchema |
JdbcType
JDBC datatype of the field.
Declaration
[JsonProperty("jdbcType")]
public virtual string JdbcType { get; set; }
Property Value
Type | Description |
---|---|
string |
Properties
The child schemas, applicable only if this is of type object
. The key is the name of the property and the
value is the json schema that describes that property
Declaration
[JsonProperty("properties")]
public virtual IDictionary<string, JsonSchema> Properties { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, JsonSchema> |
Required
Whether this property is required.
Declaration
[JsonProperty("required")]
public virtual IList<string> Required { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Type
JSON Schema Validation: A Vocabulary for Structural Validation of JSON
Declaration
[JsonProperty("type")]
public virtual IList<string> Type { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |