lib/openactive/enums/schema/day_of_week.rb in openactive-0.1.2 vs lib/openactive/enums/schema/day_of_week.rb in openactive-0.2.0

- old
+ new

@@ -1,21 +1,22 @@ require 'typesafe_enum' module OpenActive module Enums module Schema - # The day of the week, e.g. used to specify to which day the opening hours of an OpeningHoursSpecification refer.<br/><br/> + # The day of the week, e.g. used to specify to which day the opening hours of an OpeningHoursSpecification refer. # - # Originally, URLs from <a href="http://purl.org/goodrelations/v1">GoodRelations</a> were used (for <a class="localLink" href="https://schema.org/Monday">Monday</a>, <a class="localLink" href="https://schema.org/Tuesday">Tuesday</a>, <a class="localLink" href="https://schema.org/Wednesday">Wednesday</a>, <a class="localLink" href="https://schema.org/Thursday">Thursday</a>, <a class="localLink" href="https://schema.org/Friday">Friday</a>, <a class="localLink" href="https://schema.org/Saturday">Saturday</a>, <a class="localLink" href="https://schema.org/Sunday">Sunday</a> plus a special entry for <a class="localLink" href="https://schema.org/PublicHolidays">PublicHolidays</a>); these have now been integrated directly into schema.org. + # Originally, URLs from [GoodRelations](http://purl.org/goodrelations/v1) were used (for [[Monday]], [[Tuesday]], [[Wednesday]], [[Thursday]], [[Friday]], [[Saturday]], [[Sunday]] plus a special entry for [[PublicHolidays]]); these have now been integrated directly into schema.org. + # class DayOfWeek < TypesafeEnum::Base - new :Wednesday, "https://schema.org/Wednesday" - new :Sunday, "https://schema.org/Sunday" new :PublicHolidays, "https://schema.org/PublicHolidays" + new :Sunday, "https://schema.org/Sunday" new :Monday, "https://schema.org/Monday" - new :Friday, "https://schema.org/Friday" + new :Thursday, "https://schema.org/Thursday" + new :Wednesday, "https://schema.org/Wednesday" new :Tuesday, "https://schema.org/Tuesday" new :Saturday, "https://schema.org/Saturday" - new :Thursday, "https://schema.org/Thursday" + new :Friday, "https://schema.org/Friday" end end end end