@agents-js/schema-utils
v0.4.0
Published
Shared schema property parsing for ACP elicitation forms. Extracts field metadata from JSON Schema-like property definitions.
Maintainers
Readme
@agents-js/schema-utils
Shared schema property parsing for ACP elicitation forms. Extracts field metadata from JSON Schema-like property definitions.
Installation
bun add @agents-js/schema-utilsAPI
Functions
extractOneOftoFieldMetas
Interfaces
ElicitationSchema— Shape of the schema prop — matches ACPA2AElicitationSchema from a2a-client.FieldMeta— Parsed field metadata used internally for rendering and validation.OneOfEntrySchemaProperty— Schema property definition shape used for field rendering. Mirrors the inner values of ACPA2AElicitationSchema.properties.
License
MIT
