most_schema_parser 0.0.3 copy "most_schema_parser: ^0.0.3" to clipboard
most_schema_parser: ^0.0.3 copied to clipboard

Highly customizable JSON Schema object model mapper and validator.

MOST Schema Parser

most logo

pub version

Highly customizable JSON Schema object model mapper.

Usage #

  • Create JsonSchema object;
  • Convert JsonSchema into MostJsonSchema;
  • Use it!

For more information on the usage, please, check example/.

Implementation #

MostJsonSchemaParser is designed to convert JSON Schema into MostJsonSchema. It has a customMappers parameter which is allowing to customize property-to-most-object mapping.

MostJsonSchema contains the original JsonSchema object for the reference and a list of most properties MostProperty.

MostProperty have the following implementations:

  • MostObjectProperty
  • MostValueProperty, which is inherited in:
    • BooleanMostProperty
    • StringMostProperty
    • EnumMostProperty
    • NumberMostProperty
    • ArrayMostProperty

MostProperty is open for extension if special property needs to be implemented.

2
likes
160
pub points
51%
popularity

Publisher

verified publishermost.io

Highly customizable JSON Schema object model mapper and validator.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

json_schema

More

Packages that depend on most_schema_parser