Skip to content

Allow arbitrary custom keys with S.meta #149

@king-smith

Description

@king-smith

S.meta currently only supports name, title, description, deprecated & examples. I need to attach custom metadata (notably x-* keywords per JSON Schema custom annotations) and can’t express this in Sury, where I can in a few other libraries (Zod, ArkType, Valibot).

For now I can merge the annotations afterwards without too much hassle, but it’d be great to be able to define them directly with S.meta.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions