added yaml.  Renamed json example to pattern name