PropertyDefinition

org.llm4s.toolapi.PropertyDefinition
See thePropertyDefinition companion object
@Stable
final case class PropertyDefinition[T]

A named property within an ObjectSchema.

Value parameters

name

Property key in the JSON object

required

Whether the property is required

schema

Schema applied to the property value

Attributes

Companion
object
Source
SchemaDefinition.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Replace the property key.

Replace the property key.

Attributes

Source
SchemaDefinition.scala

Set whether the property is required.

Set whether the property is required.

Attributes

Source
SchemaDefinition.scala

Replace the schema applied to the property value.

Replace the schema applied to the property value.

Attributes

Source
SchemaDefinition.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product