Service Code Object


On this page:

Service Code Object Formats

JSON Format
 {
    "Code": "1",
    "Desc": {
        "en": "English description for code 1",
        "es": "Spanish description for code 1"
    },
    "SubCodes": [
        {
            "Code": "3",
            "Desc": {
                "en": "Engligh description for child code 3 of parent code 1",
                "es": "Spanish description for child code 3 of parent code 1"
            }
        }
    ]
}

Service Code Object Properties

(info) Required properties are in bold.

PropertyTypeDescription
CodestringIdentifies the unique service code. Codes must be unique at the same level.
Desccollection

A collection of localized text descriptions for the code.

Each key/pair combination defines a single localized language description. The property name specifies the language code and the value of the property is the corresponding localized description for the language.

SubCodescollection

A collection of sub-service codes.

Each object within SubCodes can contain additional SubCodes collections creating a deeply nested service code hierarchy.