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 :CreativeWork, 'mida_vocabulary/vocabularies/schemaorg/creativework'
|
8
|
+
|
9
|
+
# A painting.
|
10
|
+
class Painting < Mida::Vocabulary
|
11
|
+
itemtype %r{http://schema.org/Painting}i
|
12
|
+
include_vocabulary Mida::SchemaOrg::Thing
|
13
|
+
include_vocabulary Mida::SchemaOrg::CreativeWork
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
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 park.
|
11
|
+
class Park < Mida::Vocabulary
|
12
|
+
itemtype %r{http://schema.org/Park}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 :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
|
8
|
+
autoload :CivicStructure, 'mida_vocabulary/vocabularies/schemaorg/civicstructure'
|
9
|
+
|
10
|
+
# A parking lot or other parking facility.
|
11
|
+
class ParkingFacility < Mida::Vocabulary
|
12
|
+
itemtype %r{http://schema.org/ParkingFacility}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 pawnstore.
|
12
|
+
class PawnShop < Mida::Vocabulary
|
13
|
+
itemtype %r{http://schema.org/PawnShop}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 theatre or other performing art center.
|
11
|
+
class PerformingArtsTheater < Mida::Vocabulary
|
12
|
+
itemtype %r{http://schema.org/PerformingArtsTheater}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,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
|
+
# A performance group, such as a band, an orchestra, or a circus.
|
10
|
+
class PerformingGroup < Mida::Vocabulary
|
11
|
+
itemtype %r{http://schema.org/PerformingGroup}i
|
12
|
+
include_vocabulary Mida::SchemaOrg::Thing
|
13
|
+
include_vocabulary Mida::SchemaOrg::Organization
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,179 @@
|
|
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 :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
|
9
|
+
autoload :EducationalOrganization, 'mida_vocabulary/vocabularies/schemaorg/educationalorganization'
|
10
|
+
autoload :Person, 'mida_vocabulary/vocabularies/schemaorg/person'
|
11
|
+
autoload :ContactPoint, 'mida_vocabulary/vocabularies/schemaorg/contactpoint'
|
12
|
+
autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
|
13
|
+
autoload :Country, 'mida_vocabulary/vocabularies/schemaorg/country'
|
14
|
+
autoload :Event, 'mida_vocabulary/vocabularies/schemaorg/event'
|
15
|
+
|
16
|
+
# A person (alive, dead, undead, or fictional).
|
17
|
+
class Person < Mida::Vocabulary
|
18
|
+
itemtype %r{http://schema.org/Person}i
|
19
|
+
include_vocabulary Mida::SchemaOrg::Thing
|
20
|
+
|
21
|
+
# An additional name for a Person, can be used for a middle name.
|
22
|
+
has_many 'additionalName'
|
23
|
+
|
24
|
+
# Physical address of the item.
|
25
|
+
has_many 'address' do
|
26
|
+
extract Mida::SchemaOrg::PostalAddress
|
27
|
+
extract Mida::DataType::Text
|
28
|
+
end
|
29
|
+
|
30
|
+
# An organization that this person is affiliated with. For example, a school/university, a club, or a team.
|
31
|
+
has_many 'affiliation' do
|
32
|
+
extract Mida::SchemaOrg::Organization
|
33
|
+
extract Mida::DataType::Text
|
34
|
+
end
|
35
|
+
|
36
|
+
# An educational organizations that the person is an alumni of.
|
37
|
+
has_many 'alumniOf' do
|
38
|
+
extract Mida::SchemaOrg::EducationalOrganization
|
39
|
+
extract Mida::DataType::Text
|
40
|
+
end
|
41
|
+
|
42
|
+
# Awards won by this person or for this creative work.
|
43
|
+
has_many 'awards'
|
44
|
+
|
45
|
+
# Date of birth.
|
46
|
+
has_many 'birthDate' do
|
47
|
+
extract Mida::DataType::ISO8601Date
|
48
|
+
end
|
49
|
+
|
50
|
+
# A child of the person.
|
51
|
+
has_many 'children' do
|
52
|
+
extract Mida::SchemaOrg::Person
|
53
|
+
extract Mida::DataType::Text
|
54
|
+
end
|
55
|
+
|
56
|
+
# A colleague of the person.
|
57
|
+
has_many 'colleagues' do
|
58
|
+
extract Mida::SchemaOrg::Person
|
59
|
+
extract Mida::DataType::Text
|
60
|
+
end
|
61
|
+
|
62
|
+
# A contact point for a person or organization.
|
63
|
+
has_many 'contactPoints' do
|
64
|
+
extract Mida::SchemaOrg::ContactPoint
|
65
|
+
extract Mida::DataType::Text
|
66
|
+
end
|
67
|
+
|
68
|
+
# Date of death.
|
69
|
+
has_many 'deathDate' do
|
70
|
+
extract Mida::DataType::ISO8601Date
|
71
|
+
end
|
72
|
+
|
73
|
+
# Email address.
|
74
|
+
has_many 'email'
|
75
|
+
|
76
|
+
# Family name. In the U.S., the last name of an Person. This can be used along with givenName instead of the Name property.
|
77
|
+
has_many 'familyName'
|
78
|
+
|
79
|
+
# The fax number.
|
80
|
+
has_many 'faxNumber'
|
81
|
+
|
82
|
+
# The most generic uni-directional social relation.
|
83
|
+
has_many 'follows' do
|
84
|
+
extract Mida::SchemaOrg::Person
|
85
|
+
extract Mida::DataType::Text
|
86
|
+
end
|
87
|
+
|
88
|
+
# Gender of the person.
|
89
|
+
has_many 'gender'
|
90
|
+
|
91
|
+
# Given name. In the U.S., the first name of a Person. This can be used along with familyName instead of the Name property.
|
92
|
+
has_many 'givenName'
|
93
|
+
|
94
|
+
# A contact location for a person's residence.
|
95
|
+
has_many 'homeLocation' do
|
96
|
+
extract Mida::SchemaOrg::ContactPoint
|
97
|
+
extract Mida::SchemaOrg::Place
|
98
|
+
extract Mida::DataType::Text
|
99
|
+
end
|
100
|
+
|
101
|
+
# An honorific prefix preceding a Person's name such as Dr/Mrs/Mr.
|
102
|
+
has_many 'honorificPrefix'
|
103
|
+
|
104
|
+
# An honorific suffix preceding a Person's name such as M.D. /PhD/MSCSW.
|
105
|
+
has_many 'honorificSuffix'
|
106
|
+
|
107
|
+
# 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.
|
108
|
+
has_many 'interactionCount'
|
109
|
+
|
110
|
+
# The job title of the person (for example, Financial Manager).
|
111
|
+
has_many 'jobTitle'
|
112
|
+
|
113
|
+
# The most generic bi-directional social/work relation.
|
114
|
+
has_many 'knows' do
|
115
|
+
extract Mida::SchemaOrg::Person
|
116
|
+
extract Mida::DataType::Text
|
117
|
+
end
|
118
|
+
|
119
|
+
# An organization to which the person belongs.
|
120
|
+
has_many 'memberOf' do
|
121
|
+
extract Mida::SchemaOrg::Organization
|
122
|
+
extract Mida::DataType::Text
|
123
|
+
end
|
124
|
+
|
125
|
+
# Nationality of the person.
|
126
|
+
has_many 'nationality' do
|
127
|
+
extract Mida::SchemaOrg::Country
|
128
|
+
extract Mida::DataType::Text
|
129
|
+
end
|
130
|
+
|
131
|
+
# A parents of the person.
|
132
|
+
has_many 'parents' do
|
133
|
+
extract Mida::SchemaOrg::Person
|
134
|
+
extract Mida::DataType::Text
|
135
|
+
end
|
136
|
+
|
137
|
+
# Event that this person is a performer or participant in.
|
138
|
+
has_many 'performerIn' do
|
139
|
+
extract Mida::SchemaOrg::Event
|
140
|
+
extract Mida::DataType::Text
|
141
|
+
end
|
142
|
+
|
143
|
+
# The most generic familial relation.
|
144
|
+
has_many 'relatedTo' do
|
145
|
+
extract Mida::SchemaOrg::Person
|
146
|
+
extract Mida::DataType::Text
|
147
|
+
end
|
148
|
+
|
149
|
+
# A sibling of the person.
|
150
|
+
has_many 'siblings' do
|
151
|
+
extract Mida::SchemaOrg::Person
|
152
|
+
extract Mida::DataType::Text
|
153
|
+
end
|
154
|
+
|
155
|
+
# The person's spouse.
|
156
|
+
has_many 'spouse' do
|
157
|
+
extract Mida::SchemaOrg::Person
|
158
|
+
extract Mida::DataType::Text
|
159
|
+
end
|
160
|
+
|
161
|
+
# The telephone number.
|
162
|
+
has_many 'telephone'
|
163
|
+
|
164
|
+
# A contact location for a person's place of work.
|
165
|
+
has_many 'workLocation' do
|
166
|
+
extract Mida::SchemaOrg::ContactPoint
|
167
|
+
extract Mida::SchemaOrg::Place
|
168
|
+
extract Mida::DataType::Text
|
169
|
+
end
|
170
|
+
|
171
|
+
# Organizations that the person works for.
|
172
|
+
has_many 'worksFor' do
|
173
|
+
extract Mida::SchemaOrg::Organization
|
174
|
+
extract Mida::DataType::Text
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
end
|
179
|
+
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 pet store.
|
12
|
+
class PetStore < Mida::Vocabulary
|
13
|
+
itemtype %r{http://schema.org/PetStore}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 pharmacy or drugstore.
|
12
|
+
class Pharmacy < Mida::Vocabulary
|
13
|
+
itemtype %r{http://schema.org/Pharmacy}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 photograph.
|
10
|
+
class Photograph < Mida::Vocabulary
|
11
|
+
itemtype %r{http://schema.org/Photograph}i
|
12
|
+
include_vocabulary Mida::SchemaOrg::Thing
|
13
|
+
include_vocabulary Mida::SchemaOrg::CreativeWork
|
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 doctor's office.
|
12
|
+
class Physician < Mida::Vocabulary
|
13
|
+
itemtype %r{http://schema.org/Physician}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,82 @@
|
|
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 :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
|
10
|
+
autoload :Event, 'mida_vocabulary/vocabularies/schemaorg/event'
|
11
|
+
autoload :GeoCoordinates, 'mida_vocabulary/vocabularies/schemaorg/geocoordinates'
|
12
|
+
autoload :GeoShape, 'mida_vocabulary/vocabularies/schemaorg/geoshape'
|
13
|
+
autoload :ImageObject, 'mida_vocabulary/vocabularies/schemaorg/imageobject'
|
14
|
+
autoload :Photograph, 'mida_vocabulary/vocabularies/schemaorg/photograph'
|
15
|
+
autoload :Review, 'mida_vocabulary/vocabularies/schemaorg/review'
|
16
|
+
|
17
|
+
# Entities that have a somewhat fixed, physical extension.
|
18
|
+
class Place < Mida::Vocabulary
|
19
|
+
itemtype %r{http://schema.org/Place}i
|
20
|
+
include_vocabulary Mida::SchemaOrg::Thing
|
21
|
+
|
22
|
+
# Physical address of the item.
|
23
|
+
has_many 'address' do
|
24
|
+
extract Mida::SchemaOrg::PostalAddress
|
25
|
+
extract Mida::DataType::Text
|
26
|
+
end
|
27
|
+
|
28
|
+
# The overall rating, based on a collection of reviews or ratings, of the item.
|
29
|
+
has_many 'aggregateRating' do
|
30
|
+
extract Mida::SchemaOrg::AggregateRating
|
31
|
+
extract Mida::DataType::Text
|
32
|
+
end
|
33
|
+
|
34
|
+
# The basic containment relation between places.
|
35
|
+
has_many 'containedIn' do
|
36
|
+
extract Mida::SchemaOrg::Place
|
37
|
+
extract Mida::DataType::Text
|
38
|
+
end
|
39
|
+
|
40
|
+
# Upcoming or past events associated with this place or organization.
|
41
|
+
has_many 'events' do
|
42
|
+
extract Mida::SchemaOrg::Event
|
43
|
+
extract Mida::DataType::Text
|
44
|
+
end
|
45
|
+
|
46
|
+
# The fax number.
|
47
|
+
has_many 'faxNumber'
|
48
|
+
|
49
|
+
# The geo coordinates of the place.
|
50
|
+
has_many 'geo' do
|
51
|
+
extract Mida::SchemaOrg::GeoCoordinates
|
52
|
+
extract Mida::SchemaOrg::GeoShape
|
53
|
+
extract Mida::DataType::Text
|
54
|
+
end
|
55
|
+
|
56
|
+
# 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.
|
57
|
+
has_many 'interactionCount'
|
58
|
+
|
59
|
+
# A URL to a map of the place.
|
60
|
+
has_many 'maps' do
|
61
|
+
extract Mida::DataType::URL
|
62
|
+
end
|
63
|
+
|
64
|
+
# Photographs of this place.
|
65
|
+
has_many 'photos' do
|
66
|
+
extract Mida::SchemaOrg::ImageObject
|
67
|
+
extract Mida::SchemaOrg::Photograph
|
68
|
+
extract Mida::DataType::Text
|
69
|
+
end
|
70
|
+
|
71
|
+
# Review of the item.
|
72
|
+
has_many 'reviews' do
|
73
|
+
extract Mida::SchemaOrg::Review
|
74
|
+
extract Mida::DataType::Text
|
75
|
+
end
|
76
|
+
|
77
|
+
# The telephone number.
|
78
|
+
has_many 'telephone'
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
82
|
+
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
|
+
# Place of worship, such as a church, synagogue, or mosque.
|
11
|
+
class PlaceOfWorship < Mida::Vocabulary
|
12
|
+
itemtype %r{http://schema.org/PlaceOfWorship}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 :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
|
8
|
+
autoload :CivicStructure, 'mida_vocabulary/vocabularies/schemaorg/civicstructure'
|
9
|
+
|
10
|
+
# A playground.
|
11
|
+
class Playground < Mida::Vocabulary
|
12
|
+
itemtype %r{http://schema.org/Playground}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 plumbing service.
|
12
|
+
class Plumber < Mida::Vocabulary
|
13
|
+
itemtype %r{http://schema.org/Plumber}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 :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
|
9
|
+
autoload :LocalBusiness, 'mida_vocabulary/vocabularies/schemaorg/localbusiness'
|
10
|
+
autoload :CivicStructure, 'mida_vocabulary/vocabularies/schemaorg/civicstructure'
|
11
|
+
|
12
|
+
# A police station.
|
13
|
+
class PoliceStation < Mida::Vocabulary
|
14
|
+
itemtype %r{http://schema.org/PoliceStation}i
|
15
|
+
include_vocabulary Mida::SchemaOrg::Thing
|
16
|
+
include_vocabulary Mida::SchemaOrg::Place
|
17
|
+
include_vocabulary Mida::SchemaOrg::Organization
|
18
|
+
include_vocabulary Mida::SchemaOrg::LocalBusiness
|
19
|
+
include_vocabulary Mida::SchemaOrg::CivicStructure
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
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 pond
|
10
|
+
class Pond < Mida::Vocabulary
|
11
|
+
itemtype %r{http://schema.org/Pond}i
|
12
|
+
include_vocabulary Mida::SchemaOrg::Thing
|
13
|
+
include_vocabulary Mida::SchemaOrg::Place
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
require 'mida_vocabulary/vocabulary'
|
2
|
+
|
3
|
+
module Mida
|
4
|
+
module SchemaOrg
|
5
|
+
|
6
|
+
autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
|
7
|
+
autoload :ContactPoint, 'mida_vocabulary/vocabularies/schemaorg/contactpoint'
|
8
|
+
autoload :Country, 'mida_vocabulary/vocabularies/schemaorg/country'
|
9
|
+
|
10
|
+
# The mailing address.
|
11
|
+
class PostalAddress < Mida::Vocabulary
|
12
|
+
itemtype %r{http://schema.org/PostalAddress}i
|
13
|
+
include_vocabulary Mida::SchemaOrg::Thing
|
14
|
+
include_vocabulary Mida::SchemaOrg::ContactPoint
|
15
|
+
|
16
|
+
# The country. For example, USA. You can also provide the two-letter ISO 3166-1 alpha-2 country code.
|
17
|
+
has_many 'addressCountry' do
|
18
|
+
extract Mida::SchemaOrg::Country
|
19
|
+
extract Mida::DataType::Text
|
20
|
+
end
|
21
|
+
|
22
|
+
# The locality. For example, Mountain View.
|
23
|
+
has_many 'addressLocality'
|
24
|
+
|
25
|
+
# The region. For example, CA.
|
26
|
+
has_many 'addressRegion'
|
27
|
+
|
28
|
+
# The post offce box number for PO box addresses.
|
29
|
+
has_many 'postOfficeBoxNumber'
|
30
|
+
|
31
|
+
# The postal code. For example, 94043.
|
32
|
+
has_many 'postalCode'
|
33
|
+
|
34
|
+
# The street address. For example, 1600 Amphitheatre Pkwy.
|
35
|
+
has_many 'streetAddress'
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
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 post office.
|
12
|
+
class PostOffice < Mida::Vocabulary
|
13
|
+
itemtype %r{http://schema.org/PostOffice}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 preschool.
|
11
|
+
class Preschool < Mida::Vocabulary
|
12
|
+
itemtype %r{http://schema.org/Preschool}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
|