DerivedSchemaId will be populated by attributes from a search result. In this scenario the base schema is required to have an attribute flagged as SchemaCompatibilityId so that the derived schema can be discovered.