<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2004, 2008, Oracle. All rights reserved.  -->
<xsd:schema xmlns="http://xmlns.oracle.com/ord/meta/iptc" targetNamespace="http://xmlns.oracle.com/ord/meta/iptc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:oraxdb="http://xmlns.oracle.com/xdb" oraxdb:storeVarrayAsTable="true" oraxdb:flags="8499" oraxdb:schemaURL="http://xmlns.oracle.com/ord/meta/iptc" oraxdb:schemaOwner="ORDSYS" oraxdb:numProps="34">
  <xsd:annotation>
    <xsd:documentation>      Change History        rabbott    1/25/2005      -- Add more comments        rabbott    6/10/2004      -- Created          Introduction        This is the Oracle Multimedia schema for metadata stored in Application        record sets of the IPTC-NAA Information Interchange Model Version 4.        This metadata is often referred to as &apos;IPTC&apos; tags.        For the JPEG file format, IPTC metadata is parsed from the APP13 marker.        For the TIFF file format, IPTC metadata is parsed from tag 33723.        All tags with string values are decoded using the ISO-8859-1 character        set. The resulting strings may contain characters that are legal in the        character set but are illegal in XML documents. Illegal XML characters        are replaced with the space (0x20) character.      Supported datasets        The following datasets from the application record are extracted.                 2:00  recordVersion          2:05  objectName          2:07  editStatus          2:10  urgency          2:15  category          2:20  supplementalCategory          2:22  fixtureIdentifer          2:25  keyword          2:26  contentLocation:code          2:27  contentLocation:name          2:40  instructions          2:55  dateCreated          2:60  timeCreated          2:62  digitalCreationDate          2:63  digitalCreationTime          2:80  byline:author          2:85  byline:authorTitle          2:90  city          2:92  subLocation          2:95  provinceState          2:100 country          2:101 location          2:103 transmissionReference          2:105 headline          2:110 credit          2:115 source          2:116 copyright          2:118 contact          2:120 caption          2:122 captionWriter          2:135 languageId            Structure        The schema defines a number of types, both simple and complex,        to represent some of the IPTC tags. The itpcMetadataType is defined         as a sequence of all the supported IPTC tags. This type is used to define        a single global element that can appear in an instance document.    </xsd:documentation>
  </xsd:annotation>
  <!-- Basic type definitions  -->
  <xsd:simpleType name="urgencyType">
    <xsd:restriction base="xsd:positiveInteger">
      <xsd:minExclusive value="1"/>
      <xsd:maxInclusive value="8"/>
    </xsd:restriction>
  </xsd:simpleType>
  <xsd:complexType name="locationType" oraxdb:SQLType="locationType499_T" oraxdb:SQLSchema="ORDSYS">
    <xsd:sequence>
      <xsd:element name="code" type="xsd:string" oraxdb:propNumber="3360" oraxdb:global="false" oraxdb:SQLName="code" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="name" type="xsd:string" oraxdb:propNumber="3361" oraxdb:global="false" oraxdb:SQLName="name" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="bylineType" oraxdb:SQLType="bylineType501_T" oraxdb:SQLSchema="ORDSYS">
    <xsd:sequence>
      <xsd:element name="author" type="xsd:string" oraxdb:propNumber="3362" oraxdb:global="false" oraxdb:SQLName="author" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="authorTitle" minOccurs="0" type="xsd:string" oraxdb:propNumber="3363" oraxdb:global="false" oraxdb:SQLName="authorTitle" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
    </xsd:sequence>
  </xsd:complexType>
  <!-- Type definition for the global element  -->
  <xsd:complexType name="iptcMetadataType" oraxdb:SQLType="iptcMetadataType497_T" oraxdb:SQLSchema="ORDSYS">
    <xsd:sequence>
      <xsd:element name="recordVersion" minOccurs="0" type="xsd:integer" oraxdb:propNumber="3364" oraxdb:global="false" oraxdb:SQLName="recordVersion" oraxdb:SQLType="NUMBER" oraxdb:memType="2" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="objectName" minOccurs="0" type="xsd:string" oraxdb:propNumber="3365" oraxdb:global="false" oraxdb:SQLName="objectName" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="editStatus" minOccurs="0" type="xsd:string" oraxdb:propNumber="3366" oraxdb:global="false" oraxdb:SQLName="editStatus" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="urgency" minOccurs="0" type="urgencyType" oraxdb:propNumber="3367" oraxdb:global="false" oraxdb:SQLName="urgency" oraxdb:SQLType="NUMBER" oraxdb:memType="2" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="category" minOccurs="0" type="xsd:string" oraxdb:propNumber="3368" oraxdb:global="false" oraxdb:SQLName="category" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="supplementalCategory" minOccurs="0" maxOccurs="unbounded" type="xsd:string" oraxdb:propNumber="3369" oraxdb:global="false" oraxdb:SQLName="supplementalCategory" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true" oraxdb:SQLCollType="supplementalCategory498_COLL" oraxdb:SQLCollSchema="ORDSYS"/>
      <xsd:element name="fixtureIdentifier" minOccurs="0" type="xsd:string" oraxdb:propNumber="3370" oraxdb:global="false" oraxdb:SQLName="fixtureIdentifier" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="keyword" minOccurs="0" maxOccurs="unbounded" type="xsd:string" oraxdb:propNumber="3371" oraxdb:global="false" oraxdb:SQLName="keyword" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true" oraxdb:SQLCollType="supplementalCategory498_COLL" oraxdb:SQLCollSchema="ORDSYS"/>
      <xsd:element name="contentLocation" minOccurs="0" maxOccurs="unbounded" type="locationType" oraxdb:propNumber="3372" oraxdb:global="false" oraxdb:SQLName="contentLocation" oraxdb:SQLType="locationType499_T" oraxdb:SQLSchema="ORDSYS" oraxdb:memType="258" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false" oraxdb:SQLCollType="contentLocation500_COLL" oraxdb:SQLCollSchema="ORDSYS"/>
      <xsd:element name="instructions" minOccurs="0" type="xsd:string" oraxdb:propNumber="3373" oraxdb:global="false" oraxdb:SQLName="instructions" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="dateCreated" minOccurs="0" type="xsd:date" oraxdb:propNumber="3374" oraxdb:global="false" oraxdb:SQLName="dateCreated" oraxdb:SQLType="DATE" oraxdb:memType="12" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="timeCreated" minOccurs="0" type="xsd:string" oraxdb:propNumber="3375" oraxdb:global="false" oraxdb:SQLName="timeCreated" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="digitalCreationDate" minOccurs="0" type="xsd:date" oraxdb:propNumber="3376" oraxdb:global="false" oraxdb:SQLName="digitalCreationDate" oraxdb:SQLType="DATE" oraxdb:memType="12" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="digitalCreationTime" minOccurs="0" type="xsd:string" oraxdb:propNumber="3377" oraxdb:global="false" oraxdb:SQLName="digitalCreationTime" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="byline" minOccurs="0" maxOccurs="unbounded" type="bylineType" oraxdb:propNumber="3378" oraxdb:global="false" oraxdb:SQLName="byline" oraxdb:SQLType="bylineType501_T" oraxdb:SQLSchema="ORDSYS" oraxdb:memType="258" oraxdb:MemInline="false" oraxdb:SQLInline="true" oraxdb:JavaInline="false" oraxdb:SQLCollType="byline502_COLL" oraxdb:SQLCollSchema="ORDSYS"/>
      <xsd:element name="city" minOccurs="0" type="xsd:string" oraxdb:propNumber="3379" oraxdb:global="false" oraxdb:SQLName="city" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="subLocation" minOccurs="0" type="xsd:string" oraxdb:propNumber="3380" oraxdb:global="false" oraxdb:SQLName="subLocation" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="provinceState" minOccurs="0" type="xsd:string" oraxdb:propNumber="3381" oraxdb:global="false" oraxdb:SQLName="provinceState" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="country" minOccurs="0" type="xsd:string" oraxdb:propNumber="3382" oraxdb:global="false" oraxdb:SQLName="country" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="location" minOccurs="0" type="xsd:string" oraxdb:propNumber="3383" oraxdb:global="false" oraxdb:SQLName="location" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="transmissionReference" minOccurs="0" type="xsd:string" oraxdb:propNumber="3384" oraxdb:global="false" oraxdb:SQLName="transmissionReference" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="headline" minOccurs="0" type="xsd:string" oraxdb:propNumber="3385" oraxdb:global="false" oraxdb:SQLName="headline" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="credit" minOccurs="0" type="xsd:string" oraxdb:propNumber="3386" oraxdb:global="false" oraxdb:SQLName="credit" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="source" minOccurs="0" type="xsd:string" oraxdb:propNumber="3387" oraxdb:global="false" oraxdb:SQLName="source" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="copyright" minOccurs="0" type="xsd:string" oraxdb:propNumber="3388" oraxdb:global="false" oraxdb:SQLName="copyright" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="contact" minOccurs="0" maxOccurs="unbounded" type="xsd:string" oraxdb:propNumber="3389" oraxdb:global="false" oraxdb:SQLName="contact" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true" oraxdb:SQLCollType="supplementalCategory498_COLL" oraxdb:SQLCollSchema="ORDSYS"/>
      <xsd:element name="caption" minOccurs="0" type="xsd:string" oraxdb:propNumber="3390" oraxdb:global="false" oraxdb:SQLName="caption" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
      <xsd:element name="captionWriter" minOccurs="0" maxOccurs="unbounded" type="xsd:string" oraxdb:propNumber="3391" oraxdb:global="false" oraxdb:SQLName="captionWriter" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true" oraxdb:SQLCollType="supplementalCategory498_COLL" oraxdb:SQLCollSchema="ORDSYS"/>
      <xsd:element name="languageId" minOccurs="0" type="xsd:string" oraxdb:propNumber="3392" oraxdb:global="false" oraxdb:SQLName="languageId" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:MemInline="true" oraxdb:SQLInline="true" oraxdb:JavaInline="true"/>
    </xsd:sequence>
  </xsd:complexType>
  <!-- The gobal element -->
  <xsd:element name="iptcMetadata" type="iptcMetadataType" oraxdb:propNumber="3359" oraxdb:global="true" oraxdb:SQLName="iptcMetadata" oraxdb:SQLType="iptcMetadataType497_T" oraxdb:SQLSchema="ORDSYS" oraxdb:memType="258"/>
</xsd:schema>
