Sha256: d2f5a78502a81d4fefa7317e25589b7ed94f7692a1ad9b14c9c70ba463a7050a

Contents?: true

Size: 698 Bytes

Versions: 10

Compression:

Stored size: 698 Bytes

Contents

module Lurker
  module Json
    NULL = 'null'.freeze
    ARRAY = 'array'.freeze
    STRING = 'string'.freeze
    OBJECT = 'object'.freeze
    NUMBER = 'number'.freeze
    BOOLEAN = 'boolean'.freeze
    INTEGER = 'integer'.freeze

    PRIMITIVES = [NULL, BOOLEAN, INTEGER, NUMBER, STRING, ARRAY, OBJECT].freeze

    ID = 'id'.freeze
    REF = '$ref'.freeze
    TYPE = 'type'.freeze
    ITEMS = 'items'.freeze
    EXAMPLE = 'example'.freeze
    REQUIRED = 'required'.freeze
    PROPERTIES = 'properties'.freeze
    DESCRIPTION = 'description'.freeze
    ADDITIONAL_PROPERTIES = 'additionalProperties'.freeze

    ANYOF = 'anyOf'.freeze
    ALLOF = 'allOf'.freeze
    ONEOF = 'oneOf'.freeze
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
lurker-1.0.0 lib/lurker/json.rb
lurker-0.6.12 lib/lurker/json.rb
lurker-0.6.11 lib/lurker/json.rb
lurker-0.6.10 lib/lurker/json.rb
lurker-0.6.9 lib/lurker/json.rb
lurker-0.6.8 lib/lurker/json.rb
lurker-0.6.7 lib/lurker/json.rb
lurker-0.6.6 lib/lurker/json.rb
lurker-0.6.5 lib/lurker/json.rb
lurker-0.6.4 lib/lurker/json.rb