# oasis-xrd Types and rendering of [XRD] and [web-host] metadata. Part of the [Fediverse] suite of protocols. [XRD]: http://docs.oasis-open.org/xri/xrd/v1.0/xrd-1.0.html [web-host]: https://tools.ietf.org/html/rfc6415 [Fediverse]: https://en.wikipedia.org/wiki/Fediverse ## XML XML output of `tests/example/Main.hs` on example from Section B: ```xml 1970-01-01T00:00:00Z http://example.com/gpburdell User Photo Benutzerfoto 1970-01-01 ``` ## JSON (JRD) JSON output of `tests/example-json/Main.hs` on example from RFC 6415: ```json { "subject": "http://blog.example.com/article/id/314", "expires": "1970-01-01T00:00:00Z", "aliases": [ "http://blog.example.com/cool_new_thing", "http://blog.example.com/steve/article/7" ], "links": [ { "titles": { "default": "About the Author", "en-us": "Author Information" }, "href": "http://blog.example.com/author/steve", "type": "text/html", "rel": "author", "properties": { "http://example.com/role": "editor" } }, { "titles": { "default": "The other author" }, "href": "http://example.com/author/john", "rel": "author" }, { "template": "http://example.com/copyright?id={uri}", "rel": "author" } ], "properties": { "http://blgx.example.net/ns/ext": null, "http://blgx.example.net/ns/version": "1.3" } } ```