-
Notifications
You must be signed in to change notification settings - Fork 0
INFO: Author profile data model
bmckinney edited this page Nov 22, 2016
·
3 revisions
The author profile is a simple set of 6 properties:
- type
- id
- affiliation
- works
- link
- label
This profile is represented in Java using the Profile class.
Specific profile lists are generated in custom profile classes, one for each platform or service that is supported. Use the EmptyProfiles template as a guide for supporting new profiles. See: HOWTO: Add new author profiles
The profile is represented as json:
{
"type":"orcid",
"id":"0000-0002-7733-8195",
"affiliation":"unknown",
"works":58,
"link":"http://orcid.org/0000-0002-7733-8195",
"label":"Shieber, Stuart"
}The javascript search.html app consumes the json data here:
Ext.define('profile',{
extend: 'Ext.data.Model',
fields: ['id', 'type', 'label', 'link', 'affiliation', 'works']
});