/// <summary> /// Look up schema on schema cache, if not present add a new key. /// </summary> /// <param name="type"></param> /// <returns></returns> private static string GetOrSaveSchemaReference(Type type) { return(SchemaCache.AddSchema(type)); }