Skip to content

Commit a4704eb

Browse files
committed
Add a PZ rules entry to the dogpark schema example
1 parent 4784865 commit a4704eb

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

‎schemas/open_graph/dog-park-schema.json‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,5 +131,20 @@
131131
"description": "Lists dogs and their registered owners.",
132132
"category": "Dog Park"
133133
}
134+
],
135+
"pz_rules": [
136+
{
137+
"key": "large_dog_area",
138+
"name": "Large Dog Area",
139+
"description": "Protects all Large Dog Area environment nodes in the dog park.",
140+
"enabled": true,
141+
"allow_disable": true,
142+
"seeds": [
143+
{
144+
"type": 2,
145+
"value": "MATCH (n:dogpark_LargeDogArea) RETURN n"
146+
}
147+
]
148+
}
134149
]
135150
}

0 commit comments

Comments
 (0)