Ignore:
Timestamp:
03/14/14 16:38:45 (10 years ago)
Author:
Oliver Schonefeld
Message:
  • add elements and attributes needed to indicating the Data Views supported by a Resource and the Data View delivery policy stuff.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • FederatedSearch/schema/Endpoint-Description.xsd

    r4677 r4704  
    9292                                    <xs:simpleContent>
    9393                                        <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 &lt;AvailableDataViews&gt; element in
     100                                                            the &lt;Resource&gt; 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>
    95136                                        </xs:extension>
    96137                                    </xs:simpleContent>
     
    229270                    </xs:complexType>
    230271                </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>
    231286
    232287                <xs:element ref="ed:Resources" minOccurs="0">
Note: See TracChangeset for help on using the changeset viewer.