AX structured objects and querying them

Chris Messina chris.messina at gmail.com
Wed Dec 9 05:39:18 UTC 2009


+1. But maybe that was obvious.

Sent from my iPhone 2G

On Dec 8, 2009, at 20:44, David Recordon <recordond at gmail.com> wrote:

> I'd prefer that we use the JSON structure defined in Portable Contacts
> which is also now being used by OpenSocial.
> http://portablecontacts.net/
>
> --David
>
> On Tue, Dec 8, 2009 at 8:42 PM, Joseph A Holsten
> <joseph at josephholsten.com> wrote:
>> What is the thinking about that serialization format? I note the  
>> wiki page
>> doesn't mention anything. XML, JSON with some namespacing,  
>> something custom
>> and or backwards compatible?
>>
>> When you request attributes, would you normally expect the objects in
>> standard types?
>> as in "I want an email address" -> {"email": "foo at bar.com",
>> "verification-timestamp": "2009-12-08"}
>> Or should you be able to request subattributes?
>> "I want an email address including a timestamp and method of  
>> verification"
>> -> ...
>>
>> Seems like asking for subattributes would be nifty, but quite nasty  
>> to spec.
>> I sure can't think of any existing way to do this short of SPARQL  
>> or some
>> NOSQL query language.
>> --
>> j
>>
>>
>> On Dec 8, 2009, at 7:59 PM, Allen Tom wrote:
>>
>>> I think the more general idea for AX 2.0 is to define a way for  
>>> structured
>>> data (aka objects) to be shared. This might conflict with the goal  
>>> of
>>> making
>>> the messages compact.
>>>
>>> At least with the case of email address, we'd like a way to return  
>>> the
>>> email
>>> address, as well as attributes about the address. Ideally, we'd  
>>> make this
>>> mechanism generic so that any attribute can have metadata  
>>> associated with
>>> it.
>>>
>>> Allen
>>>
>>>
>>>> The spec would need to require the colons, and probably permit  
>>>> empty
>>>> strings in place of the numbers when an OP wanted to say nothing  
>>>> at all
>>>> about validation, e.g.
>>>>
>>>> openid.ax.d.c=::+1-555-555-1212
>>>>
>>>
>>
>> _______________________________________________
>> specs mailing list
>> specs at lists.openid.net
>> http://lists.openid.net/mailman/listinfo/openid-specs
>>
> _______________________________________________
> specs mailing list
> specs at lists.openid.net
> http://lists.openid.net/mailman/listinfo/openid-specs


More information about the specs mailing list