jsonschema_diff.core.custom_compare¶
Submodules¶
Classes¶
Ranges for JSON Schema: |
Package Contents¶
- class CompareList(*args: Any, **kwargs: Any)[source]¶
- elements: list[CompareListElement] = []¶
- changed_elements: list[CompareListElement] = []¶
- class CompareRange(*args: Any, **kwargs: Any)[source]¶
- Ranges for JSON Schema:
value: minimum/maximum (+ exclusiveMinimum/Maximum: bool|number)
length: minLength/maxLength
items: minItems/maxItems
properties: minProperties/maxProperties
Notes
bool is not considered a number (excluded from isinstance(int))
use only dict_compare (ToCompare by keys)
- INFINITY = '∞'¶