src/__fixtures__/json/dataElementAttributes.json

Summary

Maintainability
Test Coverage
[
    {
        "code": "marktribute",
        "lastUpdated": "2015-08-31T16:30:18.736+0000",
        "id": "FpoWdhxCMwH",
        "href": "http://localhost:8080/dhis/api/attributes/FpoWdhxCMwH",
        "created": "2015-08-24T13:15:09.589+0000",
        "name": "marktribute",
        "indicatorAttribute": false,
        "indicatorGroupAttribute": false,
        "userAttribute": false,
        "displayName": "marktribute",
        "userGroupAttribute": false,
        "dataElementAttribute": true,
        "mandatory": true,
        "categoryOptionGroupAttribute": false,
        "trackedEntityAttribute": false,
        "externalAccess": false,
        "programStageAttribute": false,
        "programAttribute": false,
        "valueType": "number",
        "categoryOptionAttribute": false,
        "organisationUnitGroupAttribute": false,
        "organisationUnitGroupSetAttribute": false,
        "trackedEntityAttributeAttribute": false,
        "organisationUnitAttribute": false,
        "dataSetAttribute": false,
        "dataElementGroupAttribute": false,
        "access": {
            "read": true,
            "update": true,
            "externalize": false,
            "delete": true,
            "write": true,
            "manage": false
        },
        "userGroupAccesses": []
    },
    {
        "code": "marktribute2",
        "lastUpdated": "2015-08-31T16:30:14.953+0000",
        "id": "tpA3Ngyvp9N",
        "href": "http://localhost:8080/dhis/api/attributes/tpA3Ngyvp9N",
        "created": "2015-08-27T08:27:02.743+0000",
        "name": "marktribute2",
        "indicatorAttribute": false,
        "indicatorGroupAttribute": false,
        "userAttribute": false,
        "displayName": "marktribute2",
        "userGroupAttribute": false,
        "dataElementAttribute": true,
        "mandatory": false,
        "categoryOptionGroupAttribute": false,
        "trackedEntityAttribute": false,
        "externalAccess": false,
        "programStageAttribute": false,
        "programAttribute": false,
        "valueType": "string",
        "categoryOptionAttribute": false,
        "organisationUnitGroupAttribute": false,
        "organisationUnitGroupSetAttribute": false,
        "trackedEntityAttributeAttribute": false,
        "organisationUnitAttribute": false,
        "dataSetAttribute": false,
        "dataElementGroupAttribute": false,
        "access": {
            "read": true,
            "update": true,
            "externalize": false,
            "delete": true,
            "write": true,
            "manage": false
        },
        "userGroupAccesses": []
    },
    {
        "lastUpdated": "2015-08-31T16:30:24.234+0000",
        "id": "S8a2OBRnqEc",
        "href": "http://localhost:8080/dhis/api/attributes/S8a2OBRnqEc",
        "created": "2015-08-31T16:15:23.963+0000",
        "name": "name",
        "indicatorAttribute": false,
        "indicatorGroupAttribute": false,
        "userAttribute": false,
        "displayName": "name",
        "userGroupAttribute": false,
        "dataElementAttribute": true,
        "mandatory": true,
        "categoryOptionGroupAttribute": false,
        "trackedEntityAttribute": false,
        "externalAccess": false,
        "programStageAttribute": false,
        "programAttribute": false,
        "valueType": "string",
        "categoryOptionAttribute": false,
        "organisationUnitGroupAttribute": false,
        "organisationUnitGroupSetAttribute": false,
        "trackedEntityAttributeAttribute": false,
        "organisationUnitAttribute": false,
        "dataSetAttribute": false,
        "dataElementGroupAttribute": false,
        "access": {
            "read": true,
            "update": true,
            "externalize": false,
            "delete": true,
            "write": true,
            "manage": false
        },
        "userGroupAccesses": []
    }
]