Class Category

A category is used for the categorisation of types like processes, flows, etc. The tricky thing is that the Category class inherits also from the CategorizedEntity type so that a category can have a category attribute which is then the parent category of this category (uff).

~

Properties:

modelType ModelType The type of models that can be linked to the category.

~

Properties from CategorizedEntity:

category Ref[Category] The category of the entity.
tags List[string] A list of optional tags. A tag is just a string which should not contain commas (and other special characters).
library string If this entity is part of a library, this field contains the identifier of that library. The identifier is typically just the combination of the library name and version.

~

Properties from RootEntity:

name string The name of the entity.
description string The description of the entity.
version string A version number in MAJOR.MINOR.PATCH format where the MINOR and PATCH fields are optional and the fields may have leading zeros (so 01.00.00 is the same as 1.0.0 or 1).
lastChange dateTime The timestamp when the entity was changed the last time.

~

JSON-LD Example

{
  "@context": "http://greendelta.github.io/olca-schema/context.jsonld",
  "@type": "Category",
  "@id": "e7e7833c-d22a-477d-b765-bf2b80cd83ef",
  "name": "buildings",
  "modelType": "FLOW",
  "category": {
    "@type": "Category",
    "@id": "4570d2ec-89d0-4927-ba3f-1b6795a9a137",
    "name": "agricultural means of production"
  }
}