A2uiSchema


public sealed class A2uiSchema

Known direct subclasses
A2uiAnySchema

Schema representing an unstructured JSON payload or a keyword-only schema.

A2uiArraySchema

Schema representing an array where all items conform to a specific schema.

A2uiBooleanSchema

Schema representing a boolean literal.

A2uiCompositeSchema

Schema node that is defined by using other schema nodes.

A2uiNumberSchema

Schema representing a number literal.

A2uiObjectSchema

Schema representing an object with nested properties.

A2uiRefSchema

Schema representing a reference to another schema definition.

A2uiStringSchema

Schema representing a string literal.

Known indirect subclasses
A2uiAccessibilityAttributesSchema

Holds accessibility properties for assistive technologies.

A2uiActionSchema

Standard interactions that dispatch events or call client functions.

A2uiCheckRuleSchema

Validates input components.

A2uiCheckableSchema

Enables client-side check validations.

A2uiChildListSchema

Specifies child component identifiers.

A2uiComponentCommonSchema

Defines shared attributes for all components.

A2uiComponentIdSchema

Represents unique identifiers for components within a surface.

A2uiDataBindingSchema

Points to values within the data model.

A2uiDynamicBooleanSchema

Represents boolean values from literals, data bindings, or function calls.

A2uiDynamicNumberSchema

Represents number values from literals, data bindings, or function calls.

A2uiDynamicStringListSchema

Represents string lists from literals, data bindings, or function calls.

A2uiDynamicStringSchema

Represents string values from literals, data bindings, or function calls.

A2uiDynamicValueSchema

Represents values from literals, data bindings, or function calls.

A2uiFunctionCallSchema

Configures client function invocations.


Base node for all schema of A2UI based on JSON Schema.

Summary

Protected constructors

Public methods

boolean
equals(Object other)
abstract String

Semantic description of the schema.

@NonNull List<@NonNull A2uiSchemaKeyword<@NonNull Object>>

List of JSON Schema keywords applied to this schema node.

int
final @NonNull String

Serializes this schema to a JSON Schema string representation.

Protected constructors

A2uiSchema

protected A2uiSchema()

Public methods

equals

public boolean equals(Object other)

getDescription

Added in 1.0.0-alpha01
public abstract String getDescription()

Semantic description of the schema.

getKeywords

Added in 1.0.0-alpha01
public @NonNull List<@NonNull A2uiSchemaKeyword<@NonNull Object>> getKeywords()

List of JSON Schema keywords applied to this schema node.

hashCode

public int hashCode()

toJsonSchema

Added in 1.0.0-alpha01
public final @NonNull String toJsonSchema()

Serializes this schema to a JSON Schema string representation.

Returns
@NonNull String

the serialized JSON Schema string