Configuration: Metadata Objects
Package
A package is a container that contains metadata objects such as ThingTypes, EventTypes, PropertySetTypes, and Property Types. The Configuration service orchestrates the calls to other services such as thing metadata services and business partner metadata services to ensure a consistent system configuration.
For example, if the tenant namespace is com-abc, then the package name is com.abc.core.automobiles. For ease of reference, the rest of the document contains example payloads with the package name as core.automobiles.
For more information about configuring a package, see Package Configuration.
The following diagram illustrates the various metadata objects:
Property
The properties of a thing have a specific data type assigned. You can group the properties under a property set type. For example, the colour and body style of the car, pressure and rotation speed of the wheel, or capacity and transmission of an engine are some of the properties.
Annotation is an array of attributes used to qualify properties of a property set type. You can define annotations in a package and assign it only to property set types that belong to the same package. In addition to the annotations you define, you can also assign the predefined annotations offered by SAP.
The properties of the event property set type holds the measurement values based on which the events are triggered. The properties have a specific data type assigned. You can group the properties under a property set type. For example, the temperature of the engine and the message displayed when the temperature of engine exceeds the threshold value are some of the properties.
Property Set Type
Property set type is a group of attributes that are used to describe things. Property set types enable groups of properties to be assigned to a thing. Property set types are assigned to thing types to describe a thing. Property set type can be assigned to one of the available data categories such as MasterData, TimeSeriesData, DerivedData, and Parameters. For example, core.automobiles:Car, core.automobiles:Wheel, and core.automobiles:Engine are valid property set types. The colour and body style of the car, pressure and rotation speed of the wheel, and capacity and transmission of an engine are some of the properties that you can define for the corresponding property set type.
Similarly, you can define property set types to be assigned to an event. These property set types belong to the data category EventData and are assigned to event types to describe an event. For example, Exceeded Temperature is a valid property set type defined for an event type. Temperature of the engine and the message displayed when the temperature exceeds are some of the properties that you can define for the corresponding property set type.
For more information about configuring the property set type, see Property Set Type.
Thing Type
Thing type is used to group the property sets that describes a thing. For example, you can define a thing type core.automobiles:ABCXSeries. You can create different things, for example, different automobiles identified by their license plates or vehicle identification numbers.
For more information about configuring a thing type, see Thing Type.
Property Set
The assigned property set type for a thing type or an event type is called a property set. For example, property set type core.automobiles:Wheel is assigned as property sets wheelfr and wheelfl for a thing type.
The following diagram illustrates a package as an example. This package contains two thing types - core.automobiles:ABC2Series and core.automobiles:ABCXSeries; one for each car model. The property set types core.automobiles:Car and core.automobiles:Engine that contain master data properties such as registration number and torque are assigned to both the car models as property sets car and engine, respectively. In addition, the property set types core.automobiles:Wheel and core.automobiles:DriveUnit that contain time series properties such as rotation speed, power consumption, pressure, and temperature are also assigned to both the car models as property sets wheel_fr and drive_fr, respectively. An instance of a thing type in the example can be a car with a registration number RA KL 8136 and colour as black.

Thing
A thing is an instance of a thing type. Thing type and thing have a one-to-many relationship, that is, one thing type may be referenced by many things, while each thing is defined by exactly one thing type. For example, you can create a thing of a specific car model ABCXSeries of thing type core.automobiles:ABCXSeries and specify values for the attributes defined in the core.automobiles:ABCXSeries thing type.
For information about creating a thing, see Onboarding Things.
Event Type
An event type is used to group the property sets that describe an event along with the different statuses and severities. You can define event types as part of the package configuration. You can create events of different event types to associate the change in data for a thing.
Event
An event instance of an event type.
Thing Model
The following diagram is an example thing model:
Example
Industrial Robot
Consider an industrial robot as a Thing. Industrial robots can be used in a production line of a car manufacturing plant. It can have different components such as a motor drive, hydraulic piston, and so on. These components carry sensors that provide relevant data about the robot at specific time intervals.
The Configuration service is used to model Things. These are the types of data that can be stored and read using the Thing service. Consider the motor drive component of the robot. The motor drive can have different signals from the sensors such as temperature, power consumption, motor status, and rotations per minute. The data that comes from these sensors can have different properties (such as temperature, power consumption) and units of measure (K, KWHr). This forms the basic atom of a Thing known as PropertySetType.
There can be many types of such industrial robots. A thing type contains an array of property set types. A robot of Type A can contain both property set types (for example, motor drive and piston) while another robot of Type B may contain only one of the property set types (for example, motor drive).
Car Manufacturer
Consider a car manufacturer whose task is to monitor the performance of all manufactured cars out of the assigned production line. Cars of different models (for example, ABC2Series and ABCXSeries) produced by this manufacturer can have some attributes that are similar. In such case, each car model can be modeled as a thing type containing many property set types that in turn contain properties.
A few of the properties such as body style, class, wheel base can be master data that corresponds to non-time series data. Few of the properties such as pressure and temperature of a wheel can correspond to time series data (data that changes with time very frequently while the car is in operation).