MINI MINI MANI MO

Path : /opt/oracle/product/18c/dbhomeXE/ord/xml/xsd/
File Upload :
Current File : //opt/oracle/product/18c/dbhomeXE/ord/xml/xsd/ordiptc.xsd

<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2004, 2015, Oracle and/or its affiliates. 
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" 
     xmlns:xdb="http://xmlns.oracle.com/xdb"
     elementFormDefault="qualified" attributeFormDefault="unqualified">

  <xsd:annotation>
    <xsd:documentation>
      Change History
        llmartin  11/05/2014      -- 18735854: XML Schema Annotations
        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 'IPTC' 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" xdb:SQLType="LOCATION_ORD_IMG_T">
    <xsd:sequence>
      <xsd:element name="code" type="xsd:string"/>
      <xsd:element name="name" type="xsd:string"/>
    </xsd:sequence>
  </xsd:complexType>
  <xsd:complexType name="bylineType" xdb:SQLType="BYLINE_ORD_IMG_T">
    <xsd:sequence>
      <xsd:element name="author" type="xsd:string"/>
      <xsd:element name="authorTitle" minOccurs="0" type="xsd:string"/>
    </xsd:sequence>
  </xsd:complexType>

  <!-- Type definition for the global element  -->
  <xsd:complexType name="iptcMetadataType" xdb:SQLType="IPTC_METADATA_ORD_IMG_T">
    <xsd:sequence>
      <xsd:element name="recordVersion" minOccurs="0" type="xsd:integer"/>
      <xsd:element name="objectName" minOccurs="0" type="xsd:string"/>
      <xsd:element name="editStatus" minOccurs="0" type="xsd:string"/>
      <xsd:element name="urgency" minOccurs="0" type="urgencyType"/>
      <xsd:element name="category" minOccurs="0" type="xsd:string"/>
      <xsd:element name="supplementalCategory" minOccurs="0" maxOccurs="unbounded" type="xsd:string" xdb:SQLCollType="SUPP_CAT_ORD_IMG_C"/>
      <xsd:element name="fixtureIdentifier" minOccurs="0" type="xsd:string"/>
      <xsd:element name="keyword" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
      <xsd:element name="contentLocation" minOccurs="0" maxOccurs="unbounded" type="locationType" xdb:SQLType="LOCATION_ORD_IMG_T" xdb:SQLCollType="CONTENT_LOC_ORD_IMG_C"/>
      <xsd:element name="instructions" minOccurs="0" type="xsd:string"/>
      <xsd:element name="dateCreated" minOccurs="0" type="xsd:date"/>
      <xsd:element name="timeCreated" minOccurs="0" type="xsd:string"/>
      <xsd:element name="digitalCreationDate" minOccurs="0"   type="xsd:date"/>
      <xsd:element name="digitalCreationTime" minOccurs="0"  type="xsd:string"/>
      <xsd:element name="byline" minOccurs="0" maxOccurs="unbounded" type="bylineType" xdb:SQLType="BYLINE_ORD_IMG_T" xdb:SQLCollType="BYLINE_ORD_IMG_C"/>
      <xsd:element name="city" minOccurs="0" type="xsd:string"/>
      <xsd:element name="subLocation" minOccurs="0" type="xsd:string"/>
      <xsd:element name="provinceState" minOccurs="0" type="xsd:string"/>
      <xsd:element name="country" minOccurs="0" type="xsd:string"/>
      <xsd:element name="location" minOccurs="0" type="xsd:string"/>
      <xsd:element name="transmissionReference" minOccurs="0" type="xsd:string"/>
      <xsd:element name="headline" minOccurs="0" type="xsd:string"/>
      <xsd:element name="credit" minOccurs="0" type="xsd:string"/>
      <xsd:element name="source" minOccurs="0" type="xsd:string"/>
      <xsd:element name="copyright" minOccurs="0" type="xsd:string"/>
      <xsd:element name="contact" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
      <xsd:element name="caption" minOccurs="0" type="xsd:string"/>
      <xsd:element name="captionWriter" minOccurs="0" maxOccurs="unbounded" type="xsd:string"/>
      <xsd:element name="languageId" minOccurs="0" type="xsd:string"/>
    </xsd:sequence>
  </xsd:complexType>

  <!-- The gobal element -->
  <xsd:element name="iptcMetadata" type="iptcMetadataType"/>

</xsd:schema>

OHA YOOOO