mirror of
https://github.com/microsoft/HybridRow.git
synced 2026-01-23 19:33:16 +00:00
Added, revised, and debugged some tests and test issues. Updated javadocs and pom.xml. We now add SystemSchema.json to azure-cosmos-serialization.jar. Javadocs don't currently build.
This commit is contained in:
28
test-data/TaggedApiSchema.json
Normal file
28
test-data/TaggedApiSchema.json
Normal file
@@ -0,0 +1,28 @@
|
||||
// Tagged demo schema that utilizes tagged types.
|
||||
{
|
||||
"schemas": [
|
||||
{
|
||||
"name": "TaggedApi",
|
||||
"id": 1,
|
||||
"type": "schema",
|
||||
"properties": [
|
||||
{
|
||||
"path": "tag1",
|
||||
"type": {
|
||||
"type": "tagged",
|
||||
"immutable": true,
|
||||
"items": [{ "type": "utf8", "nullable": false }]
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "tag2",
|
||||
"type": {
|
||||
"type": "tagged",
|
||||
"immutable": false,
|
||||
"items": [{ "type": "int32", "nullable": false }, { "type": "int64", "nullable": false }]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user