File tree Expand file tree Collapse file tree
google/cloud/aiplatform/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,4 +141,31 @@ message Schema {
141141 // Optional. The value should be validated against any (one or more) of the
142142 // subschemas in the list.
143143 repeated Schema any_of = 11 [(google.api.field_behavior ) = OPTIONAL ];
144+
145+ // Optional. Allows indirect references between schema nodes. The value should
146+ // be a valid reference to a child of the root `defs`.
147+ //
148+ // For example, the following schema defines a reference to a schema node
149+ // named "Pet":
150+ //
151+ // type: object
152+ // properties:
153+ // pet:
154+ // ref: #/defs/Pet
155+ // defs:
156+ // Pet:
157+ // type: object
158+ // properties:
159+ // name:
160+ // type: string
161+ //
162+ // The value of the "pet" property is a reference to the schema node
163+ // named "Pet".
164+ // See details in
165+ // https://json-schema.org/understanding-json-schema/structuring
166+ string ref = 27 [(google.api.field_behavior ) = OPTIONAL ];
167+
168+ // Optional. A map of definitions for use by `ref`
169+ // Only allowed at the root of the schema.
170+ map <string , Schema > defs = 28 [(google.api.field_behavior ) = OPTIONAL ];
144171}
You can’t perform that action at this time.
0 commit comments