Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Add namespace and schema used by SIRTFI.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Aug 21, 2016
1 parent b700c30 commit 1980d48
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mdx/common-beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@
<bean id="mdattr_namespace" parent="String" c:_="urn:oasis:names:tc:SAML:metadata:attribute"/>
<bean id="mdrpi_namespace" parent="String" c:_="urn:oasis:names:tc:SAML:metadata:rpi"/>
<bean id="mdui_namespace" parent="String" c:_="urn:oasis:names:tc:SAML:metadata:ui"/>
<bean id="remd_namespace" parent="String" c:_="http://refeds.org/metadata"/>
<bean id="saml_namespace" parent="String" c:_="urn:oasis:names:tc:SAML:2.0:assertion"/>
<bean id="samlp_namespace" parent="String" c:_="urn:oasis:names:tc:SAML:2.0:protocol"/>
<bean id="shibmd_namespace" parent="String" c:_="urn:mace:shibboleth:metadata:1.0"/>
Expand Down Expand Up @@ -372,6 +373,7 @@
<entry key="mdattr" value-ref="mdattr_namespace"/>
<entry key="mdrpi" value-ref="mdrpi_namespace"/>
<entry key="mdui" value-ref="mdui_namespace"/>
<entry key="remd" value-ref="remd_namespace"/>
<entry key="saml" value-ref="saml_namespace"/>
<entry key="samlp" value-ref="samlp_namespace"/>
<entry key="shibmd" value-ref="shibmd_namespace"/>
Expand Down Expand Up @@ -943,6 +945,10 @@
<!-- no imports -->
<constructor-arg value="schema/incommon-metadata.xsd"/>
</bean>
<bean parent="ClassPathResource">
<!-- no imports -->
<constructor-arg value="schema/refeds-metadata.xsd"/>
</bean>
<bean parent="ClassPathResource">
<!-- no imports -->
<constructor-arg value="schema/xml.xsd"/>
Expand Down
20 changes: 20 additions & 0 deletions mdx/schema/refeds-metadata.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>

<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://refeds.org/metadata"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
blockDefault="substitution"
version="2.0">

<xs:annotation>
<xs:documentation>
Unofficial schema for REFEDS metadata;
specifically the contactType extension required for SIRTFI.
</xs:documentation>
</xs:annotation>

<xs:attribute name="contactType" type="xs:anyURI"/>

</xs:schema>

0 comments on commit 1980d48

Please sign in to comment.