github.com/authzed/spicedb@v1.32.1-0.20240520085336-ebda56537386/pkg/validationfile/testdata/invalid_caveat.yaml (about) 1 --- 2 schema: >- 3 definition user {} 4 5 definition resource { 6 relation reader: user with some_caveat 7 } 8 relationships: >- 9 resource:first#reader@user:tom[some_caveat] 10 11 resource:first#reader@user:sarah[some_caveat:{"somecondition": 42}] 12 assertions: 13 assertTrue: [] 14 assertFalse: [] 15 validation: null