code: function getAssociation(csdlNavProperty, containingSchema, schemas) {
      var assocFullName = parseTypeNameWithSchema(csdlNavProperty.relationship, containingSchema);
      var assocNamespace = assocFullName.namespace;
      var assocSchema = __arrayFirst(schemas, function (schema) {
        return schema.namespace === assocNamespace;
      });
      if (!assocSchema) return null;
      
      var assocName = assocFullName.shortTypeName;
      var assocs = assocSchema.association;
      if (!assocs) return null;
      if (!Array.isArray(assocs)) {
        assocs = [assocs];
      }
      var association = __arrayFirst(assocs, function (assoc) {
        return assoc.name === assocName;
      });
      return association;
    }
docs: Correct version np: schema.entityType[].navigationProperty.relationship -> schema.association match( np.relationship == schema.entityContainer[0].associationSet[].association ) -> associationSet.name match ( associationSet.name == schema.association[].name ) -> association