mida_vocabulary 0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (320) hide show
  1. data/README.md +9 -0
  2. data/Rakefile +7 -0
  3. data/lib/mida_vocabulary/datatype/boolean.rb +30 -0
  4. data/lib/mida_vocabulary/datatype/enumeration.rb +28 -0
  5. data/lib/mida_vocabulary/datatype/float.rb +18 -0
  6. data/lib/mida_vocabulary/datatype/generic.rb +33 -0
  7. data/lib/mida_vocabulary/datatype/integer.rb +15 -0
  8. data/lib/mida_vocabulary/datatype/iso8601date.rb +25 -0
  9. data/lib/mida_vocabulary/datatype/number.rb +16 -0
  10. data/lib/mida_vocabulary/datatype/text.rb +15 -0
  11. data/lib/mida_vocabulary/datatype/url.rb +20 -0
  12. data/lib/mida_vocabulary/datatype.rb +17 -0
  13. data/lib/mida_vocabulary/propertydesc.rb +36 -0
  14. data/lib/mida_vocabulary/vocabularies/genericvocabulary.rb +13 -0
  15. data/lib/mida_vocabulary/vocabularies/schemaorg/aboutpage.rb +19 -0
  16. data/lib/mida_vocabulary/vocabularies/schemaorg/accountingservice.rb +21 -0
  17. data/lib/mida_vocabulary/vocabularies/schemaorg/administrativearea.rb +17 -0
  18. data/lib/mida_vocabulary/vocabularies/schemaorg/adultentertainment.rb +21 -0
  19. data/lib/mida_vocabulary/vocabularies/schemaorg/aggregateoffer.rb +34 -0
  20. data/lib/mida_vocabulary/vocabularies/schemaorg/aggregaterating.rb +33 -0
  21. data/lib/mida_vocabulary/vocabularies/schemaorg/airport.rb +19 -0
  22. data/lib/mida_vocabulary/vocabularies/schemaorg/amusementpark.rb +21 -0
  23. data/lib/mida_vocabulary/vocabularies/schemaorg/animalshelter.rb +21 -0
  24. data/lib/mida_vocabulary/vocabularies/schemaorg/apartmentcomplex.rb +17 -0
  25. data/lib/mida_vocabulary/vocabularies/schemaorg/aquarium.rb +19 -0
  26. data/lib/mida_vocabulary/vocabularies/schemaorg/artgallery.rb +21 -0
  27. data/lib/mida_vocabulary/vocabularies/schemaorg/article.rb +28 -0
  28. data/lib/mida_vocabulary/vocabularies/schemaorg/attorney.rb +21 -0
  29. data/lib/mida_vocabulary/vocabularies/schemaorg/audioobject.rb +22 -0
  30. data/lib/mida_vocabulary/vocabularies/schemaorg/autobodyshop.rb +21 -0
  31. data/lib/mida_vocabulary/vocabularies/schemaorg/autodealer.rb +21 -0
  32. data/lib/mida_vocabulary/vocabularies/schemaorg/automatedteller.rb +21 -0
  33. data/lib/mida_vocabulary/vocabularies/schemaorg/automotivebusiness.rb +21 -0
  34. data/lib/mida_vocabulary/vocabularies/schemaorg/autopartsstore.rb +21 -0
  35. data/lib/mida_vocabulary/vocabularies/schemaorg/autorental.rb +21 -0
  36. data/lib/mida_vocabulary/vocabularies/schemaorg/autorepair.rb +21 -0
  37. data/lib/mida_vocabulary/vocabularies/schemaorg/autowash.rb +21 -0
  38. data/lib/mida_vocabulary/vocabularies/schemaorg/bakery.rb +23 -0
  39. data/lib/mida_vocabulary/vocabularies/schemaorg/bankorcreditunion.rb +21 -0
  40. data/lib/mida_vocabulary/vocabularies/schemaorg/barorpub.rb +23 -0
  41. data/lib/mida_vocabulary/vocabularies/schemaorg/beach.rb +19 -0
  42. data/lib/mida_vocabulary/vocabularies/schemaorg/beautysalon.rb +21 -0
  43. data/lib/mida_vocabulary/vocabularies/schemaorg/bedandbreakfast.rb +21 -0
  44. data/lib/mida_vocabulary/vocabularies/schemaorg/bikestore.rb +21 -0
  45. data/lib/mida_vocabulary/vocabularies/schemaorg/blog.rb +24 -0
  46. data/lib/mida_vocabulary/vocabularies/schemaorg/blogposting.rb +19 -0
  47. data/lib/mida_vocabulary/vocabularies/schemaorg/bodyofwater.rb +17 -0
  48. data/lib/mida_vocabulary/vocabularies/schemaorg/book.rb +41 -0
  49. data/lib/mida_vocabulary/vocabularies/schemaorg/bookformattype.rb +16 -0
  50. data/lib/mida_vocabulary/vocabularies/schemaorg/bookstore.rb +21 -0
  51. data/lib/mida_vocabulary/vocabularies/schemaorg/bowlingalley.rb +21 -0
  52. data/lib/mida_vocabulary/vocabularies/schemaorg/brewery.rb +23 -0
  53. data/lib/mida_vocabulary/vocabularies/schemaorg/buddhisttemple.rb +19 -0
  54. data/lib/mida_vocabulary/vocabularies/schemaorg/businessevent.rb +17 -0
  55. data/lib/mida_vocabulary/vocabularies/schemaorg/busstation.rb +19 -0
  56. data/lib/mida_vocabulary/vocabularies/schemaorg/busstop.rb +19 -0
  57. data/lib/mida_vocabulary/vocabularies/schemaorg/cafeorcoffeeshop.rb +23 -0
  58. data/lib/mida_vocabulary/vocabularies/schemaorg/campground.rb +19 -0
  59. data/lib/mida_vocabulary/vocabularies/schemaorg/canal.rb +17 -0
  60. data/lib/mida_vocabulary/vocabularies/schemaorg/casino.rb +21 -0
  61. data/lib/mida_vocabulary/vocabularies/schemaorg/catholicchurch.rb +19 -0
  62. data/lib/mida_vocabulary/vocabularies/schemaorg/cemetery.rb +19 -0
  63. data/lib/mida_vocabulary/vocabularies/schemaorg/checkoutpage.rb +19 -0
  64. data/lib/mida_vocabulary/vocabularies/schemaorg/childcare.rb +21 -0
  65. data/lib/mida_vocabulary/vocabularies/schemaorg/childrensevent.rb +17 -0
  66. data/lib/mida_vocabulary/vocabularies/schemaorg/church.rb +19 -0
  67. data/lib/mida_vocabulary/vocabularies/schemaorg/city.rb +17 -0
  68. data/lib/mida_vocabulary/vocabularies/schemaorg/cityhall.rb +19 -0
  69. data/lib/mida_vocabulary/vocabularies/schemaorg/civicstructure.rb +24 -0
  70. data/lib/mida_vocabulary/vocabularies/schemaorg/clothingstore.rb +21 -0
  71. data/lib/mida_vocabulary/vocabularies/schemaorg/collectionpage.rb +19 -0
  72. data/lib/mida_vocabulary/vocabularies/schemaorg/collegeoruniversity.rb +19 -0
  73. data/lib/mida_vocabulary/vocabularies/schemaorg/comedyclub.rb +21 -0
  74. data/lib/mida_vocabulary/vocabularies/schemaorg/comedyevent.rb +17 -0
  75. data/lib/mida_vocabulary/vocabularies/schemaorg/computerstore.rb +21 -0
  76. data/lib/mida_vocabulary/vocabularies/schemaorg/contactpage.rb +19 -0
  77. data/lib/mida_vocabulary/vocabularies/schemaorg/contactpoint.rb +27 -0
  78. data/lib/mida_vocabulary/vocabularies/schemaorg/continent.rb +17 -0
  79. data/lib/mida_vocabulary/vocabularies/schemaorg/conveniencestore.rb +21 -0
  80. data/lib/mida_vocabulary/vocabularies/schemaorg/corporation.rb +20 -0
  81. data/lib/mida_vocabulary/vocabularies/schemaorg/country.rb +17 -0
  82. data/lib/mida_vocabulary/vocabularies/schemaorg/courthouse.rb +19 -0
  83. data/lib/mida_vocabulary/vocabularies/schemaorg/creativework.rb +219 -0
  84. data/lib/mida_vocabulary/vocabularies/schemaorg/crematorium.rb +19 -0
  85. data/lib/mida_vocabulary/vocabularies/schemaorg/danceevent.rb +17 -0
  86. data/lib/mida_vocabulary/vocabularies/schemaorg/dancegroup.rb +17 -0
  87. data/lib/mida_vocabulary/vocabularies/schemaorg/dayspa.rb +21 -0
  88. data/lib/mida_vocabulary/vocabularies/schemaorg/defenceestablishment.rb +19 -0
  89. data/lib/mida_vocabulary/vocabularies/schemaorg/dentist.rb +21 -0
  90. data/lib/mida_vocabulary/vocabularies/schemaorg/departmentstore.rb +21 -0
  91. data/lib/mida_vocabulary/vocabularies/schemaorg/distance.rb +15 -0
  92. data/lib/mida_vocabulary/vocabularies/schemaorg/drycleaningorlaundry.rb +21 -0
  93. data/lib/mida_vocabulary/vocabularies/schemaorg/duration.rb +13 -0
  94. data/lib/mida_vocabulary/vocabularies/schemaorg/educationalorganization.rb +24 -0
  95. data/lib/mida_vocabulary/vocabularies/schemaorg/educationevent.rb +17 -0
  96. data/lib/mida_vocabulary/vocabularies/schemaorg/electrician.rb +21 -0
  97. data/lib/mida_vocabulary/vocabularies/schemaorg/electronicsstore.rb +21 -0
  98. data/lib/mida_vocabulary/vocabularies/schemaorg/elementaryschool.rb +19 -0
  99. data/lib/mida_vocabulary/vocabularies/schemaorg/embassy.rb +19 -0
  100. data/lib/mida_vocabulary/vocabularies/schemaorg/emergencyservice.rb +21 -0
  101. data/lib/mida_vocabulary/vocabularies/schemaorg/employmentagency.rb +21 -0
  102. data/lib/mida_vocabulary/vocabularies/schemaorg/energy.rb +15 -0
  103. data/lib/mida_vocabulary/vocabularies/schemaorg/entertainmentbusiness.rb +21 -0
  104. data/lib/mida_vocabulary/vocabularies/schemaorg/enumeration.rb +15 -0
  105. data/lib/mida_vocabulary/vocabularies/schemaorg/event.rb +77 -0
  106. data/lib/mida_vocabulary/vocabularies/schemaorg/eventvenue.rb +19 -0
  107. data/lib/mida_vocabulary/vocabularies/schemaorg/exercisegym.rb +21 -0
  108. data/lib/mida_vocabulary/vocabularies/schemaorg/fastfoodrestaurant.rb +23 -0
  109. data/lib/mida_vocabulary/vocabularies/schemaorg/festival.rb +17 -0
  110. data/lib/mida_vocabulary/vocabularies/schemaorg/financialservice.rb +21 -0
  111. data/lib/mida_vocabulary/vocabularies/schemaorg/firestation.rb +23 -0
  112. data/lib/mida_vocabulary/vocabularies/schemaorg/florist.rb +21 -0
  113. data/lib/mida_vocabulary/vocabularies/schemaorg/foodestablishment.rb +36 -0
  114. data/lib/mida_vocabulary/vocabularies/schemaorg/foodevent.rb +17 -0
  115. data/lib/mida_vocabulary/vocabularies/schemaorg/furniturestore.rb +21 -0
  116. data/lib/mida_vocabulary/vocabularies/schemaorg/gardenstore.rb +21 -0
  117. data/lib/mida_vocabulary/vocabularies/schemaorg/gasstation.rb +21 -0
  118. data/lib/mida_vocabulary/vocabularies/schemaorg/gatedresidencecommunity.rb +17 -0
  119. data/lib/mida_vocabulary/vocabularies/schemaorg/generalcontractor.rb +21 -0
  120. data/lib/mida_vocabulary/vocabularies/schemaorg/geocoordinates.rb +33 -0
  121. data/lib/mida_vocabulary/vocabularies/schemaorg/geoshape.rb +33 -0
  122. data/lib/mida_vocabulary/vocabularies/schemaorg/golfcourse.rb +21 -0
  123. data/lib/mida_vocabulary/vocabularies/schemaorg/governmentbuilding.rb +19 -0
  124. data/lib/mida_vocabulary/vocabularies/schemaorg/governmentoffice.rb +21 -0
  125. data/lib/mida_vocabulary/vocabularies/schemaorg/governmentorganization.rb +17 -0
  126. data/lib/mida_vocabulary/vocabularies/schemaorg/grocerystore.rb +21 -0
  127. data/lib/mida_vocabulary/vocabularies/schemaorg/hairsalon.rb +21 -0
  128. data/lib/mida_vocabulary/vocabularies/schemaorg/hardwarestore.rb +21 -0
  129. data/lib/mida_vocabulary/vocabularies/schemaorg/healthandbeautybusiness.rb +21 -0
  130. data/lib/mida_vocabulary/vocabularies/schemaorg/healthclub.rb +21 -0
  131. data/lib/mida_vocabulary/vocabularies/schemaorg/highschool.rb +19 -0
  132. data/lib/mida_vocabulary/vocabularies/schemaorg/hindutemple.rb +19 -0
  133. data/lib/mida_vocabulary/vocabularies/schemaorg/hobbyshop.rb +21 -0
  134. data/lib/mida_vocabulary/vocabularies/schemaorg/homeandconstructionbusiness.rb +21 -0
  135. data/lib/mida_vocabulary/vocabularies/schemaorg/homegoodsstore.rb +21 -0
  136. data/lib/mida_vocabulary/vocabularies/schemaorg/hospital.rb +23 -0
  137. data/lib/mida_vocabulary/vocabularies/schemaorg/hostel.rb +21 -0
  138. data/lib/mida_vocabulary/vocabularies/schemaorg/hotel.rb +21 -0
  139. data/lib/mida_vocabulary/vocabularies/schemaorg/housepainter.rb +21 -0
  140. data/lib/mida_vocabulary/vocabularies/schemaorg/hvacbusiness.rb +21 -0
  141. data/lib/mida_vocabulary/vocabularies/schemaorg/icecreamshop.rb +23 -0
  142. data/lib/mida_vocabulary/vocabularies/schemaorg/imagegallery.rb +19 -0
  143. data/lib/mida_vocabulary/vocabularies/schemaorg/imageobject.rb +37 -0
  144. data/lib/mida_vocabulary/vocabularies/schemaorg/insuranceagency.rb +21 -0
  145. data/lib/mida_vocabulary/vocabularies/schemaorg/intangible.rb +15 -0
  146. data/lib/mida_vocabulary/vocabularies/schemaorg/internetcafe.rb +21 -0
  147. data/lib/mida_vocabulary/vocabularies/schemaorg/itemavailability.rb +19 -0
  148. data/lib/mida_vocabulary/vocabularies/schemaorg/itemlist.rb +23 -0
  149. data/lib/mida_vocabulary/vocabularies/schemaorg/itempage.rb +19 -0
  150. data/lib/mida_vocabulary/vocabularies/schemaorg/jewelrystore.rb +21 -0
  151. data/lib/mida_vocabulary/vocabularies/schemaorg/jobposting.rb +81 -0
  152. data/lib/mida_vocabulary/vocabularies/schemaorg/lakebodyofwater.rb +17 -0
  153. data/lib/mida_vocabulary/vocabularies/schemaorg/landform.rb +17 -0
  154. data/lib/mida_vocabulary/vocabularies/schemaorg/landmarksorhistoricalbuildings.rb +17 -0
  155. data/lib/mida_vocabulary/vocabularies/schemaorg/language.rb +15 -0
  156. data/lib/mida_vocabulary/vocabularies/schemaorg/legislativebuilding.rb +19 -0
  157. data/lib/mida_vocabulary/vocabularies/schemaorg/library.rb +21 -0
  158. data/lib/mida_vocabulary/vocabularies/schemaorg/liquorstore.rb +21 -0
  159. data/lib/mida_vocabulary/vocabularies/schemaorg/literaryevent.rb +17 -0
  160. data/lib/mida_vocabulary/vocabularies/schemaorg/localbusiness.rb +41 -0
  161. data/lib/mida_vocabulary/vocabularies/schemaorg/locksmith.rb +21 -0
  162. data/lib/mida_vocabulary/vocabularies/schemaorg/lodgingbusiness.rb +21 -0
  163. data/lib/mida_vocabulary/vocabularies/schemaorg/map.rb +17 -0
  164. data/lib/mida_vocabulary/vocabularies/schemaorg/mass.rb +15 -0
  165. data/lib/mida_vocabulary/vocabularies/schemaorg/mediaobject.rb +94 -0
  166. data/lib/mida_vocabulary/vocabularies/schemaorg/medicalclinic.rb +21 -0
  167. data/lib/mida_vocabulary/vocabularies/schemaorg/medicalorganization.rb +21 -0
  168. data/lib/mida_vocabulary/vocabularies/schemaorg/mensclothingstore.rb +21 -0
  169. data/lib/mida_vocabulary/vocabularies/schemaorg/middleschool.rb +19 -0
  170. data/lib/mida_vocabulary/vocabularies/schemaorg/mobilephonestore.rb +21 -0
  171. data/lib/mida_vocabulary/vocabularies/schemaorg/mosque.rb +19 -0
  172. data/lib/mida_vocabulary/vocabularies/schemaorg/motel.rb +21 -0
  173. data/lib/mida_vocabulary/vocabularies/schemaorg/motorcycledealer.rb +21 -0
  174. data/lib/mida_vocabulary/vocabularies/schemaorg/motorcyclerepair.rb +21 -0
  175. data/lib/mida_vocabulary/vocabularies/schemaorg/mountain.rb +17 -0
  176. data/lib/mida_vocabulary/vocabularies/schemaorg/movie.rb +65 -0
  177. data/lib/mida_vocabulary/vocabularies/schemaorg/movierentalstore.rb +21 -0
  178. data/lib/mida_vocabulary/vocabularies/schemaorg/movietheater.rb +23 -0
  179. data/lib/mida_vocabulary/vocabularies/schemaorg/movingcompany.rb +21 -0
  180. data/lib/mida_vocabulary/vocabularies/schemaorg/museum.rb +19 -0
  181. data/lib/mida_vocabulary/vocabularies/schemaorg/musicalbum.rb +26 -0
  182. data/lib/mida_vocabulary/vocabularies/schemaorg/musicevent.rb +17 -0
  183. data/lib/mida_vocabulary/vocabularies/schemaorg/musicgroup.rb +38 -0
  184. data/lib/mida_vocabulary/vocabularies/schemaorg/musicplaylist.rb +29 -0
  185. data/lib/mida_vocabulary/vocabularies/schemaorg/musicrecording.rb +45 -0
  186. data/lib/mida_vocabulary/vocabularies/schemaorg/musicstore.rb +21 -0
  187. data/lib/mida_vocabulary/vocabularies/schemaorg/musicvenue.rb +19 -0
  188. data/lib/mida_vocabulary/vocabularies/schemaorg/musicvideoobject.rb +19 -0
  189. data/lib/mida_vocabulary/vocabularies/schemaorg/nailsalon.rb +21 -0
  190. data/lib/mida_vocabulary/vocabularies/schemaorg/newsarticle.rb +34 -0
  191. data/lib/mida_vocabulary/vocabularies/schemaorg/ngo.rb +17 -0
  192. data/lib/mida_vocabulary/vocabularies/schemaorg/nightclub.rb +21 -0
  193. data/lib/mida_vocabulary/vocabularies/schemaorg/notary.rb +21 -0
  194. data/lib/mida_vocabulary/vocabularies/schemaorg/nutritioninformation.rb +86 -0
  195. data/lib/mida_vocabulary/vocabularies/schemaorg/oceanbodyofwater.rb +17 -0
  196. data/lib/mida_vocabulary/vocabularies/schemaorg/offer.rb +69 -0
  197. data/lib/mida_vocabulary/vocabularies/schemaorg/offeritemcondition.rb +17 -0
  198. data/lib/mida_vocabulary/vocabularies/schemaorg/officeequipmentstore.rb +21 -0
  199. data/lib/mida_vocabulary/vocabularies/schemaorg/optician.rb +21 -0
  200. data/lib/mida_vocabulary/vocabularies/schemaorg/organization.rb +96 -0
  201. data/lib/mida_vocabulary/vocabularies/schemaorg/outletstore.rb +21 -0
  202. data/lib/mida_vocabulary/vocabularies/schemaorg/painting.rb +17 -0
  203. data/lib/mida_vocabulary/vocabularies/schemaorg/park.rb +19 -0
  204. data/lib/mida_vocabulary/vocabularies/schemaorg/parkingfacility.rb +19 -0
  205. data/lib/mida_vocabulary/vocabularies/schemaorg/pawnshop.rb +21 -0
  206. data/lib/mida_vocabulary/vocabularies/schemaorg/performingartstheater.rb +19 -0
  207. data/lib/mida_vocabulary/vocabularies/schemaorg/performinggroup.rb +17 -0
  208. data/lib/mida_vocabulary/vocabularies/schemaorg/person.rb +179 -0
  209. data/lib/mida_vocabulary/vocabularies/schemaorg/petstore.rb +21 -0
  210. data/lib/mida_vocabulary/vocabularies/schemaorg/pharmacy.rb +21 -0
  211. data/lib/mida_vocabulary/vocabularies/schemaorg/photograph.rb +17 -0
  212. data/lib/mida_vocabulary/vocabularies/schemaorg/physician.rb +21 -0
  213. data/lib/mida_vocabulary/vocabularies/schemaorg/place.rb +82 -0
  214. data/lib/mida_vocabulary/vocabularies/schemaorg/placeofworship.rb +19 -0
  215. data/lib/mida_vocabulary/vocabularies/schemaorg/playground.rb +19 -0
  216. data/lib/mida_vocabulary/vocabularies/schemaorg/plumber.rb +21 -0
  217. data/lib/mida_vocabulary/vocabularies/schemaorg/policestation.rb +23 -0
  218. data/lib/mida_vocabulary/vocabularies/schemaorg/pond.rb +17 -0
  219. data/lib/mida_vocabulary/vocabularies/schemaorg/postaladdress.rb +39 -0
  220. data/lib/mida_vocabulary/vocabularies/schemaorg/postoffice.rb +21 -0
  221. data/lib/mida_vocabulary/vocabularies/schemaorg/preschool.rb +19 -0
  222. data/lib/mida_vocabulary/vocabularies/schemaorg/product.rb +55 -0
  223. data/lib/mida_vocabulary/vocabularies/schemaorg/professionalservice.rb +21 -0
  224. data/lib/mida_vocabulary/vocabularies/schemaorg/profilepage.rb +19 -0
  225. data/lib/mida_vocabulary/vocabularies/schemaorg/publicswimmingpool.rb +21 -0
  226. data/lib/mida_vocabulary/vocabularies/schemaorg/quantity.rb +15 -0
  227. data/lib/mida_vocabulary/vocabularies/schemaorg/radiostation.rb +21 -0
  228. data/lib/mida_vocabulary/vocabularies/schemaorg/rating.rb +30 -0
  229. data/lib/mida_vocabulary/vocabularies/schemaorg/realestateagent.rb +21 -0
  230. data/lib/mida_vocabulary/vocabularies/schemaorg/recipe.rb +61 -0
  231. data/lib/mida_vocabulary/vocabularies/schemaorg/recyclingcenter.rb +21 -0
  232. data/lib/mida_vocabulary/vocabularies/schemaorg/reservoir.rb +17 -0
  233. data/lib/mida_vocabulary/vocabularies/schemaorg/residence.rb +17 -0
  234. data/lib/mida_vocabulary/vocabularies/schemaorg/restaurant.rb +23 -0
  235. data/lib/mida_vocabulary/vocabularies/schemaorg/review.rb +33 -0
  236. data/lib/mida_vocabulary/vocabularies/schemaorg/riverbodyofwater.rb +17 -0
  237. data/lib/mida_vocabulary/vocabularies/schemaorg/roofingcontractor.rb +21 -0
  238. data/lib/mida_vocabulary/vocabularies/schemaorg/rvpark.rb +19 -0
  239. data/lib/mida_vocabulary/vocabularies/schemaorg/saleevent.rb +17 -0
  240. data/lib/mida_vocabulary/vocabularies/schemaorg/scholarlyarticle.rb +19 -0
  241. data/lib/mida_vocabulary/vocabularies/schemaorg/school.rb +19 -0
  242. data/lib/mida_vocabulary/vocabularies/schemaorg/sculpture.rb +17 -0
  243. data/lib/mida_vocabulary/vocabularies/schemaorg/seabodyofwater.rb +17 -0
  244. data/lib/mida_vocabulary/vocabularies/schemaorg/searchresultspage.rb +19 -0
  245. data/lib/mida_vocabulary/vocabularies/schemaorg/selfstorage.rb +21 -0
  246. data/lib/mida_vocabulary/vocabularies/schemaorg/shoestore.rb +21 -0
  247. data/lib/mida_vocabulary/vocabularies/schemaorg/shoppingcenter.rb +21 -0
  248. data/lib/mida_vocabulary/vocabularies/schemaorg/singlefamilyresidence.rb +17 -0
  249. data/lib/mida_vocabulary/vocabularies/schemaorg/sitenavigationelement.rb +17 -0
  250. data/lib/mida_vocabulary/vocabularies/schemaorg/skiresort.rb +21 -0
  251. data/lib/mida_vocabulary/vocabularies/schemaorg/socialevent.rb +17 -0
  252. data/lib/mida_vocabulary/vocabularies/schemaorg/sportinggoodsstore.rb +21 -0
  253. data/lib/mida_vocabulary/vocabularies/schemaorg/sportsactivitylocation.rb +21 -0
  254. data/lib/mida_vocabulary/vocabularies/schemaorg/sportsclub.rb +21 -0
  255. data/lib/mida_vocabulary/vocabularies/schemaorg/sportsevent.rb +17 -0
  256. data/lib/mida_vocabulary/vocabularies/schemaorg/sportsteam.rb +17 -0
  257. data/lib/mida_vocabulary/vocabularies/schemaorg/stadiumorarena.rb +23 -0
  258. data/lib/mida_vocabulary/vocabularies/schemaorg/state.rb +17 -0
  259. data/lib/mida_vocabulary/vocabularies/schemaorg/store.rb +21 -0
  260. data/lib/mida_vocabulary/vocabularies/schemaorg/structuredvalue.rb +15 -0
  261. data/lib/mida_vocabulary/vocabularies/schemaorg/subwaystation.rb +19 -0
  262. data/lib/mida_vocabulary/vocabularies/schemaorg/synagogue.rb +19 -0
  263. data/lib/mida_vocabulary/vocabularies/schemaorg/table.rb +17 -0
  264. data/lib/mida_vocabulary/vocabularies/schemaorg/tattooparlor.rb +21 -0
  265. data/lib/mida_vocabulary/vocabularies/schemaorg/taxistand.rb +19 -0
  266. data/lib/mida_vocabulary/vocabularies/schemaorg/televisionstation.rb +21 -0
  267. data/lib/mida_vocabulary/vocabularies/schemaorg/tenniscomplex.rb +21 -0
  268. data/lib/mida_vocabulary/vocabularies/schemaorg/theaterevent.rb +17 -0
  269. data/lib/mida_vocabulary/vocabularies/schemaorg/theatergroup.rb +17 -0
  270. data/lib/mida_vocabulary/vocabularies/schemaorg/thing.rb +29 -0
  271. data/lib/mida_vocabulary/vocabularies/schemaorg/tireshop.rb +21 -0
  272. data/lib/mida_vocabulary/vocabularies/schemaorg/touristattraction.rb +17 -0
  273. data/lib/mida_vocabulary/vocabularies/schemaorg/touristinformationcenter.rb +21 -0
  274. data/lib/mida_vocabulary/vocabularies/schemaorg/toystore.rb +21 -0
  275. data/lib/mida_vocabulary/vocabularies/schemaorg/trainstation.rb +19 -0
  276. data/lib/mida_vocabulary/vocabularies/schemaorg/travelagency.rb +21 -0
  277. data/lib/mida_vocabulary/vocabularies/schemaorg/tvepisode.rb +77 -0
  278. data/lib/mida_vocabulary/vocabularies/schemaorg/tvseason.rb +58 -0
  279. data/lib/mida_vocabulary/vocabularies/schemaorg/tvseries.rb +87 -0
  280. data/lib/mida_vocabulary/vocabularies/schemaorg/userblocks.rb +17 -0
  281. data/lib/mida_vocabulary/vocabularies/schemaorg/usercheckins.rb +17 -0
  282. data/lib/mida_vocabulary/vocabularies/schemaorg/usercomments.rb +46 -0
  283. data/lib/mida_vocabulary/vocabularies/schemaorg/userdownloads.rb +17 -0
  284. data/lib/mida_vocabulary/vocabularies/schemaorg/userinteraction.rb +17 -0
  285. data/lib/mida_vocabulary/vocabularies/schemaorg/userlikes.rb +17 -0
  286. data/lib/mida_vocabulary/vocabularies/schemaorg/userpagevisits.rb +17 -0
  287. data/lib/mida_vocabulary/vocabularies/schemaorg/userplays.rb +17 -0
  288. data/lib/mida_vocabulary/vocabularies/schemaorg/userplusones.rb +17 -0
  289. data/lib/mida_vocabulary/vocabularies/schemaorg/usertweets.rb +17 -0
  290. data/lib/mida_vocabulary/vocabularies/schemaorg/veterinarycare.rb +21 -0
  291. data/lib/mida_vocabulary/vocabularies/schemaorg/videogallery.rb +19 -0
  292. data/lib/mida_vocabulary/vocabularies/schemaorg/videoobject.rb +45 -0
  293. data/lib/mida_vocabulary/vocabularies/schemaorg/visualartsevent.rb +17 -0
  294. data/lib/mida_vocabulary/vocabularies/schemaorg/volcano.rb +17 -0
  295. data/lib/mida_vocabulary/vocabularies/schemaorg/waterfall.rb +17 -0
  296. data/lib/mida_vocabulary/vocabularies/schemaorg/webpage.rb +46 -0
  297. data/lib/mida_vocabulary/vocabularies/schemaorg/webpageelement.rb +17 -0
  298. data/lib/mida_vocabulary/vocabularies/schemaorg/wholesalestore.rb +21 -0
  299. data/lib/mida_vocabulary/vocabularies/schemaorg/winery.rb +23 -0
  300. data/lib/mida_vocabulary/vocabularies/schemaorg/wpadblock.rb +17 -0
  301. data/lib/mida_vocabulary/vocabularies/schemaorg/wpfooter.rb +17 -0
  302. data/lib/mida_vocabulary/vocabularies/schemaorg/wpheader.rb +17 -0
  303. data/lib/mida_vocabulary/vocabularies/schemaorg/wpsidebar.rb +17 -0
  304. data/lib/mida_vocabulary/vocabularies/schemaorg/zoo.rb +19 -0
  305. data/lib/mida_vocabulary/vocabularies/schemaorg.rb +1 -0
  306. data/lib/mida_vocabulary/vocabulary.rb +109 -0
  307. data/lib/mida_vocabulary.rb +10 -0
  308. data/spec/datatype/boolean_spec.rb +40 -0
  309. data/spec/datatype/enumeration_spec.rb +30 -0
  310. data/spec/datatype/float_spec.rb +21 -0
  311. data/spec/datatype/generic_spec.rb +44 -0
  312. data/spec/datatype/integer_spec.rb +26 -0
  313. data/spec/datatype/iso8601date_spec.rb +27 -0
  314. data/spec/datatype/number_spec.rb +21 -0
  315. data/spec/datatype/text_spec.rb +16 -0
  316. data/spec/datatype/url_spec.rb +27 -0
  317. data/spec/propertydesc_spec.rb +56 -0
  318. data/spec/spec_helper.rb +18 -0
  319. data/spec/vocabulary_spec.rb +271 -0
  320. metadata +397 -0
@@ -0,0 +1,21 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
8
+ autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
9
+ autoload :LocalBusiness, 'mida_vocabulary/vocabularies/schemaorg/localbusiness'
10
+
11
+ # A liquor store.
12
+ class LiquorStore < Mida::Vocabulary
13
+ itemtype %r{http://schema.org/LiquorStore}i
14
+ include_vocabulary Mida::SchemaOrg::Thing
15
+ include_vocabulary Mida::SchemaOrg::Place
16
+ include_vocabulary Mida::SchemaOrg::Organization
17
+ include_vocabulary Mida::SchemaOrg::LocalBusiness
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,17 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :Event, 'mida_vocabulary/vocabularies/schemaorg/event'
8
+
9
+ # Event type: Literary event.
10
+ class LiteraryEvent < Mida::Vocabulary
11
+ itemtype %r{http://schema.org/LiteraryEvent}i
12
+ include_vocabulary Mida::SchemaOrg::Thing
13
+ include_vocabulary Mida::SchemaOrg::Event
14
+ end
15
+
16
+ end
17
+ end
@@ -0,0 +1,41 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
8
+ autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
9
+ autoload :Duration, 'mida_vocabulary/vocabularies/schemaorg/duration'
10
+
11
+ # A particular physical business or branch of an organization. Examples of LocalBusiness include a restaurant, a particular branch of a restaurant chain, a branch of a bank, a medical practice, a club, a bowling alley, etc.
12
+ class LocalBusiness < Mida::Vocabulary
13
+ itemtype %r{http://schema.org/LocalBusiness}i
14
+ include_vocabulary Mida::SchemaOrg::Thing
15
+ include_vocabulary Mida::SchemaOrg::Place
16
+ include_vocabulary Mida::SchemaOrg::Organization
17
+
18
+ # The larger organization that this local business is a branch of, if any.
19
+ has_many 'branchOf' do
20
+ extract Mida::SchemaOrg::Organization
21
+ extract Mida::DataType::Text
22
+ end
23
+
24
+ # The currency accepted (in ISO 4217 currency format).
25
+ has_many 'currenciesAccepted'
26
+
27
+ # The opening hours for a business. Opening hours can be specified as a weekly time range, starting with days, then times per day. Multiple days can be listed with commas ',' separating each day. Day or time ranges are specified using a hyphen '-'.- Days are specified using the following two-letter combinations: Mo, Tu, We, Th, Fr, Sa, Su.- Times are specified using 24:00 time. For example, 3pm is specified as 15:00. - Here is an example: <time itemprop="openingHours" datetime="Tu,Th 16:00-20:00">Tuesdays and Thursdays 4-8pm</time>. - If a business is open 7 days a week, then it can be specified as <time itemprop="openingHours" datetime="Mo-Su">Monday through Sunday, all day</time>.
28
+ has_many 'openingHours' do
29
+ extract Mida::SchemaOrg::Duration
30
+ extract Mida::DataType::Text
31
+ end
32
+
33
+ # Cash, credit card, etc.
34
+ has_many 'paymentAccepted'
35
+
36
+ # The price range of the business, for example $$$.
37
+ has_many 'priceRange'
38
+ end
39
+
40
+ end
41
+ end
@@ -0,0 +1,21 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
8
+ autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
9
+ autoload :LocalBusiness, 'mida_vocabulary/vocabularies/schemaorg/localbusiness'
10
+
11
+ # A locksmith.
12
+ class Locksmith < Mida::Vocabulary
13
+ itemtype %r{http://schema.org/Locksmith}i
14
+ include_vocabulary Mida::SchemaOrg::Thing
15
+ include_vocabulary Mida::SchemaOrg::Place
16
+ include_vocabulary Mida::SchemaOrg::Organization
17
+ include_vocabulary Mida::SchemaOrg::LocalBusiness
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,21 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
8
+ autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
9
+ autoload :LocalBusiness, 'mida_vocabulary/vocabularies/schemaorg/localbusiness'
10
+
11
+ # A lodging business, such as a motel, hotel, or inn.
12
+ class LodgingBusiness < Mida::Vocabulary
13
+ itemtype %r{http://schema.org/LodgingBusiness}i
14
+ include_vocabulary Mida::SchemaOrg::Thing
15
+ include_vocabulary Mida::SchemaOrg::Place
16
+ include_vocabulary Mida::SchemaOrg::Organization
17
+ include_vocabulary Mida::SchemaOrg::LocalBusiness
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,17 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :CreativeWork, 'mida_vocabulary/vocabularies/schemaorg/creativework'
8
+
9
+ # A map.
10
+ class Map < Mida::Vocabulary
11
+ itemtype %r{http://schema.org/Map}i
12
+ include_vocabulary Mida::SchemaOrg::Thing
13
+ include_vocabulary Mida::SchemaOrg::CreativeWork
14
+ end
15
+
16
+ end
17
+ end
@@ -0,0 +1,15 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+
8
+ # Properties that take Mass as values are of the form '<Number> <Mass unit of measure>'. E.g., '7 kg'
9
+ class Mass < Mida::Vocabulary
10
+ itemtype %r{http://schema.org/Mass}i
11
+ include_vocabulary Mida::SchemaOrg::Thing
12
+ end
13
+
14
+ end
15
+ end
@@ -0,0 +1,94 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :CreativeWork, 'mida_vocabulary/vocabularies/schemaorg/creativework'
8
+ autoload :NewsArticle, 'mida_vocabulary/vocabularies/schemaorg/newsarticle'
9
+ autoload :Duration, 'mida_vocabulary/vocabularies/schemaorg/duration'
10
+ autoload :Distance, 'mida_vocabulary/vocabularies/schemaorg/distance'
11
+ autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
12
+
13
+ # An image, video, or audio object embedded in a web page. Note that a creative work may have many media objects associated with it on the same web page. For example, a page about a single song (MusicRecording) may have a music video (VideoObject), and a high and low bandwidth audio stream (2 AudioObject's).
14
+ class MediaObject < Mida::Vocabulary
15
+ itemtype %r{http://schema.org/MediaObject}i
16
+ include_vocabulary Mida::SchemaOrg::Thing
17
+ include_vocabulary Mida::SchemaOrg::CreativeWork
18
+
19
+ # A NewsArticle associated with the Media Object.
20
+ has_many 'associatedArticle' do
21
+ extract Mida::SchemaOrg::NewsArticle
22
+ extract Mida::DataType::Text
23
+ end
24
+
25
+ # The bitrate of the media object.
26
+ has_many 'bitrate'
27
+
28
+ # File size in (mega/kilo) bytes.
29
+ has_many 'contentSize'
30
+
31
+ # Actual bytes of the media object, for example the image file or video file.
32
+ has_many 'contentURL' do
33
+ extract Mida::DataType::URL
34
+ end
35
+
36
+ # The duration of the item (movie, audio recording, event, etc.) in ISO 8601 date format.
37
+ has_many 'duration' do
38
+ extract Mida::SchemaOrg::Duration
39
+ extract Mida::DataType::Text
40
+ end
41
+
42
+ # A URL pointing to a player for a specific video. In general, this is the information in the src element of an embed tag and should not be the same as the content of the loc tag.
43
+ has_many 'embedURL' do
44
+ extract Mida::DataType::URL
45
+ end
46
+
47
+ # The creative work encoded by this media object
48
+ has_many 'encodesCreativeWork' do
49
+ extract Mida::SchemaOrg::CreativeWork
50
+ extract Mida::DataType::Text
51
+ end
52
+
53
+ # mp3, mpeg4, etc.
54
+ has_many 'encodingFormat'
55
+
56
+ # Date the content expires and is no longer useful or available. Useful for videos.
57
+ has_many 'expires' do
58
+ extract Mida::DataType::ISO8601Date
59
+ end
60
+
61
+ # The height of the media object.
62
+ has_many 'height' do
63
+ extract Mida::SchemaOrg::Distance
64
+ extract Mida::DataType::Text
65
+ end
66
+
67
+ # Player type required - for example, Flash or Silverlight.
68
+ has_many 'playerType'
69
+
70
+ # The regions where the media is allowed. If not specified, then it's assumed to be allowed everywhere. Specify the countries in ISO 3166 format.
71
+ has_many 'regionsAllowed' do
72
+ extract Mida::SchemaOrg::Place
73
+ extract Mida::DataType::Text
74
+ end
75
+
76
+ # Indicates if use of the media require a subscription (either paid or free). Allowed values are yes or no.
77
+ has_many 'requiresSubscription' do
78
+ extract Mida::DataType::Boolean
79
+ end
80
+
81
+ # Date when this media object was uploaded to this site.
82
+ has_many 'uploadDate' do
83
+ extract Mida::DataType::ISO8601Date
84
+ end
85
+
86
+ # The width of the media object.
87
+ has_many 'width' do
88
+ extract Mida::SchemaOrg::Distance
89
+ extract Mida::DataType::Text
90
+ end
91
+ end
92
+
93
+ end
94
+ end
@@ -0,0 +1,21 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
8
+ autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
9
+ autoload :LocalBusiness, 'mida_vocabulary/vocabularies/schemaorg/localbusiness'
10
+
11
+ # A medical clinic.
12
+ class MedicalClinic < Mida::Vocabulary
13
+ itemtype %r{http://schema.org/MedicalClinic}i
14
+ include_vocabulary Mida::SchemaOrg::Thing
15
+ include_vocabulary Mida::SchemaOrg::Place
16
+ include_vocabulary Mida::SchemaOrg::Organization
17
+ include_vocabulary Mida::SchemaOrg::LocalBusiness
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,21 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
8
+ autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
9
+ autoload :LocalBusiness, 'mida_vocabulary/vocabularies/schemaorg/localbusiness'
10
+
11
+ # A medical organization, such as a doctor's office or clinic.
12
+ class MedicalOrganization < Mida::Vocabulary
13
+ itemtype %r{http://schema.org/MedicalOrganization}i
14
+ include_vocabulary Mida::SchemaOrg::Thing
15
+ include_vocabulary Mida::SchemaOrg::Place
16
+ include_vocabulary Mida::SchemaOrg::Organization
17
+ include_vocabulary Mida::SchemaOrg::LocalBusiness
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,21 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
8
+ autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
9
+ autoload :LocalBusiness, 'mida_vocabulary/vocabularies/schemaorg/localbusiness'
10
+
11
+ # A men's clothing store.
12
+ class MensClothingStore < Mida::Vocabulary
13
+ itemtype %r{http://schema.org/MensClothingStore}i
14
+ include_vocabulary Mida::SchemaOrg::Thing
15
+ include_vocabulary Mida::SchemaOrg::Place
16
+ include_vocabulary Mida::SchemaOrg::Organization
17
+ include_vocabulary Mida::SchemaOrg::LocalBusiness
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,19 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
8
+ autoload :EducationalOrganization, 'mida_vocabulary/vocabularies/schemaorg/educationalorganization'
9
+
10
+ # A middle school.
11
+ class MiddleSchool < Mida::Vocabulary
12
+ itemtype %r{http://schema.org/MiddleSchool}i
13
+ include_vocabulary Mida::SchemaOrg::Thing
14
+ include_vocabulary Mida::SchemaOrg::Organization
15
+ include_vocabulary Mida::SchemaOrg::EducationalOrganization
16
+ end
17
+
18
+ end
19
+ end
@@ -0,0 +1,21 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
8
+ autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
9
+ autoload :LocalBusiness, 'mida_vocabulary/vocabularies/schemaorg/localbusiness'
10
+
11
+ # A mobile-phone store.
12
+ class MobilePhoneStore < Mida::Vocabulary
13
+ itemtype %r{http://schema.org/MobilePhoneStore}i
14
+ include_vocabulary Mida::SchemaOrg::Thing
15
+ include_vocabulary Mida::SchemaOrg::Place
16
+ include_vocabulary Mida::SchemaOrg::Organization
17
+ include_vocabulary Mida::SchemaOrg::LocalBusiness
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,19 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
8
+ autoload :CivicStructure, 'mida_vocabulary/vocabularies/schemaorg/civicstructure'
9
+
10
+ # A mosque.
11
+ class Mosque < Mida::Vocabulary
12
+ itemtype %r{http://schema.org/Mosque}i
13
+ include_vocabulary Mida::SchemaOrg::Thing
14
+ include_vocabulary Mida::SchemaOrg::Place
15
+ include_vocabulary Mida::SchemaOrg::CivicStructure
16
+ end
17
+
18
+ end
19
+ end
@@ -0,0 +1,21 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
8
+ autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
9
+ autoload :LocalBusiness, 'mida_vocabulary/vocabularies/schemaorg/localbusiness'
10
+
11
+ # A motel.
12
+ class Motel < Mida::Vocabulary
13
+ itemtype %r{http://schema.org/Motel}i
14
+ include_vocabulary Mida::SchemaOrg::Thing
15
+ include_vocabulary Mida::SchemaOrg::Place
16
+ include_vocabulary Mida::SchemaOrg::Organization
17
+ include_vocabulary Mida::SchemaOrg::LocalBusiness
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,21 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
8
+ autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
9
+ autoload :LocalBusiness, 'mida_vocabulary/vocabularies/schemaorg/localbusiness'
10
+
11
+ # A motorcycle dealer.
12
+ class MotorcycleDealer < Mida::Vocabulary
13
+ itemtype %r{http://schema.org/MotorcycleDealer}i
14
+ include_vocabulary Mida::SchemaOrg::Thing
15
+ include_vocabulary Mida::SchemaOrg::Place
16
+ include_vocabulary Mida::SchemaOrg::Organization
17
+ include_vocabulary Mida::SchemaOrg::LocalBusiness
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,21 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
8
+ autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
9
+ autoload :LocalBusiness, 'mida_vocabulary/vocabularies/schemaorg/localbusiness'
10
+
11
+ # A motorcycle repair shop.
12
+ class MotorcycleRepair < Mida::Vocabulary
13
+ itemtype %r{http://schema.org/MotorcycleRepair}i
14
+ include_vocabulary Mida::SchemaOrg::Thing
15
+ include_vocabulary Mida::SchemaOrg::Place
16
+ include_vocabulary Mida::SchemaOrg::Organization
17
+ include_vocabulary Mida::SchemaOrg::LocalBusiness
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,17 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
8
+
9
+ # A mountain, like Mount Whitney or Mount Everest
10
+ class Mountain < Mida::Vocabulary
11
+ itemtype %r{http://schema.org/Mountain}i
12
+ include_vocabulary Mida::SchemaOrg::Thing
13
+ include_vocabulary Mida::SchemaOrg::Place
14
+ end
15
+
16
+ end
17
+ end
@@ -0,0 +1,65 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :CreativeWork, 'mida_vocabulary/vocabularies/schemaorg/creativework'
8
+ autoload :Person, 'mida_vocabulary/vocabularies/schemaorg/person'
9
+ autoload :Duration, 'mida_vocabulary/vocabularies/schemaorg/duration'
10
+ autoload :MusicGroup, 'mida_vocabulary/vocabularies/schemaorg/musicgroup'
11
+ autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
12
+ autoload :VideoObject, 'mida_vocabulary/vocabularies/schemaorg/videoobject'
13
+
14
+ # A movie.
15
+ class Movie < Mida::Vocabulary
16
+ itemtype %r{http://schema.org/Movie}i
17
+ include_vocabulary Mida::SchemaOrg::Thing
18
+ include_vocabulary Mida::SchemaOrg::CreativeWork
19
+
20
+ # A cast member of the movie, TV series, season, or episode, or video.
21
+ has_many 'actors' do
22
+ extract Mida::SchemaOrg::Person
23
+ extract Mida::DataType::Text
24
+ end
25
+
26
+ # The director of the movie, TV episode, or series.
27
+ has_many 'director' do
28
+ extract Mida::SchemaOrg::Person
29
+ extract Mida::DataType::Text
30
+ end
31
+
32
+ # The duration of the item (movie, audio recording, event, etc.) in ISO 8601 date format.
33
+ has_many 'duration' do
34
+ extract Mida::SchemaOrg::Duration
35
+ extract Mida::DataType::Text
36
+ end
37
+
38
+ # The composer of the movie or TV soundtrack.
39
+ has_many 'musicBy' do
40
+ extract Mida::SchemaOrg::MusicGroup
41
+ extract Mida::SchemaOrg::Person
42
+ extract Mida::DataType::Text
43
+ end
44
+
45
+ # The producer of the movie, TV series, season, or episode, or video.
46
+ has_many 'producer' do
47
+ extract Mida::SchemaOrg::Person
48
+ extract Mida::DataType::Text
49
+ end
50
+
51
+ # The production company or studio that made the movie, TV series, season, or episode, or video.
52
+ has_many 'productionCompany' do
53
+ extract Mida::SchemaOrg::Organization
54
+ extract Mida::DataType::Text
55
+ end
56
+
57
+ # The trailer of the movie or TV series, season, or episode.
58
+ has_many 'trailer' do
59
+ extract Mida::SchemaOrg::VideoObject
60
+ extract Mida::DataType::Text
61
+ end
62
+ end
63
+
64
+ end
65
+ end
@@ -0,0 +1,21 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
8
+ autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
9
+ autoload :LocalBusiness, 'mida_vocabulary/vocabularies/schemaorg/localbusiness'
10
+
11
+ # A movie rental store.
12
+ class MovieRentalStore < Mida::Vocabulary
13
+ itemtype %r{http://schema.org/MovieRentalStore}i
14
+ include_vocabulary Mida::SchemaOrg::Thing
15
+ include_vocabulary Mida::SchemaOrg::Place
16
+ include_vocabulary Mida::SchemaOrg::Organization
17
+ include_vocabulary Mida::SchemaOrg::LocalBusiness
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,23 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
8
+ autoload :CivicStructure, 'mida_vocabulary/vocabularies/schemaorg/civicstructure'
9
+ autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
10
+ autoload :LocalBusiness, 'mida_vocabulary/vocabularies/schemaorg/localbusiness'
11
+
12
+ # A movie theater.
13
+ class MovieTheater < Mida::Vocabulary
14
+ itemtype %r{http://schema.org/MovieTheater}i
15
+ include_vocabulary Mida::SchemaOrg::Thing
16
+ include_vocabulary Mida::SchemaOrg::Place
17
+ include_vocabulary Mida::SchemaOrg::CivicStructure
18
+ include_vocabulary Mida::SchemaOrg::Organization
19
+ include_vocabulary Mida::SchemaOrg::LocalBusiness
20
+ end
21
+
22
+ end
23
+ end
@@ -0,0 +1,21 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
8
+ autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
9
+ autoload :LocalBusiness, 'mida_vocabulary/vocabularies/schemaorg/localbusiness'
10
+
11
+ # A moving company.
12
+ class MovingCompany < Mida::Vocabulary
13
+ itemtype %r{http://schema.org/MovingCompany}i
14
+ include_vocabulary Mida::SchemaOrg::Thing
15
+ include_vocabulary Mida::SchemaOrg::Place
16
+ include_vocabulary Mida::SchemaOrg::Organization
17
+ include_vocabulary Mida::SchemaOrg::LocalBusiness
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,19 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
8
+ autoload :CivicStructure, 'mida_vocabulary/vocabularies/schemaorg/civicstructure'
9
+
10
+ # A museum.
11
+ class Museum < Mida::Vocabulary
12
+ itemtype %r{http://schema.org/Museum}i
13
+ include_vocabulary Mida::SchemaOrg::Thing
14
+ include_vocabulary Mida::SchemaOrg::Place
15
+ include_vocabulary Mida::SchemaOrg::CivicStructure
16
+ end
17
+
18
+ end
19
+ end
@@ -0,0 +1,26 @@
1
+ require 'mida_vocabulary/vocabulary'
2
+
3
+ module Mida
4
+ module SchemaOrg
5
+
6
+ autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
7
+ autoload :CreativeWork, 'mida_vocabulary/vocabularies/schemaorg/creativework'
8
+ autoload :MusicPlaylist, 'mida_vocabulary/vocabularies/schemaorg/musicplaylist'
9
+ autoload :MusicGroup, 'mida_vocabulary/vocabularies/schemaorg/musicgroup'
10
+
11
+ # A collection of music tracks.
12
+ class MusicAlbum < Mida::Vocabulary
13
+ itemtype %r{http://schema.org/MusicAlbum}i
14
+ include_vocabulary Mida::SchemaOrg::Thing
15
+ include_vocabulary Mida::SchemaOrg::CreativeWork
16
+ include_vocabulary Mida::SchemaOrg::MusicPlaylist
17
+
18
+ # The artist that performed this album or recording.
19
+ has_many 'byArtist' do
20
+ extract Mida::SchemaOrg::MusicGroup
21
+ extract Mida::DataType::Text
22
+ end
23
+ end
24
+
25
+ end
26
+ end