code: func GetAuthPreferenceSchema(extensionSchema string) string {
  	var authPreferenceSchema string
  	if authPreferenceSchema == "" {
  		authPreferenceSchema = fmt.Sprintf(AuthPreferenceSpecSchemaTemplate, "")
  	} else {
  		authPreferenceSchema = fmt.Sprintf(AuthPreferenceSpecSchemaTemplate, ","+extensionSchema)
  	}
  	return fmt.Sprintf(V2SchemaTemplate, MetadataSchema, authPreferenceSchema, DefaultDefinitions)
  }
docs: // GetAuthPreferenceSchema returns the schema with optionally injected
  // schema for extensions.