| ### Showing:
Annotations
Diagrams
Model
Source
Used by

Complex Type src:SearchableDateTimeType

Namespace | urn:us:gov:ic:src
Annotations | A date defined by a start and end that can be used by search engines without the ambiguity of the ISO 8601 date type. ISO 8601 allows for June 2010 which is left up to search engines to decide if it should match searches for June 15 2010 or not. Different engines/developers have implemented this differently. Some map this to June 1 2010 some believe this is a special case that does not match ANY date in June since it is the entire month. This type clearly defines that the date is between EarliestStartDate and LatestEndDate. For the June 2010 example assuming the intent was to have search engines match on any date in June encoding this with the SearchAbleDate EarliestStartDate="2010-06-01" and LatestEndDate="2010-06-30" will result in search engines returning this record for any date in June of 2010.
Diagram |
Used by |
Element | src:SearchableDateTime
Model | ALL( src:EarliestStartDate src:LatestEndDate )
Children | src:EarliestStartDate , src:LatestEndDate
Source |
    <xsd:complexType name="SearchableDateTimeType">
      <xsd:annotation>
        <xsd:documentation>
          <p xmlns="http://www.w3.org/1999/xhtml" ism:ownerProducer="USA" ism:classification="U">A date defined by a start and end that can be used by search engines without the ambiguity of the ISO 8601 date type. ISO 8601 allows for June 2010 which is left up to search engines to decide if it should match searches for June 15 2010 or not. Different engines/developers have implemented this differently. Some map this to June 1 2010 some believe this is a special case that does not match ANY date in June since it is the entire month. This type clearly defines that the date is between EarliestStartDate and LatestEndDate. For the June 2010 example assuming the intent was to have search engines match on any date in June encoding this with the SearchAbleDate EarliestStartDate="2010-06-01" and LatestEndDate="2010-06-30" will result in search engines returning this record for any date in June of 2010.</p>
        </xsd:documentation>
      </xsd:annotation>
      <xsd:all minOccurs="1" maxOccurs="1">
        <xsd:element ref="src:EarliestStartDate" minOccurs="1" maxOccurs="1"/>
        <xsd:element ref="src:LatestEndDate" minOccurs="1" maxOccurs="1"/>
      </xsd:all>
    </xsd:complexType>
Schema location | SRC-XML.xsd Copy and paste this link to your file browser, clicking the link MAY open in the browser. Opening in an XML aware editor is best.

## This document has been approved for Public Release by the Office of the Director of National Intelligence. See Distribution Notice for details. Click Here