mida_vocabulary 0.2 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +3 -1
- data/Gemfile.lock +1 -1
- data/README.md +7 -0
- data/lib/mida_vocabulary.rb +1 -110
- data/lib/mida_vocabulary/datatype.rb +1 -0
- data/lib/mida_vocabulary/datatype/time.rb +25 -0
- data/lib/mida_vocabulary/vocabularies/data_vocabulary.rb +18 -1
- data/lib/mida_vocabulary/vocabularies/data_vocabulary/{offer_aggregate.rb → offeraggregate.rb} +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg.rb +18 -1
- data/lib/mida_vocabulary/vocabularies/schemaorg/action.rb +65 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/aggregateoffer.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/aggregaterating.rb +16 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/airline.rb +3 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/airport.rb +6 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/alignmentobject.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/allocateaction.rb +8 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/anatomicalstructure.rb +50 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/anatomicalsystem.rb +32 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/answer.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/apireference.rb +12 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/artery.rb +18 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/article.rb +26 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/askaction.rb +3 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/audience.rb +13 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/audioobject.rb +3 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/authorizeaction.rb +11 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/book.rb +24 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/bookformattype.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/borrowaction.rb +7 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/brand.rb +8 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/broadcastservice.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/businessaudience.rb +19 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/businessentitytype.rb +0 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/businessfunction.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/bustrip.rb +41 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/buyaction.rb +16 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/childcare.rb +4 -4
- data/lib/mida_vocabulary/vocabularies/schemaorg/chooseaction.rb +6 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/civicstructure.rb +7 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/clip.rb +34 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/code.rb +24 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/comment.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/communicateaction.rb +24 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/contactpoint.rb +46 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/contactpointoption.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/cookaction.rb +23 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/corporation.rb +3 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/creativework.rb +309 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/creditcard.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/datacatalog.rb +7 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/dataset.rb +26 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/dayofweek.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/ddxelement.rb +14 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/deliverychargespecification.rb +13 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/deliveryevent.rb +19 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/deliverymethod.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/demand.rb +162 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/diagnosticlab.rb +7 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/diet.rb +27 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/dietarysupplement.rb +54 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/donateaction.rb +11 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/doseschedule.rb +14 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/drug.rb +126 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/drugclass.rb +7 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/drugcost.rb +28 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/drugcostcategory.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/druglegalstatus.rb +7 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/drugpregnancycategory.rb +0 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/drugprescriptionstatus.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/drugstrength.rb +18 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/educationalaudience.rb +3 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/educationalorganization.rb +7 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/emergencyservice.rb +4 -4
- data/lib/mida_vocabulary/vocabularies/schemaorg/endorseaction.rb +9 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/episode.rb +68 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/event.rb +95 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/eventstatustype.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/exerciseaction.rb +73 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/exerciseplan.rb +34 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/firestation.rb +6 -6
- data/lib/mida_vocabulary/vocabularies/schemaorg/flight.rb +83 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/flightreservation.rb +3 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/followaction.rb +9 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/foodestablishment.rb +16 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/foodestablishmentreservation.rb +24 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/geocoordinates.rb +18 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/geoshape.rb +18 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/giveaction.rb +11 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/governmentservice.rb +7 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/hospital.rb +23 -6
- data/lib/mida_vocabulary/vocabularies/schemaorg/imageobject.rb +18 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/imagingtest.rb +6 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/individualproduct.rb +3 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/infectiousagentclass.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/infectiousdisease.rb +12 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/informaction.rb +7 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/insertaction.rb +8 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/inviteaction.rb +7 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/itemavailability.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/itemlist.rb +6 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/jobposting.rb +66 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/joinaction.rb +7 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/joint.rb +9 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/leaveaction.rb +7 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/lendaction.rb +7 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/localbusiness.rb +22 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/lockerdelivery.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/lodgingreservation.rb +35 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/loseaction.rb +7 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/lymphaticvessel.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/map.rb +4 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/mediaobject.rb +104 -1
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/medicalaudience.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalcause.rb +6 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalclinic.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalcode.rb +6 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalcondition.rb +90 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalconditionstage.rb +8 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicaldevice.rb +43 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/medicaldevicepurpose.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalentity.rb +43 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/medicalenumeration.rb +0 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/medicalevidencelevel.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalguideline.rb +20 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalguidelinerecommendation.rb +3 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/medicalimagingtechnique.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalobservationalstudy.rb +6 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/medicalobservationalstudydesign.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalprocedure.rb +15 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/medicalproceduretype.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalriskestimator.rb +13 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalriskfactor.rb +6 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalriskscore.rb +3 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalscholarlyarticle.rb +3 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalsign.rb +13 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalsignorsymptom.rb +14 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/medicalspecialty.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalstudy.rb +32 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/medicalstudystatus.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicaltest.rb +31 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicaltestpanel.rb +6 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicaltherapy.rb +33 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicaltrial.rb +9 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/medicaltrialdesign.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/medicalwebpage.rb +3 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/medicinesystem.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/mobileapplication.rb +3 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/moveaction.rb +15 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/movie.rb +48 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/muscle.rb +36 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/musicalbum.rb +7 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/musicgroup.rb +14 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/musicplaylist.rb +12 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/musicrecording.rb +28 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/nerve.rb +30 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/newsarticle.rb +15 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/nutritioninformation.rb +71 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/offer.rb +205 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/offeritemcondition.rb +0 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/onsitepickup.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/openinghoursspecification.rb +26 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/order.rb +97 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/orderstatus.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/organization.rb +172 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/ownershipinfo.rb +26 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/parceldelivery.rb +67 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/parcelservice.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/parentaudience.rb +10 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/pathologytest.rb +3 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/payaction.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/paymentchargespecification.rb +12 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/paymentmethod.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/peopleaudience.rb +33 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/performaction.rb +7 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/periodical.rb +3 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/permit.rb +45 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/person.rb +221 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/physicalactivity.rb +25 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/physicalactivitycategory.rb +0 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/physicalexam.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/physician.rb +24 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/place.rb +90 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/planaction.rb +5 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/playaction.rb +14 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/postaladdress.rb +22 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/pricespecification.rb +48 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/product.rb +144 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/productmodel.rb +19 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/programmembership.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/property.rb +26 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/publicationevent.rb +12 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/publicationissue.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/publicationvolume.rb +21 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/qualitativevalue.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/quantitativevalue.rb +27 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/question.rb +28 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/radioclip.rb +14 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/radioepisode.rb +55 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/radioseason.rb +26 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/radioseries.rb +60 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/rating.rb +15 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/receiveaction.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/recipe.rb +44 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/rentaction.rb +16 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/rentalcarreservation.rb +23 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/replaceaction.rb +12 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/reservation.rb +73 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/reservationpackage.rb +6 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/reservationstatustype.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/reserveaction.rb +5 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/returnaction.rb +11 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/review.rb +16 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/reviewaction.rb +7 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/searchaction.rb +7 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/season.rb +56 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/seat.rb +16 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/sellaction.rb +14 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/sendaction.rb +17 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/series.rb +75 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/service.rb +39 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/servicechannel.rb +53 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/softwareapplication.rb +92 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/someproducts.rb +7 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/specialty.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/stadiumorarena.rb +6 -6
- data/lib/mida_vocabulary/vocabularies/schemaorg/superficialanatomy.rb +29 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/taxireservation.rb +20 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/techarticle.rb +6 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/ticket.rb +47 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/tipaction.rb +11 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/trackaction.rb +6 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/tradeaction.rb +6 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/traintrip.rb +44 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/transferaction.rb +15 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/travelaction.rb +7 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/tvclip.rb +14 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/tvepisode.rb +55 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/tvseason.rb +42 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/tvseries.rb +70 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/typeandquantitynode.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/unitpricespecification.rb +11 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/updateaction.rb +6 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/usercomments.rb +29 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/vein.rb +21 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/videoobject.rb +26 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/voteaction.rb +7 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/warrantypromise.rb +13 -0
- data/lib/mida_vocabulary/{enumerations → vocabularies/schemaorg}/warrantyscope.rb +0 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/webapplication.rb +3 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/webpage.rb +47 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/winaction.rb +7 -0
- data/lib/mida_vocabulary/vocabularies/schemaorg/writeaction.rb +7 -0
- data/lib/mida_vocabulary/vocabulary.rb +48 -4
- data/mida_vocabulary.gemspec +5 -5
- data/spec/autoload_spec.rb +61 -0
- data/spec/spec_helper.rb +3 -0
- data/spec/vocabulary_spec.rb +4 -2
- metadata +55 -645
- data/resources/schema.org/datatypes.json +0 -72
- data/resources/schema.org/enumerations/bookformattype.rb +0 -14
- data/resources/schema.org/enumerations/businessentitytype.rb +0 -14
- data/resources/schema.org/enumerations/businessfunction.rb +0 -14
- data/resources/schema.org/enumerations/contactpointoption.rb +0 -14
- data/resources/schema.org/enumerations/creditcard.rb +0 -14
- data/resources/schema.org/enumerations/dayofweek.rb +0 -14
- data/resources/schema.org/enumerations/deliverymethod.rb +0 -14
- data/resources/schema.org/enumerations/drugcostcategory.rb +0 -14
- data/resources/schema.org/enumerations/drugpregnancycategory.rb +0 -14
- data/resources/schema.org/enumerations/drugprescriptionstatus.rb +0 -14
- data/resources/schema.org/enumerations/eventstatustype.rb +0 -14
- data/resources/schema.org/enumerations/infectiousagentclass.rb +0 -14
- data/resources/schema.org/enumerations/itemavailability.rb +0 -14
- data/resources/schema.org/enumerations/lockerdelivery.rb +0 -14
- data/resources/schema.org/enumerations/medicalaudience.rb +0 -14
- data/resources/schema.org/enumerations/medicaldevicepurpose.rb +0 -14
- data/resources/schema.org/enumerations/medicalenumeration.rb +0 -14
- data/resources/schema.org/enumerations/medicalevidencelevel.rb +0 -14
- data/resources/schema.org/enumerations/medicalimagingtechnique.rb +0 -14
- data/resources/schema.org/enumerations/medicalobservationalstudydesign.rb +0 -14
- data/resources/schema.org/enumerations/medicalproceduretype.rb +0 -14
- data/resources/schema.org/enumerations/medicalspecialty.rb +0 -14
- data/resources/schema.org/enumerations/medicalstudystatus.rb +0 -14
- data/resources/schema.org/enumerations/medicaltrialdesign.rb +0 -14
- data/resources/schema.org/enumerations/medicinesystem.rb +0 -14
- data/resources/schema.org/enumerations/offeritemcondition.rb +0 -14
- data/resources/schema.org/enumerations/onsitepickup.rb +0 -14
- data/resources/schema.org/enumerations/orderstatus.rb +0 -14
- data/resources/schema.org/enumerations/parcelservice.rb +0 -14
- data/resources/schema.org/enumerations/paymentmethod.rb +0 -14
- data/resources/schema.org/enumerations/physicalactivitycategory.rb +0 -14
- data/resources/schema.org/enumerations/physicalexam.rb +0 -14
- data/resources/schema.org/enumerations/qualitativevalue.rb +0 -14
- data/resources/schema.org/enumerations/reservationstatustype.rb +0 -14
- data/resources/schema.org/enumerations/specialty.rb +0 -14
- data/resources/schema.org/enumerations/warrantyscope.rb +0 -14
- data/resources/schema.org/generate.rb +0 -195
- data/resources/schema.org/vocabularies.json +0 -7927
- data/resources/schema.org/vocabularies/aboutpage.rb +0 -19
- data/resources/schema.org/vocabularies/acceptaction.rb +0 -19
- data/resources/schema.org/vocabularies/accountingservice.rb +0 -21
- data/resources/schema.org/vocabularies/achieveaction.rb +0 -17
- data/resources/schema.org/vocabularies/action.rb +0 -15
- data/resources/schema.org/vocabularies/addaction.rb +0 -19
- data/resources/schema.org/vocabularies/administrativearea.rb +0 -17
- data/resources/schema.org/vocabularies/adultentertainment.rb +0 -21
- data/resources/schema.org/vocabularies/aggregateoffer.rb +0 -17
- data/resources/schema.org/vocabularies/aggregaterating.rb +0 -17
- data/resources/schema.org/vocabularies/agreeaction.rb +0 -17
- data/resources/schema.org/vocabularies/airline.rb +0 -17
- data/resources/schema.org/vocabularies/airport.rb +0 -19
- data/resources/schema.org/vocabularies/alignmentobject.rb +0 -15
- data/resources/schema.org/vocabularies/allocateaction.rb +0 -17
- data/resources/schema.org/vocabularies/amusementpark.rb +0 -21
- data/resources/schema.org/vocabularies/anatomicalstructure.rb +0 -17
- data/resources/schema.org/vocabularies/anatomicalsystem.rb +0 -17
- data/resources/schema.org/vocabularies/animalshelter.rb +0 -21
- data/resources/schema.org/vocabularies/answer.rb +0 -17
- data/resources/schema.org/vocabularies/apartmentcomplex.rb +0 -17
- data/resources/schema.org/vocabularies/apireference.rb +0 -21
- data/resources/schema.org/vocabularies/appendaction.rb +0 -21
- data/resources/schema.org/vocabularies/applyaction.rb +0 -17
- data/resources/schema.org/vocabularies/approvedindication.rb +0 -17
- data/resources/schema.org/vocabularies/aquarium.rb +0 -19
- data/resources/schema.org/vocabularies/arriveaction.rb +0 -19
- data/resources/schema.org/vocabularies/artery.rb +0 -19
- data/resources/schema.org/vocabularies/artgallery.rb +0 -21
- data/resources/schema.org/vocabularies/article.rb +0 -17
- data/resources/schema.org/vocabularies/askaction.rb +0 -19
- data/resources/schema.org/vocabularies/assessaction.rb +0 -17
- data/resources/schema.org/vocabularies/assignaction.rb +0 -19
- data/resources/schema.org/vocabularies/attorney.rb +0 -21
- data/resources/schema.org/vocabularies/audience.rb +0 -15
- data/resources/schema.org/vocabularies/audioobject.rb +0 -19
- data/resources/schema.org/vocabularies/authorizeaction.rb +0 -19
- data/resources/schema.org/vocabularies/autobodyshop.rb +0 -21
- data/resources/schema.org/vocabularies/autodealer.rb +0 -21
- data/resources/schema.org/vocabularies/automatedteller.rb +0 -21
- data/resources/schema.org/vocabularies/automotivebusiness.rb +0 -21
- data/resources/schema.org/vocabularies/autopartsstore.rb +0 -21
- data/resources/schema.org/vocabularies/autorental.rb +0 -21
- data/resources/schema.org/vocabularies/autorepair.rb +0 -21
- data/resources/schema.org/vocabularies/autowash.rb +0 -21
- data/resources/schema.org/vocabularies/bakery.rb +0 -23
- data/resources/schema.org/vocabularies/bankorcreditunion.rb +0 -21
- data/resources/schema.org/vocabularies/barorpub.rb +0 -23
- data/resources/schema.org/vocabularies/beach.rb +0 -19
- data/resources/schema.org/vocabularies/beautysalon.rb +0 -21
- data/resources/schema.org/vocabularies/bedandbreakfast.rb +0 -21
- data/resources/schema.org/vocabularies/befriendaction.rb +0 -17
- data/resources/schema.org/vocabularies/bikestore.rb +0 -21
- data/resources/schema.org/vocabularies/blogposting.rb +0 -19
- data/resources/schema.org/vocabularies/bloodtest.rb +0 -19
- data/resources/schema.org/vocabularies/bodyofwater.rb +0 -17
- data/resources/schema.org/vocabularies/bone.rb +0 -19
- data/resources/schema.org/vocabularies/book.rb +0 -17
- data/resources/schema.org/vocabularies/bookmarkaction.rb +0 -17
- data/resources/schema.org/vocabularies/bookstore.rb +0 -21
- data/resources/schema.org/vocabularies/borrowaction.rb +0 -19
- data/resources/schema.org/vocabularies/bowlingalley.rb +0 -21
- data/resources/schema.org/vocabularies/brainstructure.rb +0 -19
- data/resources/schema.org/vocabularies/brand.rb +0 -15
- data/resources/schema.org/vocabularies/brewery.rb +0 -23
- data/resources/schema.org/vocabularies/broadcastevent.rb +0 -19
- data/resources/schema.org/vocabularies/broadcastservice.rb +0 -15
- data/resources/schema.org/vocabularies/buddhisttemple.rb +0 -19
- data/resources/schema.org/vocabularies/businessaudience.rb +0 -17
- data/resources/schema.org/vocabularies/businessevent.rb +0 -17
- data/resources/schema.org/vocabularies/busreservation.rb +0 -17
- data/resources/schema.org/vocabularies/busstation.rb +0 -19
- data/resources/schema.org/vocabularies/busstop.rb +0 -19
- data/resources/schema.org/vocabularies/bustrip.rb +0 -15
- data/resources/schema.org/vocabularies/buyaction.rb +0 -19
- data/resources/schema.org/vocabularies/cafeorcoffeeshop.rb +0 -23
- data/resources/schema.org/vocabularies/campground.rb +0 -19
- data/resources/schema.org/vocabularies/canal.rb +0 -17
- data/resources/schema.org/vocabularies/cancelaction.rb +0 -19
- data/resources/schema.org/vocabularies/car.rb +0 -17
- data/resources/schema.org/vocabularies/casino.rb +0 -21
- data/resources/schema.org/vocabularies/catholicchurch.rb +0 -19
- data/resources/schema.org/vocabularies/cemetery.rb +0 -19
- data/resources/schema.org/vocabularies/checkaction.rb +0 -17
- data/resources/schema.org/vocabularies/checkinaction.rb +0 -19
- data/resources/schema.org/vocabularies/checkoutaction.rb +0 -19
- data/resources/schema.org/vocabularies/checkoutpage.rb +0 -19
- data/resources/schema.org/vocabularies/childcare.rb +0 -21
- data/resources/schema.org/vocabularies/childrensevent.rb +0 -17
- data/resources/schema.org/vocabularies/chooseaction.rb +0 -17
- data/resources/schema.org/vocabularies/church.rb +0 -19
- data/resources/schema.org/vocabularies/city.rb +0 -17
- data/resources/schema.org/vocabularies/cityhall.rb +0 -19
- data/resources/schema.org/vocabularies/civicstructure.rb +0 -17
- data/resources/schema.org/vocabularies/class.rb +0 -15
- data/resources/schema.org/vocabularies/clip.rb +0 -17
- data/resources/schema.org/vocabularies/clothingstore.rb +0 -21
- data/resources/schema.org/vocabularies/code.rb +0 -17
- data/resources/schema.org/vocabularies/collectionpage.rb +0 -19
- data/resources/schema.org/vocabularies/collegeoruniversity.rb +0 -19
- data/resources/schema.org/vocabularies/comedyclub.rb +0 -21
- data/resources/schema.org/vocabularies/comedyevent.rb +0 -17
- data/resources/schema.org/vocabularies/comment.rb +0 -17
- data/resources/schema.org/vocabularies/commentaction.rb +0 -19
- data/resources/schema.org/vocabularies/communicateaction.rb +0 -17
- data/resources/schema.org/vocabularies/computerstore.rb +0 -21
- data/resources/schema.org/vocabularies/confirmaction.rb +0 -21
- data/resources/schema.org/vocabularies/consumeaction.rb +0 -17
- data/resources/schema.org/vocabularies/contactpage.rb +0 -19
- data/resources/schema.org/vocabularies/contactpoint.rb +0 -15
- data/resources/schema.org/vocabularies/continent.rb +0 -17
- data/resources/schema.org/vocabularies/conveniencestore.rb +0 -21
- data/resources/schema.org/vocabularies/cookaction.rb +0 -17
- data/resources/schema.org/vocabularies/corporation.rb +0 -17
- data/resources/schema.org/vocabularies/country.rb +0 -17
- data/resources/schema.org/vocabularies/courthouse.rb +0 -19
- data/resources/schema.org/vocabularies/createaction.rb +0 -17
- data/resources/schema.org/vocabularies/creativework.rb +0 -15
- data/resources/schema.org/vocabularies/crematorium.rb +0 -19
- data/resources/schema.org/vocabularies/danceevent.rb +0 -17
- data/resources/schema.org/vocabularies/dancegroup.rb +0 -17
- data/resources/schema.org/vocabularies/datacatalog.rb +0 -17
- data/resources/schema.org/vocabularies/datadownload.rb +0 -19
- data/resources/schema.org/vocabularies/dataset.rb +0 -17
- data/resources/schema.org/vocabularies/dayspa.rb +0 -21
- data/resources/schema.org/vocabularies/ddxelement.rb +0 -17
- data/resources/schema.org/vocabularies/defenceestablishment.rb +0 -19
- data/resources/schema.org/vocabularies/deleteaction.rb +0 -19
- data/resources/schema.org/vocabularies/deliverychargespecification.rb +0 -17
- data/resources/schema.org/vocabularies/deliveryevent.rb +0 -17
- data/resources/schema.org/vocabularies/demand.rb +0 -15
- data/resources/schema.org/vocabularies/dentist.rb +0 -21
- data/resources/schema.org/vocabularies/departaction.rb +0 -19
- data/resources/schema.org/vocabularies/departmentstore.rb +0 -21
- data/resources/schema.org/vocabularies/diagnosticlab.rb +0 -21
- data/resources/schema.org/vocabularies/diagnosticprocedure.rb +0 -21
- data/resources/schema.org/vocabularies/diet.rb +0 -21
- data/resources/schema.org/vocabularies/dietarysupplement.rb +0 -19
- data/resources/schema.org/vocabularies/disagreeaction.rb +0 -17
- data/resources/schema.org/vocabularies/discoveraction.rb +0 -17
- data/resources/schema.org/vocabularies/dislikeaction.rb +0 -17
- data/resources/schema.org/vocabularies/distance.rb +0 -15
- data/resources/schema.org/vocabularies/donateaction.rb +0 -19
- data/resources/schema.org/vocabularies/doseschedule.rb +0 -17
- data/resources/schema.org/vocabularies/downloadaction.rb +0 -19
- data/resources/schema.org/vocabularies/drawaction.rb +0 -17
- data/resources/schema.org/vocabularies/drinkaction.rb +0 -17
- data/resources/schema.org/vocabularies/drug.rb +0 -19
- data/resources/schema.org/vocabularies/drugclass.rb +0 -19
- data/resources/schema.org/vocabularies/drugcost.rb +0 -17
- data/resources/schema.org/vocabularies/druglegalstatus.rb +0 -17
- data/resources/schema.org/vocabularies/drugstrength.rb +0 -17
- data/resources/schema.org/vocabularies/drycleaningorlaundry.rb +0 -21
- data/resources/schema.org/vocabularies/duration.rb +0 -15
- data/resources/schema.org/vocabularies/eataction.rb +0 -17
- data/resources/schema.org/vocabularies/educationalaudience.rb +0 -17
- data/resources/schema.org/vocabularies/educationalorganization.rb +0 -17
- data/resources/schema.org/vocabularies/educationevent.rb +0 -17
- data/resources/schema.org/vocabularies/electrician.rb +0 -21
- data/resources/schema.org/vocabularies/electronicsstore.rb +0 -21
- data/resources/schema.org/vocabularies/elementaryschool.rb +0 -19
- data/resources/schema.org/vocabularies/emailmessage.rb +0 -17
- data/resources/schema.org/vocabularies/embassy.rb +0 -19
- data/resources/schema.org/vocabularies/emergencyservice.rb +0 -21
- data/resources/schema.org/vocabularies/employmentagency.rb +0 -21
- data/resources/schema.org/vocabularies/endorseaction.rb +0 -17
- data/resources/schema.org/vocabularies/energy.rb +0 -15
- data/resources/schema.org/vocabularies/entertainmentbusiness.rb +0 -21
- data/resources/schema.org/vocabularies/enumeration.rb +0 -15
- data/resources/schema.org/vocabularies/episode.rb +0 -17
- data/resources/schema.org/vocabularies/event.rb +0 -15
- data/resources/schema.org/vocabularies/eventreservation.rb +0 -17
- data/resources/schema.org/vocabularies/eventvenue.rb +0 -19
- data/resources/schema.org/vocabularies/exerciseaction.rb +0 -19
- data/resources/schema.org/vocabularies/exercisegym.rb +0 -21
- data/resources/schema.org/vocabularies/exerciseplan.rb +0 -23
- data/resources/schema.org/vocabularies/fastfoodrestaurant.rb +0 -23
- data/resources/schema.org/vocabularies/festival.rb +0 -17
- data/resources/schema.org/vocabularies/filmaction.rb +0 -17
- data/resources/schema.org/vocabularies/financialservice.rb +0 -21
- data/resources/schema.org/vocabularies/findaction.rb +0 -17
- data/resources/schema.org/vocabularies/firestation.rb +0 -23
- data/resources/schema.org/vocabularies/flight.rb +0 -15
- data/resources/schema.org/vocabularies/flightreservation.rb +0 -17
- data/resources/schema.org/vocabularies/florist.rb +0 -21
- data/resources/schema.org/vocabularies/followaction.rb +0 -17
- data/resources/schema.org/vocabularies/foodestablishment.rb +0 -21
- data/resources/schema.org/vocabularies/foodestablishmentreservation.rb +0 -17
- data/resources/schema.org/vocabularies/foodevent.rb +0 -17
- data/resources/schema.org/vocabularies/furniturestore.rb +0 -21
- data/resources/schema.org/vocabularies/gardenstore.rb +0 -21
- data/resources/schema.org/vocabularies/gasstation.rb +0 -21
- data/resources/schema.org/vocabularies/gatedresidencecommunity.rb +0 -17
- data/resources/schema.org/vocabularies/generalcontractor.rb +0 -21
- data/resources/schema.org/vocabularies/geocoordinates.rb +0 -15
- data/resources/schema.org/vocabularies/geoshape.rb +0 -15
- data/resources/schema.org/vocabularies/giveaction.rb +0 -19
- data/resources/schema.org/vocabularies/golfcourse.rb +0 -21
- data/resources/schema.org/vocabularies/governmentbuilding.rb +0 -19
- data/resources/schema.org/vocabularies/governmentoffice.rb +0 -21
- data/resources/schema.org/vocabularies/governmentorganization.rb +0 -17
- data/resources/schema.org/vocabularies/governmentpermit.rb +0 -17
- data/resources/schema.org/vocabularies/governmentservice.rb +0 -17
- data/resources/schema.org/vocabularies/grocerystore.rb +0 -21
- data/resources/schema.org/vocabularies/hairsalon.rb +0 -21
- data/resources/schema.org/vocabularies/hardwarestore.rb +0 -21
- data/resources/schema.org/vocabularies/healthandbeautybusiness.rb +0 -21
- data/resources/schema.org/vocabularies/healthclub.rb +0 -21
- data/resources/schema.org/vocabularies/highschool.rb +0 -19
- data/resources/schema.org/vocabularies/hindutemple.rb +0 -19
- data/resources/schema.org/vocabularies/hobbyshop.rb +0 -21
- data/resources/schema.org/vocabularies/homeandconstructionbusiness.rb +0 -21
- data/resources/schema.org/vocabularies/homegoodsstore.rb +0 -21
- data/resources/schema.org/vocabularies/hospital.rb +0 -23
- data/resources/schema.org/vocabularies/hostel.rb +0 -21
- data/resources/schema.org/vocabularies/hotel.rb +0 -21
- data/resources/schema.org/vocabularies/housepainter.rb +0 -21
- data/resources/schema.org/vocabularies/hvacbusiness.rb +0 -21
- data/resources/schema.org/vocabularies/icecreamshop.rb +0 -23
- data/resources/schema.org/vocabularies/ignoreaction.rb +0 -17
- data/resources/schema.org/vocabularies/imagegallery.rb +0 -19
- data/resources/schema.org/vocabularies/imageobject.rb +0 -19
- data/resources/schema.org/vocabularies/imagingtest.rb +0 -19
- data/resources/schema.org/vocabularies/individualproduct.rb +0 -17
- data/resources/schema.org/vocabularies/infectiousdisease.rb +0 -19
- data/resources/schema.org/vocabularies/informaction.rb +0 -19
- data/resources/schema.org/vocabularies/insertaction.rb +0 -19
- data/resources/schema.org/vocabularies/installaction.rb +0 -17
- data/resources/schema.org/vocabularies/insuranceagency.rb +0 -21
- data/resources/schema.org/vocabularies/intangible.rb +0 -15
- data/resources/schema.org/vocabularies/interactaction.rb +0 -17
- data/resources/schema.org/vocabularies/internetcafe.rb +0 -21
- data/resources/schema.org/vocabularies/inviteaction.rb +0 -19
- data/resources/schema.org/vocabularies/itemlist.rb +0 -17
- data/resources/schema.org/vocabularies/itempage.rb +0 -19
- data/resources/schema.org/vocabularies/jewelrystore.rb +0 -21
- data/resources/schema.org/vocabularies/jobposting.rb +0 -15
- data/resources/schema.org/vocabularies/joinaction.rb +0 -17
- data/resources/schema.org/vocabularies/joint.rb +0 -19
- data/resources/schema.org/vocabularies/lakebodyofwater.rb +0 -17
- data/resources/schema.org/vocabularies/landform.rb +0 -17
- data/resources/schema.org/vocabularies/landmarksorhistoricalbuildings.rb +0 -17
- data/resources/schema.org/vocabularies/language.rb +0 -15
- data/resources/schema.org/vocabularies/leaveaction.rb +0 -17
- data/resources/schema.org/vocabularies/legislativebuilding.rb +0 -19
- data/resources/schema.org/vocabularies/lendaction.rb +0 -19
- data/resources/schema.org/vocabularies/library.rb +0 -21
- data/resources/schema.org/vocabularies/lifestylemodification.rb +0 -19
- data/resources/schema.org/vocabularies/ligament.rb +0 -19
- data/resources/schema.org/vocabularies/likeaction.rb +0 -17
- data/resources/schema.org/vocabularies/liquorstore.rb +0 -21
- data/resources/schema.org/vocabularies/listenaction.rb +0 -17
- data/resources/schema.org/vocabularies/literaryevent.rb +0 -17
- data/resources/schema.org/vocabularies/localbusiness.rb +0 -19
- data/resources/schema.org/vocabularies/locksmith.rb +0 -21
- data/resources/schema.org/vocabularies/lodgingbusiness.rb +0 -21
- data/resources/schema.org/vocabularies/lodgingreservation.rb +0 -17
- data/resources/schema.org/vocabularies/loseaction.rb +0 -17
- data/resources/schema.org/vocabularies/lymphaticvessel.rb +0 -19
- data/resources/schema.org/vocabularies/map.rb +0 -17
- data/resources/schema.org/vocabularies/marryaction.rb +0 -17
- data/resources/schema.org/vocabularies/mass.rb +0 -15
- data/resources/schema.org/vocabularies/maximumdoseschedule.rb +0 -19
- data/resources/schema.org/vocabularies/mediaobject.rb +0 -17
- data/resources/schema.org/vocabularies/medicalcause.rb +0 -17
- data/resources/schema.org/vocabularies/medicalclinic.rb +0 -21
- data/resources/schema.org/vocabularies/medicalcode.rb +0 -17
- data/resources/schema.org/vocabularies/medicalcondition.rb +0 -17
- data/resources/schema.org/vocabularies/medicalconditionstage.rb +0 -17
- data/resources/schema.org/vocabularies/medicalcontraindication.rb +0 -17
- data/resources/schema.org/vocabularies/medicaldevice.rb +0 -17
- data/resources/schema.org/vocabularies/medicalentity.rb +0 -15
- data/resources/schema.org/vocabularies/medicalguideline.rb +0 -17
- data/resources/schema.org/vocabularies/medicalguidelinecontraindication.rb +0 -19
- data/resources/schema.org/vocabularies/medicalguidelinerecommendation.rb +0 -19
- data/resources/schema.org/vocabularies/medicalindication.rb +0 -17
- data/resources/schema.org/vocabularies/medicalintangible.rb +0 -17
- data/resources/schema.org/vocabularies/medicalobservationalstudy.rb +0 -19
- data/resources/schema.org/vocabularies/medicalorganization.rb +0 -21
- data/resources/schema.org/vocabularies/medicalprocedure.rb +0 -17
- data/resources/schema.org/vocabularies/medicalriskcalculator.rb +0 -19
- data/resources/schema.org/vocabularies/medicalriskestimator.rb +0 -17
- data/resources/schema.org/vocabularies/medicalriskfactor.rb +0 -17
- data/resources/schema.org/vocabularies/medicalriskscore.rb +0 -19
- data/resources/schema.org/vocabularies/medicalscholarlyarticle.rb +0 -19
- data/resources/schema.org/vocabularies/medicalsign.rb +0 -19
- data/resources/schema.org/vocabularies/medicalsignorsymptom.rb +0 -17
- data/resources/schema.org/vocabularies/medicalstudy.rb +0 -17
- data/resources/schema.org/vocabularies/medicalsymptom.rb +0 -19
- data/resources/schema.org/vocabularies/medicaltest.rb +0 -17
- data/resources/schema.org/vocabularies/medicaltestpanel.rb +0 -19
- data/resources/schema.org/vocabularies/medicaltherapy.rb +0 -17
- data/resources/schema.org/vocabularies/medicaltrial.rb +0 -19
- data/resources/schema.org/vocabularies/medicalwebpage.rb +0 -19
- data/resources/schema.org/vocabularies/mensclothingstore.rb +0 -21
- data/resources/schema.org/vocabularies/middleschool.rb +0 -19
- data/resources/schema.org/vocabularies/mobileapplication.rb +0 -19
- data/resources/schema.org/vocabularies/mobilephonestore.rb +0 -21
- data/resources/schema.org/vocabularies/mosque.rb +0 -19
- data/resources/schema.org/vocabularies/motel.rb +0 -21
- data/resources/schema.org/vocabularies/motorcycledealer.rb +0 -21
- data/resources/schema.org/vocabularies/motorcyclerepair.rb +0 -21
- data/resources/schema.org/vocabularies/mountain.rb +0 -17
- data/resources/schema.org/vocabularies/moveaction.rb +0 -17
- data/resources/schema.org/vocabularies/movie.rb +0 -17
- data/resources/schema.org/vocabularies/movierentalstore.rb +0 -21
- data/resources/schema.org/vocabularies/movietheater.rb +0 -23
- data/resources/schema.org/vocabularies/movingcompany.rb +0 -21
- data/resources/schema.org/vocabularies/muscle.rb +0 -19
- data/resources/schema.org/vocabularies/museum.rb +0 -19
- data/resources/schema.org/vocabularies/musicalbum.rb +0 -19
- data/resources/schema.org/vocabularies/musicevent.rb +0 -17
- data/resources/schema.org/vocabularies/musicgroup.rb +0 -17
- data/resources/schema.org/vocabularies/musicplaylist.rb +0 -17
- data/resources/schema.org/vocabularies/musicrecording.rb +0 -17
- data/resources/schema.org/vocabularies/musicstore.rb +0 -21
- data/resources/schema.org/vocabularies/musicvenue.rb +0 -19
- data/resources/schema.org/vocabularies/musicvideoobject.rb +0 -19
- data/resources/schema.org/vocabularies/nailsalon.rb +0 -21
- data/resources/schema.org/vocabularies/nerve.rb +0 -19
- data/resources/schema.org/vocabularies/newsarticle.rb +0 -19
- data/resources/schema.org/vocabularies/ngo.rb +0 -17
- data/resources/schema.org/vocabularies/nightclub.rb +0 -21
- data/resources/schema.org/vocabularies/notary.rb +0 -21
- data/resources/schema.org/vocabularies/nutritioninformation.rb +0 -15
- data/resources/schema.org/vocabularies/oceanbodyofwater.rb +0 -17
- data/resources/schema.org/vocabularies/offer.rb +0 -15
- data/resources/schema.org/vocabularies/officeequipmentstore.rb +0 -21
- data/resources/schema.org/vocabularies/ondemandevent.rb +0 -19
- data/resources/schema.org/vocabularies/openinghoursspecification.rb +0 -15
- data/resources/schema.org/vocabularies/optician.rb +0 -21
- data/resources/schema.org/vocabularies/order.rb +0 -15
- data/resources/schema.org/vocabularies/orderaction.rb +0 -19
- data/resources/schema.org/vocabularies/organization.rb +0 -15
- data/resources/schema.org/vocabularies/organizeaction.rb +0 -17
- data/resources/schema.org/vocabularies/outletstore.rb +0 -21
- data/resources/schema.org/vocabularies/ownershipinfo.rb +0 -15
- data/resources/schema.org/vocabularies/paintaction.rb +0 -17
- data/resources/schema.org/vocabularies/painting.rb +0 -17
- data/resources/schema.org/vocabularies/palliativeprocedure.rb +0 -21
- data/resources/schema.org/vocabularies/parceldelivery.rb +0 -15
- data/resources/schema.org/vocabularies/parentaudience.rb +0 -19
- data/resources/schema.org/vocabularies/park.rb +0 -19
- data/resources/schema.org/vocabularies/parkingfacility.rb +0 -19
- data/resources/schema.org/vocabularies/pathologytest.rb +0 -19
- data/resources/schema.org/vocabularies/pawnshop.rb +0 -21
- data/resources/schema.org/vocabularies/payaction.rb +0 -19
- data/resources/schema.org/vocabularies/paymentchargespecification.rb +0 -17
- data/resources/schema.org/vocabularies/peopleaudience.rb +0 -17
- data/resources/schema.org/vocabularies/performaction.rb +0 -19
- data/resources/schema.org/vocabularies/performingartstheater.rb +0 -19
- data/resources/schema.org/vocabularies/performinggroup.rb +0 -17
- data/resources/schema.org/vocabularies/periodical.rb +0 -17
- data/resources/schema.org/vocabularies/permit.rb +0 -15
- data/resources/schema.org/vocabularies/person.rb +0 -15
- data/resources/schema.org/vocabularies/petstore.rb +0 -21
- data/resources/schema.org/vocabularies/pharmacy.rb +0 -21
- data/resources/schema.org/vocabularies/photograph.rb +0 -17
- data/resources/schema.org/vocabularies/photographaction.rb +0 -17
- data/resources/schema.org/vocabularies/physicalactivity.rb +0 -19
- data/resources/schema.org/vocabularies/physicaltherapy.rb +0 -19
- data/resources/schema.org/vocabularies/physician.rb +0 -21
- data/resources/schema.org/vocabularies/place.rb +0 -15
- data/resources/schema.org/vocabularies/placeofworship.rb +0 -19
- data/resources/schema.org/vocabularies/planaction.rb +0 -17
- data/resources/schema.org/vocabularies/playaction.rb +0 -17
- data/resources/schema.org/vocabularies/playground.rb +0 -19
- data/resources/schema.org/vocabularies/plumber.rb +0 -21
- data/resources/schema.org/vocabularies/policestation.rb +0 -23
- data/resources/schema.org/vocabularies/pond.rb +0 -17
- data/resources/schema.org/vocabularies/postaladdress.rb +0 -17
- data/resources/schema.org/vocabularies/postoffice.rb +0 -21
- data/resources/schema.org/vocabularies/prependaction.rb +0 -21
- data/resources/schema.org/vocabularies/preschool.rb +0 -19
- data/resources/schema.org/vocabularies/preventionindication.rb +0 -17
- data/resources/schema.org/vocabularies/pricespecification.rb +0 -15
- data/resources/schema.org/vocabularies/product.rb +0 -15
- data/resources/schema.org/vocabularies/productmodel.rb +0 -17
- data/resources/schema.org/vocabularies/professionalservice.rb +0 -21
- data/resources/schema.org/vocabularies/profilepage.rb +0 -19
- data/resources/schema.org/vocabularies/programmembership.rb +0 -15
- data/resources/schema.org/vocabularies/property.rb +0 -15
- data/resources/schema.org/vocabularies/psychologicaltreatment.rb +0 -19
- data/resources/schema.org/vocabularies/publicationevent.rb +0 -17
- data/resources/schema.org/vocabularies/publicationissue.rb +0 -17
- data/resources/schema.org/vocabularies/publicationvolume.rb +0 -17
- data/resources/schema.org/vocabularies/publicswimmingpool.rb +0 -21
- data/resources/schema.org/vocabularies/qapage.rb +0 -19
- data/resources/schema.org/vocabularies/quantitativevalue.rb +0 -15
- data/resources/schema.org/vocabularies/quantity.rb +0 -15
- data/resources/schema.org/vocabularies/question.rb +0 -17
- data/resources/schema.org/vocabularies/quoteaction.rb +0 -19
- data/resources/schema.org/vocabularies/radiationtherapy.rb +0 -19
- data/resources/schema.org/vocabularies/radioclip.rb +0 -19
- data/resources/schema.org/vocabularies/radioepisode.rb +0 -19
- data/resources/schema.org/vocabularies/radioseason.rb +0 -19
- data/resources/schema.org/vocabularies/radioseries.rb +0 -19
- data/resources/schema.org/vocabularies/radiostation.rb +0 -21
- data/resources/schema.org/vocabularies/rating.rb +0 -15
- data/resources/schema.org/vocabularies/reactaction.rb +0 -17
- data/resources/schema.org/vocabularies/readaction.rb +0 -17
- data/resources/schema.org/vocabularies/realestateagent.rb +0 -21
- data/resources/schema.org/vocabularies/receiveaction.rb +0 -19
- data/resources/schema.org/vocabularies/recipe.rb +0 -17
- data/resources/schema.org/vocabularies/recommendeddoseschedule.rb +0 -19
- data/resources/schema.org/vocabularies/recyclingcenter.rb +0 -21
- data/resources/schema.org/vocabularies/registeraction.rb +0 -17
- data/resources/schema.org/vocabularies/rejectaction.rb +0 -19
- data/resources/schema.org/vocabularies/rentaction.rb +0 -19
- data/resources/schema.org/vocabularies/rentalcarreservation.rb +0 -17
- data/resources/schema.org/vocabularies/replaceaction.rb +0 -19
- data/resources/schema.org/vocabularies/replyaction.rb +0 -19
- data/resources/schema.org/vocabularies/reporteddoseschedule.rb +0 -19
- data/resources/schema.org/vocabularies/reservation.rb +0 -15
- data/resources/schema.org/vocabularies/reservationpackage.rb +0 -17
- data/resources/schema.org/vocabularies/reserveaction.rb +0 -19
- data/resources/schema.org/vocabularies/reservoir.rb +0 -17
- data/resources/schema.org/vocabularies/residence.rb +0 -17
- data/resources/schema.org/vocabularies/restaurant.rb +0 -23
- data/resources/schema.org/vocabularies/returnaction.rb +0 -19
- data/resources/schema.org/vocabularies/review.rb +0 -17
- data/resources/schema.org/vocabularies/reviewaction.rb +0 -17
- data/resources/schema.org/vocabularies/riverbodyofwater.rb +0 -17
- data/resources/schema.org/vocabularies/roofingcontractor.rb +0 -21
- data/resources/schema.org/vocabularies/rsvpaction.rb +0 -21
- data/resources/schema.org/vocabularies/rvpark.rb +0 -19
- data/resources/schema.org/vocabularies/saleevent.rb +0 -17
- data/resources/schema.org/vocabularies/scheduleaction.rb +0 -19
- data/resources/schema.org/vocabularies/scholarlyarticle.rb +0 -19
- data/resources/schema.org/vocabularies/school.rb +0 -19
- data/resources/schema.org/vocabularies/sculpture.rb +0 -17
- data/resources/schema.org/vocabularies/seabodyofwater.rb +0 -17
- data/resources/schema.org/vocabularies/searchaction.rb +0 -17
- data/resources/schema.org/vocabularies/searchresultspage.rb +0 -19
- data/resources/schema.org/vocabularies/season.rb +0 -17
- data/resources/schema.org/vocabularies/seat.rb +0 -15
- data/resources/schema.org/vocabularies/selfstorage.rb +0 -21
- data/resources/schema.org/vocabularies/sellaction.rb +0 -19
- data/resources/schema.org/vocabularies/sendaction.rb +0 -19
- data/resources/schema.org/vocabularies/series.rb +0 -17
- data/resources/schema.org/vocabularies/service.rb +0 -15
- data/resources/schema.org/vocabularies/servicechannel.rb +0 -15
- data/resources/schema.org/vocabularies/shareaction.rb +0 -19
- data/resources/schema.org/vocabularies/shoestore.rb +0 -21
- data/resources/schema.org/vocabularies/shoppingcenter.rb +0 -21
- data/resources/schema.org/vocabularies/singlefamilyresidence.rb +0 -17
- data/resources/schema.org/vocabularies/sitenavigationelement.rb +0 -17
- data/resources/schema.org/vocabularies/skiresort.rb +0 -21
- data/resources/schema.org/vocabularies/socialevent.rb +0 -17
- data/resources/schema.org/vocabularies/softwareapplication.rb +0 -17
- data/resources/schema.org/vocabularies/someproducts.rb +0 -17
- data/resources/schema.org/vocabularies/sportinggoodsstore.rb +0 -21
- data/resources/schema.org/vocabularies/sportsactivitylocation.rb +0 -21
- data/resources/schema.org/vocabularies/sportsclub.rb +0 -21
- data/resources/schema.org/vocabularies/sportsevent.rb +0 -17
- data/resources/schema.org/vocabularies/sportsteam.rb +0 -17
- data/resources/schema.org/vocabularies/stadiumorarena.rb +0 -23
- data/resources/schema.org/vocabularies/state.rb +0 -17
- data/resources/schema.org/vocabularies/store.rb +0 -21
- data/resources/schema.org/vocabularies/structuredvalue.rb +0 -15
- data/resources/schema.org/vocabularies/subscribeaction.rb +0 -17
- data/resources/schema.org/vocabularies/subwaystation.rb +0 -19
- data/resources/schema.org/vocabularies/superficialanatomy.rb +0 -17
- data/resources/schema.org/vocabularies/synagogue.rb +0 -19
- data/resources/schema.org/vocabularies/table.rb +0 -17
- data/resources/schema.org/vocabularies/takeaction.rb +0 -19
- data/resources/schema.org/vocabularies/tattooparlor.rb +0 -21
- data/resources/schema.org/vocabularies/taxi.rb +0 -17
- data/resources/schema.org/vocabularies/taxireservation.rb +0 -17
- data/resources/schema.org/vocabularies/taxistand.rb +0 -19
- data/resources/schema.org/vocabularies/techarticle.rb +0 -19
- data/resources/schema.org/vocabularies/televisionstation.rb +0 -21
- data/resources/schema.org/vocabularies/tenniscomplex.rb +0 -21
- data/resources/schema.org/vocabularies/theaterevent.rb +0 -17
- data/resources/schema.org/vocabularies/theatergroup.rb +0 -17
- data/resources/schema.org/vocabularies/therapeuticprocedure.rb +0 -21
- data/resources/schema.org/vocabularies/thing.rb +0 -52
- data/resources/schema.org/vocabularies/ticket.rb +0 -15
- data/resources/schema.org/vocabularies/tieaction.rb +0 -17
- data/resources/schema.org/vocabularies/tipaction.rb +0 -19
- data/resources/schema.org/vocabularies/tireshop.rb +0 -21
- data/resources/schema.org/vocabularies/touristattraction.rb +0 -17
- data/resources/schema.org/vocabularies/touristinformationcenter.rb +0 -21
- data/resources/schema.org/vocabularies/toystore.rb +0 -21
- data/resources/schema.org/vocabularies/trackaction.rb +0 -17
- data/resources/schema.org/vocabularies/tradeaction.rb +0 -17
- data/resources/schema.org/vocabularies/trainreservation.rb +0 -17
- data/resources/schema.org/vocabularies/trainstation.rb +0 -19
- data/resources/schema.org/vocabularies/traintrip.rb +0 -15
- data/resources/schema.org/vocabularies/transferaction.rb +0 -17
- data/resources/schema.org/vocabularies/travelaction.rb +0 -19
- data/resources/schema.org/vocabularies/travelagency.rb +0 -21
- data/resources/schema.org/vocabularies/treatmentindication.rb +0 -17
- data/resources/schema.org/vocabularies/tvclip.rb +0 -19
- data/resources/schema.org/vocabularies/tvepisode.rb +0 -19
- data/resources/schema.org/vocabularies/tvseason.rb +0 -19
- data/resources/schema.org/vocabularies/tvseries.rb +0 -19
- data/resources/schema.org/vocabularies/typeandquantitynode.rb +0 -15
- data/resources/schema.org/vocabularies/unitpricespecification.rb +0 -17
- data/resources/schema.org/vocabularies/unregisteraction.rb +0 -17
- data/resources/schema.org/vocabularies/updateaction.rb +0 -17
- data/resources/schema.org/vocabularies/useaction.rb +0 -17
- data/resources/schema.org/vocabularies/userblocks.rb +0 -17
- data/resources/schema.org/vocabularies/usercheckins.rb +0 -17
- data/resources/schema.org/vocabularies/usercomments.rb +0 -17
- data/resources/schema.org/vocabularies/userdownloads.rb +0 -17
- data/resources/schema.org/vocabularies/userinteraction.rb +0 -17
- data/resources/schema.org/vocabularies/userlikes.rb +0 -17
- data/resources/schema.org/vocabularies/userpagevisits.rb +0 -17
- data/resources/schema.org/vocabularies/userplays.rb +0 -17
- data/resources/schema.org/vocabularies/userplusones.rb +0 -17
- data/resources/schema.org/vocabularies/usertweets.rb +0 -17
- data/resources/schema.org/vocabularies/vehicle.rb +0 -17
- data/resources/schema.org/vocabularies/vein.rb +0 -19
- data/resources/schema.org/vocabularies/vessel.rb +0 -19
- data/resources/schema.org/vocabularies/veterinarycare.rb +0 -21
- data/resources/schema.org/vocabularies/videogallery.rb +0 -19
- data/resources/schema.org/vocabularies/videoobject.rb +0 -19
- data/resources/schema.org/vocabularies/viewaction.rb +0 -17
- data/resources/schema.org/vocabularies/visualartsevent.rb +0 -17
- data/resources/schema.org/vocabularies/volcano.rb +0 -17
- data/resources/schema.org/vocabularies/voteaction.rb +0 -19
- data/resources/schema.org/vocabularies/wantaction.rb +0 -17
- data/resources/schema.org/vocabularies/warrantypromise.rb +0 -15
- data/resources/schema.org/vocabularies/watchaction.rb +0 -17
- data/resources/schema.org/vocabularies/waterfall.rb +0 -17
- data/resources/schema.org/vocabularies/wearaction.rb +0 -17
- data/resources/schema.org/vocabularies/webapplication.rb +0 -19
- data/resources/schema.org/vocabularies/webpage.rb +0 -17
- data/resources/schema.org/vocabularies/webpageelement.rb +0 -17
- data/resources/schema.org/vocabularies/wholesalestore.rb +0 -21
- data/resources/schema.org/vocabularies/winaction.rb +0 -17
- data/resources/schema.org/vocabularies/winery.rb +0 -23
- data/resources/schema.org/vocabularies/wpadblock.rb +0 -17
- data/resources/schema.org/vocabularies/wpfooter.rb +0 -17
- data/resources/schema.org/vocabularies/wpheader.rb +0 -17
- data/resources/schema.org/vocabularies/wpsidebar.rb +0 -17
- data/resources/schema.org/vocabularies/writeaction.rb +0 -17
- data/resources/schema.org/vocabularies/zoo.rb +0 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 440aa014255fc803a4401822f746142d599da98c
|
4
|
+
data.tar.gz: 7d855675f6dc4b1a1e62e350eaec9c206eb2961b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c09e98d8eee4833033846b6e36ad3478a953c0007ccfc299973bcd615cd189150c45091e0999f93db617c5e8b1e589ad03e760eab3a2a6e808e6b3d1ed4235d
|
7
|
+
data.tar.gz: 0c26773b4d7bd993df66f8dca8f7dd9da92a64503a212ec940ff67fb9e8a92176414892026f207cdc57980b364cbb0c3287376ecb16446fc6c107dcf08746ff2
|
data/.rspec
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -5,5 +5,12 @@ Vocabularies for gem Mida and gem green_monkey
|
|
5
5
|
|
6
6
|
Main goal - make lightweight vocabulary set, that not requires nokogiri
|
7
7
|
|
8
|
+
## Refresh data
|
9
|
+
|
10
|
+
* Make new `vocabularies.json` using schema.org_scraper
|
11
|
+
* put it in `resources/schema.org`
|
12
|
+
* run `ruby generate.rb`
|
13
|
+
* copy `resources/schema.org/vocabularies/*` => `lib/mida_vocabulary/vocabularies/schemaorg`
|
14
|
+
|
8
15
|
## Licence
|
9
16
|
This software is licensed under the MIT Licence.
|
data/lib/mida_vocabulary.rb
CHANGED
@@ -1,116 +1,7 @@
|
|
1
|
+
start_time = Time.now
|
1
2
|
$LOAD_PATH.unshift File.dirname(__FILE__)
|
2
3
|
|
3
4
|
# Mida is a Microdata parser and extractor.
|
4
|
-
module Mida
|
5
|
-
module SchemaOrg
|
6
|
-
end
|
7
|
-
module DataVocabulary
|
8
|
-
end
|
9
|
-
end
|
10
|
-
|
11
|
-
require 'mida_vocabulary/vocabulary'
|
12
|
-
|
13
|
-
[
|
14
|
-
'Product', 'OfferAggregate', 'Address', 'Breadcrumb', 'Event', 'Geo', 'Item', 'Offer', 'Organization',
|
15
|
-
'Person', 'Product', 'Recipe', 'Review'
|
16
|
-
].each {|class_name|
|
17
|
-
Mida::DataVocabulary.const_set(class_name.to_sym, Class.new(Mida::Vocabulary))
|
18
|
-
}
|
19
|
-
|
20
|
-
[
|
21
|
-
"APIReference", "AboutPage", "AcceptAction", "AccountingService", "AchieveAction", "Action",
|
22
|
-
"AddAction", "AdministrativeArea", "AdultEntertainment", "AggregateOffer", "AggregateRating",
|
23
|
-
"AgreeAction", "Airline", "Airport", "AlignmentObject", "AllocateAction", "AmusementPark",
|
24
|
-
"AnatomicalStructure", "AnatomicalSystem", "AnimalShelter", "Answer", "ApartmentComplex",
|
25
|
-
"AppendAction", "ApplyAction", "ApprovedIndication", "Aquarium", "ArriveAction", "ArtGallery",
|
26
|
-
"Artery", "Article", "AskAction", "AssessAction", "AssignAction", "Attorney", "Audience",
|
27
|
-
"AudioObject", "AuthorizeAction", "AutoBodyShop", "AutoDealer", "AutoPartsStore", "AutoRental",
|
28
|
-
"AutoRepair", "AutoWash", "AutomatedTeller", "AutomotiveBusiness", "Bakery", "BankOrCreditUnion",
|
29
|
-
"BarOrPub", "Beach", "BeautySalon", "BedAndBreakfast", "BefriendAction", "BikeStore", "BlogPosting",
|
30
|
-
"BloodTest", "BodyOfWater", "Bone", "Book", "BookFormatType", "BookStore", "BookmarkAction", "BorrowAction",
|
31
|
-
"BowlingAlley", "BrainStructure", "Brand", "Brewery", "BroadcastEvent", "BroadcastService", "BuddhistTemple",
|
32
|
-
"BusReservation", "BusStation", "BusStop", "BusTrip", "BusinessAudience", "BusinessEntityType", "BusinessEvent",
|
33
|
-
"BusinessFunction", "BuyAction", "CafeOrCoffeeShop", "Campground", "Canal", "CancelAction", "Car", "Casino",
|
34
|
-
"CatholicChurch", "Cemetery", "CheckAction", "CheckInAction", "CheckOutAction", "CheckoutPage", "ChildCare",
|
35
|
-
"ChildrensEvent", "ChooseAction", "Church", "City", "CityHall", "CivicStructure", "Class", "Clip", "ClothingStore",
|
36
|
-
"Code", "CollectionPage", "CollegeOrUniversity", "ComedyClub", "ComedyEvent", "Comment", "CommentAction",
|
37
|
-
"CommunicateAction", "ComputerStore", "ConfirmAction", "ConsumeAction", "ContactPage", "ContactPoint", "ContactPointOption",
|
38
|
-
"Continent", "ConvenienceStore", "CookAction", "Corporation", "Country", "Courthouse", "CreateAction", "CreativeWork",
|
39
|
-
"CreditCard", "Crematorium", "DDxElement", "DanceEvent", "DanceGroup", "DataCatalog", "DataDownload", "Dataset", "DayOfWeek",
|
40
|
-
"DaySpa", "DefenceEstablishment", "DeleteAction", "DeliveryChargeSpecification", "DeliveryEvent", "DeliveryMethod", "Demand",
|
41
|
-
"Dentist", "DepartAction", "DepartmentStore", "DiagnosticLab", "DiagnosticProcedure", "Diet", "DietarySupplement",
|
42
|
-
"DisagreeAction", "DiscoverAction", "DislikeAction", "Distance", "DonateAction", "DoseSchedule", "DownloadAction",
|
43
|
-
"DrawAction", "DrinkAction", "Drug", "DrugClass", "DrugCost", "DrugCostCategory", "DrugLegalStatus",
|
44
|
-
"DrugPregnancyCategory", "DrugPrescriptionStatus", "DrugStrength", "DryCleaningOrLaundry", "Duration", "EatAction",
|
45
|
-
"EducationEvent", "EducationalAudience", "EducationalOrganization", "Electrician", "ElectronicsStore", "ElementarySchool",
|
46
|
-
"EmailMessage", "Embassy", "EmergencyService", "EmploymentAgency", "EndorseAction", "Energy", "EntertainmentBusiness",
|
47
|
-
"Enumeration", "Episode", "Event", "EventReservation", "EventStatusType", "EventVenue", "ExerciseAction",
|
48
|
-
"ExerciseGym", "ExercisePlan", "FastFoodRestaurant", "Festival", "FilmAction", "FinancialService", "FindAction",
|
49
|
-
"FireStation", "Flight", "FlightReservation", "Florist", "FollowAction", "FoodEstablishment",
|
50
|
-
"FoodEstablishmentReservation", "FoodEvent", "FurnitureStore", "GardenStore", "GasStation", "GatedResidenceCommunity",
|
51
|
-
"GeneralContractor", "GeoCoordinates", "GeoShape", "GiveAction", "GolfCourse", "GovernmentBuilding",
|
52
|
-
"GovernmentOffice", "GovernmentOrganization", "GovernmentPermit", "GovernmentService", "GroceryStore",
|
53
|
-
"HVACBusiness", "HairSalon", "HardwareStore", "HealthAndBeautyBusiness", "HealthClub", "HighSchool", "HinduTemple",
|
54
|
-
"HobbyShop", "HomeAndConstructionBusiness", "HomeGoodsStore", "Hospital", "Hostel", "Hotel", "HousePainter",
|
55
|
-
"IceCreamShop", "IgnoreAction", "ImageGallery", "ImageObject", "ImagingTest", "IndividualProduct", "InfectiousAgentClass",
|
56
|
-
"InfectiousDisease", "InformAction", "InsertAction", "InstallAction", "InsuranceAgency", "Intangible",
|
57
|
-
"InteractAction", "InternetCafe", "InviteAction", "ItemAvailability", "ItemList", "ItemPage",
|
58
|
-
"JewelryStore", "JobPosting", "JoinAction", "Joint", "LakeBodyOfWater", "Landform",
|
59
|
-
"LandmarksOrHistoricalBuildings", "Language", "LeaveAction", "LegislativeBuilding",
|
60
|
-
"LendAction", "Library", "LifestyleModification", "Ligament", "LikeAction", "LiquorStore",
|
61
|
-
"ListenAction", "LiteraryEvent", "LocalBusiness", "LockerDelivery", "Locksmith", "LodgingBusiness",
|
62
|
-
"LodgingReservation", "LoseAction", "LymphaticVessel", "Map", "MarryAction", "Mass",
|
63
|
-
"MaximumDoseSchedule", "MediaObject", "MedicalAudience", "MedicalCause", "MedicalClinic",
|
64
|
-
"MedicalCode", "MedicalCondition", "MedicalConditionStage", "MedicalContraindication",
|
65
|
-
"MedicalDevice", "MedicalDevicePurpose", "MedicalEntity", "MedicalEnumeration",
|
66
|
-
"MedicalEvidenceLevel", "MedicalGuideline", "MedicalGuidelineContraindication", "MedicalGuidelineRecommendation",
|
67
|
-
"MedicalImagingTechnique", "MedicalIndication", "MedicalIntangible", "MedicalObservationalStudy",
|
68
|
-
"MedicalObservationalStudyDesign", "MedicalOrganization", "MedicalProcedure", "MedicalProcedureType",
|
69
|
-
"MedicalRiskCalculator", "MedicalRiskEstimator", "MedicalRiskFactor", "MedicalRiskScore", "MedicalScholarlyArticle",
|
70
|
-
"MedicalSign", "MedicalSignOrSymptom", "MedicalSpecialty", "MedicalStudy", "MedicalStudyStatus", "MedicalSymptom",
|
71
|
-
"MedicalTest", "MedicalTestPanel", "MedicalTherapy", "MedicalTrial", "MedicalTrialDesign", "MedicalWebPage",
|
72
|
-
"MedicineSystem", "MensClothingStore", "MiddleSchool", "MobileApplication", "MobilePhoneStore", "Mosque",
|
73
|
-
"Motel", "MotorcycleDealer", "MotorcycleRepair", "Mountain", "MoveAction", "Movie", "MovieRentalStore",
|
74
|
-
"MovieTheater", "MovingCompany", "Muscle", "Museum", "MusicAlbum", "MusicEvent", "MusicGroup",
|
75
|
-
"MusicPlaylist", "MusicRecording", "MusicStore", "MusicVenue", "MusicVideoObject", "NGO", "NailSalon",
|
76
|
-
"Nerve", "NewsArticle", "NightClub", "Notary", "NutritionInformation", "OceanBodyOfWater", "Offer",
|
77
|
-
"OfferItemCondition", "OfficeEquipmentStore", "OnDemandEvent", "OnSitePickup", "OpeningHoursSpecification",
|
78
|
-
"Optician", "Order", "OrderAction", "OrderStatus", "Organization", "OrganizeAction", "OutletStore",
|
79
|
-
"OwnershipInfo", "PaintAction", "Painting", "PalliativeProcedure", "ParcelDelivery", "ParcelService",
|
80
|
-
"ParentAudience", "Park", "ParkingFacility", "PathologyTest", "PawnShop", "PayAction", "PaymentChargeSpecification",
|
81
|
-
"PaymentMethod", "PeopleAudience", "PerformAction", "PerformingArtsTheater", "PerformingGroup", "Periodical",
|
82
|
-
"Permit", "Person", "PetStore", "Pharmacy", "Photograph", "PhotographAction", "PhysicalActivity",
|
83
|
-
"PhysicalActivityCategory", "PhysicalExam", "PhysicalTherapy", "Physician", "Place", "PlaceOfWorship",
|
84
|
-
"PlanAction", "PlayAction", "Playground", "Plumber", "PoliceStation", "Pond", "PostOffice", "PostalAddress",
|
85
|
-
"PrependAction", "Preschool", "PreventionIndication", "PriceSpecification", "Product", "ProductModel",
|
86
|
-
"ProfessionalService", "ProfilePage", "ProgramMembership", "Property", "PsychologicalTreatment",
|
87
|
-
"PublicSwimmingPool", "PublicationEvent", "PublicationIssue", "PublicationVolume", "QAPage", "QualitativeValue",
|
88
|
-
"QuantitativeValue", "Quantity", "Question", "QuoteAction", "RVPark", "RadiationTherapy", "RadioClip",
|
89
|
-
"RadioEpisode", "RadioSeason", "RadioSeries", "RadioStation", "Rating", "ReactAction", "ReadAction",
|
90
|
-
"RealEstateAgent", "ReceiveAction", "Recipe", "RecommendedDoseSchedule", "RecyclingCenter", "RegisterAction",
|
91
|
-
"RejectAction", "RentAction", "RentalCarReservation", "ReplaceAction", "ReplyAction", "ReportedDoseSchedule",
|
92
|
-
"Reservation", "ReservationPackage", "ReservationStatusType", "ReserveAction", "Reservoir", "Residence",
|
93
|
-
"Restaurant", "ReturnAction", "Review", "ReviewAction", "RiverBodyOfWater", "RoofingContractor", "RsvpAction",
|
94
|
-
"SaleEvent", "ScheduleAction", "ScholarlyArticle", "School", "Sculpture", "SeaBodyOfWater", "SearchAction",
|
95
|
-
"SearchResultsPage", "Season", "Seat", "SelfStorage", "SellAction", "SendAction", "Series", "Service",
|
96
|
-
"ServiceChannel", "ShareAction", "ShoeStore", "ShoppingCenter", "SingleFamilyResidence", "SiteNavigationElement",
|
97
|
-
"SkiResort", "SocialEvent", "SoftwareApplication", "SomeProducts", "Specialty", "SportingGoodsStore",
|
98
|
-
"SportsActivityLocation", "SportsClub", "SportsEvent", "SportsTeam", "StadiumOrArena", "State", "Store",
|
99
|
-
"StructuredValue", "SubscribeAction", "SubwayStation", "SuperficialAnatomy", "Synagogue", "TVClip", "TVEpisode",
|
100
|
-
"TVSeason", "TVSeries", "Table", "TakeAction", "TattooParlor", "Taxi", "TaxiReservation", "TaxiStand", "TechArticle",
|
101
|
-
"TelevisionStation", "TennisComplex", "TheaterEvent", "TheaterGroup", "TherapeuticProcedure", "Thing", "Ticket",
|
102
|
-
"TieAction", "TipAction", "TireShop", "TouristAttraction", "TouristInformationCenter", "ToyStore", "TrackAction",
|
103
|
-
"TradeAction", "TrainReservation", "TrainStation", "TrainTrip", "TransferAction", "TravelAction", "TravelAgency",
|
104
|
-
"TreatmentIndication", "TypeAndQuantityNode", "UnRegisterAction", "UnitPriceSpecification", "UpdateAction",
|
105
|
-
"UseAction", "UserBlocks", "UserCheckins", "UserComments", "UserDownloads", "UserInteraction", "UserLikes",
|
106
|
-
"UserPageVisits", "UserPlays", "UserPlusOnes", "UserTweets", "Vehicle", "Vein", "Vessel", "VeterinaryCare",
|
107
|
-
"VideoGallery", "VideoObject", "ViewAction", "VisualArtsEvent", "Volcano", "VoteAction", "WPAdBlock", "WPFooter",
|
108
|
-
"WPHeader", "WPSideBar", "WantAction", "WarrantyPromise", "WarrantyScope", "WatchAction", "Waterfall", "WearAction",
|
109
|
-
"WebApplication", "WebPage", "WebPageElement", "WholesaleStore", "WinAction", "Winery", "WriteAction", "Zoo"
|
110
|
-
].each {|class_name|
|
111
|
-
Mida::SchemaOrg.const_set(class_name.to_sym, Class.new(Mida::Vocabulary))
|
112
|
-
}
|
113
|
-
|
114
5
|
|
115
6
|
|
116
7
|
Dir[File.dirname(__FILE__) + '/mida_vocabulary/*.rb'].each { |f| require f }
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'mida_vocabulary/datatype/generic'
|
2
|
+
require 'date'
|
3
|
+
|
4
|
+
module Mida
|
5
|
+
module DataType
|
6
|
+
|
7
|
+
# ISO 8601 Date data type
|
8
|
+
# Provides access to DateTime methods
|
9
|
+
class Time < Generic
|
10
|
+
|
11
|
+
# Raises +ArgumentError+ if value not valid
|
12
|
+
def initialize(value)
|
13
|
+
@parsedValue = ::DateTime.parse(value)
|
14
|
+
rescue => e
|
15
|
+
raise ArgumentError, e
|
16
|
+
end
|
17
|
+
|
18
|
+
def to_s
|
19
|
+
@parsedValue.strftime("%I:%M%P")
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
25
|
+
end
|
@@ -1 +1,18 @@
|
|
1
|
-
|
1
|
+
module Mida
|
2
|
+
module DataVocabulary
|
3
|
+
def self.const_missing(name)
|
4
|
+
filename = File.dirname(__FILE__) + "/data_vocabulary/#{name.to_s.downcase}.rb"
|
5
|
+
|
6
|
+
require filename
|
7
|
+
load filename unless self.const_defined?(name, false)
|
8
|
+
|
9
|
+
const_get(name, false) if const_defined?(name, false)
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.forget_all!
|
13
|
+
constants.each do |name|
|
14
|
+
remove_const(name)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
data/lib/mida_vocabulary/vocabularies/data_vocabulary/{offer_aggregate.rb → offeraggregate.rb}
RENAMED
File without changes
|
@@ -1 +1,18 @@
|
|
1
|
-
|
1
|
+
module Mida
|
2
|
+
module SchemaOrg
|
3
|
+
def self.const_missing(name)
|
4
|
+
filename = File.dirname(__FILE__) + "/schemaorg/#{name.to_s.downcase}.rb"
|
5
|
+
|
6
|
+
require filename
|
7
|
+
load filename unless self.const_defined?(name, false)
|
8
|
+
|
9
|
+
self.const_get(name, false) if self.const_defined?(name, false)
|
10
|
+
end
|
11
|
+
|
12
|
+
def self.forget_all!
|
13
|
+
constants.each do |name|
|
14
|
+
remove_const(name)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -4,11 +4,76 @@ module Mida
|
|
4
4
|
module SchemaOrg
|
5
5
|
|
6
6
|
autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
|
7
|
+
autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
|
8
|
+
autoload :Person, 'mida_vocabulary/vocabularies/schemaorg/person'
|
9
|
+
autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place'
|
10
|
+
autoload :PostalAddress, 'mida_vocabulary/vocabularies/schemaorg/postaladdress'
|
7
11
|
|
8
12
|
# An action performed by a direct agent and indirect participants upon a direct object. Optionally happens at a location with the help of an inanimate instrument. The execution of the action may produce a result. Specific action sub-type documentation specifies the exact expectation of each argument/role.
|
9
13
|
class Action < Mida::Vocabulary
|
10
14
|
itemtype %r{http://schema.org/Action}i
|
11
15
|
include_vocabulary Mida::SchemaOrg::Thing
|
16
|
+
|
17
|
+
# Indicates the current disposition of the Action.
|
18
|
+
has_many 'actionStatus' do
|
19
|
+
end
|
20
|
+
|
21
|
+
# The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.
|
22
|
+
has_many 'agent' do
|
23
|
+
extract Mida::SchemaOrg::Organization
|
24
|
+
extract Mida::SchemaOrg::Person
|
25
|
+
extract Mida::DataType::Text
|
26
|
+
end
|
27
|
+
|
28
|
+
# The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. e.g. John wrote a book from January to *December*.
|
29
|
+
#Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.
|
30
|
+
|
31
|
+
has_many 'endTime' do
|
32
|
+
extract Mida::DataType::ISO8601Date
|
33
|
+
end
|
34
|
+
|
35
|
+
# The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.
|
36
|
+
has_many 'instrument' do
|
37
|
+
extract Mida::SchemaOrg::Thing
|
38
|
+
extract Mida::DataType::Text
|
39
|
+
end
|
40
|
+
|
41
|
+
# The location of the event, organization or action.
|
42
|
+
has_many 'location' do
|
43
|
+
extract Mida::SchemaOrg::Place
|
44
|
+
extract Mida::SchemaOrg::PostalAddress
|
45
|
+
extract Mida::DataType::Text
|
46
|
+
end
|
47
|
+
|
48
|
+
# The object upon the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.
|
49
|
+
has_many 'object' do
|
50
|
+
extract Mida::SchemaOrg::Thing
|
51
|
+
extract Mida::DataType::Text
|
52
|
+
end
|
53
|
+
|
54
|
+
# Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.
|
55
|
+
has_many 'participant' do
|
56
|
+
extract Mida::SchemaOrg::Organization
|
57
|
+
extract Mida::SchemaOrg::Person
|
58
|
+
extract Mida::DataType::Text
|
59
|
+
end
|
60
|
+
|
61
|
+
# The result produced in the action. e.g. John wrote *a book*.
|
62
|
+
has_many 'result' do
|
63
|
+
extract Mida::SchemaOrg::Thing
|
64
|
+
extract Mida::DataType::Text
|
65
|
+
end
|
66
|
+
|
67
|
+
# The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. e.g. John wrote a book from *January* to December.
|
68
|
+
# Note that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.
|
69
|
+
|
70
|
+
has_many 'startTime' do
|
71
|
+
extract Mida::DataType::ISO8601Date
|
72
|
+
end
|
73
|
+
|
74
|
+
# Indicates a target EntryPoint for an Action.
|
75
|
+
has_many 'target' do
|
76
|
+
end
|
12
77
|
end
|
13
78
|
|
14
79
|
end
|
@@ -11,6 +11,23 @@ module Mida
|
|
11
11
|
itemtype %r{http://schema.org/AggregateOffer}i
|
12
12
|
include_vocabulary Mida::SchemaOrg::Offer
|
13
13
|
include_vocabulary Mida::SchemaOrg::Thing
|
14
|
+
|
15
|
+
# The highest price of all offers available.
|
16
|
+
has_many 'highPrice' do
|
17
|
+
extract Mida::DataType::Number
|
18
|
+
extract Mida::DataType::Text
|
19
|
+
end
|
20
|
+
|
21
|
+
# The lowest price of all offers available.
|
22
|
+
has_many 'lowPrice' do
|
23
|
+
extract Mida::DataType::Number
|
24
|
+
extract Mida::DataType::Text
|
25
|
+
end
|
26
|
+
|
27
|
+
# The number of offers for the product.
|
28
|
+
has_many 'offerCount' do
|
29
|
+
extract Mida::DataType::Integer
|
30
|
+
end
|
14
31
|
end
|
15
32
|
|
16
33
|
end
|
@@ -11,6 +11,22 @@ module Mida
|
|
11
11
|
itemtype %r{http://schema.org/AggregateRating}i
|
12
12
|
include_vocabulary Mida::SchemaOrg::Rating
|
13
13
|
include_vocabulary Mida::SchemaOrg::Thing
|
14
|
+
|
15
|
+
# The item that is being reviewed/rated.
|
16
|
+
has_many 'itemReviewed' do
|
17
|
+
extract Mida::SchemaOrg::Thing
|
18
|
+
extract Mida::DataType::Text
|
19
|
+
end
|
20
|
+
|
21
|
+
# The count of total number of ratings.
|
22
|
+
has_many 'ratingCount' do
|
23
|
+
extract Mida::DataType::Number
|
24
|
+
end
|
25
|
+
|
26
|
+
# The count of total number of reviews.
|
27
|
+
has_many 'reviewCount' do
|
28
|
+
extract Mida::DataType::Number
|
29
|
+
end
|
14
30
|
end
|
15
31
|
|
16
32
|
end
|
@@ -13,6 +13,12 @@ module Mida
|
|
13
13
|
include_vocabulary Mida::SchemaOrg::CivicStructure
|
14
14
|
include_vocabulary Mida::SchemaOrg::Place
|
15
15
|
include_vocabulary Mida::SchemaOrg::Thing
|
16
|
+
|
17
|
+
# IATA identifier for an airline or airport
|
18
|
+
has_many 'iataCode'
|
19
|
+
|
20
|
+
# IACO identifier for an airport.
|
21
|
+
has_many 'icaoCode'
|
16
22
|
end
|
17
23
|
|
18
24
|
end
|
@@ -9,6 +9,23 @@ module Mida
|
|
9
9
|
class AlignmentObject < Mida::Vocabulary
|
10
10
|
itemtype %r{http://schema.org/AlignmentObject}i
|
11
11
|
include_vocabulary Mida::SchemaOrg::Thing
|
12
|
+
|
13
|
+
# A category of alignment between the learning resource and the framework node. Recommended values include: 'assesses', 'teaches', 'requires', 'textComplexity', 'readingLevel', 'educationalSubject', and 'educationLevel'.
|
14
|
+
has_many 'alignmentType'
|
15
|
+
|
16
|
+
# The framework to which the resource being described is aligned.
|
17
|
+
has_many 'educationalFramework'
|
18
|
+
|
19
|
+
# The description of a node in an established educational framework.
|
20
|
+
has_many 'targetDescription'
|
21
|
+
|
22
|
+
# The name of a node in an established educational framework.
|
23
|
+
has_many 'targetName'
|
24
|
+
|
25
|
+
# The URL of a node in an established educational framework.
|
26
|
+
has_many 'targetUrl' do
|
27
|
+
extract Mida::DataType::URL
|
28
|
+
end
|
12
29
|
end
|
13
30
|
|
14
31
|
end
|
@@ -5,12 +5,20 @@ module Mida
|
|
5
5
|
|
6
6
|
autoload :Action, 'mida_vocabulary/vocabularies/schemaorg/action'
|
7
7
|
autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
|
8
|
+
autoload :MedicalDevicePurpose, 'mida_vocabulary/vocabularies/schemaorg/medicaldevicepurpose'
|
8
9
|
|
9
10
|
# The act of organizing tasks/objects/events by associating resources to it.
|
10
11
|
class AllocateAction < Mida::Vocabulary
|
11
12
|
itemtype %r{http://schema.org/AllocateAction}i
|
12
13
|
include_vocabulary Mida::SchemaOrg::Action
|
13
14
|
include_vocabulary Mida::SchemaOrg::Thing
|
15
|
+
|
16
|
+
# A goal towards an action is taken. Can be concrete or abstract.
|
17
|
+
has_many 'purpose' do
|
18
|
+
extract Mida::SchemaOrg::MedicalDevicePurpose
|
19
|
+
extract Mida::SchemaOrg::Thing
|
20
|
+
extract Mida::DataType::Text
|
21
|
+
end
|
14
22
|
end
|
15
23
|
|
16
24
|
end
|
@@ -5,12 +5,62 @@ module Mida
|
|
5
5
|
|
6
6
|
autoload :MedicalEntity, 'mida_vocabulary/vocabularies/schemaorg/medicalentity'
|
7
7
|
autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
|
8
|
+
autoload :AnatomicalStructure, 'mida_vocabulary/vocabularies/schemaorg/anatomicalstructure'
|
9
|
+
autoload :ImageObject, 'mida_vocabulary/vocabularies/schemaorg/imageobject'
|
10
|
+
autoload :AnatomicalSystem, 'mida_vocabulary/vocabularies/schemaorg/anatomicalsystem'
|
11
|
+
autoload :MedicalCondition, 'mida_vocabulary/vocabularies/schemaorg/medicalcondition'
|
12
|
+
autoload :MedicalTherapy, 'mida_vocabulary/vocabularies/schemaorg/medicaltherapy'
|
8
13
|
|
9
14
|
# Any part of the human body, typically a component of an anatomical system. Organs, tissues, and cells are all anatomical structures.
|
10
15
|
class AnatomicalStructure < Mida::Vocabulary
|
11
16
|
itemtype %r{http://schema.org/AnatomicalStructure}i
|
12
17
|
include_vocabulary Mida::SchemaOrg::MedicalEntity
|
13
18
|
include_vocabulary Mida::SchemaOrg::Thing
|
19
|
+
|
20
|
+
# If applicable, a description of the pathophysiology associated with the anatomical system, including potential abnormal changes in the mechanical, physical, and biochemical functions of the system.
|
21
|
+
has_many 'associatedPathophysiology'
|
22
|
+
|
23
|
+
# Location in the body of the anatomical structure.
|
24
|
+
has_many 'bodyLocation'
|
25
|
+
|
26
|
+
# Other anatomical structures to which this structure is connected.
|
27
|
+
has_many 'connectedTo' do
|
28
|
+
extract Mida::SchemaOrg::AnatomicalStructure
|
29
|
+
extract Mida::DataType::Text
|
30
|
+
end
|
31
|
+
|
32
|
+
# An image containing a diagram that illustrates the structure and/or its component substructures and/or connections with other structures.
|
33
|
+
has_many 'diagram' do
|
34
|
+
extract Mida::SchemaOrg::ImageObject
|
35
|
+
extract Mida::DataType::Text
|
36
|
+
end
|
37
|
+
|
38
|
+
# Function of the anatomical structure.
|
39
|
+
has_many 'function'
|
40
|
+
|
41
|
+
# The anatomical or organ system that this structure is part of.
|
42
|
+
has_many 'partOfSystem' do
|
43
|
+
extract Mida::SchemaOrg::AnatomicalSystem
|
44
|
+
extract Mida::DataType::Text
|
45
|
+
end
|
46
|
+
|
47
|
+
# A medical condition associated with this anatomy.
|
48
|
+
has_many 'relatedCondition' do
|
49
|
+
extract Mida::SchemaOrg::MedicalCondition
|
50
|
+
extract Mida::DataType::Text
|
51
|
+
end
|
52
|
+
|
53
|
+
# A medical therapy related to this anatomy.
|
54
|
+
has_many 'relatedTherapy' do
|
55
|
+
extract Mida::SchemaOrg::MedicalTherapy
|
56
|
+
extract Mida::DataType::Text
|
57
|
+
end
|
58
|
+
|
59
|
+
# Component (sub-)structure(s) that comprise this anatomical structure.
|
60
|
+
has_many 'subStructure' do
|
61
|
+
extract Mida::SchemaOrg::AnatomicalStructure
|
62
|
+
extract Mida::DataType::Text
|
63
|
+
end
|
14
64
|
end
|
15
65
|
|
16
66
|
end
|