Example XRDS File for the Bang Registry

1. Introduction

This page displays an example XRDS file that might be returned from the ! registry as the resolution result for xri://!!1000.

2. XRDS File

<?xml version="1.0" encoding="UTF-8"?>
<XRDS ref="xri://!!1000">
    <XRD xmlns="xri://$xrd*($v*2.0)">
        <Query>!1000</Query>
        <Status code="100"/>
        <Expires>2006-05-26T06:05:23.000Z</Expires>
        <ProviderID>xri://!</ProviderID>
        <CanonicalID>xri://!!1000</CanonicalID>
        <LocalID>!1000</LocalID>
        <Service>
            <Type>xri://$res*auth*($v*2.0)</Type>
            <ProviderID>xri://!!1003</ProviderID>
            <MediaType>application/xrds+xml</MediaType>
            <MediaType>application/xrds+xml;trust=https</MediaType>
            <URI>http://xri.example.com/!!1000/</URI>
            <URI>https://xri.example.com/!!1000/</URI>
        </Service>
        <Service>
            <Type>xri://$res*proxy*($v*2.0)</Type>
            <ProviderID>xri://!1000</ProviderID>
            <MediaType>application/xrds+xml</MediaType>
            <MediaType>application/xrds+xml;trust=https</MediaType>
            <MediaType>application/xrds+xml;sep=true</MediaType>
            <MediaType>application/xrd+xml</MediaType>
            <MediaType>application/xrd+xml;trust=https</MediaType>
            <MediaType>application/xrd+xml;sep=true</MediaType>
            <MediaType>text/uri-list</MediaType>
            <MediaType>text/uri-list;trust=https</MediaType>
            <URI>http://xri.example.com/</URI>
            <URI>https://xri.example.com/</URI>
        </Service>
        <Service>
            <ProviderID>xri://!!1000</ProviderID>
            <Type select="true">xri://+i-service*(+authn)*(+saml)*($v*1.0)</Type>
            <Path select="true">(+login)</Path>
            <URI append="qxri">http://authn.example.com/(+authn)*(+saml)*($v*1.0)/(!!1001)?xri=</URI>
            <URI append="qxri">https://authn.example.com/(+authn)*(+saml)*($v*1.0)/(!!1001)?xri=</URI>
        </Service>
        <Service>
            <ProviderID>xri://!!1000</ProviderID>
            <Type select="true">xri://+i-service*(+metadata)*(+saml)*($v*1.0)</Type>
            <Path select="true">(+saml.metadata)</Path>
            <URI append="none">http://authn.example.com/(+metadata)*(+saml)*($v*1.0)/metadata.xml</URI>
        </Service>
        <Service>
            <ProviderID>xri://!!1000</ProviderID>
            <Type select="true">xri://+i-service*(+contact)*($v*1.0)</Type>
            <Type match="default"/>
            <MediaType>text/html</MediaType>
            <MediaType match="default"/>
            <Path select="true">(+contact)</Path>
            <Path match="null"/>
            <URI append="qxri">http://contact.example.com/(+contact)*($v*1.0)/(!!1001)?xri=</URI>
            <URI append="qxri">https://contact.example.com/(+contact)*($v*1.0)/(!!1001)?xri=</URI>
        </Service>
        <Service>
            <ProviderID>xri://!!1000</ProviderID>
            <Type select="true">xri://+i-service*(+forwarding)*($v*1.0)</Type>
            <Type match="null"/>
            <URI append="qxri">http://forwarding.example.com/(+forwarding)*($v*1.0)/(!!1001)/</URI>
            <URI append="qxri">https://forwarding.example.com/(+forwarding)*($v*1.0)/(!!1001)/</URI>
        </Service>
    </XRD>
</XRDS>

3. Notes

  1. The first two service endpoints are for the !!1000 i-broker's own XRI authority resolution and proxy resolution services. The values for these service endpoint elements are specified by the XRI Resolution specification -- see [http://www.oasis-open.org/committees/xri/ OASIS XRI TC home page] for the current version.

  2. The next four service endpoints are for the four standard i-service endpoints defined by IserviceEndpointDefinitions.

IssWiki: ExampleXrds/BangRegistry (last edited 2010-01-29 14:02:40 by MarkusSabadello)