Skip to content

Json Managed Representation (SCALE) complete

Stig Norland edited this page Sep 20, 2018 · 5 revisions
{
    "id": "b69b9158-243f-4098-973d-7e8f50db5893",
    "modified": 1537279475384,
    "modifiedBy": {...},
    "agency": {...},
    "name": "0 - 10 EXTR NEG VS: EXTR POS",
    "basedOnObject": null,
    "basedOnRevision": null,
    "version": {...},
    "changeKind": "CREATED",
    "changeComment": "New element status",
    "comments": [],
    "classKind": "CATEGORY",

There is no code in a managed representation, and this may be changed in the future.

    "code": {
        "codeValue": "",
        "alignment": null
    },
    "label": "",
    "description": "ScaleDomain",
    "inputLimit": {
        "minimum": "0",
        "maximum": "10"
    },
    "classificationLevel": "Interval",
    "format": null,
    "hierarchyLevel": "GROUP_ENTITY",
    "categoryType": "SCALE"
    "children": [{
        "id": "086daf9b-db00-4122-ae67-73b5f9586bc7",
        "modified": 1537278368441,
        "modifiedBy": {...},
        "agency": {...},
        "name": "Extermely negative",
        "basedOnObject": null,
        "basedOnRevision": null,
        "version": {...},
        "changeKind": "CREATED",
        "changeComment": "New element status",
        "comments": [],
        "classKind": "CATEGORY",

Category code are not part of a Category, however managed representations are always part of a responsdomain, that do have codes, so the backend will always attach the code to the correct Category

        "code": {
            "codeValue": "0",
            "alignment": "text-left"
        },
        "children": [],
        "label": "Extermely negative",
        "description": "",
        "inputLimit": {
            "minimum": "1",
            "maximum": "1"
        },
        "classificationLevel": null,
        "format": null,
        "hierarchyLevel": "ENTITY",
        "categoryType": "CATEGORY"
    }, {
        "id": "35fb2008-411f-4d06-8b6d-e6b5a0bbb494",
        "modified": 1537278235864,
        "modifiedBy": {...},
        "agency": {...},
        "name": "Extremely positive",
        "basedOnObject": null,
        "basedOnRevision": null,
        "version": {...},
        "changeKind": "CREATED",
        "changeComment": "New element status",
        "comments": [],
        "classKind": "CATEGORY",
        "code": {
            "codeValue": "10",
            "alignment": "text-left"
        },
        "children": [],
        "label": "Extremely positive",
        "description": "",
        "inputLimit": {
            "minimum": "1",
            "maximum": "1"
        },
        "classificationLevel": null,
        "format": null,
        "hierarchyLevel": "ENTITY",
        "categoryType": "CATEGORY"
    }],
},