schema property

Object? schema
getter/setter pair

The JSON schema that the output should conform to.

Only applicable when mime_type is APPLICATION_JSON.

Optional.

The values for Object must be JSON objects. It can consist of num, String, bool and null as well as Map and List values.

Implementation

core.Object? schema;