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