/** Register a new schema with this repository. * */ public AvroSchemaComposer add(Schema schema) { for (String alias : schema.getAliases()) { schemas.put(alias, schema); } schemas.put(schema.getFullName(), schema); mostRecent = schema; return this; }