ack_json_schema_builder 1.0.0-beta.4
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 #
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