Schema Central  >  LEXS 4.0  >  b-2.xsd  >  wsnt:Filter
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Advanced XML Applications

 

wsnt:Filter

Element information

Namespace: http://docs.oasis-open.org/wsn/b-2

Schema document: oasis-open.org/wsn/b-2/b-2.xsd

Type: wsnt:FilterType

Properties: Local, Qualified

Content

  • Sequence [1..1]
    1. wsnt:TopicExpression [0..1]
    2. Choice [0..1]
        from subst. group ulexsn:SubscriptionAbstract
      • ulexsn:DataItemRetrievalSubscriptionA subscription to retrievals by other users that result in specific Data Item IDs. For example, if a subscription specifies the Data Item ID "123456", a notification will be produced when another user retrieves Data Item 123456.
      • ulexsn:DataItemSearchSubscriptionA subscription to searches by other users that result in specific Data Item IDs. For example, if an end user specifies the Data Item ID "123456", a notification will be produced when another user searches on "John Doe", if that search includes Data Item 123456 in its results.
      • ulexsn:IdenticalSearchSubscriptionA subscription to searches by other users that are identical to the provided search query. The end user specifies search terms, and the notification producer delivers a notification every time another user searches on terms that are identical to those specified in the subscription request. For example, if the end user specifies "first name is John and last name is Doe", a notification will be produced when another user searches on "John Doe". There are two types of search subscriptions: identical and similar. For an identical search subscription, the two searches must be identical in all fields and field values. For a similar search subscription, the two searches should be similar but not necessarily identical. The definition of "similar" is open to interpretation by the notification producer. For example, one system might compare two searches based on a fuzzy comparison of person first name and last name only. Another system might take an exact comparison of identifying numbers into account when comparing two searches.
      • ulexsn:MatchSubscriptionA subscription to new or modified Data Items that match a search query. The end user specifies search terms, and the notification producer delivers a notification every time one or more Data Items are created or modified that match those search terms. This can include any kind of search supported by the publisher, including a structured query, a text query, or a metadata search. For example, if the end user specifies "first name is John and last name is Doe", a notification will be produced whenever a new or modified Data Item appears that includes the first name John and the last name Doe.
      • ulexsn:SimilarSearchSubscriptionA subscription to searches by other users that are similar to the provided search query. The end user specifies search terms, and the notification producer delivers a notification every time another user searches on terms that are similar to those specified in the subscription request. For example, if the end user specifies "first name is John and last name is Doe", a notification will be produced when another user searches on "John Doe". There are two types of search subscriptions: identical and similar. For an identical search subscription, the two searches must be identical in all fields and field values. For a similar search subscription, the two searches should be similar but not necessarily identical. The definition of "similar" is open to interpretation by the notification producer. For example, one system might compare two searches based on a fuzzy comparison of person first name and last name only. Another system might take an exact comparison of identifying numbers into account when comparing two searches.
      • ulexsn:TopicSubscriptionA subscription to a topic or a topic tree described by the TopicNamespace and supported by the notification producer as described in wsnt:NotificationProducerRP.

Attributes

None

Used in

Sample instance

<wsnt:Filter>
   <ulexsn:DataItemRetrievalSubscription>
      <ulex:SNMessageMetadata>
         <ulex:ULEXFrameworkVersionText>2.0</ulex:ULEXFrameworkVersionText>
         <ulex:ULEXImplementation>
            <ulex:ULEXImplementationVersionText>4.0</ulex:ULEXImplementationVersionText>
            <ulex:ULEXImplementationName>LEXS</ulex:ULEXImplementationName>
         </ulex:ULEXImplementation>
         <ulex:MessageDateTime>2006-12-17T09:30:47.0Z</ulex:MessageDateTime>
         <wsa:MessageID>http://www.cjis.fbi.gov/OneDOJ/413</wsa:MessageID>
         <wsa:To>http://www.cjis.fbi.gov/N-DEx/NotificationService</wsa:To>
         <wsa:ReplyTo>
            <wsa:Address>http://www.cjis.fbi.gov/OneDOJ/017</wsa:Address>
         </wsa:ReplyTo>
         <wsa:Action>http://docs.oasis-open.org/wsn/bw-2/NotificationProducer/SubscribeRequest</wsa:Action>
         <ulex:MessageOriginMetadata>
            <lexs:SystemIdentifier>
               <nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
               <lexs:SystemID>SysF</lexs:SystemID>
            </lexs:SystemIdentifier>
            <lexs:SystemContact>
               <nc:PersonGivenName>Bob</nc:PersonGivenName>
               <nc:PersonSurName>Jones</nc:PersonSurName>
               <nc:ContactTelephoneNumber>
                  <nc:FullTelephoneNumber>
                     <nc:TelephoneNumberFullID>404-555-1212</nc:TelephoneNumberFullID>
                  </nc:FullTelephoneNumber>
               </nc:ContactTelephoneNumber>
            </lexs:SystemContact>
         </ulex:MessageOriginMetadata>
         <lexs:MessageDestinationIdentifier>
            <nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
            <lexs:SystemID>SysE</lexs:SystemID>
         </lexs:MessageDestinationIdentifier>
      </ulex:SNMessageMetadata>
      <lexs:UserAssertion>
         <lexs:UserID>ABC123</lexs:UserID>
         <nc:PersonGivenName>Bill</nc:PersonGivenName>
         <nc:PersonSurName>Jones</nc:PersonSurName>
         <nc:ContactTelephoneNumber>
            <nc:NANPTelephoneNumber>
               <nc:TelephoneAreaCodeID>111</nc:TelephoneAreaCodeID>
               <nc:TelephoneExchangeID>222</nc:TelephoneExchangeID>
               <nc:TelephoneLineID>3333</nc:TelephoneLineID>
            </nc:NANPTelephoneNumber>
         </nc:ContactTelephoneNumber>
         <nc:OrganizationName>ATF</nc:OrganizationName>
      </lexs:UserAssertion>
      <ulex:DataItemID>USMS-1232333</ulex:DataItemID>
   </ulexsn:DataItemRetrievalSubscription>
</wsnt:Filter>