Dynamic Association
extends Association extends Item.
| query | [a persisted query] |
There is no file; only meta-data.
extends Association extends Item.
| Read/Write | ||
|---|---|---|
| relation | Collection <> | (promoted to r/w) |
| representative | Item | |
extends Item.
| Defined by Data | ||
|---|---|---|
| words | int | |
| sentences | int | |
| paragraphs | int | |
| pages | int | ??? |
| Read/Write | ||
| status | { WORK_IN_PROGRESS, DRAFT, FINAL, ABANDONED } | |
| contributors | Collection <> | |
| keywords | Collection <> | |
| abstract | String | |
extends Item.
Meeting is based on the vEvent object in the iCalendar format as described in RFC 2445 (HTML).
Reference implementation: iCal4j.
| summary | String | |
| description | String | |
| agenda | Document | (added) |
| minutes | Document | (added) |
| material | Collection <> | (added) |
| comments | Collection <> | |
| start | Date | |
| end | Date | |
| location | Address | |
| status | { TENTATIVE, CONFIRMED, CANCELLED } | |
| organizer | Contact | |
| attendees | Collection <> | |
| lastMeeting | Meeting | (added) |
| nextMeeting | Meeting | (added) |
| Attendee | ||
|---|---|---|
| attendee | Contact | |
| role | { CHAIR, REQ-PARTICIPANT, OPT-PARTICIPANT, NON-PARTICIPANT } | ROLE |
| status | { NEEDS-ACTION, ACCEPTED, DECLINED, TENTATIVE, DELEGATED } | PARTSTAT |
| delagatedTo | Attendee | delegateTo |
| delagatedFrom | Attendee | delegateFrom |
extends Item
Contact is based on the vCard specification. Vcard is formalized in RFC 2425 (HTML) and RFC 2426 (HTML). See Vcard as RDF/XML, hCard for more info.
Reference implementation: vCard4j.
| Read/Write | ||
|---|---|---|
| name | Name | N |
| nicknames | List <> | NICKNAME |
| photo | Photo | PHOTO |
| birthday | Date | BDAY |
| addresses | Collection <> | ADR |
| telephone | Collection <> | TEL |
| Collection <> (TODO: should there be TYPEs for this?) | ||
| url | URL | URL |
| title | String | TITLE |
| role | String | ROLE |
| agent | Contact | AGENT |
| organization | String | ORG |
| unit | List <> | ORG |
| Name | |
|---|---|
| family | String |
| given | String |
| additional | List <> |
| prefix | List <> |
| suffix | List <> |
| Address | |
|---|---|
| type[] | { dom, intl, postal, parcel, home, work, pref } |
| poBox | String |
| extended | String |
| street | String |
| city (locality) | String |
| state (region) | String |
| postalCode | String |
| country | ISOCode |
| Telephone | |
|---|---|
| type[] | { home, work, msg, voice, fax, cell, video, pager, bbs, modem, car, isdn, pcs, pref } |
| number | String (vcard recomends canonical) |
Photo's meta-data is based on the EXIF specification and the IPTC spec.
See the EXIF v2.2 spec and sample data.
IPTC IIM v4.1 spec.
| Read Only (exif) | ||
|---|---|---|
| Camera | Camera | |
| Exposure Time | float | |
| F Number | float | |
| Original | Date | |
| Digitized | Date | |
| Shutter Speed | float | |
| Aperture | float | |
| Exposure Bias | float | |
| Max Apature | float | |
| Subject Distance | float | |
| Metering Mode | { unknown, Average, CenterWeightedAverage, Spot, MultiSpot, Pattern, Partial, other } | |
| Flash | Flash | |
| FocalLength | float | |
| Read/Write (iptc) | ||
| Object Name | String | |
| Keywords | Collection <> | |
| By Line | Collection <> | |
| Country (primary location) | String | TODO: use ISO countries? |
| Province (state) | String | |
| City | String | |
| Headline | String | |
| Caption | String | |
| Read/Write (custom) | ||
| Subjects | Collection <> | |
| Camera | |
|---|---|
| Make | String |
| Model | String |
| Flash | |
|---|---|
| Fired | { Fired, NotFired } |
| Returned | { NoStrobeReturnDetectionFunction, StrobeReturnLightNotDetected, StrobeReturnLightDetected } |
| Mode | { unknown, CompulsoryFiring, CompulsorySupression, Auto } |
| Function | { Present, NoFlash } |
| RedEye | { RedEyeReduction, NoRedEyeReduction } |
TODO: should these "float" values be "rationals"?
TODO: Image is currently geared towards raster images, not vector images.
extends Item
| Read Only | ||
|---|---|---|
| width | int | |
| height | int | |
| xResolution | float | |
| yResolution | float | |
| resolutionUnit | { inches, centimeters } | |
The meta-data for the Music class is a subset of the ID3v2.3.0 specification. Only the most significant fileds (the ones displayed by Winamp) were kept as a proof of concept.
We are using javamusictag to handle these.
| Read/Write | |||
|---|---|---|---|
| Track | int | NULLABLE | TRCK |
| Total Track | int | NULLABLE | TRCK |
| Title | String | NULLABLE | TIT2 |
| Album | String | NULLABLE | TALB |
| Artist | String | NULLABLE | TPE1 |
| Year | int | NULLABLE | TYER |
| Genre | String | NULLABLE | TCON |
| Comments | String | NULLABLE | COMM |
| Composer | String | NULLABLE | TCOM |
| Original Artist | String | NULLABLE | TOPE |
| Copyright | String | NULLABLE | TCOP |
| URL | URL | NULLABLE | WXXX |
| Encoded by | String | NULLABLE | TENC |
| Overridden | |||
| Length | int | TLEN | |
| Read Only | |||
|---|---|---|---|
| UID | long | ||
| fileSize | long | ||
| created | Date | ||
| modified | Date | ||
| accessed | Date | ||
| Read/Write | |||
| owner | User | ||
| group | Group | ||
| perms | Permissions | ||
| type | MimeType | javax.activation.MimeType | |
| name | String | NULLABLE | |
| stream | File | NULLABLE | |
| related | Collection | ||
| User Definable | |||
| attributes | Map | ||
There are four types of meta-data per Item in SpoonFS.
Predefined data corresponding to a known type in the file store.
Free-formed user-defined key-value pairs.