SHACL Validation: Validating fields on edge

Hello, I'm trying to figure out how to use the SHACL validation to validate fields on an edge.

For example, with the following data, how would I validate that the performanceRating exists and is in a range of 1-5?

CREATE (:Person {name: "Emil"})-[:ACTED_IN {performanceRating: 4}]->(:Play { title: "Macbeth", released: "2020"})

Thanks, John