Class JsonSchema
JsonSchema representation of schema metadata
Implements
Inherited Members
Namespace: Google.Apis.Connectors.v1.Data
Assembly: Google.Apis.Connectors.v1.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> |
ExclusiveMaximum
Whether the maximum number value is exclusive.
Declaration
[JsonProperty("exclusiveMaximum")]
public virtual bool? ExclusiveMaximum { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ExclusiveMinimum
Whether the minimum number value is exclusive.
Declaration
[JsonProperty("exclusiveMinimum")]
public virtual bool? ExclusiveMinimum { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
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 |
MaxItems
Maximum number of items in the array field.
Declaration
[JsonProperty("maxItems")]
public virtual int? MaxItems { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
MaxLength
Maximum length of the string field.
Declaration
[JsonProperty("maxLength")]
public virtual int? MaxLength { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Maximum
Maximum value of the number field.
Declaration
[JsonProperty("maximum")]
public virtual object Maximum { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
MinItems
Minimum number of items in the array field.
Declaration
[JsonProperty("minItems")]
public virtual int? MinItems { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
MinLength
Minimum length of the string field.
Declaration
[JsonProperty("minLength")]
public virtual int? MinLength { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Minimum
Minimum value of the number field.
Declaration
[JsonProperty("minimum")]
public virtual object Minimum { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Pattern
Regex pattern of the string field. This is a string value that describes the regular expression that the string value should match.
Declaration
[JsonProperty("pattern")]
public virtual string Pattern { 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> |
UniqueItems
Whether the items in the array field are unique.
Declaration
[JsonProperty("uniqueItems")]
public virtual bool? UniqueItems { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |