Sha256: ee8a59fbd1c9b3e6bc46c3d1e7899d0be148a21cbbd30295f3f78278c32c60b4

Contents?: true

Size: 230 Bytes

Versions: 23

Compression:

Stored size: 230 Bytes

Contents

module Examples
  class MixedArrays
    include JSON::SchemaBuilder

    def example
      array do
        items type: :array do
          items [{ }, { }]
          additional_items false
        end
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
json-schema_builder-0.8.2 spec/support/examples/mixed_arrays.rb
json-schema_builder-0.8.1 spec/support/examples/mixed_arrays.rb
json-schema_builder-0.8.0 spec/support/examples/mixed_arrays.rb
json-schema_builder-0.7.1 spec/support/examples/mixed_arrays.rb
json-schema_builder-0.7.0 spec/support/examples/mixed_arrays.rb
json-schema_builder-0.6.1 spec/support/examples/mixed_arrays.rb
json-schema_builder-0.6.0 spec/support/examples/mixed_arrays.rb
json-schema_builder-0.5.0 spec/support/examples/mixed_arrays.rb
json-schema_builder-0.4.0 spec/support/examples/mixed_arrays.rb
json-schema_builder-0.3.1 spec/support/examples/mixed_arrays.rb
json-schema_builder-0.3.0 spec/support/examples/mixed_arrays.rb
json-schema_builder-0.2.1 spec/support/examples/mixed_arrays.rb
json-schema_builder-0.2.0 spec/support/examples/mixed_arrays.rb
json-schema_builder-0.1.0 spec/support/examples/mixed_arrays.rb
json-schema_builder-0.0.9 spec/support/examples/mixed_arrays.rb
json-schema_builder-0.0.8 spec/support/examples/mixed_arrays.rb
json-schema_builder-0.0.7 spec/support/examples/mixed_arrays.rb
json-schema_builder-0.0.6 spec/support/examples/mixed_arrays.rb
json-schema_builder-0.0.5 spec/support/examples/mixed_arrays.rb
json-schema_builder-0.0.4 spec/support/examples/mixed_arrays.rb