ack_json_schema_builder 1.0.0-beta.4 copy "ack_json_schema_builder: ^1.0.0-beta.4" to clipboard
ack_json_schema_builder: ^1.0.0-beta.4 copied to clipboard

JSON Schema Builder converter for ACK validation library

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.0-beta.4 - 2025-12-29 #

Fixed #

  • Complete JSON schema conversion coverage (#45)

Improved #

  • Consolidated JSON schema utilities and reduced duplication (#40)

1.0.0-beta.1 - 2025-11-01 #

Added #

  • Initial release of ack_json_schema_builder package
  • Extension method .toJsonSchemaBuilder() for converting ACK schemas
  • Support for all basic schema types (string, integer, double, boolean, object, array)
  • Support for enum schemas
  • Constraint mapping (minLength, maxLength, minimum, maximum, uniqueItems)
  • Optional field support
  • Comprehensive test suite with 17+ tests
  • Full documentation and examples

Supported #

  • String constraints (minLength, maxLength, pattern, format)
  • Numeric constraints (minimum, maximum)
  • Object schemas with required/optional fields
  • Array schemas with minItems, maxItems, uniqueItems
  • Enum value validation
  • AnyOf union types
  • Discriminated object schemas
  • Nested schemas

Limitations #

  • Custom refinements (.refine()) not supported
  • Default values not included in JSON Schema
  • TransformedSchema metadata overrides limited due to immutable Schema objects
0
likes
150
points
157
downloads

Publisher

unverified uploader

Weekly Downloads

JSON Schema Builder converter for ACK validation library

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ack, json_schema_builder, meta

More

Packages that depend on ack_json_schema_builder