google_api_discovery v0.6.0 GoogleApi.Discovery.V1.Model.JsonSchema View Source
Attributes
$ref
(type:String.t
, default:nil
) - A reference to another schema. The value of this property is the "id" of another schema.additionalProperties
(type:GoogleApi.Discovery.V1.Model.JsonSchema.t
, default:nil
) - If this is a schema for an object, this property is the schema for any additional properties with dynamic keys on this object.annotations
(type:GoogleApi.Discovery.V1.Model.JsonSchemaAnnotations.t
, default:nil
) - Additional information about this property.default
(type:String.t
, default:nil
) - The default value of this property (if one exists).description
(type:String.t
, default:nil
) - A description of this object.enum
(type:list(String.t)
, default:nil
) - Values this parameter may take (if it is an enum).enumDescriptions
(type:list(String.t)
, default:nil
) - The descriptions for the enums. Each position maps to the corresponding value in the "enum" array.format
(type:String.t
, default:nil
) - An additional regular expression or key that helps constrain the value. For more details see: http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.23id
(type:String.t
, default:nil
) - Unique identifier for this schema.items
(type:GoogleApi.Discovery.V1.Model.JsonSchema.t
, default:nil
) - If this is a schema for an array, this property is the schema for each element in the array.location
(type:String.t
, default:nil
) - Whether this parameter goes in the query or the path for REST requests.maximum
(type:String.t
, default:nil
) - The maximum value of this parameter.minimum
(type:String.t
, default:nil
) - The minimum value of this parameter.pattern
(type:String.t
, default:nil
) - The regular expression this parameter must conform to. Uses Java 6 regex format: http://docs.oracle.com/javase/6/docs/api/java/util/regex/Pattern.htmlproperties
(type:%{optional(String.t) => GoogleApi.Discovery.V1.Model.JsonSchema.t}
, default:nil
) - If this is a schema for an object, list the schema for each property of this object.readOnly
(type:boolean()
, default:nil
) - The value is read-only, generated by the service. The value cannot be modified by the client. If the value is included in a POST, PUT, or PATCH request, it is ignored by the service.repeated
(type:boolean()
, default:nil
) - Whether this parameter may appear multiple times.required
(type:boolean()
, default:nil
) - Whether the parameter is required.type
(type:String.t
, default:nil
) - The value type for this schema. A list of values can be found here: http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.1variant
(type:GoogleApi.Discovery.V1.Model.JsonSchemaVariant.t
, default:nil
) - 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.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Sourcet() :: %GoogleApi.Discovery.V1.Model.JsonSchema{ "$ref": String.t(), additionalProperties: GoogleApi.Discovery.V1.Model.JsonSchema.t(), annotations: GoogleApi.Discovery.V1.Model.JsonSchemaAnnotations.t(), default: String.t(), description: String.t(), enum: [String.t()], enumDescriptions: [String.t()], format: String.t(), id: String.t(), items: GoogleApi.Discovery.V1.Model.JsonSchema.t(), location: String.t(), maximum: String.t(), minimum: String.t(), pattern: String.t(), properties: %{ optional(String.t()) => GoogleApi.Discovery.V1.Model.JsonSchema.t() }, readOnly: boolean(), repeated: boolean(), required: boolean(), type: String.t(), variant: GoogleApi.Discovery.V1.Model.JsonSchemaVariant.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.