Skip to content

COOM Profile: C-USER

Synopsis

The COOM C-USER profile allows for the representation of user-generated cardinalities for a specific element.

Building Blocks

Example: City Bike

The product CityBike is designed to be very safe on the road and therefore offers an extensive configuration of spoke reflectors for the wheels. In principle, it is possible to configure at maximum 99 reflectors per wheel, but during the configuration process the user has to specify the concrete amount of instances.

product {
    CityBike cityBike
}

structure CityBike {
    Wheel frontWheel
    Wheel rearWheel
}

structure Wheel {
    0..99 SpokeReflectors spokeReflectors
}

structure SpokeReflectors {
    ReflectorType type
    Color color
}

enumeration ReflectorType { oval thin }

enumeration Color { Green Blue Red }