1.2 KiB
1.2 KiB
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
- User - Settings for a user.
- Credential - Properties for a user's OAuth credential.
- Photo - Properties for a single photo.
- Action - Comments and favorites on a photo.
- Tag - Meta information for tags.