class JSON::Schema::MinPropertiesAttribute

Public Class Methods

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