SlideShare a Scribd company logo
1 of 14
News in JSON
Stuart Myles * Associated Press * 25th June 2013
http://www.flickr.com/photos/anirudhkoul/3536413126/
Remind Me: What is JSON?
JSON = JavaScript Object Notation http://json.org/
Name / value pairs: a fieldname in quotes, a colon, a value in quotes
"givenname" : "Stuart"
Objects: written inside curly braces, may contain multiple NVPs
{"givenname" : "Stuart", "familyname" : "Myles"}
Arrays: Written inside square braces, may contain multiple objects
{"iptcdelegates": [
{
"givenname": "Dave", "familyname": "Compton"},
{
"givenname": "Stuart", "familyname": "Myles"},
{
"givenname": "Robert", "familyname": "Schmidt-Nia"
}
]}
© 2013 IPTC (www.iptc.org) All rights reserved 2
Remind Me: Why News in JSON?
Lightweight, easy to parse format
Increasingly popular alternative to / replacement for XML
Two principle use cases:
data interchange (e.g. APIs) with more emphasis on partial
representation
data at rest (e.g. search engines like Elastic Search or MongoDB)
Not simply translating from an existing XML standard into JSON
Determine how to represent key properties and structures
Hand crafted, rather than mechanically translating from XML into JSON
Goal: comprehensive standard, lightweight instance documents
© 2013 IPTC (www.iptc.org) All rights reserved 3
News in JSON Activity
http://www.flickr.com/photos/jondresner/5789254800/
News In JSON Activity
http://www.flickr.com/photos/jondresner/5789254800/
News in JSON Activity
http://www.flickr.com/photos/jondresner/5789254800/
News In JSON Activity
http://www.flickr.com/photos/jondresner/5789254800/
NINJA
NINJS
NINJS Overview
© 2013 IPTC (www.iptc.org) All rights reserved 6
NINJS Data Model
© 2013 IPTC (www.iptc.org) All rights reserved 7
NINJS Highlight #1
Descriptive Metadata
Same basic structure
but differing properties per type and preference
"place" : [{
"name" : "New York City",
"name@ru" : "Нью-Йорк",
"why" : "direct",
"how" : "extracted",
"rel" : "about",
"scheme" : "http://data.example.com/",
"code" : "N46020133052049607171"
}],
"subject" : [{
"name": "Data-Mining & Database Marketing",
"rel" : "about"}]
© 2013 IPTC (www.iptc.org) All rights reserved 8
NINJS Highlight #2
Text Markup
A single object with a property per text markup type
"body" : {
"text": "It was a case for a digital
Sherlock Holmes.",
"html": "<b>It was a case for a digital
Sherlock Holmes.",
"iptc7901" : "It was a case for a digital
Sherlock Holmes.u201d",
"nitf": "<p>It was a case for a digital
Sherlock Holmes.</p>",
"xhtml": "<p>It was a case for a digital
Sherlock Holmes.</p>"
}
© 2013 IPTC (www.iptc.org) All rights reserved 9
NINJS Highlight #3
Associations and Representations
• NINJS is a JSON representation of a news item
• You can represent a complete item, with all properties
– For instance in an internal CMS like MongoDB
• Or you may want to convey key properties
– For instance as an API response
• The representationtype property indicates how complete
• Associations are themselves NINJS documents
– You may include complete or partial representations
© 2013 IPTC (www.iptc.org) All rights reserved 10
JSON-LD
• JSON for Linked Data
• A W3C effort to add conventions to JSON documents to
support Linked Data concepts, currently in last call
• http://www.w3.org/TR/json-ld/
• Do we want to adopt any of the JSON-LD conventions
for NINJS?
• Or would it create too much of a burden for clients?
© 2013 IPTC (www.iptc.org) All rights reserved 11
NINJS Spec
• Reference document
– https://www.stypi.com/Td4K2niLwPJRbIM697EYTtEO
• Working document
– https://www.stypi.com/pZxwJ2pADLcb77Vw64gfn9HA
• JSON Schema
– http://json-schema.org/
– Not entirely real but better than inventing our own
– https://www.stypi.com/D7GbLXJUugfrLOlDezCr49jt
• How strict?
– Balance between flexibility and interoperability
© 2013 IPTC (www.iptc.org) All rights reserved 12
News in JSON Road Map
• Complete the initial draft
• Review property names
• Experiment with implementations
• Create a NINJS 1.0 recommendation
– Present it for a vote at the Washington, DC meeting
– Consider an experimental phase
• You can help by joining the News in JSON group
– iptc-news-in-json-dev@yahoogroups.com
© 2013 IPTC (www.iptc.org) All rights reserved 13
Date and Place of Next Meeting
Washington, DC 21 - 23 October, 2013
http://www.flickr.com/photos/pcscheid/4351707431/
Merci et à bientôt!
© 2013 IPTC (www.iptc.org) All rights reserved 14

More Related Content

Viewers also liked

IPTC NITF November 2010
IPTC NITF November 2010IPTC NITF November 2010
IPTC NITF November 2010Stuart Myles
 
Developing and Applying Rights Expressions Using ODRL and RightsML: 3 Dilemma...
Developing and Applying Rights Expressions Using ODRL and RightsML: 3 Dilemma...Developing and Applying Rights Expressions Using ODRL and RightsML: 3 Dilemma...
Developing and Applying Rights Expressions Using ODRL and RightsML: 3 Dilemma...Stuart Myles
 
IPTC News Exchange Formats Working Party Autumn 2012
IPTC News Exchange Formats Working Party Autumn 2012IPTC News Exchange Formats Working Party Autumn 2012
IPTC News Exchange Formats Working Party Autumn 2012Stuart Myles
 
IPTC and Rights Expression Languages
IPTC and Rights Expression LanguagesIPTC and Rights Expression Languages
IPTC and Rights Expression LanguagesStuart Myles
 
Rights Expression Languages and IPTC
Rights Expression Languages and IPTCRights Expression Languages and IPTC
Rights Expression Languages and IPTCStuart Myles
 
IPTC NITF Maintenance June 2010
IPTC NITF Maintenance June 2010IPTC NITF Maintenance June 2010
IPTC NITF Maintenance June 2010Stuart Myles
 
IPTC Chairman's Welcome June 2016
IPTC Chairman's Welcome June 2016IPTC Chairman's Welcome June 2016
IPTC Chairman's Welcome June 2016Stuart Myles
 
IPTC Semantic Web June 2011
IPTC Semantic Web June 2011IPTC Semantic Web June 2011
IPTC Semantic Web June 2011Stuart Myles
 
Sports and-semantic-tech-v.public
Sports and-semantic-tech-v.publicSports and-semantic-tech-v.public
Sports and-semantic-tech-v.publicPaul Kelly
 
IPTC Rights Expression Working Group 2013 June AGM
IPTC Rights Expression Working Group 2013 June AGMIPTC Rights Expression Working Group 2013 June AGM
IPTC Rights Expression Working Group 2013 June AGMStuart Myles
 
IPTC Semantic Web November 2010
IPTC Semantic Web November 2010IPTC Semantic Web November 2010
IPTC Semantic Web November 2010Stuart Myles
 
IPTC and the Semantic Web: Two Paths and Seven Lessons
IPTC and the Semantic Web: Two Paths and Seven LessonsIPTC and the Semantic Web: Two Paths and Seven Lessons
IPTC and the Semantic Web: Two Paths and Seven LessonsStuart Myles
 
IPTC EXTRA Open Source Classification Workshop
IPTC EXTRA Open Source Classification WorkshopIPTC EXTRA Open Source Classification Workshop
IPTC EXTRA Open Source Classification WorkshopStuart Myles
 
NITF 2010 Spring Working Group
NITF 2010 Spring Working GroupNITF 2010 Spring Working Group
NITF 2010 Spring Working GroupStuart Myles
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerLuminary Labs
 

Viewers also liked (17)

IPTC NITF November 2010
IPTC NITF November 2010IPTC NITF November 2010
IPTC NITF November 2010
 
Developing and Applying Rights Expressions Using ODRL and RightsML: 3 Dilemma...
Developing and Applying Rights Expressions Using ODRL and RightsML: 3 Dilemma...Developing and Applying Rights Expressions Using ODRL and RightsML: 3 Dilemma...
Developing and Applying Rights Expressions Using ODRL and RightsML: 3 Dilemma...
 
IPTC News Exchange Formats Working Party Autumn 2012
IPTC News Exchange Formats Working Party Autumn 2012IPTC News Exchange Formats Working Party Autumn 2012
IPTC News Exchange Formats Working Party Autumn 2012
 
IPTC and Rights Expression Languages
IPTC and Rights Expression LanguagesIPTC and Rights Expression Languages
IPTC and Rights Expression Languages
 
Rights Expression Languages and IPTC
Rights Expression Languages and IPTCRights Expression Languages and IPTC
Rights Expression Languages and IPTC
 
IPTC NITF Maintenance June 2010
IPTC NITF Maintenance June 2010IPTC NITF Maintenance June 2010
IPTC NITF Maintenance June 2010
 
IPTC Chairman's Welcome June 2016
IPTC Chairman's Welcome June 2016IPTC Chairman's Welcome June 2016
IPTC Chairman's Welcome June 2016
 
IPTC Semantic Web June 2011
IPTC Semantic Web June 2011IPTC Semantic Web June 2011
IPTC Semantic Web June 2011
 
Sports and-semantic-tech-v.public
Sports and-semantic-tech-v.publicSports and-semantic-tech-v.public
Sports and-semantic-tech-v.public
 
IPTC Rights Expression Working Group 2013 June AGM
IPTC Rights Expression Working Group 2013 June AGMIPTC Rights Expression Working Group 2013 June AGM
IPTC Rights Expression Working Group 2013 June AGM
 
IPTC Semantic Web November 2010
IPTC Semantic Web November 2010IPTC Semantic Web November 2010
IPTC Semantic Web November 2010
 
IPTC and the Semantic Web: Two Paths and Seven Lessons
IPTC and the Semantic Web: Two Paths and Seven LessonsIPTC and the Semantic Web: Two Paths and Seven Lessons
IPTC and the Semantic Web: Two Paths and Seven Lessons
 
IPTC EXTRA Open Source Classification Workshop
IPTC EXTRA Open Source Classification WorkshopIPTC EXTRA Open Source Classification Workshop
IPTC EXTRA Open Source Classification Workshop
 
NITF 2010 Spring Working Group
NITF 2010 Spring Working GroupNITF 2010 Spring Working Group
NITF 2010 Spring Working Group
 
Seven rNews Ideas
Seven rNews IdeasSeven rNews Ideas
Seven rNews Ideas
 
Inaugural Addresses
Inaugural AddressesInaugural Addresses
Inaugural Addresses
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI Explainer
 

Similar to IPTC News in JSON AGM 2013

IPTC News In JSON October 2015
IPTC News In JSON October 2015IPTC News In JSON October 2015
IPTC News In JSON October 2015Stuart Myles
 
IPTC News in JSON November 2017
IPTC News in JSON November 2017IPTC News in JSON November 2017
IPTC News in JSON November 2017Stuart Myles
 
IPTC News in JSON Autumn 2014
IPTC News in JSON Autumn 2014IPTC News in JSON Autumn 2014
IPTC News in JSON Autumn 2014Stuart Myles
 
Realm of the Mobile Database: an introduction to Realm
Realm of the Mobile Database: an introduction to RealmRealm of the Mobile Database: an introduction to Realm
Realm of the Mobile Database: an introduction to RealmMartin Grider
 
Graph databases & data integration v2
Graph databases & data integration v2Graph databases & data integration v2
Graph databases & data integration v2Dimitris Kontokostas
 
Unlocking the Semantics of Multimedia Presentations in the Web with the Multi...
Unlocking the Semantics of Multimedia Presentations in the Web with the Multi...Unlocking the Semantics of Multimedia Presentations in the Web with the Multi...
Unlocking the Semantics of Multimedia Presentations in the Web with the Multi...Carsten Saathoff
 
The nature.com ontologies portal: nature.com/ontologies
The nature.com ontologies portal: nature.com/ontologiesThe nature.com ontologies portal: nature.com/ontologies
The nature.com ontologies portal: nature.com/ontologiesTony Hammond
 
The Nature.com ontologies portal - Linked Science 2015
The Nature.com ontologies portal - Linked Science 2015The Nature.com ontologies portal - Linked Science 2015
The Nature.com ontologies portal - Linked Science 2015Michele Pasin
 
iOS: Web Services and XML parsing
iOS: Web Services and XML parsingiOS: Web Services and XML parsing
iOS: Web Services and XML parsingJussi Pohjolainen
 
Semantic HTML
Semantic HTMLSemantic HTML
Semantic HTMLhchen1
 
The Semantic Web #4 - RDF (1)
The Semantic Web #4 - RDF (1)The Semantic Web #4 - RDF (1)
The Semantic Web #4 - RDF (1)Myungjin Lee
 
Querying the Web of Data
Querying the Web of DataQuerying the Web of Data
Querying the Web of DataRinke Hoekstra
 
Hands On Spring Data
Hands On Spring DataHands On Spring Data
Hands On Spring DataEric Bottard
 
Questions On The Code And Core Module
Questions On The Code And Core ModuleQuestions On The Code And Core Module
Questions On The Code And Core ModuleKatie Gulley
 
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)net2-project
 
Terrastore - A document database for developers
Terrastore - A document database for developersTerrastore - A document database for developers
Terrastore - A document database for developersSergio Bossa
 
FIWARE Global Summit - The Way Towards Interoperability between Web Of Things...
FIWARE Global Summit - The Way Towards Interoperability between Web Of Things...FIWARE Global Summit - The Way Towards Interoperability between Web Of Things...
FIWARE Global Summit - The Way Towards Interoperability between Web Of Things...FIWARE
 
Managing Social Content with MongoDB
Managing Social Content with MongoDBManaging Social Content with MongoDB
Managing Social Content with MongoDBMongoDB
 

Similar to IPTC News in JSON AGM 2013 (20)

IPTC News In JSON October 2015
IPTC News In JSON October 2015IPTC News In JSON October 2015
IPTC News In JSON October 2015
 
IPTC News in JSON November 2017
IPTC News in JSON November 2017IPTC News in JSON November 2017
IPTC News in JSON November 2017
 
IPTC News in JSON Autumn 2014
IPTC News in JSON Autumn 2014IPTC News in JSON Autumn 2014
IPTC News in JSON Autumn 2014
 
Realm of the Mobile Database: an introduction to Realm
Realm of the Mobile Database: an introduction to RealmRealm of the Mobile Database: an introduction to Realm
Realm of the Mobile Database: an introduction to Realm
 
Graph databases & data integration v2
Graph databases & data integration v2Graph databases & data integration v2
Graph databases & data integration v2
 
Where is the World is my Open Government Data?
Where is the World is my Open Government Data?Where is the World is my Open Government Data?
Where is the World is my Open Government Data?
 
Unlocking the Semantics of Multimedia Presentations in the Web with the Multi...
Unlocking the Semantics of Multimedia Presentations in the Web with the Multi...Unlocking the Semantics of Multimedia Presentations in the Web with the Multi...
Unlocking the Semantics of Multimedia Presentations in the Web with the Multi...
 
The nature.com ontologies portal: nature.com/ontologies
The nature.com ontologies portal: nature.com/ontologiesThe nature.com ontologies portal: nature.com/ontologies
The nature.com ontologies portal: nature.com/ontologies
 
The Nature.com ontologies portal - Linked Science 2015
The Nature.com ontologies portal - Linked Science 2015The Nature.com ontologies portal - Linked Science 2015
The Nature.com ontologies portal - Linked Science 2015
 
iOS: Web Services and XML parsing
iOS: Web Services and XML parsingiOS: Web Services and XML parsing
iOS: Web Services and XML parsing
 
Reversing JavaScript
Reversing JavaScriptReversing JavaScript
Reversing JavaScript
 
Semantic HTML
Semantic HTMLSemantic HTML
Semantic HTML
 
The Semantic Web #4 - RDF (1)
The Semantic Web #4 - RDF (1)The Semantic Web #4 - RDF (1)
The Semantic Web #4 - RDF (1)
 
Querying the Web of Data
Querying the Web of DataQuerying the Web of Data
Querying the Web of Data
 
Hands On Spring Data
Hands On Spring DataHands On Spring Data
Hands On Spring Data
 
Questions On The Code And Core Module
Questions On The Code And Core ModuleQuestions On The Code And Core Module
Questions On The Code And Core Module
 
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
 
Terrastore - A document database for developers
Terrastore - A document database for developersTerrastore - A document database for developers
Terrastore - A document database for developers
 
FIWARE Global Summit - The Way Towards Interoperability between Web Of Things...
FIWARE Global Summit - The Way Towards Interoperability between Web Of Things...FIWARE Global Summit - The Way Towards Interoperability between Web Of Things...
FIWARE Global Summit - The Way Towards Interoperability between Web Of Things...
 
Managing Social Content with MongoDB
Managing Social Content with MongoDBManaging Social Content with MongoDB
Managing Social Content with MongoDB
 

More from Stuart Myles

IPTC Rights Statements For News
IPTC Rights Statements For NewsIPTC Rights Statements For News
IPTC Rights Statements For NewsStuart Myles
 
IPTC New Taxonomies Ideas
IPTC New Taxonomies IdeasIPTC New Taxonomies Ideas
IPTC New Taxonomies IdeasStuart Myles
 
IPTC Board Spring 2019
IPTC Board Spring 2019IPTC Board Spring 2019
IPTC Board Spring 2019Stuart Myles
 
IPTC Spring 2019 Conference
IPTC Spring 2019 ConferenceIPTC Spring 2019 Conference
IPTC Spring 2019 ConferenceStuart Myles
 
Photomation or Fauxtomation?
Photomation or Fauxtomation?Photomation or Fauxtomation?
Photomation or Fauxtomation?Stuart Myles
 
Image Tagging at the Associated Press
Image Tagging at the Associated PressImage Tagging at the Associated Press
Image Tagging at the Associated PressStuart Myles
 
IPTC Rights Working Group Toronto October 2018
IPTC Rights Working Group Toronto October 2018IPTC Rights Working Group Toronto October 2018
IPTC Rights Working Group Toronto October 2018Stuart Myles
 
IPTC AGM 2018 Welcome
IPTC AGM 2018 WelcomeIPTC AGM 2018 Welcome
IPTC AGM 2018 WelcomeStuart Myles
 
How Can We Make Algorithmic News More Transparent?
How Can We Make Algorithmic News More Transparent?How Can We Make Algorithmic News More Transparent?
How Can We Make Algorithmic News More Transparent?Stuart Myles
 
IPTC EXTRA Spring 2018
IPTC EXTRA Spring 2018IPTC EXTRA Spring 2018
IPTC EXTRA Spring 2018Stuart Myles
 
IPTC Machine Readable Rights for News and Media: Solving Three Challenges wit...
IPTC Machine Readable Rights for News and Media: Solving Three Challenges wit...IPTC Machine Readable Rights for News and Media: Solving Three Challenges wit...
IPTC Machine Readable Rights for News and Media: Solving Three Challenges wit...Stuart Myles
 
Ap Taxonomy Localization Requirements and Challenges
Ap Taxonomy Localization Requirements and ChallengesAp Taxonomy Localization Requirements and Challenges
Ap Taxonomy Localization Requirements and ChallengesStuart Myles
 
IPTC Spring Meeting Welcome To Athens April 2018
IPTC Spring Meeting Welcome To Athens April 2018IPTC Spring Meeting Welcome To Athens April 2018
IPTC Spring Meeting Welcome To Athens April 2018Stuart Myles
 
Sustaining Television News Technical Challenges
Sustaining Television News Technical ChallengesSustaining Television News Technical Challenges
Sustaining Television News Technical ChallengesStuart Myles
 
How to Train Your Classifier: Create a Serverless Machine Learning System wit...
How to Train Your Classifier: Create a Serverless Machine Learning System wit...How to Train Your Classifier: Create a Serverless Machine Learning System wit...
How to Train Your Classifier: Create a Serverless Machine Learning System wit...Stuart Myles
 
The Search for IPTC's Next Managing Director
The Search for IPTC's Next Managing DirectorThe Search for IPTC's Next Managing Director
The Search for IPTC's Next Managing DirectorStuart Myles
 
IPTC Approach to News in JSON
IPTC Approach to News in JSONIPTC Approach to News in JSON
IPTC Approach to News in JSONStuart Myles
 
IPTC EXTRA and EXTRA+ November 2017
IPTC EXTRA and EXTRA+ November 2017IPTC EXTRA and EXTRA+ November 2017
IPTC EXTRA and EXTRA+ November 2017Stuart Myles
 
Welcome to Barcelona - IPTC November 2017
Welcome to Barcelona - IPTC November 2017Welcome to Barcelona - IPTC November 2017
Welcome to Barcelona - IPTC November 2017Stuart Myles
 
Credibility Schema Working Group
Credibility Schema Working GroupCredibility Schema Working Group
Credibility Schema Working GroupStuart Myles
 

More from Stuart Myles (20)

IPTC Rights Statements For News
IPTC Rights Statements For NewsIPTC Rights Statements For News
IPTC Rights Statements For News
 
IPTC New Taxonomies Ideas
IPTC New Taxonomies IdeasIPTC New Taxonomies Ideas
IPTC New Taxonomies Ideas
 
IPTC Board Spring 2019
IPTC Board Spring 2019IPTC Board Spring 2019
IPTC Board Spring 2019
 
IPTC Spring 2019 Conference
IPTC Spring 2019 ConferenceIPTC Spring 2019 Conference
IPTC Spring 2019 Conference
 
Photomation or Fauxtomation?
Photomation or Fauxtomation?Photomation or Fauxtomation?
Photomation or Fauxtomation?
 
Image Tagging at the Associated Press
Image Tagging at the Associated PressImage Tagging at the Associated Press
Image Tagging at the Associated Press
 
IPTC Rights Working Group Toronto October 2018
IPTC Rights Working Group Toronto October 2018IPTC Rights Working Group Toronto October 2018
IPTC Rights Working Group Toronto October 2018
 
IPTC AGM 2018 Welcome
IPTC AGM 2018 WelcomeIPTC AGM 2018 Welcome
IPTC AGM 2018 Welcome
 
How Can We Make Algorithmic News More Transparent?
How Can We Make Algorithmic News More Transparent?How Can We Make Algorithmic News More Transparent?
How Can We Make Algorithmic News More Transparent?
 
IPTC EXTRA Spring 2018
IPTC EXTRA Spring 2018IPTC EXTRA Spring 2018
IPTC EXTRA Spring 2018
 
IPTC Machine Readable Rights for News and Media: Solving Three Challenges wit...
IPTC Machine Readable Rights for News and Media: Solving Three Challenges wit...IPTC Machine Readable Rights for News and Media: Solving Three Challenges wit...
IPTC Machine Readable Rights for News and Media: Solving Three Challenges wit...
 
Ap Taxonomy Localization Requirements and Challenges
Ap Taxonomy Localization Requirements and ChallengesAp Taxonomy Localization Requirements and Challenges
Ap Taxonomy Localization Requirements and Challenges
 
IPTC Spring Meeting Welcome To Athens April 2018
IPTC Spring Meeting Welcome To Athens April 2018IPTC Spring Meeting Welcome To Athens April 2018
IPTC Spring Meeting Welcome To Athens April 2018
 
Sustaining Television News Technical Challenges
Sustaining Television News Technical ChallengesSustaining Television News Technical Challenges
Sustaining Television News Technical Challenges
 
How to Train Your Classifier: Create a Serverless Machine Learning System wit...
How to Train Your Classifier: Create a Serverless Machine Learning System wit...How to Train Your Classifier: Create a Serverless Machine Learning System wit...
How to Train Your Classifier: Create a Serverless Machine Learning System wit...
 
The Search for IPTC's Next Managing Director
The Search for IPTC's Next Managing DirectorThe Search for IPTC's Next Managing Director
The Search for IPTC's Next Managing Director
 
IPTC Approach to News in JSON
IPTC Approach to News in JSONIPTC Approach to News in JSON
IPTC Approach to News in JSON
 
IPTC EXTRA and EXTRA+ November 2017
IPTC EXTRA and EXTRA+ November 2017IPTC EXTRA and EXTRA+ November 2017
IPTC EXTRA and EXTRA+ November 2017
 
Welcome to Barcelona - IPTC November 2017
Welcome to Barcelona - IPTC November 2017Welcome to Barcelona - IPTC November 2017
Welcome to Barcelona - IPTC November 2017
 
Credibility Schema Working Group
Credibility Schema Working GroupCredibility Schema Working Group
Credibility Schema Working Group
 

Recently uploaded

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 

Recently uploaded (20)

The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 

IPTC News in JSON AGM 2013

  • 1. News in JSON Stuart Myles * Associated Press * 25th June 2013 http://www.flickr.com/photos/anirudhkoul/3536413126/
  • 2. Remind Me: What is JSON? JSON = JavaScript Object Notation http://json.org/ Name / value pairs: a fieldname in quotes, a colon, a value in quotes "givenname" : "Stuart" Objects: written inside curly braces, may contain multiple NVPs {"givenname" : "Stuart", "familyname" : "Myles"} Arrays: Written inside square braces, may contain multiple objects {"iptcdelegates": [ { "givenname": "Dave", "familyname": "Compton"}, { "givenname": "Stuart", "familyname": "Myles"}, { "givenname": "Robert", "familyname": "Schmidt-Nia" } ]} © 2013 IPTC (www.iptc.org) All rights reserved 2
  • 3. Remind Me: Why News in JSON? Lightweight, easy to parse format Increasingly popular alternative to / replacement for XML Two principle use cases: data interchange (e.g. APIs) with more emphasis on partial representation data at rest (e.g. search engines like Elastic Search or MongoDB) Not simply translating from an existing XML standard into JSON Determine how to represent key properties and structures Hand crafted, rather than mechanically translating from XML into JSON Goal: comprehensive standard, lightweight instance documents © 2013 IPTC (www.iptc.org) All rights reserved 3
  • 4. News in JSON Activity http://www.flickr.com/photos/jondresner/5789254800/ News In JSON Activity http://www.flickr.com/photos/jondresner/5789254800/
  • 5. News in JSON Activity http://www.flickr.com/photos/jondresner/5789254800/ News In JSON Activity http://www.flickr.com/photos/jondresner/5789254800/ NINJA NINJS
  • 6. NINJS Overview © 2013 IPTC (www.iptc.org) All rights reserved 6
  • 7. NINJS Data Model © 2013 IPTC (www.iptc.org) All rights reserved 7
  • 8. NINJS Highlight #1 Descriptive Metadata Same basic structure but differing properties per type and preference "place" : [{ "name" : "New York City", "name@ru" : "Нью-Йорк", "why" : "direct", "how" : "extracted", "rel" : "about", "scheme" : "http://data.example.com/", "code" : "N46020133052049607171" }], "subject" : [{ "name": "Data-Mining & Database Marketing", "rel" : "about"}] © 2013 IPTC (www.iptc.org) All rights reserved 8
  • 9. NINJS Highlight #2 Text Markup A single object with a property per text markup type "body" : { "text": "It was a case for a digital Sherlock Holmes.", "html": "<b>It was a case for a digital Sherlock Holmes.", "iptc7901" : "It was a case for a digital Sherlock Holmes.u201d", "nitf": "<p>It was a case for a digital Sherlock Holmes.</p>", "xhtml": "<p>It was a case for a digital Sherlock Holmes.</p>" } © 2013 IPTC (www.iptc.org) All rights reserved 9
  • 10. NINJS Highlight #3 Associations and Representations • NINJS is a JSON representation of a news item • You can represent a complete item, with all properties – For instance in an internal CMS like MongoDB • Or you may want to convey key properties – For instance as an API response • The representationtype property indicates how complete • Associations are themselves NINJS documents – You may include complete or partial representations © 2013 IPTC (www.iptc.org) All rights reserved 10
  • 11. JSON-LD • JSON for Linked Data • A W3C effort to add conventions to JSON documents to support Linked Data concepts, currently in last call • http://www.w3.org/TR/json-ld/ • Do we want to adopt any of the JSON-LD conventions for NINJS? • Or would it create too much of a burden for clients? © 2013 IPTC (www.iptc.org) All rights reserved 11
  • 12. NINJS Spec • Reference document – https://www.stypi.com/Td4K2niLwPJRbIM697EYTtEO • Working document – https://www.stypi.com/pZxwJ2pADLcb77Vw64gfn9HA • JSON Schema – http://json-schema.org/ – Not entirely real but better than inventing our own – https://www.stypi.com/D7GbLXJUugfrLOlDezCr49jt • How strict? – Balance between flexibility and interoperability © 2013 IPTC (www.iptc.org) All rights reserved 12
  • 13. News in JSON Road Map • Complete the initial draft • Review property names • Experiment with implementations • Create a NINJS 1.0 recommendation – Present it for a vote at the Washington, DC meeting – Consider an experimental phase • You can help by joining the News in JSON group – iptc-news-in-json-dev@yahoogroups.com © 2013 IPTC (www.iptc.org) All rights reserved 13
  • 14. Date and Place of Next Meeting Washington, DC 21 - 23 October, 2013 http://www.flickr.com/photos/pcscheid/4351707431/ Merci et à bientôt! © 2013 IPTC (www.iptc.org) All rights reserved 14