| { |
| "$schema": "http://json-schema.org/draft-03/schema#", |
| "id": "http://ns.taverna.org.uk/2010/activity/beanshell.schema.json", |
| "title": "Beanshell activity configuration", |
| "type": "object", |
| "extends" : "http://ns.taverna.org.uk/2010/activity/dependency.schema.json", |
| "properties": { |
| "@context": { |
| "description": "JSON-LD context for interpreting the configuration as RDF", |
| "required": true, |
| "enum": ["http://ns.taverna.org.uk/2010/activity/beanshell.context.json"] |
| }, |
| "script": { |
| "title": "Beanshell Script", |
| "description": "The beanshell script to be executed", |
| "type": "string", |
| "required": true, |
| "default": "" |
| } |
| } |
| } |