A2uiRefSchema


class A2uiRefSchema : A2uiSchema


Schema representing a reference to another schema definition.

Summary

Public constructors

A2uiRefSchema(
    ref: String,
    description: String?,
    keywords: List<A2uiSchemaKeyword<Any>>
)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open JsonElement

Returns the JsonElement hierarchy representing this schema.

open String

Public properties

open String?

semantic description of the schema

open List<A2uiSchemaKeyword<Any>>

JSON Schema keywords applied to this schema node

String

reference path

Inherited functions

From androidx.a2ui.model.schema.A2uiSchema
String

Serializes this schema to a JSON Schema string representation.

Public constructors

A2uiRefSchema

A2uiRefSchema(
    ref: String,
    description: String? = null,
    keywords: List<A2uiSchemaKeyword<Any>> = emptyList()
)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toJsonElement

Added in 1.0.0-alpha01
open fun toJsonElement(): JsonElement

Returns the JsonElement hierarchy representing this schema.

Returns
JsonElement

the JsonElement hierarchy representing this schema

toString

open fun toString(): String

Public properties

description

open val descriptionString?

semantic description of the schema

keywords

open val keywordsList<A2uiSchemaKeyword<Any>>

JSON Schema keywords applied to this schema node

ref

Added in 1.0.0-alpha01
val refString

reference path