Skip to content

Commit

Permalink
Added 'customType' attribute to variable metadata.
Browse files Browse the repository at this point in the history
  • Loading branch information
BjornRoarJoneid authored Feb 7, 2024
1 parent 6467ce9 commit b358e55
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion src/datadoc/datadoc-json-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
},
"custom_type": {
"title": "Custom type for dataset metadata",
"description": "Extend the DataDoc model by adding custom metadata elements as key-value-pairs (string, array og objects).",
"description": "Extend the DataDoc model by adding custom metadata elements as key-value-pairs (string, array or objects).",
"type": "array",
"items": {
"type": "object",
Expand Down Expand Up @@ -381,6 +381,36 @@
"description": "Invalid value(s) description used in addition (or as an alternative) to standard sentinel values.",
"$ref": "./no/languageStringType.json#/languageStringType"
},
"custom_type": {
"title": "Custom type for variable metadata",
"description": "Extend the DataDoc model by adding custom metadata elements as key-value-pairs (string, array or objects).",
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"title": "Key",
"description": "Custom type KEY",
"type": "string"
},
"value": {
"title": "Value",
"description": "Custom type VALUE (of type string, array or object).",
"oneOf": [
{
"type": "string"
},
{
"type": "array"
},
{
"type": "object"
}
]
}
}
}
},
"id": {
"title": "Identifier",
"description": "Unique SSB identifier for the instance variable in the data set",
Expand Down

0 comments on commit b358e55

Please sign in to comment.