namespace AutomotiveInfotainmentPlatform

features
    FeaturePlaylist       {abstract}
        mandatory         
            or 
                alternative
                    singleUsage      integer
                    musicType             enumeration {'Music', 'Podcast'}
        or
            multiUsage              mandatory  [1..2]          # cardinality group: exactly one sibling selected

features
    FeatureSong                        {abstract}
        mandatory                    {genre                   string}
        genre                             Real          # integer and real attributes
    featureSub                      sub        {sub-feature} # no group here for "or" condition of main group.
  
constraints
    
    /* Playlist constraints */
    simultaneousUsage >= (playlistLength / 1.5) + 4   # relation between multiple attributes
    singleUsage != playlistLength             # same as above, proper spacing used.
    playlistLength > multiUsage                        # no extra spaces needed at all locations of parent features.