       buildEnumValuesRepr group, inline, cb
 
 
+# Builds JSON Schema representation for *Element* node containing an enum.
 buildEnumRepr = ({groups, inherited, inline, nonPrimitiveItems}, cb) ->
   async.parallel
     groupsReprs: (next) ->

  ], cb


resolveItems = (items, inherited, cb) ->
  async.mapSeries items, (item, next) ->
    resolveItem item, inherited, next

  ], cb


# Turns multiple *Element* nodes containing object properties into
# 'resolved property' objects with both representation in JSON Schema
# and optionally also some additional info.
resolveProperties = (props, inherited, cb) ->
  async.mapSeries props, (prop, next) ->
    resolveProperty prop, inherited, next
