Jason Hunter ce112dcdf1
Release 1.1.0-preview 3 (#6)
Release roll-up snapshot of C#/C++ codebase at version 1.1.0-preview.
This release matches the current shipping nugets.
2021-05-05 17:18:35 -07:00

40 lines
1.3 KiB
JSON

// Todo demo schema that utilizes typed maps.
{
"schemas": [
{ "name": "Movie", "id": 1, "type": "schema",
"properties": [
{ "path": "cast", "type": {
"type": "map",
"keys": { "type": "utf8", "nullable": false },
"values": { "type": "utf8", "nullable": false }
} },
{ "path": "stats", "type": {
"type": "map",
"keys": { "type": "guid", "nullable": false },
"values": { "type": "float64", "nullable": false }
} },
{ "path": "related", "type": {
"comment": "map: actor -> { map: moveId -> roleName }",
"type": "map",
"keys": { "type": "utf8", "nullable": false },
"values": {
"type": "map",
"nullable": false,
"keys": { "type": "int64", "nullable": false },
"values": { "type": "utf8", "nullable": false }
}
} },
{ "path": "revenue", "type": {
"comment": "map: releaseDate -> Earnings }",
"type": "map",
"keys": { "type": "datetime", "nullable": false },
"values": { "type": "schema", "name": "Earnings", "nullable": false }
} }
]},
{ "name": "Earnings", "id": 2, "type": "schema",
"properties": [
{ "path": "domestic", "type": { "type": "decimal", "storage": "fixed" } },
{ "path": "worldwide", "type": { "type": "decimal", "storage": "fixed" } }
]}
]
}