-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathexec.json
More file actions
26 lines (26 loc) · 914 Bytes
/
exec.json
File metadata and controls
26 lines (26 loc) · 914 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "http://jsonscript.net/schema/exec.json",
"title": "$exec instruction",
"description": "Executes method of external executor",
"type": "object",
"properties": {
"$exec": { "anyOf": [
{ "$ref": "_defs.json#/defs/upperIdentifier" },
{ "$ref": "jsonscript.json" } ] },
"$method": { "anyOf": [
{ "$ref": "_defs.json#/defs/identifier" },
{ "$ref": "jsonscript.json" } ] },
"$args": { "anyOf": [
{
"type": "array",
"items": { "anyOf": [
{ "$ref": "data.json" },
{ "$ref": "jsonscript.json" } ] }
},
{ "$ref": "data.json" },
{ "$ref": "jsonscript.json" } ] }
},
"additionalProperties": false,
"required": [ "$exec", "$method" ]
}