Thanks Sam, made the fix. After a quick sanity check, I also noticed that oslc:queryCapabilty has the same issue as oslc:service (should be an array). Also the oslc:resourceShape (also renamed from oslc:shap) were objects and not arrays. Think I fixed all the issues with it. I also ran it through jslint.org to make sure it was valid still.
Let me know if I missed anything. Thanks, Steve Speicher | IBM Rational Software | (919) 254-0645 > From: Samuel Padgett/Durham/IBM@IBMUS > To: "[email protected]" <[email protected]>, > Cc: Kevin Bauer/Raleigh/IBM@IBMUS > Date: 08/23/2011 03:15 PM > Subject: [oslc-core] Minor problem in JSON Service Provider Resource example > Sent by: [email protected] > > > Minor problem in the JSON Service Provider Resource example [1]: It looks > like 'service' should be 'oslc:service', and the value should be a JSON > array rather than a JSON object since it occurs 'one-or-many' [2]. > > - Best Regards, Sam > > [1] > http://open-services.net/bin/view/Main/OSLCCoreSpecJSONExamples? > sortcol=table;up=#Service_Provider_Resource > [2] > http://open-services.net/bin/view/Main/OslcCoreSpecification? > sortcol=table;up=#Service_Provider_Resources > > > _______________________________________________ > Oslc-Core mailing list > [email protected] > http://open-services.net/mailman/listinfo/oslc-core_open-services.net >
