Skip to content

Commit

Permalink
Added 'data_element_path' for documentation of hierarchical datasets.
Browse files Browse the repository at this point in the history
  • Loading branch information
BjornRoarJoneid authored Feb 6, 2024
1 parent 16613ad commit 58a8ae2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/datadoc/datadoc-json-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,13 @@
"short_name": {
"type": "string",
"title": "Short name",
"description": "Physical name of the variable in the dataset. Should match the recommended short name."
"description": "Physical name of the variable (data element) in the dataset. Should match the recommended short name."
},
"data_element_path": {
"title": "Data element path",
"description": "The path (dot notation) to the data element in a hierarchical data structure, eg. 'person.adress'. Must be given in addition to the short_name.",
"$comment": "For hierarchical datasets only, eg. json and xml documents.",
"type": "string"
},
"name": {
"title": "Name",
Expand Down

0 comments on commit 58a8ae2

Please sign in to comment.