def as_json(_=nil)
      json = {'id' => id}
      json['allegedShooters'] = alleged_shooters unless alleged_shooters.nil?
      json.merge(
        'casualties' => casualties.stringify_keys,
        'date'       => date.iso8601,
        'location'   => location,
        'references' => references.map(&:to_s))
    end
def as_json(_=nil)
      json = {'id' => id}
      json['allegedShooters'] = alleged_shooters unless alleged_shooters.nil?
      json.merge(
        'casualties' => casualties.stringify_keys,
        'date'       => date.iso8601,
        'location'   => location,
        'references' => references.map(&:to_s))
    end
Returns a hash representing the shooting.
 @return [Hash{String => Object}]