JsonSchema

mcp.schema.JsonSchema
See theJsonSchema companion object
trait JsonSchema[A]

Attributes

Companion
object
Source
JsonSchema.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

Returns an array version of this schema, with the schema type wrapped in SchemaType.SArray. Sets isOptional to true as the collection might be empty.

Returns an array version of this schema, with the schema type wrapped in SchemaType.SArray. Sets isOptional to true as the collection might be empty.

Attributes

Source
JsonSchema.scala
def asIterable[C <: (Iterable)]: JsonSchema[C[A]]

Returns a collection version of this schema, with the schema type wrapped in SchemaType.SArray. Sets isOptional to true as the collection might be empty.

Returns a collection version of this schema, with the schema type wrapped in SchemaType.SArray. Sets isOptional to true as the collection might be empty.

Attributes

Source
JsonSchema.scala

Returns an optional version of this schema, with isOptional set to true.

Returns an optional version of this schema, with isOptional set to true.

Attributes

Source
JsonSchema.scala

Attributes

Source
JsonSchema.scala

Attributes

Source
JsonSchema.scala

Attributes

Source
JsonSchema.scala

Attributes

Source
JsonSchema.scala

Attributes

Source
JsonSchema.scala