structurize 3.9.5__tar.gz → 3.9.6__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.
Files changed (235) hide show
  1. {structurize-3.9.5/structurize.egg-info → structurize-3.9.6}/PKG-INFO +1 -1
  2. {structurize-3.9.5 → structurize-3.9.6}/avrotize/_version.py +3 -3
  3. {structurize-3.9.5 → structurize-3.9.6}/avrotize/commands.json +9 -1
  4. {structurize-3.9.5 → structurize-3.9.6}/avrotize/jstructtoavro.py +15 -5
  5. {structurize-3.9.5 → structurize-3.9.6/structurize.egg-info}/PKG-INFO +1 -1
  6. {structurize-3.9.5 → structurize-3.9.6}/.gitignore +0 -0
  7. {structurize-3.9.5 → structurize-3.9.6}/LICENSE +0 -0
  8. {structurize-3.9.5 → structurize-3.9.6}/MANIFEST.in +0 -0
  9. {structurize-3.9.5 → structurize-3.9.6}/README.md +0 -0
  10. {structurize-3.9.5 → structurize-3.9.6}/avrotize/__init__.py +0 -0
  11. {structurize-3.9.5 → structurize-3.9.6}/avrotize/__main__.py +0 -0
  12. {structurize-3.9.5 → structurize-3.9.6}/avrotize/asn1toavro.py +0 -0
  13. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotize.py +0 -0
  14. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotoasn1.py +0 -0
  15. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotocapnproto.py +0 -0
  16. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotocpp/CMakeLists.txt.jinja +0 -0
  17. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotocpp/build.bat.jinja +0 -0
  18. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotocpp/build.sh.jinja +0 -0
  19. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotocpp/dataclass_body.jinja +0 -0
  20. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotocpp/vcpkg.json.jinja +0 -0
  21. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotocpp.py +0 -0
  22. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotocsharp/README.md.jinja +0 -0
  23. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotocsharp/class_test.cs.jinja +0 -0
  24. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotocsharp/dataclass_core.jinja +0 -0
  25. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotocsharp/enum_test.cs.jinja +0 -0
  26. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotocsharp/project.csproj.jinja +0 -0
  27. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotocsharp/project.sln.jinja +0 -0
  28. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotocsharp/run_coverage.ps1.jinja +0 -0
  29. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotocsharp/run_coverage.sh.jinja +0 -0
  30. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotocsharp/testproject.csproj.jinja +0 -0
  31. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotocsharp.py +0 -0
  32. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotocsv.py +0 -0
  33. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotocue.py +0 -0
  34. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotodatapackage.py +0 -0
  35. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotodb.py +0 -0
  36. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotoflatbuffers.py +0 -0
  37. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotogo/go_enum.jinja +0 -0
  38. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotogo/go_helpers.jinja +0 -0
  39. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotogo/go_struct.jinja +0 -0
  40. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotogo/go_test.jinja +0 -0
  41. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotogo/go_union.jinja +0 -0
  42. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotogo/xml_helpers.jinja +0 -0
  43. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotogo.py +0 -0
  44. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotographql.py +0 -0
  45. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotoiceberg.py +0 -0
  46. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotojava/class_test.java.jinja +0 -0
  47. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotojava/enum_test.java.jinja +0 -0
  48. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotojava/testproject.pom.jinja +0 -0
  49. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotojava.py +0 -0
  50. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotojs/package.json.jinja +0 -0
  51. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotojs.py +0 -0
  52. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotojsons.py +0 -0
  53. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotojstruct.py +0 -0
  54. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotojtd.py +0 -0
  55. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotokusto.py +0 -0
  56. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotomd/README.md.jinja +0 -0
  57. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotomd.py +0 -0
  58. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotools.py +0 -0
  59. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotoparquet.py +0 -0
  60. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotoproto.py +0 -0
  61. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotopython/dataclass_core.jinja +0 -0
  62. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotopython/enum_core.jinja +0 -0
  63. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotopython/pyproject_toml.jinja +0 -0
  64. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotopython/test_class.jinja +0 -0
  65. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotopython/test_enum.jinja +0 -0
  66. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotopython.py +0 -0
  67. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotoraml.py +0 -0
  68. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotorust/dataclass_enum.rs.jinja +0 -0
  69. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotorust/dataclass_struct.rs.jinja +0 -0
  70. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotorust/dataclass_union.rs.jinja +0 -0
  71. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotorust.py +0 -0
  72. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotosmithy.py +0 -0
  73. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotosurreal.py +0 -0
  74. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotothrift.py +0 -0
  75. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotots/class_core.ts.jinja +0 -0
  76. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotots/class_test.ts.jinja +0 -0
  77. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotots/enum_core.ts.jinja +0 -0
  78. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotots/gitignore.jinja +0 -0
  79. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotots/index.ts.jinja +0 -0
  80. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotots/package.json.jinja +0 -0
  81. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotots/tsconfig.json.jinja +0 -0
  82. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotots/xml_runtime.ts.jinja +0 -0
  83. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotots.py +0 -0
  84. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrototsml.py +0 -0
  85. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrotoxsd.py +0 -0
  86. {structurize-3.9.5 → structurize-3.9.6}/avrotize/avrovalidator.py +0 -0
  87. {structurize-3.9.5 → structurize-3.9.6}/avrotize/capnprototoavro.py +0 -0
  88. {structurize-3.9.5 → structurize-3.9.6}/avrotize/cddltostructure.py +0 -0
  89. {structurize-3.9.5 → structurize-3.9.6}/avrotize/choice_inference.py +0 -0
  90. {structurize-3.9.5 → structurize-3.9.6}/avrotize/common.py +0 -0
  91. {structurize-3.9.5 → structurize-3.9.6}/avrotize/constants.py +0 -0
  92. {structurize-3.9.5 → structurize-3.9.6}/avrotize/csvtoavro.py +0 -0
  93. {structurize-3.9.5 → structurize-3.9.6}/avrotize/cuetoavro.py +0 -0
  94. {structurize-3.9.5 → structurize-3.9.6}/avrotize/cuetostructure.py +0 -0
  95. {structurize-3.9.5 → structurize-3.9.6}/avrotize/datapackagetoavro.py +0 -0
  96. {structurize-3.9.5 → structurize-3.9.6}/avrotize/dependencies/cpp/vcpkg/vcpkg.json +0 -0
  97. {structurize-3.9.5 → structurize-3.9.6}/avrotize/dependencies/cs/net100/dependencies.csproj +0 -0
  98. {structurize-3.9.5 → structurize-3.9.6}/avrotize/dependencies/cs/net90/dependencies.csproj +0 -0
  99. {structurize-3.9.5 → structurize-3.9.6}/avrotize/dependencies/go/go121/go.mod +0 -0
  100. {structurize-3.9.5 → structurize-3.9.6}/avrotize/dependencies/java/jdk21/pom.xml +0 -0
  101. {structurize-3.9.5 → structurize-3.9.6}/avrotize/dependencies/python/py312/requirements.txt +0 -0
  102. {structurize-3.9.5 → structurize-3.9.6}/avrotize/dependencies/rust/stable/Cargo.toml +0 -0
  103. {structurize-3.9.5 → structurize-3.9.6}/avrotize/dependencies/typescript/node22/package.json +0 -0
  104. {structurize-3.9.5 → structurize-3.9.6}/avrotize/dependency_resolver.py +0 -0
  105. {structurize-3.9.5 → structurize-3.9.6}/avrotize/dependency_version.py +0 -0
  106. {structurize-3.9.5 → structurize-3.9.6}/avrotize/flatbufferstoavro.py +0 -0
  107. {structurize-3.9.5 → structurize-3.9.6}/avrotize/flatbufferstojstruct.py +0 -0
  108. {structurize-3.9.5 → structurize-3.9.6}/avrotize/generic/generic.avsc +0 -0
  109. {structurize-3.9.5 → structurize-3.9.6}/avrotize/java/xml_support.java.jinja +0 -0
  110. {structurize-3.9.5 → structurize-3.9.6}/avrotize/javascript/xml_runtime.js.jinja +0 -0
  111. {structurize-3.9.5 → structurize-3.9.6}/avrotize/jsonstoavro.py +0 -0
  112. {structurize-3.9.5 → structurize-3.9.6}/avrotize/jsonstostructure.py +0 -0
  113. {structurize-3.9.5 → structurize-3.9.6}/avrotize/jsontoschema.py +0 -0
  114. {structurize-3.9.5 → structurize-3.9.6}/avrotize/jstructtoflatbuffers.py +0 -0
  115. {structurize-3.9.5 → structurize-3.9.6}/avrotize/jstructtoraml.py +0 -0
  116. {structurize-3.9.5 → structurize-3.9.6}/avrotize/jstructtosmithy.py +0 -0
  117. {structurize-3.9.5 → structurize-3.9.6}/avrotize/jtdtoavro.py +0 -0
  118. {structurize-3.9.5 → structurize-3.9.6}/avrotize/jtdtostructure.py +0 -0
  119. {structurize-3.9.5 → structurize-3.9.6}/avrotize/kstructtoavro.py +0 -0
  120. {structurize-3.9.5 → structurize-3.9.6}/avrotize/kustotoavro.py +0 -0
  121. {structurize-3.9.5 → structurize-3.9.6}/avrotize/kustotojstruct.py +0 -0
  122. {structurize-3.9.5 → structurize-3.9.6}/avrotize/mcp_server.py +0 -0
  123. {structurize-3.9.5 → structurize-3.9.6}/avrotize/openapitostructure.py +0 -0
  124. {structurize-3.9.5 → structurize-3.9.6}/avrotize/parquettoavro.py +0 -0
  125. {structurize-3.9.5 → structurize-3.9.6}/avrotize/proto2parser.py +0 -0
  126. {structurize-3.9.5 → structurize-3.9.6}/avrotize/proto3parser.py +0 -0
  127. {structurize-3.9.5 → structurize-3.9.6}/avrotize/prototoavro.py +0 -0
  128. {structurize-3.9.5 → structurize-3.9.6}/avrotize/prototypes/any.avsc +0 -0
  129. {structurize-3.9.5 → structurize-3.9.6}/avrotize/prototypes/api.avsc +0 -0
  130. {structurize-3.9.5 → structurize-3.9.6}/avrotize/prototypes/duration.avsc +0 -0
  131. {structurize-3.9.5 → structurize-3.9.6}/avrotize/prototypes/field_mask.avsc +0 -0
  132. {structurize-3.9.5 → structurize-3.9.6}/avrotize/prototypes/struct.avsc +0 -0
  133. {structurize-3.9.5 → structurize-3.9.6}/avrotize/prototypes/timestamp.avsc +0 -0
  134. {structurize-3.9.5 → structurize-3.9.6}/avrotize/prototypes/type.avsc +0 -0
  135. {structurize-3.9.5 → structurize-3.9.6}/avrotize/prototypes/wrappers.avsc +0 -0
  136. {structurize-3.9.5 → structurize-3.9.6}/avrotize/python_xml_runtime.jinja +0 -0
  137. {structurize-3.9.5 → structurize-3.9.6}/avrotize/ramltoavro.py +0 -0
  138. {structurize-3.9.5 → structurize-3.9.6}/avrotize/ramltojstruct.py +0 -0
  139. {structurize-3.9.5 → structurize-3.9.6}/avrotize/rust/xml_support.rs.jinja +0 -0
  140. {structurize-3.9.5 → structurize-3.9.6}/avrotize/rust_xml.py +0 -0
  141. {structurize-3.9.5 → structurize-3.9.6}/avrotize/schema_inference.py +0 -0
  142. {structurize-3.9.5 → structurize-3.9.6}/avrotize/smithytoavro.py +0 -0
  143. {structurize-3.9.5 → structurize-3.9.6}/avrotize/smithytojstruct.py +0 -0
  144. {structurize-3.9.5 → structurize-3.9.6}/avrotize/sqltoavro.py +0 -0
  145. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretoasn1.py +0 -0
  146. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretocddl.py +0 -0
  147. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretocpp/CMakeLists.txt.jinja +0 -0
  148. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretocpp/build.bat.jinja +0 -0
  149. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretocpp/build.sh.jinja +0 -0
  150. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretocpp/dataclass_body.jinja +0 -0
  151. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretocpp/vcpkg.json.jinja +0 -0
  152. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretocpp.py +0 -0
  153. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretocsharp/class_test.cs.jinja +0 -0
  154. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretocsharp/dataclass_core.jinja +0 -0
  155. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretocsharp/enum_test.cs.jinja +0 -0
  156. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretocsharp/json_structure_converters.cs.jinja +0 -0
  157. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretocsharp/program.cs.jinja +0 -0
  158. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretocsharp/project.csproj.jinja +0 -0
  159. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretocsharp/project.sln.jinja +0 -0
  160. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretocsharp/testproject.csproj.jinja +0 -0
  161. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretocsharp/tuple_converter.cs.jinja +0 -0
  162. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretocsharp.py +0 -0
  163. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretocsv.py +0 -0
  164. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretocue.py +0 -0
  165. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretodatapackage.py +0 -0
  166. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretodb.py +0 -0
  167. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretogo/go_enum.jinja +0 -0
  168. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretogo/go_helpers.jinja +0 -0
  169. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretogo/go_interface.jinja +0 -0
  170. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretogo/go_struct.jinja +0 -0
  171. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretogo/go_test.jinja +0 -0
  172. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretogo/xml_helpers.jinja +0 -0
  173. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretogo.py +0 -0
  174. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretographql.py +0 -0
  175. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretoiceberg.py +0 -0
  176. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretojava/choice_core.jinja +0 -0
  177. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretojava/class_core.jinja +0 -0
  178. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretojava/enum_core.jinja +0 -0
  179. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretojava/equals_hashcode.jinja +0 -0
  180. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretojava/pom.xml.jinja +0 -0
  181. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretojava/tuple_core.jinja +0 -0
  182. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretojava.py +0 -0
  183. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretojs/class_core.js.jinja +0 -0
  184. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretojs/enum_core.js.jinja +0 -0
  185. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretojs/package.json.jinja +0 -0
  186. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretojs/test_class.js.jinja +0 -0
  187. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretojs/test_enum.js.jinja +0 -0
  188. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretojs/test_runner.js.jinja +0 -0
  189. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretojs.py +0 -0
  190. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretojsons.py +0 -0
  191. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretojtd.py +0 -0
  192. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretokusto.py +0 -0
  193. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretomd/README.md.jinja +0 -0
  194. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretomd.py +0 -0
  195. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretoparquet.py +0 -0
  196. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretoproto.py +0 -0
  197. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretopython/dataclass_core.jinja +0 -0
  198. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretopython/enum_core.jinja +0 -0
  199. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretopython/map_alias.jinja +0 -0
  200. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretopython/pyproject_toml.jinja +0 -0
  201. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretopython/test_class.jinja +0 -0
  202. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretopython/test_enum.jinja +0 -0
  203. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretopython.py +0 -0
  204. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretorust/dataclass_enum.rs.jinja +0 -0
  205. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretorust/dataclass_struct.rs.jinja +0 -0
  206. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretorust/dataclass_union.rs.jinja +0 -0
  207. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretorust.py +0 -0
  208. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretots/class_core.ts.jinja +0 -0
  209. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretots/enum_core.ts.jinja +0 -0
  210. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretots/gitignore.jinja +0 -0
  211. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretots/index.ts.jinja +0 -0
  212. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretots/package.json.jinja +0 -0
  213. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretots/test_class.ts.jinja +0 -0
  214. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretots/tsconfig.json.jinja +0 -0
  215. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretots/xml_runtime.ts.jinja +0 -0
  216. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretots.py +0 -0
  217. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretotsml.py +0 -0
  218. {structurize-3.9.5 → structurize-3.9.6}/avrotize/structuretoxsd.py +0 -0
  219. {structurize-3.9.5 → structurize-3.9.6}/avrotize/surrealtoavro.py +0 -0
  220. {structurize-3.9.5 → structurize-3.9.6}/avrotize/thriftstructure.py +0 -0
  221. {structurize-3.9.5 → structurize-3.9.6}/avrotize/thrifttoavro.py +0 -0
  222. {structurize-3.9.5 → structurize-3.9.6}/avrotize/tmslvalidate.py +0 -0
  223. {structurize-3.9.5 → structurize-3.9.6}/avrotize/validate.py +0 -0
  224. {structurize-3.9.5 → structurize-3.9.6}/avrotize/xmltoschema.py +0 -0
  225. {structurize-3.9.5 → structurize-3.9.6}/avrotize/xsdtoavro.py +0 -0
  226. {structurize-3.9.5 → structurize-3.9.6}/build.ps1 +0 -0
  227. {structurize-3.9.5 → structurize-3.9.6}/build.sh +0 -0
  228. {structurize-3.9.5 → structurize-3.9.6}/pyproject.toml +0 -0
  229. {structurize-3.9.5 → structurize-3.9.6}/setup.cfg +0 -0
  230. {structurize-3.9.5 → structurize-3.9.6}/structurize.egg-info/SOURCES.txt +0 -0
  231. {structurize-3.9.5 → structurize-3.9.6}/structurize.egg-info/dependency_links.txt +0 -0
  232. {structurize-3.9.5 → structurize-3.9.6}/structurize.egg-info/entry_points.txt +0 -0
  233. {structurize-3.9.5 → structurize-3.9.6}/structurize.egg-info/requires.txt +0 -0
  234. {structurize-3.9.5 → structurize-3.9.6}/structurize.egg-info/scm_file_list.json +0 -0
  235. {structurize-3.9.5 → structurize-3.9.6}/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.9.5
3
+ Version: 3.9.6
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.9.5'
22
- __version_tuple__ = version_tuple = (3, 9, 5)
21
+ __version__ = version = '3.9.6'
22
+ __version_tuple__ = version_tuple = (3, 9, 6)
23
23
 
24
- __commit_id__ = commit_id = 'ga266ff240'
24
+ __commit_id__ = commit_id = 'g69546e01e'
@@ -4894,7 +4894,8 @@
4894
4894
  "name": "avrotize.jstructtoavro.convert_json_structure_to_avro",
4895
4895
  "args": {
4896
4896
  "structure_file": "input_file_path",
4897
- "avro_file": "output_file_path"
4897
+ "avro_file": "output_file_path",
4898
+ "no_custom_logical_types": "args.no_custom_logical_types"
4898
4899
  }
4899
4900
  },
4900
4901
  "extensions": [
@@ -4914,6 +4915,13 @@
4914
4915
  "type": "str",
4915
4916
  "help": "Path to the Avrotize schema file",
4916
4917
  "required": false
4918
+ },
4919
+ {
4920
+ "name": "--no-custom-logical-types",
4921
+ "type": "bool",
4922
+ "help": "Move custom logicalType annotations to x-original-logical-type without changing base types",
4923
+ "default": false,
4924
+ "required": false
4917
4925
  }
4918
4926
  ],
4919
4927
  "suggested_output_file_path": "{input_file_name}.avsc",
@@ -16,8 +16,9 @@ class JsonStructureToAvro:
16
16
  Convert JSON Structure documents to Avro schema format.
17
17
  """
18
18
 
19
- def __init__(self) -> None:
19
+ def __init__(self, no_custom_logical_types: bool = False) -> None:
20
20
  """Initialize the converter."""
21
+ self.no_custom_logical_types = no_custom_logical_types
21
22
  self.structure_doc: Optional[Dict[str, Any]] = None
22
23
  self.converted_types: Dict[str, Dict[str, Any]] = {}
23
24
  self.definition_avro_names: Dict[str, str] = {}
@@ -894,6 +895,12 @@ class JsonStructureToAvro:
894
895
 
895
896
  raise ValueError(f"Cannot convert type schema: {schema}")
896
897
 
898
+ def _apply_custom_logical_type_option(self, schema: Dict[str, str]) -> Dict[str, str]:
899
+ """Retain disabled custom logical types as non-logical annotations."""
900
+ if self.no_custom_logical_types and schema['logicalType'].startswith('rfc3339-'):
901
+ schema['x-original-logical-type'] = schema.pop('logicalType')
902
+ return schema
903
+
897
904
  def _map_primitive_type(self, struct_type: str) -> Union[str, Dict[str, Any]]:
898
905
  """Map JSON Structure primitive type to Avro primitive type.
899
906
 
@@ -957,7 +964,7 @@ class JsonStructureToAvro:
957
964
 
958
965
  # Check in order: temporal, special, simple
959
966
  if struct_type in temporal_type_mapping:
960
- return temporal_type_mapping[struct_type]
967
+ return self._apply_custom_logical_type_option(temporal_type_mapping[struct_type])
961
968
  if struct_type in special_type_mapping:
962
969
  return special_type_mapping[struct_type]
963
970
  if struct_type in simple_type_mapping:
@@ -1000,7 +1007,7 @@ class JsonStructureToAvro:
1000
1007
  }
1001
1008
 
1002
1009
  if logical_type in logical_mapping:
1003
- return logical_mapping[logical_type]
1010
+ return self._apply_custom_logical_type_option(logical_mapping[logical_type])
1004
1011
 
1005
1012
  # Fallback to base type
1006
1013
  if base_type:
@@ -1014,7 +1021,8 @@ class JsonStructureToAvro:
1014
1021
 
1015
1022
  def convert_json_structure_to_avro(
1016
1023
  structure_file: str,
1017
- avro_file: str
1024
+ avro_file: str,
1025
+ no_custom_logical_types: bool = False
1018
1026
  ) -> None:
1019
1027
  """
1020
1028
  Convert a JSON Structure file to Avro schema file.
@@ -1022,8 +1030,10 @@ def convert_json_structure_to_avro(
1022
1030
  Args:
1023
1031
  structure_file: Path to input JSON Structure file
1024
1032
  avro_file: Path to output Avro schema file
1033
+ no_custom_logical_types: Move custom logicalType values to
1034
+ x-original-logical-type without changing their base types
1025
1035
  """
1026
- converter = JsonStructureToAvro()
1036
+ converter = JsonStructureToAvro(no_custom_logical_types=no_custom_logical_types)
1027
1037
 
1028
1038
  with open(structure_file, 'r', encoding='utf-8') as f:
1029
1039
  structure_schema = json.load(f)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: structurize
3
- Version: 3.9.5
3
+ Version: 3.9.6
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