structurize 3.5.7__tar.gz → 3.5.8__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.
- {structurize-3.5.7/structurize.egg-info → structurize-3.5.8}/PKG-INFO +1 -1
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/_version.py +3 -3
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/jstructtoavro.py +4 -0
- {structurize-3.5.7 → structurize-3.5.8/structurize.egg-info}/PKG-INFO +1 -1
- {structurize-3.5.7 → structurize-3.5.8}/.gitignore +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/LICENSE +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/MANIFEST.in +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/README.md +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/__init__.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/__main__.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/asn1toavro.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotize.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotocpp.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotocsharp.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotocsv.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotodatapackage.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotodb.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotogo.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotographql.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotoiceberg.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotojava.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotojs.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotojsons.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotojstruct.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotokusto.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotomd.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotools.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotoparquet.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotoproto.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotopython.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotorust.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotots.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrototsml.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrotoxsd.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/avrovalidator.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/cddltostructure.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/choice_inference.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/commands.json +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/common.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/constants.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/csvtoavro.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/datapackagetoavro.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/dependencies/cpp/vcpkg/vcpkg.json +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/dependencies/typescript/node22/package.json +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/dependency_resolver.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/dependency_version.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/jsonstoavro.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/jsonstostructure.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/jsontoschema.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/kstructtoavro.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/kustotoavro.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/kustotojstruct.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/mcp_server.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/openapitostructure.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/parquettoavro.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/proto2parser.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/proto3parser.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/prototoavro.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/schema_inference.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/sqltoavro.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretocddl.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretocpp.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretocsharp.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretocsv.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretodatapackage.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretodb.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretogo.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretographql.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretoiceberg.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretojava.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretojs.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretojsons.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretokusto.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretomd.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretoproto.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretopython.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretorust.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretots.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretotsml.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/structuretoxsd.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/tmslvalidate.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/validate.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/xmltoschema.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/avrotize/xsdtoavro.py +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/build.ps1 +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/build.sh +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/pyproject.toml +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/setup.cfg +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/structurize.egg-info/SOURCES.txt +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/structurize.egg-info/dependency_links.txt +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/structurize.egg-info/entry_points.txt +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/structurize.egg-info/requires.txt +0 -0
- {structurize-3.5.7 → structurize-3.5.8}/structurize.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: structurize
|
|
3
|
-
Version: 3.5.
|
|
3
|
+
Version: 3.5.8
|
|
4
4
|
Summary: Tools to convert from and to JSON Structure from various other schema languages.
|
|
5
5
|
Author-email: Clemens Vasters <clemensv@microsoft.com>
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '3.5.
|
|
22
|
-
__version_tuple__ = version_tuple = (3, 5,
|
|
21
|
+
__version__ = version = '3.5.8'
|
|
22
|
+
__version_tuple__ = version_tuple = (3, 5, 8)
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'g3100f0e10'
|
|
@@ -699,6 +699,10 @@ class JsonStructureToAvro:
|
|
|
699
699
|
# Handle inline types
|
|
700
700
|
type_value = schema.get('type')
|
|
701
701
|
|
|
702
|
+
# Handle type value that is itself a reference or complex type (e.g. {"$ref": "..."})
|
|
703
|
+
if isinstance(type_value, dict):
|
|
704
|
+
return self._convert_type_reference(type_value)
|
|
705
|
+
|
|
702
706
|
# Handle union types (type is an array like ["string", "null"])
|
|
703
707
|
if isinstance(type_value, list):
|
|
704
708
|
return [self._map_primitive_type(t) if isinstance(t, str) else self._convert_type_reference(t) for t in type_value]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: structurize
|
|
3
|
-
Version: 3.5.
|
|
3
|
+
Version: 3.5.8
|
|
4
4
|
Summary: Tools to convert from and to JSON Structure from various other schema languages.
|
|
5
5
|
Author-email: Clemens Vasters <clemensv@microsoft.com>
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{structurize-3.5.7 → structurize-3.5.8}/avrotize/dependencies/typescript/node22/package.json
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|