public SchemaBuilder replaceAttributeSchema(AttributeSchema schema, Object origin) {
		if (schema.getName().equals("")) {
			return setDefaultAttributeSchema(schema);
		}
		attributeAliases.remove(schema.getName());
		attributeSchemas.put(schema.getName(), schema);
		attributeOrigins.put(schema.getName(), origin);
		return this;
	}
Define the schema for a child attribute.

<p>
If the attribute schema's name is empty, the given schema becomes the default attribute
schema.

@param schema the attribute schema to add to the definition
@param origin optional, for diagnostics, an object describing the attribute schema's origin
@return this builder
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/model/target/schema/SchemaBuilder.java