json-ld icon indicating copy to clipboard operation
json-ld copied to clipboard

Plans For Normalization Support? Specifically URDNA2015 Normalization

Open LuisOsta opened this issue 3 years ago • 1 comments

JSON-LD libraries like https://github.com/piprate/json-gold support normalizing JSON-LD documents based on specs like URDNA2015, which is a requirement as part of for instance creating data integrity proofs.

Are there any plans to add normalization support to this library? SpruceID implement it into their identity core library here - https://github.com/spruceid/ssi/blob/main/src/urdna2015.rs

LuisOsta avatar Jun 27 '22 19:06 LuisOsta

Hi, yes this is definitely something that I plan to have eventually. I don't have a timeline yet though, there are a lot of other things I want to finish first.

timothee-haudebourg avatar Jun 28 '22 11:06 timothee-haudebourg

@timothee-haudebourg We might be able to work with the Sophia.rs library in order to support normalization - https://github.com/pchampin/sophia_rs/issues/16#issuecomment-1274634535. My understanding of the spec, all normalization happens through RDF.

LuisOsta avatar Oct 11 '22 17:10 LuisOsta

Yes I guess it is out of the scope of this crate.

timothee-haudebourg avatar Oct 20 '22 08:10 timothee-haudebourg