public List <string> GetJsonValideringsfeil(string json) { try { return(JsonSchemaHelper.GetJsonValideringsfeil(json, "Eik106/rekvisisjonsmelding.schema.json", new Dictionary <string, string>() { { "http://www.fhi.no/legemiddelregisteret/eik/rekvisisjonsmelding/felles.schema.json", "Eik106/felles.schema.json" } })); } catch (Exception ex) { return(new List <string>() { ex.Message }); } }
public List <string> ValiderDekryptertJson(string json) { try { return(JsonSchemaHelper.GetJsonValideringsfeil(json, "reseptmelding_v105.schema.json", new Dictionary <string, string>() { { "http://www.fhi.no/legemiddelregisteret/eik/reseptmelding/felles.schema.json", "felles_v105.schema.json" } })); } catch (Exception ex) { return(new List <string>() { ex.Message }); } }