Sha256: aadc77c546afdc3c60089f58ef1a8954fc8e72a393a03e3e38ba3af58bf1a23a

Contents?: true

Size: 929 Bytes

Versions: 2

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 :AndroidPlatform, "https://schema.org/AndroidPlatform"
        new :IOSPlatform, "https://schema.org/IOSPlatform"
        new :MobileWebPlatform, "https://schema.org/MobileWebPlatform"
        new :GenericWebPlatform, "https://schema.org/GenericWebPlatform"
        new :DesktopWebPlatform, "https://schema.org/DesktopWebPlatform"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/enums/schema/digital_platform_enumeration.rb
openactive-0.4.0 lib/openactive/enums/schema/digital_platform_enumeration.rb