hackers4peace / plp-prototypes

Repository containing prototype definition for profile data to be reused across components/modules.
http://ld.hackers4peace.net/contexts/plp.jsonld
Other
0 stars 0 forks source link

Fixes #2: Refactoring how profiles reference each other #4

Closed acorbi closed 9 years ago

acorbi commented 9 years ago

Added basic_thing.json prototype (corresponds to http://schema.org/Thing) for generic references to other resources. taken title out of prototype's internal definition, now is specified together with the $ref.

This refactoring simplifies the structure of the prototypes while making the editor more user-friendly. Before this, for instance, while adding an Organization on a user's profile. The user got presented all the fields of the organization's profile. Now, it just presents Name and URL which makes the generated profile more coherente with the idea of linking resources.

bildschirmfoto 2015-03-15 um 18 30 33

:information_source: Merging this code change does not require updating the plp-editor.

acorbi commented 9 years ago

@elf-pavlik @almereyda To review and merge tomorrow at oklab