json-schema-utils 0.9.10__tar.gz → 0.9.10.dev5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {json_schema_utils-0.9.10/json_schema_utils.egg-info → json_schema_utils-0.9.10.dev5}/PKG-INFO +1 -1
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5/json_schema_utils.egg-info}/PKG-INFO +1 -1
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/jsutils/simplify.py +5 -1
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/.gitignore +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/LICENSE +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/MANIFEST.in +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/README.md +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/json_schema_utils.egg-info/SOURCES.txt +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/json_schema_utils.egg-info/dependency_links.txt +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/json_schema_utils.egg-info/entry_points.txt +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/json_schema_utils.egg-info/not-zip-safe +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/json_schema_utils.egg-info/requires.txt +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/json_schema_utils.egg-info/top_level.txt +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/jsutils/VERSION +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/jsutils/__init__.py +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/jsutils/convert.py +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/jsutils/inline.py +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/jsutils/recurse.py +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/jsutils/resolver.py +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/jsutils/restruct.py +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/jsutils/schemas.py +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/jsutils/scripts.py +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/jsutils/stats.py +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/jsutils/types.py +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/jsutils/utils.py +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/jsutils/vocab.py +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/pyproject.toml +0 -0
- {json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/setup.cfg +0 -0
|
@@ -408,6 +408,8 @@ def simplifySchema(
|
|
|
408
408
|
for k, v in subs.items():
|
|
409
409
|
if k in _IGNORABLE:
|
|
410
410
|
pass
|
|
411
|
+
elif k in ("if", "then", "else", "not", "allOf", "anyOf", "oneOf", "$ref", "$dynamicRef"):
|
|
412
|
+
compat = False
|
|
411
413
|
elif k in local and v == local[k]:
|
|
412
414
|
pass
|
|
413
415
|
elif k in local:
|
|
@@ -418,10 +420,12 @@ def simplifySchema(
|
|
|
418
420
|
for n in v:
|
|
419
421
|
if n not in local["required"]:
|
|
420
422
|
compat = False
|
|
423
|
+
else:
|
|
424
|
+
compat = False
|
|
421
425
|
else:
|
|
422
426
|
compat = False
|
|
423
427
|
if compat:
|
|
424
|
-
log.info(f"removing ineffective {kw}")
|
|
428
|
+
log.info(f"removing ineffective {kw} at {lpath}")
|
|
425
429
|
del local[kw]
|
|
426
430
|
|
|
427
431
|
# if/then/else
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/json_schema_utils.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/json_schema_utils.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/json_schema_utils.egg-info/requires.txt
RENAMED
|
File without changes
|
{json_schema_utils-0.9.10 → json_schema_utils-0.9.10.dev5}/json_schema_utils.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|