zxid
view release on metacpan or search on metacpan
sg/lib-id-sis-cb-proto.sg view on Meta::CPAN
# zxid/sg/lib-id-sis-cb-proto.sg
# Slightly edited, 3.3.2007, Sampo Kellomaki (sampo@iki.fi)
# $Id: lib-id-sis-cb-proto.sg,v 1.3 2009-09-05 02:23:41 sampo Exp $
# N.B. The data format for Contact Book is vCard (i.e. not XML)
target(cb, urn:liberty:id-sis-cb:2004-10)
#import(ds, http://www.w3.org/2000/09/xmldsig#,http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd)
ns(cdm, urn:liberty:cb:conceptual-data-model:2004-10)
ns(sa, urn:oasis:names:tc:SAML:2.0:assertion)
#include(lib-svc-dst.xsd)
ResourceID -> %di12:ResourceIDType
EncryptedResourceID -> %di12:EncryptedResourceIDType
&ResourceIDGroup:
cb:ResourceID?
cb:EncryptedResourceID?
;
ChangeFormat: enum( ChangedElements CurrentElements ) ;
@changeFormat: enum( ChangedElements CurrentElements All ) ;
ItemData -> %cb:ItemDataType
%ItemDataType:
cb:Card*
any*
@id? -> %xs:ID
@itemIDRef? -> %xs:string # %IDReferenceType
@notSorted?: enum( Now Never ) ;
@cb:changeFormat?
;
Query -> %cb:QueryType
%QueryType:
&cb:ResourceIDGroup?
cb:Subscription*
cb:QueryItem*: base(cb:ItemSelectionType)
@count? -> %xs:nonNegativeInteger
@offset? -> %xs:nonNegativeInteger default (0)
@setID? -> %xs:string # %IDType
@setReq?: enum( Static DeleteSet ) ;
;
cb:Extension*
@id? -> %xs:ID
@any
;
QueryResponse -> %cb:QueryResponseType
%QueryResponseType:
cb:Status
cb:Data*:
cb:Card*
any*
@id? -> %xs:ID
@itemIDRef? -> %xs:string # %IDReferenceType
@notSorted?: enum( Now Never ) ;
@cb:changeFormat?
@remaining? -> %xs:integer
@nextOffset? -> %xs:nonNegativeInteger default (0)
@setID? -> %xs:string # %IDType
;
cb:Extension*
@id? -> %xs:ID
@itemIDRef? -> %xs:string # %IDReferenceType
@timeStamp? -> %xs:dateTime
;
( run in 1.468 second using v1.01-cache-2.11-cpan-b301d465b3d )