########## Vocabulary ########## If you want to contribute to openMINDS by adding information to the openMINDS vocabulary we advise you to first review this chapter. For each contribution, please raise an `ISSUE `_. Start the issue title with ``vocab: `` followed by an informative short title for your contribution. Please provide a more detailed explanation of your contribution in issue description. We will discuss your contribution with you before a pull request is made (by you or by us if you do not feel comfortable making a pull request yourself). Schema types ############ In openMINDS, schema types are considered version independent, meaning the general information about a schema type remains the same across versions (e.g. its description). We maintain this schema type information centrally on the main openMINDS GitHub repository under: `vocab/types.json `_ In this JSON file, each vocabulary implementation for a single schema type is structured in the following way: .. code-block:: json { "SCHEMATYPE": { "color": "HEXCOLOR", "description": "SCHEMATYPE_DESCRIPTION", "hasNamespace": [ { "inVersions": [ "VERSION" ], "namespace": "SCHEMATYPE_NAMESPACE" } ], "identical": [ ["VERSION"] ], "isPartOfVersion": [ "VERSION" ], "label": "SCHEMALABEL", "name": "SCHEMANAME" } } .. note:: This file is auto-generated with each new schema commit on openMINDS. However, the attributes ``"color"``, ``"description"``, and ``"label"`` can be manually overwritten. Properties ########## In openMINDS, general information on properties (e.g., description) are considered schema and (mostly) version independent. We maintain this information centrally on the main openMINDS GitHub repository under: `vocab/properties.json `_ In this JSON file, each vocabulary implementation for a single property is structured in the following way: .. code-block:: json { "PROPERTYNAME": { "asString": { "formatting": "STRINGFORMAT", "inVersions": [ "VERSION" ], "multiline": "BOOLEAN" }, "description": "PROPERTYNAME_DESCRIPTION", "hasNamespace": [ { "inVersions": [ "VERSION" ], "namespace": "PROPERTYNAME_NAMESPACE" } ], "label": "PROPERTYLABEL", "labelPlural": "PROPERTYLABEL", "name": "PROPERTYNAME_SHORT", "namePlural": "PROPERTYLABEL", "usedIn": { "VERSION": [ "SCHEMATYPE" ] } } } .. note:: This file is auto-generated with each new commit on openMINDS. However, the attributes ``"description"``, ``"label"``, ``"labelPlural"``, and ``"namePlural"`` can be manually overwritten.