Open Source Web Application Framework for ASP.NET Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
662 B

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "command-interceptor-descriptor.schema.json",
"title": "CommandInterceptorDescriptor",
"description": "Describes a command interceptor",
"type": "object",
"properties": {
"commandName": {
"type": "string",
"description": "Name of the command to intercept",
"enum": ["Create", "Update", "Delete"]
},
"type": {
"$ref": "interceptor-type.schema.json"
},
"javascript": {
"type": "string",
"description": "JavaScript code to execute"
}
},
"required": ["commandName", "type", "javascript"],
"additionalProperties": false
}