lib/schemas/json-schema.org/draft-06/schema.rb in jsi-0.6.0 vs lib/schemas/json-schema.org/draft-06/schema.rb in jsi-0.7.0
- old
+ new
@@ -1,12 +1,14 @@
# frozen_string_literal: true
module JSI
metaschema_document = ::JSON.parse(SCHEMAS_PATH.join('json-schema.org/draft-06/schema.json').read)
JSONSchemaOrgDraft06 = MetaschemaNode.new(metaschema_document,
- metaschema_instance_modules: [JSI::Schema::Draft06],
+ schema_implementation_modules: [JSI::Schema::Draft06],
).jsi_schema_module
# the JSI schema module for `http://json-schema.org/draft-06/schema`
module JSONSchemaOrgDraft06
+ # @!parse extend JSI::DescribesSchemaModule
+ # @!parse include JSI::Schema::Draft06
end
end