Send feedback
JsonSchema
Stay organized with collections
Save and categorize content based on your preferences.
JsonSchema representation of schema metadata
JSON representation
{
"description" : string ,
"default" : value ,
"required" : [
string
] ,
"type" : [
string
] ,
"items" : {
object (JsonSchema
)
} ,
"properties" : {
string : {
object (JsonSchema
)
} ,
...
} ,
"enum" : [
value
] ,
"jdbcType" : enum (DataType
) ,
"format" : string
}
Fields
description
string
A description of this schema.
default
value (Value
format)
The default value of the field or object described by this schema.
required[]
string
Whether this property is required.
type[]
string
JSON Schema Validation: A Vocabulary for Structural Validation of JSON
items
object (JsonSchema
)
Schema that applies to array values, applicable only if this is of type array
.
properties
map (key: string, value: object (JsonSchema
))
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
An object containing a list of "key": value
pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }
.
enum[]
value (Value
format)
Possible values for an enumeration. This works in conjunction with type
to represent types with a fixed set of legal values
jdbcType
enum (DataType
)
JDBC datatype of the field.
format
string
Format of the value as per https://json-schema.org/understanding-json-schema/reference/string.html#format
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-11-29 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?