946
edits
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
[[User:Thunder/Incremental_Sync|Incremental Sync]] | [[User:Thunder/Incremental_Sync|Incremental Sync]] | ||
== People == | |||
sample people data: | |||
<pre> | |||
{ | |||
guid: "guid1", | |||
schema: "http://labs.mozilla.com/schemas/people/1", | |||
displayName: "Dan Mills", | |||
givenName: "Dan", | |||
familyName: "Mills", | |||
documents: { | |||
default: { | |||
moz_schema: "http://portablecontacts.net/draft-spec.html", | |||
displayName: "Dan Mills", | |||
name: { | |||
givenName: "Dan", | |||
familyName: "Mills" | |||
}, | |||
emails: [ | |||
{value: "thunder@mozilla.com"} | |||
] | |||
} | |||
} | |||
}, | |||
{ | |||
guid: "guid2", | |||
schema: "http://labs.mozilla.com/schemas/people/1", | |||
displayName: "Myk Melez", | |||
givenName: "Myk", | |||
familyName: "Melez", | |||
documents: { | |||
default: { | |||
moz_schema: "http://portablecontacts.net/draft-spec.html", | |||
displayName: "Myk Melez", | |||
name: { | |||
givenName: "Myk", | |||
familyName: "Melez" | |||
}, | |||
emails: [ | |||
{value: "myk@mozilla.com"} | |||
] | |||
} | |||
} | |||
}, | |||
{ | |||
guid: "guid3", | |||
schema: "http://labs.mozilla.com/schemas/people/1", | |||
displayName: "Anant", | |||
givenName: "Anant", | |||
familyName: "Narayanan", | |||
documents: { | |||
default: { | |||
moz_schema: "http://portablecontacts.net/draft-spec.html", | |||
displayName: "Anant", | |||
name: { | |||
givenName: "Anant", | |||
familyName: "Narayanan" | |||
}, | |||
emails: [ | |||
{value: "anant@mozilla.com"} | |||
] | |||
} | |||
} | |||
}, | |||
{ | |||
guid: "guid4", | |||
schema: "http://labs.mozilla.com/schemas/people/1", | |||
displayName: "Fred", | |||
documents: { | |||
default: { | |||
moz_schema: "http://portablecontacts.net/draft-spec.html", | |||
displayName: "Fred", | |||
emails: [ | |||
{value: "fred@example.com"} | |||
{value: "fred2@example.com"} | |||
] | |||
} | |||
} | |||
}, | |||
{ | |||
guid: "guid5", | |||
schema: "http://labs.mozilla.com/schemas/people/1", | |||
displayName: "Barney", | |||
documents: { | |||
default: { | |||
moz_schema: "http://portablecontacts.net/draft-spec.html", | |||
displayName: "Barney" | |||
} | |||
} | |||
} | |||
</pre> |
edits