Skip to content

Instantly share code, notes, and snippets.

@petrjasek
Created November 2, 2015 10:55
Show Gist options
  • Select an option

  • Save petrjasek/1297a6eb36b086eb971e to your computer and use it in GitHub Desktop.

Select an option

Save petrjasek/1297a6eb36b086eb971e to your computer and use it in GitHub Desktop.

Revisions

  1. petrjasek created this gist Nov 2, 2015.
    131 changes: 131 additions & 0 deletions item.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,131 @@
    {
    "headline": "market opening",
    "subject": [
    {
    "name": "Adventure",
    "parent": null,
    "qcode": "patopic:ADVENTURE"
    }
    ],
    "version": 6,
    "urgency": 3,
    "type": "text",
    "_links": {
    "self": {
    "title": "Item",
    "href": "items\/urn:newsml:localhost:2015-10-22T10:01:13.101825:61d2acb8-207b-4add-b7e2-a0e799e35d9f"
    },
    "collection": {
    "title": "items",
    "href": "items"
    },
    "parent": {
    "title": "home",
    "href": "\/"
    }
    },
    "slugline": "abc",
    "versioncreated": "2015-11-02T10:11:44+0000",
    "byline": "test",
    "language": "en",
    "place": [
    {
    "country": "Australia",
    "world_region": "Oceania",
    "qcode": "ACT",
    "group": "Australia",
    "state": "Australian Capital Territory",
    "name": "ACT"
    }
    ],
    "uri": "http:\/\/localhost:5050\/items\/urn%3Anewsml%3Alocalhost%3A2015-10-22T10%3A01%3A13.101825%3A61d2acb8-207b-4add-b7e2-a0e799e35d9f",
    "located": "Kabul",
    "body_html": "<p>test<\/p>",
    "pubstatus": "usable",
    "associations": {
    "feature_image": {
    "_id": "tag:localhost:2015:81e2715c-2be1-46e0-96c2-cd27a0639dff",
    "headline": "China's President Xi walks with his French counterpart Hollande as they arrive at a welcoming ceremony at the Great Hall of the People in Beijing",
    "description_text": "China's President Xi Jinping (front R) walks with his French counterpart Francois Hollande as they arrive at a welcoming ceremony at the Great Hall of the People in Beijing, China, November 2, 2015. REUTERS\/Jason Lee",
    "subject": [
    {
    "name": "diplomacy",
    "qcode": "11002000"
    },
    {
    "name": "politics",
    "qcode": "11000000"
    }
    ],
    "version": "5",
    "urgency": 4,
    "type": "picture",
    "slugline": "CHINA-FRANCE\/",
    "mimetype": "image\/jpeg",
    "versioncreated": "2015-11-02T10:10:09+0000",
    "byline": "JASON LEE",
    "language": "en",
    "priority": 4,
    "usageterms": "",
    "located": "Fayzabad",
    "pubstatus": "usable",
    "renditions": {
    "original": {
    "media": "563736023b80a11644d21024",
    "height": 2392,
    "mimetype": "image\/jpeg",
    "width": 3500,
    "href": "http:\/\/localhost:5000\/api\/upload\/563736023b80a11644d21024\/raw?_schema=http"
    },
    "thumbnail": {
    "media": "563736033b80a11644d2102d",
    "height": 120,
    "mimetype": "image\/jpeg",
    "width": 175,
    "href": "http:\/\/localhost:5000\/api\/upload\/563736033b80a11644d2102d\/raw?_schema=http"
    },
    "viewImage": {
    "media": "563736023b80a11644d2102b",
    "height": 437,
    "mimetype": "image\/jpeg",
    "width": 640,
    "href": "http:\/\/localhost:5000\/api\/upload\/563736023b80a11644d2102b\/raw?_schema=http"
    },
    "16-9": {
    "CropRight": 3500,
    "href": "http:\/\/localhost:5000\/api\/upload\/563736823b80a117b67612de\/raw?_schema=http",
    "CropTop": 424,
    "CropLeft": 0,
    "media": "563736823b80a117b67612de",
    "CropBottom": 2392,
    "mimetype": "image\/jpeg"
    },
    "baseImage": {
    "media": "563736023b80a11644d21029",
    "height": 956,
    "mimetype": "image\/jpeg",
    "width": 1400,
    "href": "http:\/\/localhost:5000\/api\/upload\/563736023b80a11644d21029\/raw?_schema=http"
    },
    "4-3": {
    "CropRight": 3500,
    "href": "http:\/\/localhost:5000\/api\/upload\/5637366c3b80a117ba28993f\/raw?_schema=http",
    "CropTop": 39,
    "CropLeft": 1124,
    "media": "5637366c3b80a117ba28993f",
    "CropBottom": 1820,
    "mimetype": "image\/jpeg"
    }
    },
    "place": [
    {
    "name": "BEIJING"
    },
    {
    "name": "CHINA"
    }
    ]
    }
    },
    "priority": 3
    }