Skip to content

builtins: json.match_schema support #181

Description

@philipaconrad

Description

Supporting JSON schema matching in Swift OPA with json.match_schema would allow much richer input validation options for folks using it to evaluate their Rego policies.

We should add this and related builtins in the future.

Also, since we've upgraded to Swift 6.1, which allows us to start using package traits, we can potentially use external jsonschema libraries, and just gate the builtins behind an appropriate trait.

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