1# zxid/sg/liberty-idwsf-interaction-svc-v1.2.sg 2# Slightly edited, 14.9.2006, Sampo Kellomaki (sampo@iki.fi) 3# $Id: liberty-idwsf-interaction-svc-v1.1.sg,v 1.3 2009-09-05 02:23:41 sampo Exp $ 4 5target(is12, urn:liberty:is:2003-08) 6import(di12, urn:liberty:disco:2003-08, liberty-idwsf-disco-svc-v1.2.xsd) 7import(e, http://schemas.xmlsoap.org/soap/envelope/, http://schemas.xmlsoap.org/soap/envelope/) 8import(ds, http://www.w3.org/2000/09/xmldsig#,http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd) 9#include(liberty-idwsf-utility-v1.1.xsd) 10 11UserInteraction -> %is12:UserInteractionHeaderType 12%UserInteractionHeaderType: 13 is12:InteractionService? -> %di12:ResourceOfferingType 14 @id? -> %xs:ID 15 @interact? -> %xs:QName default (is12:interactIfNeeded) 16 @language? -> %xs:NMTOKENS 17 @redirect? -> %xs:boolean default (0) 18 @maxInteractTime? -> %xs:integer 19 @e:actor? 20 @e:mustUnderstand? 21 ; 22 23RedirectRequest -> %is12:RedirectRequestType 24%RedirectRequestType: 25 @redirectURL -> %xs:anyURI 26 ; 27 28ResourceID -> %di12:ResourceIDType 29 30EncryptedResourceID -> %di12:EncryptedResourceIDType 31 32&ResourceIDGroup: 33 is12:ResourceID | is12:EncryptedResourceID 34 ; 35 36InteractionRequest -> %is12:InteractionRequestType 37%InteractionRequestType: 38 &is12:ResourceIDGroup? 39 is12:Inquiry+ 40 ds:KeyInfo? 41 @id? -> %xs:ID 42 @language? -> %xs:NMTOKENS 43 @maxInteractTime? -> %xs:integer 44 @signed? -> %xs:token 45 ; 46 47Inquiry -> %is12:InquiryType 48%InquiryType: 49 is12:Help? 50 is12:Select* 51 is12:Confirm* -> %is12:InquiryElementType 52 is12:Text* 53 @id? -> %xs:ID 54 @title? -> %xs:string 55 ; 56 57Help -> %is12:HelpType 58%HelpType: 59 @label? -> %xs:string 60 @link? -> %xs:anyURI 61 @moreLink? -> %xs:anyURI 62 ; 63 64Hint -> %xs:string 65 66Select -> %is12:SelectType 67%SelectType: base(is12:InquiryElementType) 68 is12:Item{2,unbounded}: 69 is12:Hint? 70 @label? -> %xs:string 71 @value -> %xs:NMTOKEN 72 ; 73 @multiple? -> %xs:boolean default (false) 74 ; 75 76Text -> %is12:TextType 77%TextType: base(is12:InquiryElementType) 78 @minChars? -> %xs:integer 79 @maxChars? -> %xs:integer 80 @format? -> %xs:string 81 ; 82 83%InquiryElementType: 84 is12:Help? 85 is12:Hint? 86 is12:Label? -> %xs:normalizedString 87 is12:Value? -> %xs:normalizedString 88 @name -> %xs:ID 89 ; 90 91InteractionResponse -> %is12:InteractionResponseType 92%InteractionResponseType: 93 is12:Status 94 is12:InteractionStatement* -> %is12:InteractionStatementType 95 is12:Parameter* -> %is12:ParameterType 96 ; 97 98%InteractionStatementType: 99 is12:Inquiry+ 100 ds:Signature 101 ; 102 103%ParameterType: 104 @name -> %xs:ID 105 @value -> %xs:string 106 ; 107 108# From liberty-idwsf-utility-v1.1.sg 109 110Status -> %is12:StatusType 111%StatusType: 112 is12:Status* 113 @code -> %xs:QName 114 @ref? -> %xs:string 115 @comment? -> %xs:string 116 ; 117 118Extension -> %is12:extensionType 119%extensionType: 120 any+ ns(##other) processContents(lax) 121 ; 122 123#EOF 124