code: function parseTypeNameWithSchema(entityTypeName, schema) {
      var result = parseTypeName(entityTypeName);
      if (schema && schema.cSpaceOSpaceMapping) {
        var ns = getNamespaceFor(result.shortTypeName, schema);
        if (ns) {
          result = makeTypeHash(result.shortTypeName, ns);
        }
      }
      return result;
    }
docs: schema is only needed for navProperty type name