Sha256: 443232c2c516a8db3b1683eba6979bc05564026bb43d37a77813cb00d540e2c8

Contents?: true

Size: 280 Bytes

Versions: 14

Compression:

Stored size: 280 Bytes

Contents

# frozen_string_literal: true

require "dry/schema"

module Tana
  module Requests
    # Validates the fifth level of an API request.
    LevelE = Dry::Schema.JSON parent: Node.schema do
      optional(:children).value(:array, min_size?: 1).each { hash LevelF }
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
tana-0.14.0 lib/tana/requests/level_e.rb
tana-0.13.0 lib/tana/requests/level_e.rb
tana-0.12.0 lib/tana/requests/level_e.rb
tana-0.11.0 lib/tana/requests/level_e.rb
tana-0.10.0 lib/tana/requests/level_e.rb
tana-0.9.0 lib/tana/requests/level_e.rb
tana-0.8.0 lib/tana/requests/level_e.rb
tana-0.7.0 lib/tana/requests/level_e.rb
tana-0.6.0 lib/tana/requests/level_e.rb
tana-0.4.0 lib/tana/requests/level_e.rb
tana-0.3.0 lib/tana/requests/level_e.rb
tana-0.2.0 lib/tana/requests/level_e.rb
tana-0.1.0 lib/tana/requests/level_e.rb
tana-0.0.0 lib/tana/requests/level_e.rb