segment schema done