mida_vocabulary 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +9 -0
- data/Rakefile +7 -0
- data/lib/mida_vocabulary/datatype/boolean.rb +30 -0
- data/lib/mida_vocabulary/datatype/enumeration.rb +28 -0
- data/lib/mida_vocabulary/datatype/float.rb +18 -0
- data/lib/mida_vocabulary/datatype/generic.rb +33 -0
- data/lib/mida_vocabulary/datatype/integer.rb +15 -0
- data/lib/mida_vocabulary/datatype/iso8601date.rb +25 -0
- data/lib/mida_vocabulary/datatype/number.rb +16 -0
- data/lib/mida_vocabulary/datatype/text.rb +15 -0
- data/lib/mida_vocabulary/datatype/url.rb +20 -0
- data/lib/mida_vocabulary/datatype.rb +17 -0
- data/lib/mida_vocabulary/propertydesc.rb +36 -0
- data/lib/mida_vocabulary/vocabularies/genericvocabulary.rb +13 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/aboutpage.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/accountingservice.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/administrativearea.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/adultentertainment.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/aggregateoffer.rb +34 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/aggregaterating.rb +33 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/airport.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/amusementpark.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/animalshelter.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/apartmentcomplex.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/aquarium.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/artgallery.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/article.rb +28 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/attorney.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/audioobject.rb +22 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/autobodyshop.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/autodealer.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/automatedteller.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/automotivebusiness.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/autopartsstore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/autorental.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/autorepair.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/autowash.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/bakery.rb +23 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/bankorcreditunion.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/barorpub.rb +23 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/beach.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/beautysalon.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/bedandbreakfast.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/bikestore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/blog.rb +24 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/blogposting.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/bodyofwater.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/book.rb +41 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/bookformattype.rb +16 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/bookstore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/bowlingalley.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/brewery.rb +23 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/buddhisttemple.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/businessevent.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/busstation.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/busstop.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/cafeorcoffeeshop.rb +23 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/campground.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/canal.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/casino.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/catholicchurch.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/cemetery.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/checkoutpage.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/childcare.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/childrensevent.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/church.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/city.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/cityhall.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/civicstructure.rb +24 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/clothingstore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/collectionpage.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/collegeoruniversity.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/comedyclub.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/comedyevent.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/computerstore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/contactpage.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/contactpoint.rb +27 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/continent.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/conveniencestore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/corporation.rb +20 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/country.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/courthouse.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/creativework.rb +219 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/crematorium.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/danceevent.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/dancegroup.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/dayspa.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/defenceestablishment.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/dentist.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/departmentstore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/distance.rb +15 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/drycleaningorlaundry.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/duration.rb +13 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/educationalorganization.rb +24 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/educationevent.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/electrician.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/electronicsstore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/elementaryschool.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/embassy.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/emergencyservice.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/employmentagency.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/energy.rb +15 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/entertainmentbusiness.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/enumeration.rb +15 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/event.rb +77 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/eventvenue.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/exercisegym.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/fastfoodrestaurant.rb +23 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/festival.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/financialservice.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/firestation.rb +23 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/florist.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/foodestablishment.rb +36 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/foodevent.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/furniturestore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/gardenstore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/gasstation.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/gatedresidencecommunity.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/generalcontractor.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/geocoordinates.rb +33 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/geoshape.rb +33 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/golfcourse.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/governmentbuilding.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/governmentoffice.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/governmentorganization.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/grocerystore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/hairsalon.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/hardwarestore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/healthandbeautybusiness.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/healthclub.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/highschool.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/hindutemple.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/hobbyshop.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/homeandconstructionbusiness.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/homegoodsstore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/hospital.rb +23 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/hostel.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/hotel.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/housepainter.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/hvacbusiness.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/icecreamshop.rb +23 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/imagegallery.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/imageobject.rb +37 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/insuranceagency.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/intangible.rb +15 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/internetcafe.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/itemavailability.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/itemlist.rb +23 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/itempage.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/jewelrystore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/jobposting.rb +81 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/lakebodyofwater.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/landform.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/landmarksorhistoricalbuildings.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/language.rb +15 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/legislativebuilding.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/library.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/liquorstore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/literaryevent.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/localbusiness.rb +41 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/locksmith.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/lodgingbusiness.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/map.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/mass.rb +15 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/mediaobject.rb +94 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalclinic.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalorganization.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/mensclothingstore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/middleschool.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/mobilephonestore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/mosque.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/motel.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/motorcycledealer.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/motorcyclerepair.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/mountain.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/movie.rb +65 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/movierentalstore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/movietheater.rb +23 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/movingcompany.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/museum.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/musicalbum.rb +26 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/musicevent.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/musicgroup.rb +38 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/musicplaylist.rb +29 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/musicrecording.rb +45 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/musicstore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/musicvenue.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/musicvideoobject.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/nailsalon.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/newsarticle.rb +34 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/ngo.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/nightclub.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/notary.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/nutritioninformation.rb +86 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/oceanbodyofwater.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/offer.rb +69 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/offeritemcondition.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/officeequipmentstore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/optician.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/organization.rb +96 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/outletstore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/painting.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/park.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/parkingfacility.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/pawnshop.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/performingartstheater.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/performinggroup.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/person.rb +179 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/petstore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/pharmacy.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/photograph.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/physician.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/place.rb +82 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/placeofworship.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/playground.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/plumber.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/policestation.rb +23 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/pond.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/postaladdress.rb +39 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/postoffice.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/preschool.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/product.rb +55 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/professionalservice.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/profilepage.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/publicswimmingpool.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/quantity.rb +15 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/radiostation.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/rating.rb +30 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/realestateagent.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/recipe.rb +61 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/recyclingcenter.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/reservoir.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/residence.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/restaurant.rb +23 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/review.rb +33 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/riverbodyofwater.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/roofingcontractor.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/rvpark.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/saleevent.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/scholarlyarticle.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/school.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/sculpture.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/seabodyofwater.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/searchresultspage.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/selfstorage.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/shoestore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/shoppingcenter.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/singlefamilyresidence.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/sitenavigationelement.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/skiresort.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/socialevent.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/sportinggoodsstore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/sportsactivitylocation.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/sportsclub.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/sportsevent.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/sportsteam.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/stadiumorarena.rb +23 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/state.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/store.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/structuredvalue.rb +15 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/subwaystation.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/synagogue.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/table.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/tattooparlor.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/taxistand.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/televisionstation.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/tenniscomplex.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/theaterevent.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/theatergroup.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/thing.rb +29 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/tireshop.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/touristattraction.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/touristinformationcenter.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/toystore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/trainstation.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/travelagency.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/tvepisode.rb +77 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/tvseason.rb +58 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/tvseries.rb +87 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/userblocks.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/usercheckins.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/usercomments.rb +46 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/userdownloads.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/userinteraction.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/userlikes.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/userpagevisits.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/userplays.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/userplusones.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/usertweets.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/veterinarycare.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/videogallery.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/videoobject.rb +45 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/visualartsevent.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/volcano.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/waterfall.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/webpage.rb +46 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/webpageelement.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/wholesalestore.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/winery.rb +23 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/wpadblock.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/wpfooter.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/wpheader.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/wpsidebar.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/zoo.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg.rb +1 -0
- data/lib/mida_vocabulary/vocabulary.rb +109 -0
- data/lib/mida_vocabulary.rb +10 -0
- data/spec/datatype/boolean_spec.rb +40 -0
- data/spec/datatype/enumeration_spec.rb +30 -0
- data/spec/datatype/float_spec.rb +21 -0
- data/spec/datatype/generic_spec.rb +44 -0
- data/spec/datatype/integer_spec.rb +26 -0
- data/spec/datatype/iso8601date_spec.rb +27 -0
- data/spec/datatype/number_spec.rb +21 -0
- data/spec/datatype/text_spec.rb +16 -0
- data/spec/datatype/url_spec.rb +27 -0
- data/spec/propertydesc_spec.rb +56 -0
- data/spec/spec_helper.rb +18 -0
- data/spec/vocabulary_spec.rb +271 -0
- metadata +397 -0
@@ -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: Music event.
|
10
|
+
class MusicEvent < Mida::Vocabulary
|
11
|
+
itemtype %r{http://schema.org/MusicEvent}i
|
12
|
+
include_vocabulary Mida::SchemaOrg::Thing
|
13
|
+
include_vocabulary Mida::SchemaOrg::Event
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,38 @@
|
|
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 :MusicAlbum, 'mida_vocabulary/vocabularies/schemaorg/musicalbum'
|
9
|
+
autoload :Person, 'mida_vocabulary/vocabularies/schemaorg/person'
|
10
|
+
autoload :MusicRecording, 'mida_vocabulary/vocabularies/schemaorg/musicrecording'
|
11
|
+
|
12
|
+
# A musical group, such as a band, an orchestra, or a choir. Can also be a solo musician.
|
13
|
+
class MusicGroup < Mida::Vocabulary
|
14
|
+
itemtype %r{http://schema.org/MusicGroup}i
|
15
|
+
include_vocabulary Mida::SchemaOrg::Thing
|
16
|
+
include_vocabulary Mida::SchemaOrg::Organization
|
17
|
+
|
18
|
+
# A collection of music albums.
|
19
|
+
has_many 'albums' do
|
20
|
+
extract Mida::SchemaOrg::MusicAlbum
|
21
|
+
extract Mida::DataType::Text
|
22
|
+
end
|
23
|
+
|
24
|
+
# A member of the music group - for example, John, Paul, George, or Ringo.
|
25
|
+
has_many 'musicGroupMember' do
|
26
|
+
extract Mida::SchemaOrg::Person
|
27
|
+
extract Mida::DataType::Text
|
28
|
+
end
|
29
|
+
|
30
|
+
# A music recording (track) - usually a single song.
|
31
|
+
has_many 'tracks' do
|
32
|
+
extract Mida::SchemaOrg::MusicRecording
|
33
|
+
extract Mida::DataType::Text
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,29 @@
|
|
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 :MusicRecording, 'mida_vocabulary/vocabularies/schemaorg/musicrecording'
|
9
|
+
|
10
|
+
# A collection of music tracks in playlist form.
|
11
|
+
class MusicPlaylist < Mida::Vocabulary
|
12
|
+
itemtype %r{http://schema.org/MusicPlaylist}i
|
13
|
+
include_vocabulary Mida::SchemaOrg::Thing
|
14
|
+
include_vocabulary Mida::SchemaOrg::CreativeWork
|
15
|
+
|
16
|
+
# The number of tracks in this album or playlist.
|
17
|
+
has_many 'numTracks' do
|
18
|
+
extract Mida::DataType::Integer
|
19
|
+
end
|
20
|
+
|
21
|
+
# A music recording (track) - usually a single song.
|
22
|
+
has_many 'tracks' do
|
23
|
+
extract Mida::SchemaOrg::MusicRecording
|
24
|
+
extract Mida::DataType::Text
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,45 @@
|
|
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 :MusicGroup, 'mida_vocabulary/vocabularies/schemaorg/musicgroup'
|
9
|
+
autoload :Duration, 'mida_vocabulary/vocabularies/schemaorg/duration'
|
10
|
+
autoload :MusicAlbum, 'mida_vocabulary/vocabularies/schemaorg/musicalbum'
|
11
|
+
autoload :MusicPlaylist, 'mida_vocabulary/vocabularies/schemaorg/musicplaylist'
|
12
|
+
|
13
|
+
# A music recording (track), usually a single song.
|
14
|
+
class MusicRecording < Mida::Vocabulary
|
15
|
+
itemtype %r{http://schema.org/MusicRecording}i
|
16
|
+
include_vocabulary Mida::SchemaOrg::Thing
|
17
|
+
include_vocabulary Mida::SchemaOrg::CreativeWork
|
18
|
+
|
19
|
+
# The artist that performed this album or recording.
|
20
|
+
has_many 'byArtist' do
|
21
|
+
extract Mida::SchemaOrg::MusicGroup
|
22
|
+
extract Mida::DataType::Text
|
23
|
+
end
|
24
|
+
|
25
|
+
# The duration of the item (movie, audio recording, event, etc.) in ISO 8601 date format.
|
26
|
+
has_many 'duration' do
|
27
|
+
extract Mida::SchemaOrg::Duration
|
28
|
+
extract Mida::DataType::Text
|
29
|
+
end
|
30
|
+
|
31
|
+
# The album to which this recording belongs.
|
32
|
+
has_many 'inAlbum' do
|
33
|
+
extract Mida::SchemaOrg::MusicAlbum
|
34
|
+
extract Mida::DataType::Text
|
35
|
+
end
|
36
|
+
|
37
|
+
# The playlist to which this recording belongs.
|
38
|
+
has_many 'inPlaylist' do
|
39
|
+
extract Mida::SchemaOrg::MusicPlaylist
|
40
|
+
extract Mida::DataType::Text
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
end
|
45
|
+
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 music store.
|
12
|
+
class MusicStore < Mida::Vocabulary
|
13
|
+
itemtype %r{http://schema.org/MusicStore}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 music venue.
|
11
|
+
class MusicVenue < Mida::Vocabulary
|
12
|
+
itemtype %r{http://schema.org/MusicVenue}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,19 @@
|
|
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 :MediaObject, 'mida_vocabulary/vocabularies/schemaorg/mediaobject'
|
9
|
+
|
10
|
+
# A music video file.
|
11
|
+
class MusicVideoObject < Mida::Vocabulary
|
12
|
+
itemtype %r{http://schema.org/MusicVideoObject}i
|
13
|
+
include_vocabulary Mida::SchemaOrg::Thing
|
14
|
+
include_vocabulary Mida::SchemaOrg::CreativeWork
|
15
|
+
include_vocabulary Mida::SchemaOrg::MediaObject
|
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 nail salon.
|
12
|
+
class NailSalon < Mida::Vocabulary
|
13
|
+
itemtype %r{http://schema.org/NailSalon}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,34 @@
|
|
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 :Article, 'mida_vocabulary/vocabularies/schemaorg/article'
|
9
|
+
|
10
|
+
# A news article
|
11
|
+
class NewsArticle < Mida::Vocabulary
|
12
|
+
itemtype %r{http://schema.org/NewsArticle}i
|
13
|
+
include_vocabulary Mida::SchemaOrg::Thing
|
14
|
+
include_vocabulary Mida::SchemaOrg::CreativeWork
|
15
|
+
include_vocabulary Mida::SchemaOrg::Article
|
16
|
+
|
17
|
+
# The location where the NewsArticle was produced.
|
18
|
+
has_many 'dateline'
|
19
|
+
|
20
|
+
# The number of the column in which the NewsArticle appears in the print edition.
|
21
|
+
has_many 'printColumn'
|
22
|
+
|
23
|
+
# The edition of the print product in which the NewsArticle appears.
|
24
|
+
has_many 'printEdition'
|
25
|
+
|
26
|
+
# If this NewsArticle appears in print, this field indicates the name of the page on which the article is found. Please note that this field is intended for the exact page name (e.g. A5, B18).
|
27
|
+
has_many 'printPage'
|
28
|
+
|
29
|
+
# If this NewsArticle appears in print, this field indicates the print section in which the article appeared.
|
30
|
+
has_many 'printSection'
|
31
|
+
end
|
32
|
+
|
33
|
+
end
|
34
|
+
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 :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
|
8
|
+
|
9
|
+
# Organization: Non-governmental Organization.
|
10
|
+
class NGO < Mida::Vocabulary
|
11
|
+
itemtype %r{http://schema.org/NGO}i
|
12
|
+
include_vocabulary Mida::SchemaOrg::Thing
|
13
|
+
include_vocabulary Mida::SchemaOrg::Organization
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
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 nightclub or discotheque.
|
12
|
+
class NightClub < Mida::Vocabulary
|
13
|
+
itemtype %r{http://schema.org/NightClub}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 notary.
|
12
|
+
class Notary < Mida::Vocabulary
|
13
|
+
itemtype %r{http://schema.org/Notary}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,86 @@
|
|
1
|
+
require 'mida_vocabulary/vocabulary'
|
2
|
+
|
3
|
+
module Mida
|
4
|
+
module SchemaOrg
|
5
|
+
|
6
|
+
autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
|
7
|
+
autoload :Energy, 'mida_vocabulary/vocabularies/schemaorg/energy'
|
8
|
+
autoload :Mass, 'mida_vocabulary/vocabularies/schemaorg/mass'
|
9
|
+
|
10
|
+
# Nutritional information about the recipe.
|
11
|
+
class NutritionInformation < Mida::Vocabulary
|
12
|
+
itemtype %r{http://schema.org/NutritionInformation}i
|
13
|
+
include_vocabulary Mida::SchemaOrg::Thing
|
14
|
+
|
15
|
+
# The number of calories
|
16
|
+
has_many 'calories' do
|
17
|
+
extract Mida::SchemaOrg::Energy
|
18
|
+
extract Mida::DataType::Text
|
19
|
+
end
|
20
|
+
|
21
|
+
# The number of grams of carbohydrates.
|
22
|
+
has_many 'carbohydrateContent' do
|
23
|
+
extract Mida::SchemaOrg::Mass
|
24
|
+
extract Mida::DataType::Text
|
25
|
+
end
|
26
|
+
|
27
|
+
# The number of milligrams of cholesterol.
|
28
|
+
has_many 'cholesterolContent' do
|
29
|
+
extract Mida::SchemaOrg::Mass
|
30
|
+
extract Mida::DataType::Text
|
31
|
+
end
|
32
|
+
|
33
|
+
# The number of grams of fat.
|
34
|
+
has_many 'fatContent' do
|
35
|
+
extract Mida::SchemaOrg::Mass
|
36
|
+
extract Mida::DataType::Text
|
37
|
+
end
|
38
|
+
|
39
|
+
# The number of grams of fiber.
|
40
|
+
has_many 'fiberContent' do
|
41
|
+
extract Mida::SchemaOrg::Mass
|
42
|
+
extract Mida::DataType::Text
|
43
|
+
end
|
44
|
+
|
45
|
+
# The number of grams of protein.
|
46
|
+
has_many 'proteinContent' do
|
47
|
+
extract Mida::SchemaOrg::Mass
|
48
|
+
extract Mida::DataType::Text
|
49
|
+
end
|
50
|
+
|
51
|
+
# The number of grams of saturated fat.
|
52
|
+
has_many 'saturatedFatContent' do
|
53
|
+
extract Mida::SchemaOrg::Mass
|
54
|
+
extract Mida::DataType::Text
|
55
|
+
end
|
56
|
+
|
57
|
+
# The serving size, in terms of the number of volume or mass
|
58
|
+
has_many 'servingSize'
|
59
|
+
|
60
|
+
# The number of milligrams of sodium.
|
61
|
+
has_many 'sodiumContent' do
|
62
|
+
extract Mida::SchemaOrg::Mass
|
63
|
+
extract Mida::DataType::Text
|
64
|
+
end
|
65
|
+
|
66
|
+
# The number of grams of sugar.
|
67
|
+
has_many 'sugarContent' do
|
68
|
+
extract Mida::SchemaOrg::Mass
|
69
|
+
extract Mida::DataType::Text
|
70
|
+
end
|
71
|
+
|
72
|
+
# The number of grams of trans fat.
|
73
|
+
has_many 'transFatContent' do
|
74
|
+
extract Mida::SchemaOrg::Mass
|
75
|
+
extract Mida::DataType::Text
|
76
|
+
end
|
77
|
+
|
78
|
+
# The number of grams of unsaturated fat.
|
79
|
+
has_many 'unsaturatedFatContent' do
|
80
|
+
extract Mida::SchemaOrg::Mass
|
81
|
+
extract Mida::DataType::Text
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
end
|
86
|
+
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
|
+
# An ocean (for example, the Pacific).
|
10
|
+
class OceanBodyOfWater < Mida::Vocabulary
|
11
|
+
itemtype %r{http://schema.org/OceanBodyOfWater}i
|
12
|
+
include_vocabulary Mida::SchemaOrg::Thing
|
13
|
+
include_vocabulary Mida::SchemaOrg::Place
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
require 'mida_vocabulary/vocabulary'
|
2
|
+
|
3
|
+
module Mida
|
4
|
+
module SchemaOrg
|
5
|
+
|
6
|
+
autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
|
7
|
+
autoload :AggregateRating, 'mida_vocabulary/vocabularies/schemaorg/aggregaterating'
|
8
|
+
autoload :ItemAvailability, 'mida_vocabulary/vocabularies/schemaorg/itemavailability'
|
9
|
+
autoload :OfferItemCondition, 'mida_vocabulary/vocabularies/schemaorg/offeritemcondition'
|
10
|
+
autoload :Product, 'mida_vocabulary/vocabularies/schemaorg/product'
|
11
|
+
autoload :Review, 'mida_vocabulary/vocabularies/schemaorg/review'
|
12
|
+
autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
|
13
|
+
|
14
|
+
# An offer to sell an item - for example, an offer to sell a product, the DVD of a movie, or tickets to an event.
|
15
|
+
class Offer < Mida::Vocabulary
|
16
|
+
itemtype %r{http://schema.org/Offer}i
|
17
|
+
include_vocabulary Mida::SchemaOrg::Thing
|
18
|
+
|
19
|
+
# The overall rating, based on a collection of reviews or ratings, of the item.
|
20
|
+
has_many 'aggregateRating' do
|
21
|
+
extract Mida::SchemaOrg::AggregateRating
|
22
|
+
extract Mida::DataType::Text
|
23
|
+
end
|
24
|
+
|
25
|
+
# The availability of this item - for example In stock, Out of stock, Pre-order, etc.
|
26
|
+
has_many 'availability' do
|
27
|
+
extract Mida::SchemaOrg::ItemAvailability
|
28
|
+
end
|
29
|
+
|
30
|
+
# The condition of the item for sale - for example New, Refurbished, Used, etc.
|
31
|
+
has_many 'itemCondition' do
|
32
|
+
extract Mida::SchemaOrg::OfferItemCondition
|
33
|
+
end
|
34
|
+
|
35
|
+
# The item being sold.
|
36
|
+
has_many 'itemOffered' do
|
37
|
+
extract Mida::SchemaOrg::Product
|
38
|
+
extract Mida::DataType::Text
|
39
|
+
end
|
40
|
+
|
41
|
+
# The offer price of the product.
|
42
|
+
has_many 'price' do
|
43
|
+
extract Mida::DataType::Number
|
44
|
+
extract Mida::DataType::Text
|
45
|
+
end
|
46
|
+
|
47
|
+
# The currency (in 3-letter ISO 4217 format) of the offer price.
|
48
|
+
has_many 'priceCurrency'
|
49
|
+
|
50
|
+
# The date after which the price is no longer available.
|
51
|
+
has_many 'priceValidUntil' do
|
52
|
+
extract Mida::DataType::ISO8601Date
|
53
|
+
end
|
54
|
+
|
55
|
+
# Review of the item.
|
56
|
+
has_many 'reviews' do
|
57
|
+
extract Mida::SchemaOrg::Review
|
58
|
+
extract Mida::DataType::Text
|
59
|
+
end
|
60
|
+
|
61
|
+
# The seller of the product.
|
62
|
+
has_many 'seller' do
|
63
|
+
extract Mida::SchemaOrg::Organization
|
64
|
+
extract Mida::DataType::Text
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'mida_vocabulary/datatype'
|
2
|
+
|
3
|
+
module Mida
|
4
|
+
module SchemaOrg
|
5
|
+
|
6
|
+
# A list of possible conditions for the item for sale.
|
7
|
+
class OfferItemCondition < Mida::DataType::Enumeration
|
8
|
+
VALID_VALUES = [
|
9
|
+
[::Mida::DataType::URL, %r{http://schema.org/DamagedCondition}i],
|
10
|
+
[::Mida::DataType::URL, %r{http://schema.org/NewCondition}i],
|
11
|
+
[::Mida::DataType::URL, %r{http://schema.org/RefurbishedCondition}i],
|
12
|
+
[::Mida::DataType::URL, %r{http://schema.org/UsedCondition}i]
|
13
|
+
]
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
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
|
+
# An office equipment store.
|
12
|
+
class OfficeEquipmentStore < Mida::Vocabulary
|
13
|
+
itemtype %r{http://schema.org/OfficeEquipmentStore}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
|
+
# An optician's store.
|
12
|
+
class Optician < Mida::Vocabulary
|
13
|
+
itemtype %r{http://schema.org/Optician}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,96 @@
|
|
1
|
+
require 'mida_vocabulary/vocabulary'
|
2
|
+
|
3
|
+
module Mida
|
4
|
+
module SchemaOrg
|
5
|
+
|
6
|
+
autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
|
7
|
+
autoload :PostalAddress, 'mida_vocabulary/vocabularies/schemaorg/postaladdress'
|
8
|
+
autoload :AggregateRating, 'mida_vocabulary/vocabularies/schemaorg/aggregaterating'
|
9
|
+
autoload :ContactPoint, 'mida_vocabulary/vocabularies/schemaorg/contactpoint'
|
10
|
+
autoload :Person, 'mida_vocabulary/vocabularies/schemaorg/person'
|
11
|
+
autoload :Event, 'mida_vocabulary/vocabularies/schemaorg/event'
|
12
|
+
autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
|
13
|
+
autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
|
14
|
+
autoload :Review, 'mida_vocabulary/vocabularies/schemaorg/review'
|
15
|
+
|
16
|
+
# An organization such as a school, NGO, corporation, club, etc.
|
17
|
+
class Organization < Mida::Vocabulary
|
18
|
+
itemtype %r{http://schema.org/Organization}i
|
19
|
+
include_vocabulary Mida::SchemaOrg::Thing
|
20
|
+
|
21
|
+
# Physical address of the item.
|
22
|
+
has_many 'address' do
|
23
|
+
extract Mida::SchemaOrg::PostalAddress
|
24
|
+
extract Mida::DataType::Text
|
25
|
+
end
|
26
|
+
|
27
|
+
# The overall rating, based on a collection of reviews or ratings, of the item.
|
28
|
+
has_many 'aggregateRating' do
|
29
|
+
extract Mida::SchemaOrg::AggregateRating
|
30
|
+
extract Mida::DataType::Text
|
31
|
+
end
|
32
|
+
|
33
|
+
# A contact point for a person or organization.
|
34
|
+
has_many 'contactPoints' do
|
35
|
+
extract Mida::SchemaOrg::ContactPoint
|
36
|
+
extract Mida::DataType::Text
|
37
|
+
end
|
38
|
+
|
39
|
+
# Email address.
|
40
|
+
has_many 'email'
|
41
|
+
|
42
|
+
# People working for this organization.
|
43
|
+
has_many 'employees' do
|
44
|
+
extract Mida::SchemaOrg::Person
|
45
|
+
extract Mida::DataType::Text
|
46
|
+
end
|
47
|
+
|
48
|
+
# Upcoming or past events associated with this place or organization.
|
49
|
+
has_many 'events' do
|
50
|
+
extract Mida::SchemaOrg::Event
|
51
|
+
extract Mida::DataType::Text
|
52
|
+
end
|
53
|
+
|
54
|
+
# The fax number.
|
55
|
+
has_many 'faxNumber'
|
56
|
+
|
57
|
+
# A person who founded this organization.
|
58
|
+
has_many 'founders' do
|
59
|
+
extract Mida::SchemaOrg::Person
|
60
|
+
extract Mida::DataType::Text
|
61
|
+
end
|
62
|
+
|
63
|
+
# The date that this organization was founded.
|
64
|
+
has_many 'foundingDate' do
|
65
|
+
extract Mida::DataType::ISO8601Date
|
66
|
+
end
|
67
|
+
|
68
|
+
# A count of a specific user interactions with this item - for example, 20 UserLikes, 5 UserComments, or 300 UserDownloads. The user interaction type should be one of the sub types of UserInteraction.
|
69
|
+
has_many 'interactionCount'
|
70
|
+
|
71
|
+
# The location of the event or organization.
|
72
|
+
has_many 'location' do
|
73
|
+
extract Mida::SchemaOrg::Place
|
74
|
+
extract Mida::SchemaOrg::PostalAddress
|
75
|
+
extract Mida::DataType::Text
|
76
|
+
end
|
77
|
+
|
78
|
+
# A member of this organization.
|
79
|
+
has_many 'members' do
|
80
|
+
extract Mida::SchemaOrg::Organization
|
81
|
+
extract Mida::SchemaOrg::Person
|
82
|
+
extract Mida::DataType::Text
|
83
|
+
end
|
84
|
+
|
85
|
+
# Review of the item.
|
86
|
+
has_many 'reviews' do
|
87
|
+
extract Mida::SchemaOrg::Review
|
88
|
+
extract Mida::DataType::Text
|
89
|
+
end
|
90
|
+
|
91
|
+
# The telephone number.
|
92
|
+
has_many 'telephone'
|
93
|
+
end
|
94
|
+
|
95
|
+
end
|
96
|
+
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
|
+
# An outlet store.
|
12
|
+
class OutletStore < Mida::Vocabulary
|
13
|
+
itemtype %r{http://schema.org/OutletStore}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
|