Skip to content

Commit

Permalink
fix(Worker): Fix capabilities spec
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Dec 19, 2019
1 parent b479cc9 commit b8eee17
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/base/Worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,14 @@ export class Worker extends Executor {
format: { const: 'json' }
}
},
// Can query any node using JMESPath or JSONPointer
// Can query any node using JMES Path or JSON Pointer
query: {
required: ['node', 'query'],
required: ['node', 'query', 'lang'],
properties: {
node: true,
query: {
type: 'string'
},
type: {
enum: ['jmes-path', 'json-pointer'],
default: 'jmes-path'
query: { type: 'string' },
lang: {
enum: ['jmp', 'jmes-path', 'jpo', 'json-pointer']
}
}
},
Expand Down

0 comments on commit b8eee17

Please sign in to comment.