| CARVIEW |
Select Language
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx/1.24.0 (Ubuntu)
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=300
Content-Encoding: gzip
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Date: Sat, 17 Jan 2026 12:42:32 GMT
X-Served-By: cache-dfw-kdfw8210073-DFW, cache-bom-vanm7210073-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768653752.204628,VS0,VE303
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
oasis-xrd: Extensible Resource Descriptor
[Skip to Readme]
oasis-xrd: Extensible Resource Descriptor
Types and encodings for "XRD, a simple generic format for describing resources". Includes JRD encoding from RFC 6415.
[Skip to Readme]
Downloads
- oasis-xrd-1.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 1.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | aeson (>=1.2 && <2.0), base (>=4.10 && <5.0), bytestring (>=0.10 && <1.0), containers (>=0.5 && <0.6), text (>=1.2 && <3.0), time (>=1.8 && <2.0), uri-bytestring (>=0.3 && <0.4), xml-conduit (>=1.8 && <2.0), xml-conduit-writer (>=0.1 && <0.2) [details] |
| License | BSD-3-Clause |
| Copyright | 2018 Alexander Bondarenko |
| Author | Alexander Bondarenko |
| Maintainer | aenor.realm@gmail.com |
| Uploaded | by AlexanderBondarenko at 2018-04-07T20:50:32Z |
| Revised | Revision 2 made by AlexanderBondarenko at 2025-11-27T13:06:09Z |
| Category | Web |
| Home page | https://gitlab.com/dpwiz/oasis-xrd |
| Distributions | |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Downloads | 750 total (5 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs available [build log] Last success reported on 2018-04-14 [all 1 reports] |
Readme for oasis-xrd-1.0
[back to package description]oasis-xrd
Types and rendering of XRD and web-host metadata.
Part of the Fediverse suite of protocols.
XML
XML output of tests/example/Main.hs on example from Section B:
<XRD xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns="https://docs.oasis-open.org/ns/xri/xrd-1.0">
<Expires>
1970-01-01T00:00:00Z
</Expires>
<Subject>
https://example.com/gpburdell
</Subject>
<Property type="https://spec.example.net/type/person" xsi:nil="True"/>
<Link href="https://services.example.com/auth" rel="https://spec.example.net/auth/1.0"/>
<Link
href="https://photos.example.com/gpburdell.jpg"
rel="https://spec.example.net/photo/1.0"
type="image/jpeg">
<Title xml:lang="en">
User Photo
</Title>
<Title xml:lang="de">
Benutzerfoto
</Title>
<Property type="https://spec.example.net/created/1.0">
1970-01-01
</Property>
</Link>
</XRD>
JSON (JRD)
JSON output of tests/example-json/Main.hs on example from RFC 6415:
{
"subject": "https://blog.example.com/article/id/314",
"expires": "1970-01-01T00:00:00Z",
"aliases": [
"https://blog.example.com/cool_new_thing",
"https://blog.example.com/steve/article/7"
],
"links": [
{
"titles": {
"default": "About the Author",
"en-us": "Author Information"
},
"href": "https://blog.example.com/author/steve",
"type": "text/html",
"rel": "author",
"properties": {
"https://example.com/role": "editor"
}
},
{
"titles": {
"default": "The other author"
},
"href": "https://example.com/author/john",
"rel": "author"
},
{
"template": "https://example.com/copyright?id={uri}",
"rel": "author"
}
],
"properties": {
"https://blgx.example.net/ns/ext": null,
"https://blgx.example.net/ns/version": "1.3"
}
}