I have custom records in a schema which I use in a...
# spicedb
a
I have custom records in a schema which I use in a custom middleware interceptor. The schema looks like this:
Copy code
definition virtual_machine {
  // Parent relation
  // scope:touch:namespace#namespace:SUBJECT_ID@create_virtual_machine#NO_CONDITION
  // scope:delete:namespace#namespace:SUBJECT_ID@create_virtual_machine#NO_CONDITION
  relation namespace: namespace
}
As I see, there is metadata in the schema DSL. Maybe I can add these records to it? If I can add them as parsable objects, it would be wonderful. I wrote more about these scopes in a GitHub discussion: [GitHub Discussion](https://github.com/orgs/authzed/discussions/2032)