Hi Maarten, > On 11 Nov 2025, at 07:29, Maarten Wullink <[email protected]> wrote: > > Hi Gavin, > >> Nonetheless, I still feel that the array model has the edge over the object >> model, in that it's aligned with the way RDAP works elsewhere (e.g. >> entities), and the chat during the meeting seemed to agree with that. > > Interesting that you mention Entities as an example, this is an area of RDAP > where the possible use of JsContact may also introduce a more object oriented > model vs arrays.
I wasn't referred to jCard, but more that the "entities" property of RDAP objects is an array of entity objects, whose relationship to the enclosing object is defined by a property of that object. Thus, an RDAP client that (for example) wishes to obtain the sponsoring registrar of a domain must iterate over the "entities" array and inspect the "roles" property of each entity in that array. Likewise, an RDAP client that (for example) wishes to find the TTL associated with the DS record(s) of a domain must also iterate over the "ttl0_data" array and inspect the "types" property of each object in that array. G. -- Gavin Brown Principal Engineer, Global Domains & Strategy Internet Corporation for Assigned Names and Numbers (ICANN) https://www.icann.org _______________________________________________ regext mailing list -- [email protected] To unsubscribe send an email to [email protected]
