forked from datacontract/datacontract-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix of importing avro schema that includes an array inside a neste…
…d record or object (datacontract#176) * added docker-compose.yml and documentation * add conda environment * Adding support for debugging with vscode * bugfix avro import when array type is inside a nested field of the avro schema * revert conda and vscode debug configurations
- Loading branch information
1 parent
232997f
commit 0c03d0d
Showing
4 changed files
with
179 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
{ | ||
"fields": [ | ||
{ | ||
"name": "Entries", | ||
"type": { | ||
"items": { | ||
"fields": [ | ||
{ | ||
"name": "Identifier", | ||
"type": { | ||
"logicalType": "uuid", | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"default": null, | ||
"name": "BranchPromo", | ||
"type": [ | ||
"null", | ||
{ | ||
"fields": [ | ||
{ | ||
"name": "CodePrefix", | ||
"type": "int" | ||
}, | ||
{ | ||
"name": "Criteria", | ||
"type": { | ||
"fields": [ | ||
{ | ||
"default": null, | ||
"name": "MinimumSpendThreshold", | ||
"type": [ | ||
"null", | ||
"double" | ||
] | ||
}, | ||
{ | ||
"default": null, | ||
"name": "ApplicableBranchIDs", | ||
"type": [ | ||
"null", | ||
{ | ||
"items": "string", | ||
"type": "array" | ||
} | ||
] | ||
}, | ||
{ | ||
"default": null, | ||
"name": "ProductGroupDetails", | ||
"type": [ | ||
"null", | ||
{ | ||
"fields": [ | ||
{ | ||
"name": "IncludesAlcohol", | ||
"type": "boolean" | ||
}, | ||
{ | ||
"default": null, | ||
"name": "ItemList", | ||
"type": [ | ||
"null", | ||
{ | ||
"items": { | ||
"fields": [ | ||
{ | ||
"name": "ProductID", | ||
"type": "string" | ||
}, | ||
{ | ||
"default": null, | ||
"name": "IsPromoItem", | ||
"type": [ | ||
"null", | ||
"boolean" | ||
] | ||
} | ||
], | ||
"name": "ItemRecord", | ||
"namespace": "domain.DemoNamespace.DemoEvent.DemoRecord.CriteriaRecord.ProductGroupDetailsRecord", | ||
"type": "record" | ||
}, | ||
"type": "array" | ||
} | ||
] | ||
} | ||
], | ||
"name": "ProductGroupDetailsRecord", | ||
"namespace": "domain.DemoNamespace.DemoEvent.DemoRecord.CriteriaRecord", | ||
"type": "record" | ||
} | ||
] | ||
} | ||
], | ||
"name": "CriteriaRecord", | ||
"namespace": "domain.DemoNamespace.DemoEvent.DemoRecord", | ||
"type": "record" | ||
} | ||
} | ||
], | ||
"name": "DemoRecord", | ||
"namespace": "domain.DemoNamespace.DemoEvent", | ||
"type": "record" | ||
} | ||
] | ||
} | ||
], | ||
"name": "DemoEvent", | ||
"namespace": "domain.DemoNamespace", | ||
"type": "record" | ||
}, | ||
"type": "array" | ||
} | ||
} | ||
], | ||
"name": "MarketingLoyaltyAggregation", | ||
"namespace": "domain.schemas", | ||
"type": "record" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters