JSON

Represents a sealed class defining JSON schema support as a part of an AI model's capability. Each subtype of this class specifies a distinct level of JSON support.

Inheritors

Types

Link copied to clipboard

Represents a basic JSON schema support capability. Used to specify lightweight or fundamental JSON processing capabilities. This format primarily focuses on nested data definitions without advanced JSON Schema functionalities.

Link copied to clipboard

Represents a standard JSON schema support capability, according to https://json-schema.org/. This format is a proper subset of the official JSON Schema specification.

Properties

Link copied to clipboard
val id: String

The unique identifier for this capability.

Link copied to clipboard

The language format associated with the schema.

Link copied to clipboard

Describes the type of JSON support (e.g., "basic", "standard").