tagcrumbs 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (183) hide show
  1. data/History.txt +5 -0
  2. data/Manifest.txt +79 -56
  3. data/README.rdoc +9 -1
  4. data/Rakefile +2 -1
  5. data/TODO.txt +0 -7
  6. data/config/website.yml +2 -0
  7. data/examples/filter_new.rb +7 -3
  8. data/examples/placemark_new_suggestions.rb +4 -2
  9. data/examples/request_authorization.rb +1 -1
  10. data/examples/tagcrumbs_find.rb +3 -3
  11. data/examples/user.rb +1 -1
  12. data/lib/console.rb +14 -0
  13. data/lib/tagcrumbs.rb +41 -14
  14. data/lib/tagcrumbs/cli.rb +1 -1
  15. data/lib/tagcrumbs/config_store.rb +3 -3
  16. data/lib/tagcrumbs/core_extensions.rb +19 -0
  17. data/lib/tagcrumbs/parsers/json_parser.rb +7 -3
  18. data/lib/tagcrumbs/proxy.rb +6 -3
  19. data/lib/tagcrumbs/requestor.rb +22 -5
  20. data/lib/tagcrumbs/resources/{array.rb → collection.rb} +8 -7
  21. data/lib/tagcrumbs/resources/models/access_token.rb +8 -0
  22. data/lib/tagcrumbs/resources/models/accessors.rb +17 -3
  23. data/lib/tagcrumbs/resources/models/activity.rb +1 -0
  24. data/lib/tagcrumbs/resources/models/application.rb +9 -0
  25. data/lib/tagcrumbs/resources/models/comment.rb +2 -0
  26. data/lib/tagcrumbs/resources/models/email_recommendation.rb +17 -0
  27. data/lib/tagcrumbs/resources/models/favorite.rb +2 -1
  28. data/lib/tagcrumbs/resources/models/filter.rb +2 -2
  29. data/lib/tagcrumbs/resources/models/flag.rb +3 -0
  30. data/lib/tagcrumbs/resources/models/model.rb +8 -7
  31. data/lib/tagcrumbs/resources/models/paragraph.rb +8 -0
  32. data/lib/tagcrumbs/resources/models/picture.rb +4 -4
  33. data/lib/tagcrumbs/resources/models/place.rb +3 -3
  34. data/lib/tagcrumbs/resources/models/placemark.rb +3 -2
  35. data/lib/tagcrumbs/resources/models/profile.rb +0 -1
  36. data/lib/tagcrumbs/resources/models/profile_link.rb +1 -1
  37. data/lib/tagcrumbs/resources/models/root.rb +3 -3
  38. data/lib/tagcrumbs/resources/models/settings.rb +2 -1
  39. data/lib/tagcrumbs/resources/models/tagcrumb.rb +4 -12
  40. data/lib/tagcrumbs/resources/models/user.rb +27 -6
  41. data/lib/tagcrumbs/resources/models/user_recommendation.rb +1 -1
  42. data/lib/tagcrumbs/resources/resource.rb +4 -4
  43. data/script/console +8 -3
  44. data/spec/fixtures_external/README.rdoc +15 -0
  45. data/spec/fixtures_external/json/access_token.json +11 -0
  46. data/spec/{fixtures → fixtures_external/json}/activity.json +32 -25
  47. data/spec/{fixtures → fixtures_external/json}/address.json +22 -25
  48. data/spec/fixtures_external/json/application.json +13 -0
  49. data/spec/{fixtures → fixtures_external/json}/city.json +2 -11
  50. data/spec/{fixtures → fixtures_external/json}/comment.json +51 -44
  51. data/spec/{fixtures → fixtures_external/json}/country.json +1 -4
  52. data/spec/fixtures_external/json/email_recommendation.json +286 -0
  53. data/spec/{fixtures → fixtures_external/json}/fanship.json +30 -30
  54. data/spec/{fixtures → fixtures_external/json}/favorite.json +45 -47
  55. data/spec/{fixtures → fixtures_external/json}/filter.json +30 -42
  56. data/spec/{fixtures → fixtures_external/json}/friendship.json +30 -30
  57. data/spec/fixtures_external/json/geoname.json +18 -0
  58. data/spec/{fixtures → fixtures_external/json}/link.json +41 -44
  59. data/spec/{fixtures → fixtures_external/json}/location.json +21 -31
  60. data/spec/fixtures_external/json/paragraph.json +12 -0
  61. data/spec/fixtures_external/json/picture.json +129 -0
  62. data/spec/fixtures_external/json/picture_upload.json +9 -0
  63. data/spec/{fixtures → fixtures_external/json}/placemark.json +136 -142
  64. data/spec/fixtures_external/json/placemarks.json +851 -0
  65. data/spec/{fixtures → fixtures_external/json}/profile.json +65 -94
  66. data/spec/fixtures_external/json/profile_link.json +123 -0
  67. data/spec/{fixtures → fixtures_external/json}/root.json +17 -21
  68. data/spec/{fixtures → fixtures_external/json}/settings.json +26 -19
  69. data/spec/{fixtures → fixtures_external/json}/state.json +2 -8
  70. data/spec/{fixtures → fixtures_external/json}/subscription.json +41 -44
  71. data/spec/fixtures_external/json/suggestions.json +302 -0
  72. data/spec/{fixtures → fixtures_external/json}/tag.json +0 -0
  73. data/spec/{fixtures → fixtures_external/json}/user.json +44 -20
  74. data/spec/{fixtures → fixtures_external/json}/user_recommendation.json +52 -55
  75. data/spec/fixtures_external/json/validation_errors.json +6 -0
  76. data/spec/fixtures_external/kml/network_link.kml +24 -0
  77. data/spec/fixtures_external/kml/tagcrumbs.kml +64 -0
  78. data/spec/fixtures_external/rdf/placemark.rdf +56 -0
  79. data/spec/fixtures_external/rss/tagcrumbs.rss +24 -0
  80. data/spec/fixtures_external/xml/access_token.xml +5 -0
  81. data/spec/fixtures_external/xml/activity.xml +62 -0
  82. data/spec/fixtures_external/xml/address.xml +51 -0
  83. data/spec/fixtures_external/xml/application.xml +5 -0
  84. data/spec/fixtures_external/xml/city.xml +27 -0
  85. data/spec/fixtures_external/xml/comment.xml +81 -0
  86. data/spec/fixtures_external/xml/country.xml +10 -0
  87. data/spec/fixtures_external/xml/email_recommendation.xml +78 -0
  88. data/spec/fixtures_external/xml/fanship.xml +49 -0
  89. data/spec/fixtures_external/xml/favorite.xml +97 -0
  90. data/spec/fixtures_external/xml/filter.xml +68 -0
  91. data/spec/fixtures_external/xml/friendship.xml +49 -0
  92. data/spec/fixtures_external/xml/geoname.xml +6 -0
  93. data/spec/fixtures_external/xml/link.xml +78 -0
  94. data/spec/fixtures_external/xml/location.xml +58 -0
  95. data/spec/fixtures_external/xml/paragraph.xml +8 -0
  96. data/spec/fixtures_external/xml/picture.xml +36 -0
  97. data/spec/fixtures_external/xml/picture_upload.xml +153 -0
  98. data/spec/fixtures_external/xml/placemark.xml +54 -0
  99. data/spec/fixtures_external/xml/placemarks.xml +336 -0
  100. data/spec/fixtures_external/xml/profile.xml +77 -0
  101. data/spec/fixtures_external/xml/profile_link.xml +34 -0
  102. data/spec/fixtures_external/xml/root.xml +12 -0
  103. data/spec/fixtures_external/xml/settings.xml +42 -0
  104. data/spec/fixtures_external/xml/state.xml +19 -0
  105. data/spec/fixtures_external/xml/subscription.xml +76 -0
  106. data/spec/fixtures_external/xml/suggestions.xml +106 -0
  107. data/spec/{fixtures → fixtures_external/xml}/tag.xml +2 -2
  108. data/spec/fixtures_external/xml/user.xml +37 -0
  109. data/spec/fixtures_external/xml/user_recommendation.xml +94 -0
  110. data/spec/fixtures_external/xml/validation_errors.xml +5 -0
  111. data/spec/spec_helper.rb +12 -2
  112. data/spec/tagcrumbs/requestor_spec.rb +2 -2
  113. data/spec/tagcrumbs/resources/array_spec.rb +38 -38
  114. data/spec/tagcrumbs/resources/models/access_token_spec.rb +16 -0
  115. data/spec/tagcrumbs/resources/models/accessors_spec.rb +2 -2
  116. data/spec/tagcrumbs/resources/models/activity_spec.rb +5 -1
  117. data/spec/tagcrumbs/resources/models/address_spec.rb +1 -1
  118. data/spec/tagcrumbs/resources/models/application_spec.rb +17 -0
  119. data/spec/tagcrumbs/resources/models/city_spec.rb +2 -5
  120. data/spec/tagcrumbs/resources/models/comment_spec.rb +8 -2
  121. data/spec/tagcrumbs/resources/models/country_spec.rb +2 -4
  122. data/spec/tagcrumbs/resources/models/email_recommendation_spec.rb +31 -0
  123. data/spec/tagcrumbs/resources/models/fanship_spec.rb +1 -1
  124. data/spec/tagcrumbs/resources/models/favorite_spec.rb +5 -1
  125. data/spec/tagcrumbs/resources/models/filter_spec.rb +3 -4
  126. data/spec/tagcrumbs/resources/models/friendship_spec.rb +1 -1
  127. data/spec/tagcrumbs/resources/models/geoname_spec.rb +1 -1
  128. data/spec/tagcrumbs/resources/models/link_spec.rb +1 -1
  129. data/spec/tagcrumbs/resources/models/location_spec.rb +1 -1
  130. data/spec/tagcrumbs/resources/models/model_spec.rb +20 -3
  131. data/spec/tagcrumbs/resources/models/paragraph_spec.rb +21 -0
  132. data/spec/tagcrumbs/resources/models/picture_spec.rb +13 -21
  133. data/spec/tagcrumbs/resources/models/place_spec.rb +3 -3
  134. data/spec/tagcrumbs/resources/models/placemark_spec.rb +11 -9
  135. data/spec/tagcrumbs/resources/models/profile_link_spec.rb +6 -12
  136. data/spec/tagcrumbs/resources/models/profile_spec.rb +5 -12
  137. data/spec/tagcrumbs/resources/models/root_spec.rb +15 -19
  138. data/spec/tagcrumbs/resources/models/settings_spec.rb +3 -1
  139. data/spec/tagcrumbs/resources/models/state_spec.rb +2 -5
  140. data/spec/tagcrumbs/resources/models/subscription_spec.rb +1 -1
  141. data/spec/tagcrumbs/resources/models/suggestions_spec.rb +7 -7
  142. data/spec/tagcrumbs/resources/models/tag_spec.rb +1 -1
  143. data/spec/tagcrumbs/resources/models/tagcrumb_spec.rb +3 -11
  144. data/spec/tagcrumbs/resources/models/user_recommendation_spec.rb +1 -1
  145. data/spec/tagcrumbs/resources/models/user_spec.rb +35 -27
  146. data/spec/tagcrumbs/resources/resource_spec.rb +3 -3
  147. data/spec/tagcrumbs_spec.rb +7 -7
  148. data/tagcrumbs.gemspec +2 -2
  149. metadata +82 -58
  150. data/examples/tagcrumbs_search.rb +0 -7
  151. data/lib/tagcrumbs/validations.rb +0 -301
  152. data/spec/fixtures/activity.xml +0 -66
  153. data/spec/fixtures/address.xml +0 -58
  154. data/spec/fixtures/city.xml +0 -34
  155. data/spec/fixtures/comment.xml +0 -87
  156. data/spec/fixtures/country.xml +0 -13
  157. data/spec/fixtures/fanship.xml +0 -54
  158. data/spec/fixtures/favorite.xml +0 -109
  159. data/spec/fixtures/filter.xml +0 -80
  160. data/spec/fixtures/friendship.xml +0 -54
  161. data/spec/fixtures/geoname.json +0 -18
  162. data/spec/fixtures/geoname.xml +0 -6
  163. data/spec/fixtures/link.xml +0 -88
  164. data/spec/fixtures/location.xml +0 -71
  165. data/spec/fixtures/picture.json +0 -154
  166. data/spec/fixtures/picture.xml +0 -49
  167. data/spec/fixtures/placemark.xml +0 -58
  168. data/spec/fixtures/placemarks.json +0 -887
  169. data/spec/fixtures/placemarks.xml +0 -348
  170. data/spec/fixtures/profile.xml +0 -100
  171. data/spec/fixtures/profile_link.json +0 -156
  172. data/spec/fixtures/profile_link.xml +0 -49
  173. data/spec/fixtures/root.xml +0 -14
  174. data/spec/fixtures/settings.xml +0 -45
  175. data/spec/fixtures/state.xml +0 -23
  176. data/spec/fixtures/subscription.xml +0 -86
  177. data/spec/fixtures/suggestions.json +0 -1877
  178. data/spec/fixtures/suggestions.xml +0 -724
  179. data/spec/fixtures/user.xml +0 -31
  180. data/spec/fixtures/user_recommendation.xml +0 -106
  181. data/spec/fixtures/validation_errors.json +0 -5
  182. data/spec/fixtures/validation_errors.xml +0 -5
  183. data/spec/tagcrumbs/validations_spec.rb +0 -27
@@ -2,23 +2,23 @@
2
2
  "user": {
3
3
  "tagcrumbs_fans": {
4
4
  "@xlink:href": "http://www.tagcrumbs.com/sascha/fans/tagcrumbs.json",
5
- "@type": "array"
5
+ "@type": "Collection"
6
6
  },
7
7
  "tags": {
8
8
  "@xlink:href": "http://www.tagcrumbs.com/sascha/tags.json",
9
- "@type": "array"
9
+ "@type": "Collection"
10
10
  },
11
11
  "activities": {
12
12
  "@xlink:href": "http://www.tagcrumbs.com/sascha/activities.json",
13
- "@type": "array"
13
+ "@type": "Collection"
14
14
  },
15
15
  "tagcrumbs": {
16
16
  "@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs.json",
17
- "@type": "array"
17
+ "@type": "Collection"
18
18
  },
19
19
  "subscriptions": {
20
20
  "@xlink:href": "http://www.tagcrumbs.com/sascha/subscriptions.json",
21
- "@type": "array"
21
+ "@type": "Collection"
22
22
  },
23
23
  "profile": {
24
24
  "@xlink:href": "http://www.tagcrumbs.com/sascha/profile.json",
@@ -27,26 +27,50 @@
27
27
  "username": {
28
28
  "$": "sascha"
29
29
  },
30
+ "facebook_uid": {
31
+ "$": 1234,
32
+ "@type": "integer"
33
+ },
30
34
  "@xlink:href": "http://www.tagcrumbs.com/sascha.json",
31
35
  "places": {
32
36
  "@xlink:href": "http://www.tagcrumbs.com/sascha/places.json",
33
- "@type": "array"
37
+ "@type": "Collection"
34
38
  },
35
39
  "picture": {
36
40
  "@xlink:href": "http://www.tagcrumbs.com/sascha/profile/picture.json",
37
- "@type": "Picture"
41
+ "small_thumbnail_url": {
42
+ "$": "http://s3.amazonaws.com/tagcrumbs_attachments_production/users/pictures/sascha/small.jpg?1246269353"
43
+ },
44
+ "large_thumbnail_url": {
45
+ "$": "http://s3.amazonaws.com/tagcrumbs_attachments_production/users/pictures/sascha/large.jpg?1246269353"
46
+ },
47
+ "@type": "Picture",
48
+ "medium_thumbnail_url": {
49
+ "$": "http://s3.amazonaws.com/tagcrumbs_attachments_production/users/pictures/sascha/medium.jpg?1246269353"
50
+ },
51
+ "content_type": {
52
+ "$": "image/jpeg"
53
+ },
54
+ "created_at": {
55
+ "@type": "timestamp",
56
+ "$": "2008-06-12T09:34:00+02:00"
57
+ },
58
+ "updated_at": {
59
+ "@type": "timestamp",
60
+ "$": "2008-06-12T09:34:00+02:00"
61
+ }
38
62
  },
39
63
  "comments": {
40
64
  "@xlink:href": "http://www.tagcrumbs.com/sascha/comments.json",
41
- "@type": "array"
65
+ "@type": "Collection"
42
66
  },
43
67
  "fanships": {
44
68
  "@xlink:href": "http://www.tagcrumbs.com/sascha/fans.json",
45
- "@type": "array"
69
+ "@type": "Collection"
46
70
  },
47
71
  "favorites": {
48
72
  "@xlink:href": "http://www.tagcrumbs.com/sascha/favorites.json",
49
- "@type": "array"
73
+ "@type": "Collection"
50
74
  },
51
75
  "settings": {
52
76
  "@xlink:href": "http://www.tagcrumbs.com/sascha/settings.json",
@@ -58,16 +82,16 @@
58
82
  },
59
83
  "placemarks": {
60
84
  "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks.json",
61
- "@type": "array"
85
+ "@type": "Collection"
62
86
  },
63
87
  "@type": "User",
64
88
  "profile_links": {
65
89
  "@xlink:href": "http://www.tagcrumbs.com/sascha/profile/links.json",
66
- "@type": "array"
90
+ "@type": "Collection"
67
91
  },
68
92
  "links": {
69
93
  "@xlink:href": "http://www.tagcrumbs.com/sascha/links.json",
70
- "@type": "array"
94
+ "@type": "Collection"
71
95
  },
72
96
  "suggestions": {
73
97
  "@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs/suggestions.json",
@@ -79,27 +103,27 @@
79
103
  },
80
104
  "flags": {
81
105
  "@xlink:href": "http://www.tagcrumbs.com/sascha/flags.json",
82
- "@type": "array"
106
+ "@type": "Collection"
83
107
  },
84
108
  "filters": {
85
109
  "@xlink:href": "http://www.tagcrumbs.com/sascha/filters.json",
86
- "@type": "array"
110
+ "@type": "Collection"
87
111
  },
88
112
  "tagcrumbs_friends": {
89
113
  "@xlink:href": "http://www.tagcrumbs.com/sascha/friends/tagcrumbs.json",
90
- "@type": "array"
114
+ "@type": "Collection"
91
115
  },
92
116
  "received_recommendations": {
93
- "@xlink:href": "http://www.tagcrumbs.com/sascha/recommendations/received.json",
94
- "@type": "array"
117
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/received_recommendations.json",
118
+ "@type": "Collection"
95
119
  },
96
120
  "recommendations": {
97
121
  "@xlink:href": "http://www.tagcrumbs.com/sascha/recommendations.json",
98
- "@type": "array"
122
+ "@type": "Collection"
99
123
  },
100
124
  "friendships": {
101
125
  "@xlink:href": "http://www.tagcrumbs.com/sascha/friends.json",
102
- "@type": "array"
126
+ "@type": "Collection"
103
127
  }
104
128
  }
105
129
  }
@@ -13,7 +13,7 @@
13
13
  "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/placemark-name.json",
14
14
  "comments": {
15
15
  "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/placemark-name/comments.json",
16
- "@type": "array"
16
+ "@type": "Collection"
17
17
  },
18
18
  "longitude": {
19
19
  "@type": "float",
@@ -23,32 +23,29 @@
23
23
  "@type": "timestamp",
24
24
  "$": "2009-02-01T14:41:11+01:00"
25
25
  },
26
- "permalink": {
27
- "$": "placemark-name"
28
- },
29
26
  "notes": {
30
27
  "$": "PLACEMARK NOTES"
31
28
  },
32
29
  "user": {
33
30
  "tagcrumbs_fans": {
34
31
  "@xlink:href": "http://www.tagcrumbs.com/sascha/fans/tagcrumbs.json",
35
- "@type": "array"
32
+ "@type": "Collection"
36
33
  },
37
34
  "tags": {
38
35
  "@xlink:href": "http://www.tagcrumbs.com/sascha/tags.json",
39
- "@type": "array"
36
+ "@type": "Collection"
40
37
  },
41
38
  "activities": {
42
39
  "@xlink:href": "http://www.tagcrumbs.com/sascha/activities.json",
43
- "@type": "array"
40
+ "@type": "Collection"
44
41
  },
45
42
  "tagcrumbs": {
46
43
  "@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs.json",
47
- "@type": "array"
44
+ "@type": "Collection"
48
45
  },
49
46
  "subscriptions": {
50
47
  "@xlink:href": "http://www.tagcrumbs.com/sascha/subscriptions.json",
51
- "@type": "array"
48
+ "@type": "Collection"
52
49
  },
53
50
  "profile": {
54
51
  "@xlink:href": "http://www.tagcrumbs.com/sascha/profile.json",
@@ -60,7 +57,7 @@
60
57
  "@xlink:href": "http://www.tagcrumbs.com/sascha.json",
61
58
  "places": {
62
59
  "@xlink:href": "http://www.tagcrumbs.com/sascha/places.json",
63
- "@type": "array"
60
+ "@type": "Collection"
64
61
  },
65
62
  "picture": {
66
63
  "@xlink:href": "http://www.tagcrumbs.com/sascha/profile/picture.json",
@@ -68,15 +65,15 @@
68
65
  },
69
66
  "comments": {
70
67
  "@xlink:href": "http://www.tagcrumbs.com/sascha/comments.json",
71
- "@type": "array"
68
+ "@type": "Collection"
72
69
  },
73
70
  "fanships": {
74
71
  "@xlink:href": "http://www.tagcrumbs.com/sascha/fans.json",
75
- "@type": "array"
72
+ "@type": "Collection"
76
73
  },
77
74
  "favorites": {
78
75
  "@xlink:href": "http://www.tagcrumbs.com/sascha/favorites.json",
79
- "@type": "array"
76
+ "@type": "Collection"
80
77
  },
81
78
  "settings": {
82
79
  "@xlink:href": "http://www.tagcrumbs.com/sascha/settings.json",
@@ -88,16 +85,16 @@
88
85
  },
89
86
  "placemarks": {
90
87
  "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks.json",
91
- "@type": "array"
88
+ "@type": "Collection"
92
89
  },
93
90
  "@type": "User",
94
91
  "profile_links": {
95
92
  "@xlink:href": "http://www.tagcrumbs.com/sascha/profile/links.json",
96
- "@type": "array"
93
+ "@type": "Collection"
97
94
  },
98
95
  "links": {
99
96
  "@xlink:href": "http://www.tagcrumbs.com/sascha/links.json",
100
- "@type": "array"
97
+ "@type": "Collection"
101
98
  },
102
99
  "suggestions": {
103
100
  "@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs/suggestions.json",
@@ -109,27 +106,27 @@
109
106
  },
110
107
  "flags": {
111
108
  "@xlink:href": "http://www.tagcrumbs.com/sascha/flags.json",
112
- "@type": "array"
109
+ "@type": "Collection"
113
110
  },
114
111
  "filters": {
115
112
  "@xlink:href": "http://www.tagcrumbs.com/sascha/filters.json",
116
- "@type": "array"
113
+ "@type": "Collection"
117
114
  },
118
115
  "tagcrumbs_friends": {
119
116
  "@xlink:href": "http://www.tagcrumbs.com/sascha/friends/tagcrumbs.json",
120
- "@type": "array"
117
+ "@type": "Collection"
121
118
  },
122
119
  "received_recommendations": {
123
- "@xlink:href": "http://www.tagcrumbs.com/sascha/recommendations/received.json",
124
- "@type": "array"
120
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/received_recommendations.json",
121
+ "@type": "Collection"
125
122
  },
126
123
  "recommendations": {
127
124
  "@xlink:href": "http://www.tagcrumbs.com/sascha/recommendations.json",
128
- "@type": "array"
125
+ "@type": "Collection"
129
126
  },
130
127
  "friendships": {
131
128
  "@xlink:href": "http://www.tagcrumbs.com/sascha/friends.json",
132
- "@type": "array"
129
+ "@type": "Collection"
133
130
  }
134
131
  },
135
132
  "name": {
@@ -138,7 +135,7 @@
138
135
  "@type": "Placemark",
139
136
  "links": {
140
137
  "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/placemark-name/links.json",
141
- "@type": "array"
138
+ "@type": "Collection"
142
139
  },
143
140
  "private": {
144
141
  "@type": "boolean",
@@ -153,7 +150,7 @@
153
150
  },
154
151
  "recommendations": {
155
152
  "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks/placemark-name/recommendations.json",
156
- "@type": "array"
153
+ "@type": "Collection"
157
154
  },
158
155
  "updated_at": {
159
156
  "@type": "timestamp",
@@ -170,19 +167,19 @@
170
167
  "recommended_user": {
171
168
  "tagcrumbs_fans": {
172
169
  "@xlink:href": "http://www.tagcrumbs.com/peter/fans/tagcrumbs.json",
173
- "@type": "array"
170
+ "@type": "Collection"
174
171
  },
175
172
  "tags": {
176
173
  "@xlink:href": "http://www.tagcrumbs.com/peter/tags.json",
177
- "@type": "array"
174
+ "@type": "Collection"
178
175
  },
179
176
  "activities": {
180
177
  "@xlink:href": "http://www.tagcrumbs.com/peter/activities.json",
181
- "@type": "array"
178
+ "@type": "Collection"
182
179
  },
183
180
  "tagcrumbs": {
184
181
  "@xlink:href": "http://www.tagcrumbs.com/peter/tagcrumbs.json",
185
- "@type": "array"
182
+ "@type": "Collection"
186
183
  },
187
184
  "profile": {
188
185
  "@xlink:href": "http://www.tagcrumbs.com/peter/profile.json",
@@ -194,7 +191,7 @@
194
191
  "@xlink:href": "http://www.tagcrumbs.com/peter.json",
195
192
  "places": {
196
193
  "@xlink:href": "http://www.tagcrumbs.com/peter/places.json",
197
- "@type": "array"
194
+ "@type": "Collection"
198
195
  },
199
196
  "picture": {
200
197
  "@xlink:href": "http://www.tagcrumbs.com/peter/profile/picture.json",
@@ -202,11 +199,11 @@
202
199
  },
203
200
  "fanships": {
204
201
  "@xlink:href": "http://www.tagcrumbs.com/peter/fans.json",
205
- "@type": "array"
202
+ "@type": "Collection"
206
203
  },
207
204
  "favorites": {
208
205
  "@xlink:href": "http://www.tagcrumbs.com/peter/favorites.json",
209
- "@type": "array"
206
+ "@type": "Collection"
210
207
  },
211
208
  "created_at": {
212
209
  "@type": "timestamp",
@@ -214,20 +211,20 @@
214
211
  },
215
212
  "placemarks": {
216
213
  "@xlink:href": "http://www.tagcrumbs.com/peter/placemarks.json",
217
- "@type": "array"
214
+ "@type": "Collection"
218
215
  },
219
216
  "@type": "User",
220
217
  "profile_links": {
221
218
  "@xlink:href": "http://www.tagcrumbs.com/peter/profile/links.json",
222
- "@type": "array"
219
+ "@type": "Collection"
223
220
  },
224
221
  "tagcrumbs_friends": {
225
222
  "@xlink:href": "http://www.tagcrumbs.com/peter/friends/tagcrumbs.json",
226
- "@type": "array"
223
+ "@type": "Collection"
227
224
  },
228
225
  "friendships": {
229
226
  "@xlink:href": "http://www.tagcrumbs.com/peter/friends.json",
230
- "@type": "array"
227
+ "@type": "Collection"
231
228
  }
232
229
  },
233
230
  "created_at": {
@@ -237,23 +234,23 @@
237
234
  "user": {
238
235
  "tagcrumbs_fans": {
239
236
  "@xlink:href": "http://www.tagcrumbs.com/sascha/fans/tagcrumbs.json",
240
- "@type": "array"
237
+ "@type": "Collection"
241
238
  },
242
239
  "tags": {
243
240
  "@xlink:href": "http://www.tagcrumbs.com/sascha/tags.json",
244
- "@type": "array"
241
+ "@type": "Collection"
245
242
  },
246
243
  "activities": {
247
244
  "@xlink:href": "http://www.tagcrumbs.com/sascha/activities.json",
248
- "@type": "array"
245
+ "@type": "Collection"
249
246
  },
250
247
  "tagcrumbs": {
251
248
  "@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs.json",
252
- "@type": "array"
249
+ "@type": "Collection"
253
250
  },
254
251
  "subscriptions": {
255
252
  "@xlink:href": "http://www.tagcrumbs.com/sascha/subscriptions.json",
256
- "@type": "array"
253
+ "@type": "Collection"
257
254
  },
258
255
  "profile": {
259
256
  "@xlink:href": "http://www.tagcrumbs.com/sascha/profile.json",
@@ -265,7 +262,7 @@
265
262
  "@xlink:href": "http://www.tagcrumbs.com/sascha.json",
266
263
  "places": {
267
264
  "@xlink:href": "http://www.tagcrumbs.com/sascha/places.json",
268
- "@type": "array"
265
+ "@type": "Collection"
269
266
  },
270
267
  "picture": {
271
268
  "@xlink:href": "http://www.tagcrumbs.com/sascha/profile/picture.json",
@@ -273,15 +270,15 @@
273
270
  },
274
271
  "comments": {
275
272
  "@xlink:href": "http://www.tagcrumbs.com/sascha/comments.json",
276
- "@type": "array"
273
+ "@type": "Collection"
277
274
  },
278
275
  "fanships": {
279
276
  "@xlink:href": "http://www.tagcrumbs.com/sascha/fans.json",
280
- "@type": "array"
277
+ "@type": "Collection"
281
278
  },
282
279
  "favorites": {
283
280
  "@xlink:href": "http://www.tagcrumbs.com/sascha/favorites.json",
284
- "@type": "array"
281
+ "@type": "Collection"
285
282
  },
286
283
  "settings": {
287
284
  "@xlink:href": "http://www.tagcrumbs.com/sascha/settings.json",
@@ -293,16 +290,16 @@
293
290
  },
294
291
  "placemarks": {
295
292
  "@xlink:href": "http://www.tagcrumbs.com/sascha/placemarks.json",
296
- "@type": "array"
293
+ "@type": "Collection"
297
294
  },
298
295
  "@type": "User",
299
296
  "profile_links": {
300
297
  "@xlink:href": "http://www.tagcrumbs.com/sascha/profile/links.json",
301
- "@type": "array"
298
+ "@type": "Collection"
302
299
  },
303
300
  "links": {
304
301
  "@xlink:href": "http://www.tagcrumbs.com/sascha/links.json",
305
- "@type": "array"
302
+ "@type": "Collection"
306
303
  },
307
304
  "suggestions": {
308
305
  "@xlink:href": "http://www.tagcrumbs.com/sascha/tagcrumbs/suggestions.json",
@@ -314,27 +311,27 @@
314
311
  },
315
312
  "flags": {
316
313
  "@xlink:href": "http://www.tagcrumbs.com/sascha/flags.json",
317
- "@type": "array"
314
+ "@type": "Collection"
318
315
  },
319
316
  "filters": {
320
317
  "@xlink:href": "http://www.tagcrumbs.com/sascha/filters.json",
321
- "@type": "array"
318
+ "@type": "Collection"
322
319
  },
323
320
  "tagcrumbs_friends": {
324
321
  "@xlink:href": "http://www.tagcrumbs.com/sascha/friends/tagcrumbs.json",
325
- "@type": "array"
322
+ "@type": "Collection"
326
323
  },
327
324
  "received_recommendations": {
328
- "@xlink:href": "http://www.tagcrumbs.com/sascha/recommendations/received.json",
329
- "@type": "array"
325
+ "@xlink:href": "http://www.tagcrumbs.com/sascha/received_recommendations.json",
326
+ "@type": "Collection"
330
327
  },
331
328
  "recommendations": {
332
329
  "@xlink:href": "http://www.tagcrumbs.com/sascha/recommendations.json",
333
- "@type": "array"
330
+ "@type": "Collection"
334
331
  },
335
332
  "friendships": {
336
333
  "@xlink:href": "http://www.tagcrumbs.com/sascha/friends.json",
337
- "@type": "array"
334
+ "@type": "Collection"
338
335
  }
339
336
  },
340
337
  "@type": "UserRecommendation",