NewsItem - Image

Example of NewsItem format for image.

newsitem.xml
<newsItem guid="c382c937-8511-5d48-9677-55658c2bbb32" xmlns="http://iptc.org/std/nar/2006-10-01/" conformance="power" standardversion="2.20" standard="NewsML-G2" version="1">    
    <catalogRef href="http://www.iptc.org/std/catalog/catalog.IPTC-G2-Standards_27.xml"/>
    <catalogRef href="http://infomaker.se/spec/catalog/catalog.infomaker.g2.1_0.xml"/>
    <itemMeta>        
        <itemClass qcode="ninat:picture"/>
        <versionCreated>2015-07-01T14:11:20Z</versionCreated>        
        <firstCreated>2015-07-01T14:11:20Z</firstCreated>        
        <pubStatus qcode="stat:usable"/>        
        <fileName>vApvJyM3pl2wpFpe0G2uBJxZfZc.jpeg</fileName>        
        <itemMetaExtProperty type="imext:type" value="x-im/image"/>        
        <itemMetaExtProperty type="imext:uri" value="im://image/vApvJyM3pl2wpFpe0G2uBJxZfZc.jpeg"/>        
        <itemMetaExtProperty type="imext:originalUrl" value="http://s3.example-img.se/vApvJyM3pl2wpFpe0G2uBJxZfZc.jpeg"/>        
        <itemMetaExtProperty type="imext:pubstart" value="2015-07-01T14:11:20Z"/>        
        <itemMetaExtProperty type="imext:pubstop" value="2015-08-01T23:59:59Z"/>        
        <itemMetaExtProperty type="imext:haspublishedversion" value="false"/>
        <links xmlns="http://www.infomaker.se/newsml/1.0">            
            <link rel="creator" title="John Doe" type="x-imid/user" uri="imid://user/sub/7d9b77a4-31fe-4da8-ac1c-8823b8b16914">
                <links>
                    <link rel="affiliation" title="naviga" type="x-imid/organisation" uri="imid://organisation/naviga">
                        <links>
                            <link rel="affiliation" title="imnews" type="x-imid/unit" uri="imid://unit/imnews"/>
                        </links>
                    </link>
                </links>
            </link>            
            <link rel="updater" title="Jane Doe" type="x-imid/user" uri="imid://user/sub/95159231-4490-405e-a046-a31865113596">
                <links>
                    <link rel="affiliation" title="naviga" type="x-imid/organisation" uri="imid://organisation/naviga">
                        <links>
                            <link rel="affiliation" title="naviganews" type="x-imid/unit" uri="imid://unit/naviganews"/>
                        </links>
                    </link>
                </links>
            </link>
            <link rel="author" type="x-im/author" uuid="bad4314c-7e33-11e5-8bcf-feff819cdc9f" title="Jane Doe">
                <data>
                    <email>jane.doe@example.org</email>
                    <phone>+465551111222</phone>
                    <mobile>+46777112233</mobile>
                    <streetAddress>Street 1</streetAddress>
                    <postalCode>11122</postalCode>
                    <city>Kalmar</city>
                    <country>Sweden</country>
                </data>
            </link>            
            <link rel="shared-with" type="x-imid/organisation" uri="imid://organisation/company-x" title="Company X">
                <links>
                    <link rel="shared-with" type="x-imid/unit" uri="imid://unit/newspaper-z" title="Newspaper Z"/>
                </links>
            </link>            
        </links>
    </itemMeta>
    <contentMeta>        
        <contentCreated>2015-07-01T14:11:20Z</contentCreated>
        <contentModified>2015-07-01T14:11:20Z</contentModified>                
        <altId>abcde-1234456</altId>        
        <metadata xmlns="http://www.infomaker.se/newsml/1.0">            
            <object id="46f60ada63fd" type="x-im/image">
                <data>
                    <width>1536</width>
                    <height>1024</height>
                    <text>Maecenas at nisl in lorem egestas egestas.</text>
                    <photoDateTime>2015-07-01T14:11:20+02:00</photoDateTime>
                    <credit>Company XYZ</credit>
                    <objectName>nebulosa.jpg</objectName>
                    <instructions>Only use once</instructions>
                    <source>Mediahouse XYZ</source>
                    <mimeType>image/jpeg</mimeType>
                    <copyright>Copyright holder</copyright>                    
                </data>
            </object>
        </metadata>
    </contentMeta>
</newsItem>

Last updated