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:
David Noble
2019-09-16 23:32:26 -07:00
parent 446d44b24b
commit dee374eacc
38 changed files with 1835 additions and 1966 deletions

View 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 }]
}
}
]
}
]
}