Hi,

just made a simple project on GitHub (https://github.com/mario-loffredo/TestJSContactProfile) to demonstrate how it would be easy to implement the JSContact profile for RDAP.

The test at https://github.com/mario-loffredo/TestJSContactProfile/blob/master/src/test/java/testJSContactProfileForRDAP/LocalizationsTest.java is executed on the JSContact card reported in Figure 1 of https://datatracker.ietf.org/doc/draft-ietf-regext-rdap-jscontact/.

The uid property has been removed. As for localizations, I think the solution described in the JSContact profile document is the best way to go, as it preserves the efficiency and flexibility of the original proposal and, at the same time, allows implementers to handle localizations without having to deal with JSONPointer.The test project demonstrates that, using basic Java features (and I imagine that the same features are available in all programming languages ​​as well), an implementer can deserialize a JSContact card including the "localizations" property into a simple data structure.

Any feedback is appreciated.

Best,

Mario


--
Dott. Mario Loffredo
Senior Technologist
Technological Unit “Digital Innovation”
Institute of Informatics and Telematics (IIT)
National Research Council (CNR)
Address: Via G. Moruzzi 1, I-56124 PISA, Italy
Phone: +39.0503153497
Web:http://www.iit.cnr.it/mario.loffredo
_______________________________________________
regext mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to