avrotize 2.22.2__tar.gz → 3.0.0__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.
- {avrotize-2.22.2 → avrotize-3.0.0}/PKG-INFO +63 -14
- {avrotize-2.22.2 → avrotize-3.0.0}/README.md +62 -13
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/_version.py +3 -3
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotocsv.py +16 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/commands.json +182 -4
- {avrotize-2.22.2 → avrotize-3.0.0}/LICENSE +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/__init__.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/__main__.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/asn1toavro.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotize.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotocpp/CMakeLists.txt.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotocpp/build.bat.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotocpp/build.sh.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotocpp/dataclass_body.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotocpp/vcpkg.json.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotocpp.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotocsharp/README.md.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotocsharp/class_test.cs.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotocsharp/dataclass_core.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotocsharp/enum_test.cs.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotocsharp/project.csproj.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotocsharp/project.sln.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotocsharp/run_coverage.ps1.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotocsharp/run_coverage.sh.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotocsharp/testproject.csproj.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotocsharp.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotodatapackage.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotodb.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotogo/go_enum.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotogo/go_helpers.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotogo/go_struct.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotogo/go_test.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotogo/go_union.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotogo.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotographql.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotoiceberg.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotojava/class_test.java.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotojava/enum_test.java.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotojava/testproject.pom.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotojava.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotojs.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotojsons.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotojstruct.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotokusto.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotomd/README.md.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotomd.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotools.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotoparquet.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotoproto.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotopython/dataclass_core.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotopython/enum_core.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotopython/pyproject_toml.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotopython/test_class.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotopython/test_enum.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotopython.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotorust/dataclass_enum.rs.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotorust/dataclass_struct.rs.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotorust/dataclass_union.rs.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotorust.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotots/class_core.ts.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotots/class_test.ts.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotots/enum_core.ts.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotots/gitignore.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotots/index.ts.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotots/package.json.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotots/tsconfig.json.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotots.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/avrotoxsd.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/cddltostructure.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/common.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/constants.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/csvtoavro.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/datapackagetoavro.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/dependencies/cpp/vcpkg/vcpkg.json +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/dependencies/cs/net90/dependencies.csproj +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/dependencies/go/go121/go.mod +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/dependencies/java/jdk21/pom.xml +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/dependencies/python/py312/requirements.txt +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/dependencies/rust/stable/Cargo.toml +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/dependencies/typescript/node22/package.json +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/dependency_resolver.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/dependency_version.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/generic/generic.avsc +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/jsonstoavro.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/jsonstostructure.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/jstructtoavro.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/kstructtoavro.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/kustotoavro.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/openapitostructure.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/parquettoavro.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/proto2parser.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/proto3parser.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/prototoavro.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/prototypes/any.avsc +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/prototypes/api.avsc +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/prototypes/duration.avsc +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/prototypes/field_mask.avsc +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/prototypes/struct.avsc +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/prototypes/timestamp.avsc +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/prototypes/type.avsc +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/prototypes/wrappers.avsc +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretocddl.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretocpp/CMakeLists.txt.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretocpp/build.bat.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretocpp/build.sh.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretocpp/dataclass_body.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretocpp/vcpkg.json.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretocpp.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretocsharp/class_test.cs.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretocsharp/dataclass_core.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretocsharp/enum_test.cs.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretocsharp/json_structure_converters.cs.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretocsharp/program.cs.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretocsharp/project.csproj.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretocsharp/project.sln.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretocsharp/testproject.csproj.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretocsharp/tuple_converter.cs.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretocsharp.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretocsv.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretodatapackage.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretodb.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretogo/go_enum.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretogo/go_helpers.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretogo/go_interface.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretogo/go_struct.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretogo/go_test.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretogo.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretographql.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretoiceberg.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretojava/choice_core.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretojava/class_core.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretojava/enum_core.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretojava/equals_hashcode.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretojava/pom.xml.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretojava/tuple_core.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretojava.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretojs/class_core.js.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretojs/enum_core.js.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretojs/package.json.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretojs/test_class.js.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretojs/test_enum.js.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretojs/test_runner.js.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretojs.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretojsons.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretokusto.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretomd/README.md.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretomd.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretoproto.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretopython/dataclass_core.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretopython/enum_core.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretopython/map_alias.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretopython/pyproject_toml.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretopython/test_class.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretopython/test_enum.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretopython.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretorust/dataclass_enum.rs.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretorust/dataclass_struct.rs.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretorust/dataclass_union.rs.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretorust.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretots/class_core.ts.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretots/enum_core.ts.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretots/gitignore.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretots/index.ts.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretots/package.json.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretots/test_class.ts.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretots/tsconfig.json.jinja +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretots.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/structuretoxsd.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/avrotize/xsdtoavro.py +0 -0
- {avrotize-2.22.2 → avrotize-3.0.0}/pyproject.toml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: avrotize
|
|
3
|
-
Version:
|
|
3
|
+
Version: 3.0.0
|
|
4
4
|
Summary: Tools to convert from and to Avro Schema from various other schema languages.
|
|
5
5
|
Author-email: Clemens Vasters <clemensv@microsoft.com>
|
|
6
6
|
Requires-Python: >=3.10
|
|
@@ -90,13 +90,13 @@ Converting from Avrotize Schema:
|
|
|
90
90
|
- [`avrotize a2k`](#convert-avrotize-schema-to-kusto-table-declaration) - Convert Avrotize Schema to Kusto table definition.
|
|
91
91
|
- [`avrotize s2k`](#convert-json-structure-schema-to-kusto-table-declaration) - Convert JSON Structure Schema to Kusto table definition.
|
|
92
92
|
- [`avrotize a2sql`](#convert-avrotize-schema-to-sql-table-definition) - Convert Avrotize Schema to SQL table definition.
|
|
93
|
-
- [`avrotize
|
|
93
|
+
- [`avrotize s2sql`](#convert-json-structure-schema-to-sql-schema) - Convert JSON Structure Schema to SQL table definition.
|
|
94
94
|
- [`avrotize a2pq`](#convert-avrotize-schema-to-empty-parquet-file) - Convert Avrotize Schema to Parquet or Iceberg schema.
|
|
95
95
|
- [`avrotize a2ib`](#convert-avrotize-schema-to-iceberg-schema) - Convert Avrotize Schema to Iceberg schema.
|
|
96
96
|
- [`avrotize s2ib`](#convert-json-structure-to-iceberg-schema) - Convert JSON Structure to Iceberg schema.
|
|
97
97
|
- [`avrotize a2mongo`](#convert-avrotize-schema-to-mongodb-schema) - Convert Avrotize Schema to MongoDB schema.
|
|
98
98
|
- [`avrotize a2cassandra`](#convert-avrotize-schema-to-cassandra-schema) - Convert Avrotize Schema to Cassandra schema.
|
|
99
|
-
- [`avrotize
|
|
99
|
+
- [`avrotize s2cassandra`](#convert-json-structure-schema-to-cassandra-schema) - Convert JSON Structure Schema to Cassandra schema.
|
|
100
100
|
- [`avrotize a2es`](#convert-avrotize-schema-to-elasticsearch-schema) - Convert Avrotize Schema to Elasticsearch schema.
|
|
101
101
|
- [`avrotize a2dynamodb`](#convert-avrotize-schema-to-dynamodb-schema) - Convert Avrotize Schema to DynamoDB schema.
|
|
102
102
|
- [`avrotize a2cosmos`](#convert-avrotize-schema-to-cosmosdb-schema) - Convert Avrotize Schema to CosmosDB schema.
|
|
@@ -106,7 +106,7 @@ Converting from Avrotize Schema:
|
|
|
106
106
|
- [`avrotize a2neo4j`](#convert-avrotize-schema-to-neo4j-schema) - Convert Avrotize Schema to Neo4j schema.
|
|
107
107
|
- [`avrotize a2dp`](#convert-avrotize-schema-to-datapackage-schema) - Convert Avrotize Schema to Datapackage schema.
|
|
108
108
|
- [`avrotize a2md`](#convert-avrotize-schema-to-markdown-documentation) - Convert Avrotize Schema to Markdown documentation.
|
|
109
|
-
- [`avrotize
|
|
109
|
+
- [`avrotize s2md`](#convert-json-structure-schema-to-markdown-documentation) - Convert JSON Structure schema to Markdown documentation.
|
|
110
110
|
|
|
111
111
|
Direct conversions (JSON Structure):
|
|
112
112
|
|
|
@@ -137,7 +137,10 @@ Generate code from JSON Structure:
|
|
|
137
137
|
Direct JSON Structure conversions:
|
|
138
138
|
|
|
139
139
|
- [`avrotize s2csv`](#convert-json-structure-to-csv-schema) - Convert JSON Structure schema to CSV schema.
|
|
140
|
+
- [`avrotize a2csv`](#convert-avrotize-schema-to-csv-schema) - Convert Avrotize schema to CSV schema.
|
|
140
141
|
- [`avrotize s2x`](#convert-json-structure-to-xml-schema-xsd) - Convert JSON Structure to XML Schema (XSD).
|
|
142
|
+
- [`avrotize s2graphql`](#convert-json-structure-schema-to-graphql-schema) - Convert JSON Structure schema to GraphQL schema.
|
|
143
|
+
- [`avrotize a2graphql`](#convert-avrotize-schema-to-graphql-schema) - Convert Avrotize schema to GraphQL schema.
|
|
141
144
|
|
|
142
145
|
Other commands:
|
|
143
146
|
|
|
@@ -147,10 +150,6 @@ JSON Structure conversions:
|
|
|
147
150
|
|
|
148
151
|
- [`avrotize s2dp`](#convert-json-structure-schema-to-datapackage-schema) - Convert JSON Structure schema to Datapackage schema.
|
|
149
152
|
|
|
150
|
-
Direct conversions (not via Avrotize Schema):
|
|
151
|
-
|
|
152
|
-
- [`avrotize struct2gql`](#convert-json-structure-schema-to-graphql-schema) - Convert JSON Structure schema to GraphQL schema.
|
|
153
|
-
|
|
154
153
|
## Overview
|
|
155
154
|
|
|
156
155
|
You can use Avrotize to convert between Avro/Avrotize Schema and other schema formats like JSON Schema, XML Schema (XSD), Protocol Buffers (Protobuf), ASN.1, and database schema formats like Kusto Data Table Definition (KQL) and SQL Table Definition. That means you can also convert from JSON Schema to Protobuf going via Avrotize Schema.
|
|
@@ -489,7 +488,7 @@ For detailed conversion rules and type mappings for each SQL dialect, refer to t
|
|
|
489
488
|
### Convert JSON Structure Schema to SQL Schema
|
|
490
489
|
|
|
491
490
|
```bash
|
|
492
|
-
avrotize
|
|
491
|
+
avrotize s2sql [input] --out <path_to_sql_script> --dialect <dialect> [--emit-cloudevents-columns]
|
|
493
492
|
```
|
|
494
493
|
|
|
495
494
|
Parameters:
|
|
@@ -545,7 +544,7 @@ Refer to the detailed conversion notes for Cassandra in the [NoSQL Conversion No
|
|
|
545
544
|
### Convert JSON Structure Schema to Cassandra Schema
|
|
546
545
|
|
|
547
546
|
```bash
|
|
548
|
-
avrotize
|
|
547
|
+
avrotize s2cassandra [input] --out <output_file> [--emit-cloudevents-columns]
|
|
549
548
|
```
|
|
550
549
|
|
|
551
550
|
Parameters:
|
|
@@ -1153,7 +1152,7 @@ Conversion notes:
|
|
|
1153
1152
|
### Convert JSON Structure schema to Markdown documentation
|
|
1154
1153
|
|
|
1155
1154
|
```bash
|
|
1156
|
-
avrotize
|
|
1155
|
+
avrotize s2md <path_to_structure_schema_file> [--out <path_to_markdown_file>]
|
|
1157
1156
|
```
|
|
1158
1157
|
|
|
1159
1158
|
Parameters:
|
|
@@ -1201,6 +1200,25 @@ Conversion notes:
|
|
|
1201
1200
|
- Enum and const keywords are supported and preserved in the output.
|
|
1202
1201
|
- JSON Structure-specific features like `$ref`, `$extends`, definitions, and namespaces are resolved during conversion.
|
|
1203
1202
|
|
|
1203
|
+
### Convert Avrotize Schema to CSV Schema
|
|
1204
|
+
|
|
1205
|
+
```bash
|
|
1206
|
+
avrotize a2csv <path_to_avro_schema_file> [--out <path_to_csv_schema_file>]
|
|
1207
|
+
```
|
|
1208
|
+
|
|
1209
|
+
Parameters:
|
|
1210
|
+
|
|
1211
|
+
- `<path_to_avro_schema_file>`: The path to the Avrotize schema file to be converted. If omitted, the file is read from stdin.
|
|
1212
|
+
- `--out`: The path to the CSV schema file to write the conversion result to. If omitted, the output is directed to stdout.
|
|
1213
|
+
|
|
1214
|
+
Conversion notes:
|
|
1215
|
+
|
|
1216
|
+
- The tool converts Avrotize schemas to CSV Schema format.
|
|
1217
|
+
- Avro primitive types (string, int, long, float, double, boolean, bytes) are mapped to appropriate CSV schema types.
|
|
1218
|
+
- Avro logical types (date, timestamp-millis, decimal, uuid) are preserved in the output.
|
|
1219
|
+
- Complex types (records, arrays, maps) are represented as strings in CSV schema, as CSV format doesn't have native support for nested structures.
|
|
1220
|
+
- Only single record types can be converted to CSV schema.
|
|
1221
|
+
|
|
1204
1222
|
### Convert JSON Structure to Protocol Buffers
|
|
1205
1223
|
|
|
1206
1224
|
```bash
|
|
@@ -1283,7 +1301,7 @@ Conversion notes:
|
|
|
1283
1301
|
### Convert JSON Structure schema to GraphQL schema
|
|
1284
1302
|
|
|
1285
1303
|
```bash
|
|
1286
|
-
avrotize
|
|
1304
|
+
avrotize s2graphql [input] --out <path_to_graphql_schema_file>
|
|
1287
1305
|
```
|
|
1288
1306
|
|
|
1289
1307
|
Parameters:
|
|
@@ -1308,12 +1326,43 @@ Example:
|
|
|
1308
1326
|
|
|
1309
1327
|
```bash
|
|
1310
1328
|
# Convert a JSON Structure schema to GraphQL
|
|
1311
|
-
avrotize
|
|
1329
|
+
avrotize s2graphql myschema.struct.json --out myschema.graphql
|
|
1312
1330
|
|
|
1313
1331
|
# Read from stdin and write to stdout
|
|
1314
|
-
cat myschema.struct.json | avrotize
|
|
1332
|
+
cat myschema.struct.json | avrotize s2graphql > myschema.graphql
|
|
1333
|
+
```
|
|
1334
|
+
|
|
1335
|
+
### Convert Avrotize schema to GraphQL schema
|
|
1336
|
+
|
|
1337
|
+
```bash
|
|
1338
|
+
avrotize a2graphql [input] --out <path_to_graphql_schema_file>
|
|
1315
1339
|
```
|
|
1316
1340
|
|
|
1341
|
+
Parameters:
|
|
1342
|
+
|
|
1343
|
+
- `[input]`: The path to the Avrotize schema file. If omitted, the file is read from stdin.
|
|
1344
|
+
- `--out <path_to_graphql_schema_file>`: The path to the output GraphQL schema file.
|
|
1345
|
+
|
|
1346
|
+
Conversion notes:
|
|
1347
|
+
|
|
1348
|
+
- Converts Avrotize schema to GraphQL schema language (SDL)
|
|
1349
|
+
- Avro primitive types (string, int, long, float, double, boolean, bytes) are mapped to GraphQL scalar types
|
|
1350
|
+
- Avro logical types (date, timestamp-millis, decimal, uuid) are mapped to custom GraphQL scalars
|
|
1351
|
+
- Avro record types become GraphQL object types
|
|
1352
|
+
- Avro arrays become GraphQL lists `[Type]`
|
|
1353
|
+
- Avro maps are represented using the JSON scalar type
|
|
1354
|
+
- Avro unions are converted to GraphQL union types
|
|
1355
|
+
- Avro enums become GraphQL enum types
|
|
1356
|
+
|
|
1357
|
+
Example:
|
|
1358
|
+
|
|
1359
|
+
```bash
|
|
1360
|
+
# Convert an Avrotize schema to GraphQL
|
|
1361
|
+
avrotize a2graphql myschema.avsc --out myschema.graphql
|
|
1362
|
+
|
|
1363
|
+
# Read from stdin and write to stdout
|
|
1364
|
+
cat myschema.avsc | avrotize a2graphql > myschema.graphql
|
|
1365
|
+
```
|
|
1317
1366
|
|
|
1318
1367
|
This document provides an overview of the usage and functionality of Avrotize. For more detailed information, please refer to the [Avrotize Schema documentation](specs/avrotize-schema.md) and the individual command help messages.
|
|
1319
1368
|
|
|
@@ -42,13 +42,13 @@ Converting from Avrotize Schema:
|
|
|
42
42
|
- [`avrotize a2k`](#convert-avrotize-schema-to-kusto-table-declaration) - Convert Avrotize Schema to Kusto table definition.
|
|
43
43
|
- [`avrotize s2k`](#convert-json-structure-schema-to-kusto-table-declaration) - Convert JSON Structure Schema to Kusto table definition.
|
|
44
44
|
- [`avrotize a2sql`](#convert-avrotize-schema-to-sql-table-definition) - Convert Avrotize Schema to SQL table definition.
|
|
45
|
-
- [`avrotize
|
|
45
|
+
- [`avrotize s2sql`](#convert-json-structure-schema-to-sql-schema) - Convert JSON Structure Schema to SQL table definition.
|
|
46
46
|
- [`avrotize a2pq`](#convert-avrotize-schema-to-empty-parquet-file) - Convert Avrotize Schema to Parquet or Iceberg schema.
|
|
47
47
|
- [`avrotize a2ib`](#convert-avrotize-schema-to-iceberg-schema) - Convert Avrotize Schema to Iceberg schema.
|
|
48
48
|
- [`avrotize s2ib`](#convert-json-structure-to-iceberg-schema) - Convert JSON Structure to Iceberg schema.
|
|
49
49
|
- [`avrotize a2mongo`](#convert-avrotize-schema-to-mongodb-schema) - Convert Avrotize Schema to MongoDB schema.
|
|
50
50
|
- [`avrotize a2cassandra`](#convert-avrotize-schema-to-cassandra-schema) - Convert Avrotize Schema to Cassandra schema.
|
|
51
|
-
- [`avrotize
|
|
51
|
+
- [`avrotize s2cassandra`](#convert-json-structure-schema-to-cassandra-schema) - Convert JSON Structure Schema to Cassandra schema.
|
|
52
52
|
- [`avrotize a2es`](#convert-avrotize-schema-to-elasticsearch-schema) - Convert Avrotize Schema to Elasticsearch schema.
|
|
53
53
|
- [`avrotize a2dynamodb`](#convert-avrotize-schema-to-dynamodb-schema) - Convert Avrotize Schema to DynamoDB schema.
|
|
54
54
|
- [`avrotize a2cosmos`](#convert-avrotize-schema-to-cosmosdb-schema) - Convert Avrotize Schema to CosmosDB schema.
|
|
@@ -58,7 +58,7 @@ Converting from Avrotize Schema:
|
|
|
58
58
|
- [`avrotize a2neo4j`](#convert-avrotize-schema-to-neo4j-schema) - Convert Avrotize Schema to Neo4j schema.
|
|
59
59
|
- [`avrotize a2dp`](#convert-avrotize-schema-to-datapackage-schema) - Convert Avrotize Schema to Datapackage schema.
|
|
60
60
|
- [`avrotize a2md`](#convert-avrotize-schema-to-markdown-documentation) - Convert Avrotize Schema to Markdown documentation.
|
|
61
|
-
- [`avrotize
|
|
61
|
+
- [`avrotize s2md`](#convert-json-structure-schema-to-markdown-documentation) - Convert JSON Structure schema to Markdown documentation.
|
|
62
62
|
|
|
63
63
|
Direct conversions (JSON Structure):
|
|
64
64
|
|
|
@@ -89,7 +89,10 @@ Generate code from JSON Structure:
|
|
|
89
89
|
Direct JSON Structure conversions:
|
|
90
90
|
|
|
91
91
|
- [`avrotize s2csv`](#convert-json-structure-to-csv-schema) - Convert JSON Structure schema to CSV schema.
|
|
92
|
+
- [`avrotize a2csv`](#convert-avrotize-schema-to-csv-schema) - Convert Avrotize schema to CSV schema.
|
|
92
93
|
- [`avrotize s2x`](#convert-json-structure-to-xml-schema-xsd) - Convert JSON Structure to XML Schema (XSD).
|
|
94
|
+
- [`avrotize s2graphql`](#convert-json-structure-schema-to-graphql-schema) - Convert JSON Structure schema to GraphQL schema.
|
|
95
|
+
- [`avrotize a2graphql`](#convert-avrotize-schema-to-graphql-schema) - Convert Avrotize schema to GraphQL schema.
|
|
93
96
|
|
|
94
97
|
Other commands:
|
|
95
98
|
|
|
@@ -99,10 +102,6 @@ JSON Structure conversions:
|
|
|
99
102
|
|
|
100
103
|
- [`avrotize s2dp`](#convert-json-structure-schema-to-datapackage-schema) - Convert JSON Structure schema to Datapackage schema.
|
|
101
104
|
|
|
102
|
-
Direct conversions (not via Avrotize Schema):
|
|
103
|
-
|
|
104
|
-
- [`avrotize struct2gql`](#convert-json-structure-schema-to-graphql-schema) - Convert JSON Structure schema to GraphQL schema.
|
|
105
|
-
|
|
106
105
|
## Overview
|
|
107
106
|
|
|
108
107
|
You can use Avrotize to convert between Avro/Avrotize Schema and other schema formats like JSON Schema, XML Schema (XSD), Protocol Buffers (Protobuf), ASN.1, and database schema formats like Kusto Data Table Definition (KQL) and SQL Table Definition. That means you can also convert from JSON Schema to Protobuf going via Avrotize Schema.
|
|
@@ -441,7 +440,7 @@ For detailed conversion rules and type mappings for each SQL dialect, refer to t
|
|
|
441
440
|
### Convert JSON Structure Schema to SQL Schema
|
|
442
441
|
|
|
443
442
|
```bash
|
|
444
|
-
avrotize
|
|
443
|
+
avrotize s2sql [input] --out <path_to_sql_script> --dialect <dialect> [--emit-cloudevents-columns]
|
|
445
444
|
```
|
|
446
445
|
|
|
447
446
|
Parameters:
|
|
@@ -497,7 +496,7 @@ Refer to the detailed conversion notes for Cassandra in the [NoSQL Conversion No
|
|
|
497
496
|
### Convert JSON Structure Schema to Cassandra Schema
|
|
498
497
|
|
|
499
498
|
```bash
|
|
500
|
-
avrotize
|
|
499
|
+
avrotize s2cassandra [input] --out <output_file> [--emit-cloudevents-columns]
|
|
501
500
|
```
|
|
502
501
|
|
|
503
502
|
Parameters:
|
|
@@ -1105,7 +1104,7 @@ Conversion notes:
|
|
|
1105
1104
|
### Convert JSON Structure schema to Markdown documentation
|
|
1106
1105
|
|
|
1107
1106
|
```bash
|
|
1108
|
-
avrotize
|
|
1107
|
+
avrotize s2md <path_to_structure_schema_file> [--out <path_to_markdown_file>]
|
|
1109
1108
|
```
|
|
1110
1109
|
|
|
1111
1110
|
Parameters:
|
|
@@ -1153,6 +1152,25 @@ Conversion notes:
|
|
|
1153
1152
|
- Enum and const keywords are supported and preserved in the output.
|
|
1154
1153
|
- JSON Structure-specific features like `$ref`, `$extends`, definitions, and namespaces are resolved during conversion.
|
|
1155
1154
|
|
|
1155
|
+
### Convert Avrotize Schema to CSV Schema
|
|
1156
|
+
|
|
1157
|
+
```bash
|
|
1158
|
+
avrotize a2csv <path_to_avro_schema_file> [--out <path_to_csv_schema_file>]
|
|
1159
|
+
```
|
|
1160
|
+
|
|
1161
|
+
Parameters:
|
|
1162
|
+
|
|
1163
|
+
- `<path_to_avro_schema_file>`: The path to the Avrotize schema file to be converted. If omitted, the file is read from stdin.
|
|
1164
|
+
- `--out`: The path to the CSV schema file to write the conversion result to. If omitted, the output is directed to stdout.
|
|
1165
|
+
|
|
1166
|
+
Conversion notes:
|
|
1167
|
+
|
|
1168
|
+
- The tool converts Avrotize schemas to CSV Schema format.
|
|
1169
|
+
- Avro primitive types (string, int, long, float, double, boolean, bytes) are mapped to appropriate CSV schema types.
|
|
1170
|
+
- Avro logical types (date, timestamp-millis, decimal, uuid) are preserved in the output.
|
|
1171
|
+
- Complex types (records, arrays, maps) are represented as strings in CSV schema, as CSV format doesn't have native support for nested structures.
|
|
1172
|
+
- Only single record types can be converted to CSV schema.
|
|
1173
|
+
|
|
1156
1174
|
### Convert JSON Structure to Protocol Buffers
|
|
1157
1175
|
|
|
1158
1176
|
```bash
|
|
@@ -1235,7 +1253,7 @@ Conversion notes:
|
|
|
1235
1253
|
### Convert JSON Structure schema to GraphQL schema
|
|
1236
1254
|
|
|
1237
1255
|
```bash
|
|
1238
|
-
avrotize
|
|
1256
|
+
avrotize s2graphql [input] --out <path_to_graphql_schema_file>
|
|
1239
1257
|
```
|
|
1240
1258
|
|
|
1241
1259
|
Parameters:
|
|
@@ -1260,11 +1278,42 @@ Example:
|
|
|
1260
1278
|
|
|
1261
1279
|
```bash
|
|
1262
1280
|
# Convert a JSON Structure schema to GraphQL
|
|
1263
|
-
avrotize
|
|
1281
|
+
avrotize s2graphql myschema.struct.json --out myschema.graphql
|
|
1264
1282
|
|
|
1265
1283
|
# Read from stdin and write to stdout
|
|
1266
|
-
cat myschema.struct.json | avrotize
|
|
1284
|
+
cat myschema.struct.json | avrotize s2graphql > myschema.graphql
|
|
1285
|
+
```
|
|
1286
|
+
|
|
1287
|
+
### Convert Avrotize schema to GraphQL schema
|
|
1288
|
+
|
|
1289
|
+
```bash
|
|
1290
|
+
avrotize a2graphql [input] --out <path_to_graphql_schema_file>
|
|
1267
1291
|
```
|
|
1268
1292
|
|
|
1293
|
+
Parameters:
|
|
1294
|
+
|
|
1295
|
+
- `[input]`: The path to the Avrotize schema file. If omitted, the file is read from stdin.
|
|
1296
|
+
- `--out <path_to_graphql_schema_file>`: The path to the output GraphQL schema file.
|
|
1297
|
+
|
|
1298
|
+
Conversion notes:
|
|
1299
|
+
|
|
1300
|
+
- Converts Avrotize schema to GraphQL schema language (SDL)
|
|
1301
|
+
- Avro primitive types (string, int, long, float, double, boolean, bytes) are mapped to GraphQL scalar types
|
|
1302
|
+
- Avro logical types (date, timestamp-millis, decimal, uuid) are mapped to custom GraphQL scalars
|
|
1303
|
+
- Avro record types become GraphQL object types
|
|
1304
|
+
- Avro arrays become GraphQL lists `[Type]`
|
|
1305
|
+
- Avro maps are represented using the JSON scalar type
|
|
1306
|
+
- Avro unions are converted to GraphQL union types
|
|
1307
|
+
- Avro enums become GraphQL enum types
|
|
1308
|
+
|
|
1309
|
+
Example:
|
|
1310
|
+
|
|
1311
|
+
```bash
|
|
1312
|
+
# Convert an Avrotize schema to GraphQL
|
|
1313
|
+
avrotize a2graphql myschema.avsc --out myschema.graphql
|
|
1314
|
+
|
|
1315
|
+
# Read from stdin and write to stdout
|
|
1316
|
+
cat myschema.avsc | avrotize a2graphql > myschema.graphql
|
|
1317
|
+
```
|
|
1269
1318
|
|
|
1270
1319
|
This document provides an overview of the usage and functionality of Avrotize. For more detailed information, please refer to the [Avrotize Schema documentation](specs/avrotize-schema.md) and the individual command help messages.
|
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '
|
|
32
|
-
__version_tuple__ = version_tuple = (
|
|
31
|
+
__version__ = version = '3.0.0'
|
|
32
|
+
__version_tuple__ = version_tuple = (3, 0, 0)
|
|
33
33
|
|
|
34
|
-
__commit_id__ = commit_id = '
|
|
34
|
+
__commit_id__ = commit_id = 'gb201f8a65'
|
|
@@ -39,7 +39,23 @@ class AvroToCSVSchemaConverter:
|
|
|
39
39
|
|
|
40
40
|
:param avro_schema: Avro schema as a dictionary.
|
|
41
41
|
:return: CSV schema as a dictionary.
|
|
42
|
+
:raises ValueError: If the schema is not a single record type.
|
|
42
43
|
"""
|
|
44
|
+
# Handle schema arrays (unions of records) - not supported
|
|
45
|
+
if isinstance(avro_schema, list):
|
|
46
|
+
raise ValueError(
|
|
47
|
+
"CSV schema conversion only supports single record schemas. "
|
|
48
|
+
"The provided schema is an array/union of multiple types. "
|
|
49
|
+
"Use --record-type to specify a single record type if available."
|
|
50
|
+
)
|
|
51
|
+
|
|
52
|
+
# Ensure it's a record type with fields
|
|
53
|
+
if not isinstance(avro_schema, dict) or 'fields' not in avro_schema:
|
|
54
|
+
raise ValueError(
|
|
55
|
+
"CSV schema conversion only supports Avro record types with 'fields'. "
|
|
56
|
+
f"The provided schema has type: {avro_schema.get('type', 'unknown') if isinstance(avro_schema, dict) else type(avro_schema).__name__}"
|
|
57
|
+
)
|
|
58
|
+
|
|
43
59
|
csv_schema = {
|
|
44
60
|
"fields": []
|
|
45
61
|
}
|
|
@@ -649,6 +649,108 @@
|
|
|
649
649
|
}
|
|
650
650
|
]
|
|
651
651
|
},
|
|
652
|
+
{
|
|
653
|
+
"command": "s2k",
|
|
654
|
+
"description": "Convert JSON Structure schema to Kusto table schemas",
|
|
655
|
+
"group": "4_RTDB",
|
|
656
|
+
"function": {
|
|
657
|
+
"name": "avrotize.structuretokusto.convert_structure_to_kusto",
|
|
658
|
+
"args": {
|
|
659
|
+
"structure_schema_path": "input_file_path",
|
|
660
|
+
"kusto_file_path": "output_file_path",
|
|
661
|
+
"kusto_uri": "args.kusto_uri",
|
|
662
|
+
"kusto_database": "args.kusto_database",
|
|
663
|
+
"structure_record_type": "args.record_type",
|
|
664
|
+
"emit_cloudevents_columns": "args.emit_cloudevents_columns",
|
|
665
|
+
"emit_cloudevents_dispatch_table": "args.emit_cloudevents_dispatch"
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
"extensions": [
|
|
669
|
+
".struct.json",
|
|
670
|
+
".json"
|
|
671
|
+
],
|
|
672
|
+
"args": [
|
|
673
|
+
{
|
|
674
|
+
"name": "input",
|
|
675
|
+
"type": "str",
|
|
676
|
+
"nargs": "?",
|
|
677
|
+
"help": "Path to the JSON Structure schema file (or read from stdin if omitted)",
|
|
678
|
+
"required": false
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"name": "--out",
|
|
682
|
+
"type": "str",
|
|
683
|
+
"help": "Path to the Kusto table schema file",
|
|
684
|
+
"required": false
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"name": "--struct",
|
|
688
|
+
"type": "str",
|
|
689
|
+
"help": "Deprecated: Path to the JSON Structure schema file (for backcompat)",
|
|
690
|
+
"required": false
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"name": "--kusto-uri",
|
|
694
|
+
"type": "str",
|
|
695
|
+
"help": "Kusto Cluster URI to apply the generated schema to.",
|
|
696
|
+
"required": false
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"name": "--kusto-database",
|
|
700
|
+
"type": "str",
|
|
701
|
+
"help": "Kusto database name to apply the generated schema to",
|
|
702
|
+
"required": false
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"name": "--record-type",
|
|
706
|
+
"type": "str",
|
|
707
|
+
"help": "Record type in the JSON Structure schema",
|
|
708
|
+
"required": false
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"name": "--emit-cloudevents-columns",
|
|
712
|
+
"type": "bool",
|
|
713
|
+
"help": "Add CloudEvents columns to the Kusto table",
|
|
714
|
+
"default": false,
|
|
715
|
+
"required": false
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"name": "--emit-cloudevents-dispatch",
|
|
719
|
+
"type": "bool",
|
|
720
|
+
"help": "Emit a _cloudevents_dispatch ingestion table and update policies for each generated table",
|
|
721
|
+
"required": false
|
|
722
|
+
}
|
|
723
|
+
],
|
|
724
|
+
"suggested_output_file_path": "{input_file_name}.kql",
|
|
725
|
+
"prompts": [
|
|
726
|
+
{
|
|
727
|
+
"name": "--kusto-uri",
|
|
728
|
+
"message": "Enter the Kusto Cluster URI (optional)",
|
|
729
|
+
"type": "str",
|
|
730
|
+
"required": false
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"name": "--kusto-database",
|
|
734
|
+
"message": "Enter the Kusto database name (optional)",
|
|
735
|
+
"type": "str",
|
|
736
|
+
"required": false
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"name": "--emit-cloudevents-columns",
|
|
740
|
+
"message": "Add CloudEvents columns to the Kusto table?",
|
|
741
|
+
"type": "bool",
|
|
742
|
+
"default": false,
|
|
743
|
+
"required": false
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"name": "--emit-cloudevents-dispatch",
|
|
747
|
+
"message": "Emit a _cloudevents_dispatch ingestion table and update policies?",
|
|
748
|
+
"type": "bool",
|
|
749
|
+
"default": false,
|
|
750
|
+
"required": false
|
|
751
|
+
}
|
|
752
|
+
]
|
|
753
|
+
},
|
|
652
754
|
{
|
|
653
755
|
"command": "k2a",
|
|
654
756
|
"description": "Convert Kusto schema to Avrotize schema",
|
|
@@ -836,7 +938,7 @@
|
|
|
836
938
|
]
|
|
837
939
|
},
|
|
838
940
|
{
|
|
839
|
-
"command": "
|
|
941
|
+
"command": "s2sql",
|
|
840
942
|
"description": "Convert JSON Structure schema to SQL schema",
|
|
841
943
|
"group": "5_SQL",
|
|
842
944
|
"function": {
|
|
@@ -1821,6 +1923,44 @@
|
|
|
1821
1923
|
"suggested_output_file_path": "{input_file_name}.csv.json",
|
|
1822
1924
|
"prompts": []
|
|
1823
1925
|
},
|
|
1926
|
+
{
|
|
1927
|
+
"command": "a2csv",
|
|
1928
|
+
"description": "Convert Avrotize schema to CSV schema",
|
|
1929
|
+
"group": "1_Schemas",
|
|
1930
|
+
"function": {
|
|
1931
|
+
"name": "avrotize.avrotocsv.convert_avro_to_csv_schema",
|
|
1932
|
+
"args": {
|
|
1933
|
+
"avro_schema_path": "input_file_path",
|
|
1934
|
+
"csv_schema_path": "output_file_path"
|
|
1935
|
+
}
|
|
1936
|
+
},
|
|
1937
|
+
"extensions": [
|
|
1938
|
+
".avsc"
|
|
1939
|
+
],
|
|
1940
|
+
"args": [
|
|
1941
|
+
{
|
|
1942
|
+
"name": "input",
|
|
1943
|
+
"type": "str",
|
|
1944
|
+
"nargs": "?",
|
|
1945
|
+
"help": "Path to the Avrotize schema file (or read from stdin if omitted)",
|
|
1946
|
+
"required": false
|
|
1947
|
+
},
|
|
1948
|
+
{
|
|
1949
|
+
"name": "--out",
|
|
1950
|
+
"type": "str",
|
|
1951
|
+
"help": "Output path for the CSV schema file",
|
|
1952
|
+
"required": false
|
|
1953
|
+
},
|
|
1954
|
+
{
|
|
1955
|
+
"name": "--avsc",
|
|
1956
|
+
"type": "str",
|
|
1957
|
+
"help": "Deprecated: Path to the Avrotize schema file (for backcompat)",
|
|
1958
|
+
"required": false
|
|
1959
|
+
}
|
|
1960
|
+
],
|
|
1961
|
+
"suggested_output_file_path": "{input_file_name}.csv.json",
|
|
1962
|
+
"prompts": []
|
|
1963
|
+
},
|
|
1824
1964
|
{
|
|
1825
1965
|
"command": "s2rust",
|
|
1826
1966
|
"description": "Convert JSON Structure to Rust classes",
|
|
@@ -2147,7 +2287,7 @@
|
|
|
2147
2287
|
]
|
|
2148
2288
|
},
|
|
2149
2289
|
{
|
|
2150
|
-
"command": "
|
|
2290
|
+
"command": "s2graphql",
|
|
2151
2291
|
"description": "Convert JSON Structure schema to GraphQL schema",
|
|
2152
2292
|
"group": "1_Schemas",
|
|
2153
2293
|
"function": {
|
|
@@ -2179,6 +2319,44 @@
|
|
|
2179
2319
|
"suggested_output_file_path": "{input_file_name}.graphql",
|
|
2180
2320
|
"prompts": []
|
|
2181
2321
|
},
|
|
2322
|
+
{
|
|
2323
|
+
"command": "a2graphql",
|
|
2324
|
+
"description": "Convert Avrotize schema to GraphQL schema",
|
|
2325
|
+
"group": "1_Schemas",
|
|
2326
|
+
"function": {
|
|
2327
|
+
"name": "avrotize.avrotographql.convert_avro_to_graphql",
|
|
2328
|
+
"args": {
|
|
2329
|
+
"avro_schema_path": "input_file_path",
|
|
2330
|
+
"graphql_schema_path": "output_file_path"
|
|
2331
|
+
}
|
|
2332
|
+
},
|
|
2333
|
+
"extensions": [
|
|
2334
|
+
".avsc"
|
|
2335
|
+
],
|
|
2336
|
+
"args": [
|
|
2337
|
+
{
|
|
2338
|
+
"name": "input",
|
|
2339
|
+
"type": "str",
|
|
2340
|
+
"nargs": "?",
|
|
2341
|
+
"help": "Path to the Avrotize schema file (or read from stdin if omitted)",
|
|
2342
|
+
"required": false
|
|
2343
|
+
},
|
|
2344
|
+
{
|
|
2345
|
+
"name": "--out",
|
|
2346
|
+
"type": "str",
|
|
2347
|
+
"help": "Path to the GraphQL schema file",
|
|
2348
|
+
"required": false
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
"name": "--avsc",
|
|
2352
|
+
"type": "str",
|
|
2353
|
+
"help": "Deprecated: Path to the Avrotize schema file (for backcompat)",
|
|
2354
|
+
"required": false
|
|
2355
|
+
}
|
|
2356
|
+
],
|
|
2357
|
+
"suggested_output_file_path": "{input_file_name}.graphql",
|
|
2358
|
+
"prompts": []
|
|
2359
|
+
},
|
|
2182
2360
|
{
|
|
2183
2361
|
"command": "a2ts",
|
|
2184
2362
|
"description": "Convert Avrotize schema to TypeScript classes",
|
|
@@ -2824,7 +3002,7 @@
|
|
|
2824
3002
|
]
|
|
2825
3003
|
},
|
|
2826
3004
|
{
|
|
2827
|
-
"command": "
|
|
3005
|
+
"command": "s2cassandra",
|
|
2828
3006
|
"description": "Convert JSON Structure schema to Cassandra schema",
|
|
2829
3007
|
"group": "5_SQL",
|
|
2830
3008
|
"function": {
|
|
@@ -3368,7 +3546,7 @@
|
|
|
3368
3546
|
"prompts": []
|
|
3369
3547
|
},
|
|
3370
3548
|
{
|
|
3371
|
-
"command": "
|
|
3549
|
+
"command": "s2md",
|
|
3372
3550
|
"description": "Convert JSON Structure schema to Markdown documentation",
|
|
3373
3551
|
"group": "7_Utility",
|
|
3374
3552
|
"function": {
|
|
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
|