require 'typesafe_enum' module OpenActive module Enums module Schema # A list of possible levels for the legal validity of a legislation. class LegalValueLevel < TypesafeEnum::Base new :AuthoritativeLegalValue, "https://schema.org/AuthoritativeLegalValue" new :UnofficialLegalValue, "https://schema.org/UnofficialLegalValue" new :DefinitiveLegalValue, "https://schema.org/DefinitiveLegalValue" new :OfficialLegalValue, "https://schema.org/OfficialLegalValue" end end end end