code: function conformDispatch (spec) {
    if ('schema' in spec) {
      return 'schema'
    } else if ('$ref' in spec) {
      return '$ref'
    } else if ('enum' in spec) {
      return 'enum'
    } else if ('allOf' in spec) {
      return 'allOf'
    } else if ('type' in spec) {
      return spec.type
    } else {
      throw Object.assign(Error('Could not determine type'), { spec })
    }
  }
docs: {@link conform} dispatcher
  @rtype (spec: Object) => String, throws: Error
  @param {Object} spec
  @return {String} Value to dispatch on