We have plenty of examples in our community for assigning weights. Maybe it should give you an idea of how it looks like:
Example 1:
Example 2:
Example 3:
Example 4:
Example 5: