{"id":13451786,"url":"https://github.com/elodina/xml-avro","last_synced_at":"2026-01-28T23:11:54.594Z","repository":{"id":13454334,"uuid":"16143896","full_name":"elodina/xml-avro","owner":"elodina","description":"Generate Avro schema and Avro binary from XSD schema and XML ","archived":false,"fork":false,"pushed_at":"2016-12-05T15:26:11.000Z","size":248,"stargazers_count":66,"open_issues_count":8,"forks_count":60,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-07-02T14:47:27.982Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.stealth.ly","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elodina.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-22T15:57:59.000Z","updated_at":"2023-05-04T01:21:56.000Z","dependencies_parsed_at":"2022-09-23T13:10:48.680Z","dependency_job_id":null,"html_url":"https://github.com/elodina/xml-avro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elodina%2Fxml-avro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elodina%2Fxml-avro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elodina%2Fxml-avro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elodina%2Fxml-avro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elodina","download_url":"https://codeload.github.com/elodina/xml-avro/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":213325091,"owners_count":15570233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T07:01:02.469Z","updated_at":"2026-01-28T23:11:54.585Z","avatar_url":"https://github.com/elodina.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"# xml-avro\nThis project provides Converter to convert generic xsd/xml to asvc/avro files.\nAvro schema and avro file are generated from xsd schema and xml file.\n\nAdditionally it includes simple schemaless converter that converts xml to avro and avro to xml.\n\n## Running Project\n1. git clone;\n2. mvn package;\n3. java -jar target/xml-avro*.jar \u003cxsdFile\u003e \u003cxmlFile\u003e {\u003cavscFile\u003e} {\u003cavroFile\u003e} // converts specified xml+xsd to avro+asvc files\n4. java -cp target/xml-avro*.jar ly.stealth.xmlavro.simple.Converter avro \u003cxmlFile\u003e \u003cavroFile\u003e // convert xml to avro\n5. java -cp target/xml-avro*.jar ly.stealth.xmlavro.simple.Converter xml \u003cavroFile\u003e \u003cxmlFile\u003e // convert avro to xml\n\n## Schema-based converter\nUsage:\n```\nXML Avro converter.\nUsage: \"{-d|--debug} {-b|--baseDir \u003cbaseDir\u003e} \u003cxsdFile\u003e \u003cxmlFile\u003e {\u003cavscFile\u003e} {\u003cavroFile\u003e}\"\n```\n## Restrictions\nSchema-based converter currently only supports conversion in one direction: from xml to avro.\n\nConverter has following restriction:\n- xml docs with multiple namespaces are not supported;\n- complex type extensions are not supported;\n\n## Simple converter\nUsage:\n```\n{avro|xml} \u003cinFile\u003e \u003coutFile\u003e\n```\nNote: simple converter uses predefined general avro schema located at src/ly/stealth/xmlavro/simple/xml.avsc","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felodina%2Fxml-avro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felodina%2Fxml-avro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felodina%2Fxml-avro/lists"}