Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
on 11-16-2021 08:17 PM
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