github.com/TIBCOSoftware/flogo-lib@v0.5.9/core/activity/schema.json (about)

     1  {
     2    "$schema": "http://json-schema.org/draft-04/schema#",
     3  
     4    "definitions": {
     5      "attributeDef": {
     6        "title": "attributeDef",
     7        "type": "object",
     8        "properties": {
     9          "name" : { "type": "string" },
    10          "type" : { "type": "string" }
    11        },
    12        "required": ["name", "type"]
    13      }
    14    },
    15  
    16    "title": "activity",
    17    "type": "object",
    18    "properties": {
    19      "name"        : { "type": "string" },
    20      "version"     : { "type": "string" },
    21      "description" : { "type": "string" },
    22      "inputs": {
    23        "type": "array",
    24        "items": { "$ref": "#/definitions/attributeDef" }
    25      },
    26      "outputs": {
    27        "type": "array",
    28        "items": { "$ref": "#/definitions/attributeDef" }
    29      }
    30    },
    31    "required": ["name", "version", "description"]
    32  }