Changeset 4704 for FederatedSearch
- Timestamp:
- 03/14/14 16:38:45 (10 years ago)
- Location:
- FederatedSearch
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
FederatedSearch/examples/Endpoint-Description-Complex.xml
r4677 r4704 8 8 </Capabilities> 9 9 <SupportedDataViews> 10 <SupportedDataView id="dv1" >application/x-clarin-fcs-hits+xml</SupportedDataView>11 <SupportedDataView id="dv2" >application/x-cmdi+xml</SupportedDataView>10 <SupportedDataView id="dv1" delivery-policy="send-default">application/x-clarin-fcs-hits+xml</SupportedDataView> 11 <SupportedDataView id="dv2" delivery-policy="need-to-request">application/x-cmdi+xml</SupportedDataView> 12 12 </SupportedDataViews> 13 13 <Resources> … … 21 21 <Language>deu</Language> 22 22 </Languages> 23 <AvailableDataViews ref="dv1"/> 23 24 </Resource> 24 25 <Resource pid="hdl:10932/mannheimer_morgen"> … … 29 30 <Language>deu</Language> 30 31 </Languages> 32 <AvailableDataViews ref="dv1 dv2"/> 31 33 <Resources> 32 34 <Resource pid="hdl:10932/mannheimer_morgen_before_1990"> … … 37 39 <Language>deu</Language> 38 40 </Languages> 41 <AvailableDataViews ref="dv1 dv2"/> 39 42 </Resource> 40 43 <Resource pid="hdl:10932/mannheimer_morgen_after_1990"> … … 45 48 <Language>deu</Language> 46 49 </Languages> 50 <AvailableDataViews ref="dv1 dv2"/> 47 51 </Resource> 48 52 </Resources> -
FederatedSearch/examples/Endpoint-Description-Simple.xml
r4677 r4704 9 9 </Capabilities> 10 10 <SupportedDataViews> 11 <SupportedDataView id="dv1" >application/x-clarin-fcs-hits+xml</SupportedDataView>11 <SupportedDataView id="dv1" delivery-policy="send-default">application/x-clarin-fcs-hits+xml</SupportedDataView> 12 12 </SupportedDataViews> 13 13 <Resources> … … 21 21 <Language>deu</Language> 22 22 </Languages> 23 <AvailableDataViews ref="dv1" /> 23 24 </Resource> 24 25 </Resources> -
FederatedSearch/schema/Endpoint-Description.xsd
r4677 r4704 92 92 <xs:simpleContent> 93 93 <xs:extension base="ed:mimetypeString"> 94 <xs:attribute name="id" type="xs:ID" use="required" /> 94 <xs:attribute name="id" type="xs:ID" use="required"> 95 <xs:annotation> 96 <xs:documentation> 97 <h:p> 98 An unique ID for this support Data View. This value will be used, 99 when referencing in the <AvailableDataViews> element in 100 the <Resource> description. 101 </h:p> 102 </xs:documentation> 103 </xs:annotation> 104 </xs:attribute> 105 <xs:attribute name="delivery-policy" use="required"> 106 <xs:annotation> 107 <xs:documentation> 108 <h:p> 109 This attribute indicated the <h:em>delivery policy</h:em> of this supported Data View. 110 </h:p> 111 </xs:documentation> 112 </xs:annotation> 113 <xs:simpleType> 114 <xs:restriction base="xs:string"> 115 <xs:enumeration value="send-default"> 116 <xs:annotation> 117 <xs:documentation> 118 <h:p> 119 This Data View is automatically sent by the Endpoint for supported Resources. 120 </h:p> 121 </xs:documentation> 122 </xs:annotation> 123 </xs:enumeration> 124 <xs:enumeration value="need-to-request"> 125 <xs:annotation> 126 <xs:documentation> 127 <h:p> 128 This Data View needs to be explicatively requested by the Client. 129 </h:p> 130 </xs:documentation> 131 </xs:annotation> 132 </xs:enumeration> 133 </xs:restriction> 134 </xs:simpleType> 135 </xs:attribute> 95 136 </xs:extension> 96 137 </xs:simpleContent> … … 229 270 </xs:complexType> 230 271 </xs:element> 272 273 <xs:element name="AvailableDataViews"> 274 <xs:annotation> 275 <xs:documentation> 276 <h:p> 277 This element contains a reference to all Data Views that are 278 supported by this resource in the <h:code>@ref</h:code> attribute. 279 </h:p> 280 </xs:documentation> 281 </xs:annotation> 282 <xs:complexType> 283 <xs:attribute name="ref" type="xs:IDREFS" use="required" /> 284 </xs:complexType> 285 </xs:element> 231 286 232 287 <xs:element ref="ed:Resources" minOccurs="0">
Note: See TracChangeset
for help on using the changeset viewer.