Sha256: 7be983805e45a991597f3b6a29731f68d6cc49b35b46a9960f9046dc2517b785

Contents?: true

Size: 929 Bytes

Versions: 1

Compression:

Stored size: 929 Bytes

Contents

require 'typesafe_enum'

module OpenActive
  module Enums
    module Schema
      # Enumerates some common technology platforms, for use with properties such as [[actionPlatform]]. It is not supposed to be comprehensive - when a suitable code is not enumerated here, textual or URL values can be used instead. These codes are at a fairly high level and do not deal with versioning and other nuance. Additional codes can be suggested [in github](https://github.com/schemaorg/schemaorg/issues/3057).
      class DigitalPlatformEnumeration < TypesafeEnum::Base
        new :MobileWebPlatform, "https://schema.org/MobileWebPlatform"
        new :AndroidPlatform, "https://schema.org/AndroidPlatform"
        new :GenericWebPlatform, "https://schema.org/GenericWebPlatform"
        new :DesktopWebPlatform, "https://schema.org/DesktopWebPlatform"
        new :IOSPlatform, "https://schema.org/IOSPlatform"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/enums/schema/digital_platform_enumeration.rb