Sha256: 4edf37e071a665e1958feabbe407ef184d5118a072a485ddcdb9f7528a2bd05d

Contents?: true

Size: 492 Bytes

Versions: 1

Compression:

Stored size: 492 Bytes

Contents

# frozen_string_literal: true

module JSI
  metaschema_document = ::JSON.parse(SCHEMAS_PATH.join('json-schema.org/draft-04/schema.json').read)
  JSONSchemaOrgDraft04 = MetaschemaNode.new(metaschema_document,
    schema_implementation_modules: [JSI::Schema::Draft04],
  ).jsi_schema_module

  # the JSI schema module for `http://json-schema.org/draft-04/schema`
  module JSONSchemaOrgDraft04
    # @!parse extend JSI::DescribesSchemaModule
    # @!parse include JSI::Schema::Draft04
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jsi-0.7.0 lib/schemas/json-schema.org/draft-04/schema.rb