Entity metadata can be in YAML, XML, or annotations, but only one type can be used within one bundle.