# File lib/cimi/model/schema.rb, line 228
  def to_json(model, json = {})
    @attributes.freeze
    @attributes.each { |attr| attr.to_json(model, json) }
    json
  end