1# zxid/sg/liberty-idwsf-dst-v2.1.sg 2# Slightly edited, 1.3.2007, Sampo Kellomaki (sampo@iki.fi) 3# $Id: liberty-idwsf-dst-v2.1.sg,v 1.2 2009-09-05 02:23:41 sampo Exp $ 4 5target(dst, urn:liberty:dst:2006-08) 6import(lu, urn:liberty:util:2006-08, liberty-idwsf-utility-v2.0.xsd) 7import(xml, http://www.w3.org/XML/1998/namespace, http://www.w3.org/2001/xml.xsd) 8 9@id -> %lu:IDType 10@modificationTime -> %xs:dateTime 11&@commonAttributes: 12 @dst:id? 13 @dst:modificationTime? 14 ; 15@ACC -> %xs:anyURI 16@ACCTime -> %xs:dateTime 17@modifier -> %xs:string 18 19&@leafAttributes: 20 &@dst:commonAttributes 21 @dst:ACC? 22 @dst:ACCTime? 23 @dst:modifier? 24 ; 25 26@script -> %xs:anyURI 27 28&@localizedLeafAttributes: 29 &@dst:leafAttributes 30 @xml:lang 31 @dst:script? 32 ; 33 34@refreshOnOrAfter -> %xs:dateTime 35@destroyOnOrAfter -> %xs:dateTime 36 37%DSTLocalizedString: base(xs:string) 38 &@dst:localizedLeafAttributes 39 ; 40 41%DSTString: base(xs:string) 42 &@dst:leafAttributes 43 ; 44 45%DSTInteger: base(xs:integer) 46 &@dst:leafAttributes 47 ; 48 49%DSTURI: base(xs:anyURI) 50 &@dst:leafAttributes 51 ; 52 53%DSTDate: base(xs:date) 54 &@dst:leafAttributes 55 ; 56 57%DSTMonthDay: base(xs:gMonthDay) 58 &@dst:leafAttributes 59 ; 60 61@itemID -> %lu:IDType 62@itemIDRef -> %lu:IDReferenceType 63 64%RequestType: 65 lu:Extension* 66 @dst:itemID? 67 @any 68 ; 69 70%ResponseType: 71 lu:Status 72 lu:Extension* 73 @dst:itemIDRef? 74 @any 75 ; 76 77%DataResponseBaseType: base(dst:ResponseType) 78 @timeStamp? -> %xs:dateTime 79 ; 80 81ChangeFormat: enum( ChangedElements CurrentElements ) ; 82@changeFormat: enum( ChangedElements CurrentElements All ) ; 83@objectType -> %xs:NCName 84@predefined -> %xs:string 85 86&@selectQualif: 87 @dst:objectType? 88 @dst:predefined? 89 ; 90 91%ResultQueryBaseType: 92 dst:ChangeFormat{0,2} 93 &@dst:selectQualif 94 @dst:itemIDRef? 95 @contingency? -> %xs:boolean 96 @includeCommonAttributes? -> %xs:boolean default (0) 97 @changedSince? -> %xs:dateTime 98 @dst:itemID? 99 ; 100 101&@ItemDataAttributeGroup: 102 @dst:itemIDRef? 103 @notSorted?: enum( Now Never ) ; 104 @dst:changeFormat? 105 ; 106 107%TestItemBaseType: 108 &@dst:selectQualif 109 @id? -> %xs:ID 110 @dst:itemID? 111 ; 112 113TestResult -> %dst:TestResultType 114%TestResultType: base(xs:boolean) 115 @dst:itemIDRef 116 ; 117 118&@PaginationAttributeGroup: 119 @count? -> %xs:nonNegativeInteger 120 @offset? -> %xs:nonNegativeInteger default (0) 121 @setID? -> %lu:IDType 122 @setReq?: enum( Static DeleteSet ) ; 123 ; 124 125&@PaginationResponseAttributeGroup: 126 @remaining? -> %xs:integer 127 @nextOffset? -> %xs:nonNegativeInteger default (0) 128 @setID? -> %lu:IDType 129 ; 130 131&@CreateItemAttributeGroup: 132 @dst:objectType? 133 @id? -> %xs:ID 134 @dst:itemID? 135 ; 136 137&@ModifyItemAttributeGroup: 138 &@dst:selectQualif 139 @notChangedSince? -> %xs:dateTime 140 @overrideAllowed? -> %xs:boolean default (0) 141 @id? -> %xs:ID 142 @dst:itemID? 143 ; 144 145%DeleteItemBaseType: 146 &@dst:selectQualif 147 @notChangedSince? -> %xs:dateTime 148 @id? -> %xs:ID 149 @dst:itemID? 150 ; 151%DeleteResponseType: base(dst:ResponseType) ; 152 153#EOF 154