Skip to content

/AWS1/CL_BDRJSONSCHEMADEFN

JSON schema structured output format options.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_schema TYPE /AWS1/BDRSTRING /AWS1/BDRSTRING

The JSON schema to constrain the model's output. For more information, see JSON Schema Reference.

Optional arguments:

iv_name TYPE /AWS1/BDRSTRING /AWS1/BDRSTRING

The name of the JSON schema.

iv_description TYPE /AWS1/BDRSTRING /AWS1/BDRSTRING

A description of the JSON schema.


Queryable Attributes

schema

The JSON schema to constrain the model's output. For more information, see JSON Schema Reference.

Accessible with the following methods

Method Description
GET_SCHEMA() Getter for SCHEMA, with configurable default
ASK_SCHEMA() Getter for SCHEMA w/ exceptions if field has no value
HAS_SCHEMA() Determine if SCHEMA has a value

name

The name of the JSON schema.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

description

A description of the JSON schema.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value