class JSON::Schema::MinItemsAttribute

Public Class Methods

error_message(schema) click to toggle source
# File lib/json-schema/attributes/limits/min_items.rb, line 10
def self.error_message(schema)
  "did not contain a minimum number of items #{limit(schema)}"
end
limit_name() click to toggle source
# File lib/json-schema/attributes/limits/min_items.rb, line 6
def self.limit_name
  'minItems'
end