Skip to content

Commit e0dfdd5

Browse files
committed
[doc] update header info, tag Draft-4
1 parent c8bfe9f commit e0dfdd5

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

JData_specification.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
JData: A general-purpose data annotation and interchange format
22
============================================================
33

4-
- **Copyright**: (C) Qianqian Fang (2011, 2015-2025) <q.fang at neu.edu>
4+
- **Copyright**: (C) Qianqian Fang (2011, 2015-2026) <q.fang at neu.edu>
55
- **License**: Apache License, Version 2.0
6-
- **Version**: V1 (Draft-4.preview)
7-
- **URL**: https://neurojson.org/jdata/draft3
6+
- **Version**: V1 (Draft-4)
7+
- **URL**: https://neurojson.org/jdata/draft4
88
- **Status**: Under development
99
- **Development**: https://github.com/NeuroJSON/jdata
1010
- **Acknowledgment**: This project is supported by US National Institute of Health (NIH)
@@ -21,7 +21,7 @@ hashes, linked lists, trees and graphs, and support optional annotations
2121
for data grouping and metadata for each data element. The generated data files are
2222
compatible with JSON/binary JSON specifications and can be readily processed by
2323
most existing parsers. Advanced features such as array compression, data
24-
linking and anchoring are supported to greatly enhance portability and
24+
linking and anchoring are supported to enhance portability and
2525
scalability of the generated data files.
2626

2727

@@ -690,7 +690,7 @@ Here, the array annotation keywords are defined below:
690690
100x100 array stored in 32x32 tiles with zlib compression:
691691
```
692692
{
693-
"_ArrayType_": "float32",
693+
"_ArrayType_": "single",
694694
"_ArraySize_": [100, 100],
695695
"_ArrayChunks_": [32, 32],
696696
"_ArrayZipType_": "zlib",
@@ -1250,8 +1250,8 @@ For example, in the above example, one can define the columns as
12501250
"_TableCols_": [
12511251
{"DataName": "Name", "DataType": "string"},
12521252
{"DataName": "Age", "DataType": "uint32"},
1253-
{"DataName": "Degree", "DataType": "string"},
1254-
{"DataName": "Height", "DataType": "single"}
1253+
{"DataName": "Degree", "DataType": "string"},
1254+
{"DataName": "Height", "DataType": "single"}
12551255
],
12561256
...
12571257
```
@@ -1452,11 +1452,11 @@ shall be stored as
14521452
If a node does not have a next or prior element, the `"_ListNext_"` or `"_ListPrior_"` value
14531453
should be set to `null`.
14541454

1455-
An optional `"_ListLength_"` integer annotation may be added as inline metadata on the
1455+
An optional `"Length"` integer annotation may be added as inline metadata on the
14561456
`"_LinkedList_"` container to declare the total number of nodes, enabling parsers to
14571457
pre-allocate the appropriate buffer before traversal. For example:
14581458
```
1459-
"_LinkedList_(measurements)::_ListLength_=4": [...]
1459+
"_LinkedList_(measurements)::Length=4": [...]
14601460
```
14611461

14621462
The name label referred to in the `"_ListNext_"` or `"_ListPrior_"` fields has a scope

0 commit comments

Comments
 (0)