ajevans99 / swift-json-schema

Generate JSON Schema documents from Swift
MIT License
12 stars 5 forks source link

Meta validate the `ValidationResult` #32

Open ajevans99 opened 3 weeks ago

ajevans99 commented 3 weeks ago

Should use JSON schema suite to verify the output of the validation result

Also add support for different levels

Flag - A boolean which simply indicates the overall validation result with no further details. Basic - Provides validation information in a flat list structure. Detailed - Provides validation information in a condensed hierarchical structure based on the structure of the schema. Verbose - Provides validation information in an uncondensed hierarchical structure that matches the exact structure of the schema.

https://json-schema.org/draft/2020-12/json-schema-core#name-output-formatting