Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

dataDescription.json

Ryan Birmingham edited this page Sep 21, 2017 · 2 revisions

dataDescription

The dataDescription.json file is the specification that the data provider provides, which provides the system, the information pertaining to the number of attributes, the type of each attribute, whether or not filtering would be performed on the attribute etc.

The following is an example of a dataDescription.json file:

#!json
[
    {
        "name": "id",
        "datatype": "integer",
        "dataProvider": "source1",
        "attributeType": ["visual", "key"]
    },
    {
        "name": "age",
        "datatype": "integer",
        "dataProvider": "source1",
        "attributeType": ["visual", "filtering"]
    },
    {
        "name": "isActive",
        "datatype": "boolean",
        "dataProvider": "source1",
        "attributeType": ["visual", "filtering"]
    },
    {
        "name": "Ai",
        "datatype": "integer",
        "dataProvider": "source1",
        "attributeType": ["filtering"]
    },
    {
        "name": "Bi",
        "datatype": "integer",
        "dataProvider": "source1",
        "attributeType": ["visual", "filtering"]
    }
]