[oslc-core] Validating changes to JSON representation guidance: eliminating usage of oslc:qname and change rdf:type to array
Steve K Speicher
sspeiche at us.ibm.com
Mon Sep 13 16:50:55 EDT 2010
The proposed change is to fix a couple of redundant property (oslc:qname)
and fix type of another property (rdf:type). This was discussed at the
last OSLC Core WG meeting [1]
If there are no objections, I can make the changes to appropriate places.
I have confirmed that there is no impact to known existing consumers of
this change.
So this old example:
{
"prefixes" : {
"oslc": "http://open-services.net/ns/core#",
"rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"foaf" : "http://http://xmlns.com/foaf/0.1/",
"dcterms" : "http://purl.org/dc/terms/"
},
"oslc:qname" : "oslc_blog:Entry",
"rdf:type" : { "rdf:resource" : "
http://open-services.net/ns/bogus/blogs#Entry" },
"rdf:about" : "http://example.com/blogs/entry/1",
"dcterms:title" : "I love trash"
}
would become:
{
"prefixes" : {
"oslc": "http://open-services.net/ns/core#",
"rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"foaf" : "http://http://xmlns.com/foaf/0.1/",
"dcterms" : "http://purl.org/dc/terms/"
},
"rdf:type" : [{ "rdf:resource" : "
http://open-services.net/ns/bogus/blogs#Entry" }],
"rdf:about" : "http://example.com/blogs/entry/1",
"dcterms:title" : "I love trash"
}
The specifications and guidance documents affected would be (non-inclusive
list):
http://open-services.net/bin/view/Main/OSLCCoreSpecAppendixD
http://open-services.net/pipermail/oslc-core_open-services.net/2010-September/000546.html
http://open-services.net/bin/view/Main/OSLCCoreRepresentationsGuidance#Guidelines_for_JSON
http://open-services.net/bin/view/Main/CmSpecificationV2
[1] - http://open-services.net/bin/view/Main/OslcCoreMeetings20100908
Thanks,
Steve Speicher | IBM Rational Software | (919) 254-0645
More information about the Oslc-Core
mailing list