Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.19 KB

Schemas.markdown

File metadata and controls

37 lines (25 loc) · 1.19 KB

OpenPhoto


What are schemas?

Schemas are the blueprint for various objects in the OpenPhoto platform. The most logical example is the Photo object which represents a single photo in a user's photo collection. Their photo library consists of a collection of Photo objects. Other examples are a User object and Action object.


Why are schemas important?

By defining these schemas we enable different OpenPhoto applications to share the same data. Since a Photo object has a predictable set of properties it means that any application can easily interact with it.


Available schemas

  1. User - Settings for a user.
  2. Credential - Properties for a user's OAuth credential.
  3. Photo - Properties for a single photo.
  4. Action - Comments and favorites on a photo.
  5. Tag - Meta information for tags.