zxid

 view release on metacpan or  search on metacpan

sg/liberty-metadata-v2.0.sg  view on Meta::CPAN

# zxid/sg/liberty-metadata-v2.0.sg
# Slightly edited, 5.9.2006, Sampo Kellomaki (sampo@iki.fi)
# $Id: liberty-metadata-v2.0.sg,v 1.5 2009-09-05 02:23:41 sampo Exp $
#
# N.B. Older Liberty metadata, liberty-metadata-1.0-errata-v2.0.xsd,
# urn:liberty:metadata:2003-08, is nearly identical to this one except
# for the actual namespace URI. We therfore adopt convention of using
# this new metadata even where strictly speaking the old one should be used.

target(m20, urn:liberty:metadata:2004-12)
import(ds,  http://www.w3.org/2000/09/xmldsig#,   http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd)

import(xs,  http://www.w3.org/2001/XMLSchema, http://www.w3.org/2001/xml.xsd)
#import(xs,  http://www.w3.org/XML/1998/namespace, http://www.w3.org/2001/xml.xsd)
# include(liberty-idwsf-utility-v2.0.xsd)

Extension        -> %m20:extensionType
%extensionType:
  any+  ns(##other)  processContents(lax)
  ;

%entityIDType:	 base(xs:anyURI) ;

%additionalMetadataLocationType:	 base(xs:anyURI)
  @namespace?	 -> %xs:anyURI
  ;

%organizationNameType:	 base(xs:string)
  @lang -> %xs:string  #@xml:lang   ***
  ;

%organizationDisplayNameType:	 base(xs:string)
  @lang -> %xs:string  #@xml:lang   ***
  ;

%organizationType:
  m20:OrganizationName+         -> %m20:organizationNameType
  m20:OrganizationDisplayName+  -> %m20:organizationDisplayNameType
  m20:OrganizationURL+          -> %m20:localizedURIType
  m20:Extension?
  ;

%localizedURIType:	 base(xs:anyURI)
  @lang -> %xs:string  #@xml:lang   ***
  ;

%contactType:
  m20:Company?         -> %xs:string
  m20:GivenName?       -> %xs:string
  m20:SurName?         -> %xs:string
  m20:EmailAddress*    -> %xs:anyURI
  m20:TelephoneNumber* -> %xs:string
  m20:Extension?
  @libertyPrincipalIdentifier?	 -> %m20:entityIDType
  @contactType	 -> %m20:attrContactType
  ;

%attrContactType: enum( technical administrative billing other ) ;

%keyTypes:        enum( encryption signing ) ;

%providerDescriptorType:
  m20:KeyDescriptor*
  m20:SoapEndpoint?	 -> %xs:anyURI
  m20:SingleLogoutServiceURL?                           -> %xs:anyURI
  m20:SingleLogoutServiceReturnURL?                     -> %xs:anyURI
  m20:FederationTerminationServiceURL?                  -> %xs:anyURI
  m20:FederationTerminationServiceReturnURL?            -> %xs:anyURI
  m20:FederationTerminationNotificationProtocolProfile* -> %xs:anyURI
  m20:SingleLogoutProtocolProfile*                      -> %xs:anyURI
  m20:RegisterNameIdentifierProtocolProfile*            -> %xs:anyURI



( run in 1.102 second using v1.01-cache-2.11-cpan-364913b4093 )