HybridRow/experimental/java/schemas/SystemSchema.json
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

55 lines
1.6 KiB
JSON

// HybridRow RecordIO Schema
{
"name": "Microsoft.Azure.Cosmos.HybridRow.RecordIO",
"version": "v1",
"schemas": [
{
"name": "EmptySchema",
"id": 2147473650,
"type": "schema",
"properties": []
},
{
"name": "Segment",
"id": 2147473648,
"type": "schema",
"properties": [
{
"path": "length",
"type": { "type": "int32", "storage": "fixed" },
"comment":
"(Required) length (in bytes) of this RecordIO segment header itself. Does NOT include the length of the records that follow."
},
{
"path": "comment",
"type": { "type": "utf8", "storage": "sparse" },
"comment": "A comment describing the data in this RecordIO segment."
},
{
// TODO: this should be converted to a HybridRow UDT instead.
"path": "sdl",
"type": { "type": "utf8", "storage": "sparse" },
"comment": "A HybridRow Schema in SDL (json-format)."
}
]
},
{
"name": "Record",
"id": 2147473649,
"type": "schema",
"properties": [
{
"path": "length",
"type": { "type": "int32", "storage": "fixed", "nullable": false },
"comment": "(Required) length (in bytes) of the HybridRow value that follows this record header."
},
{
"path": "crc32",
"type": { "type": "uint32", "storage": "fixed", "nullable": false },
"comment": "(Optional) CRC-32 as described in ISO 3309."
}
]
}
]
}