{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$ref": "#/definitions/Target",
  "definitions": {
    "Target": {
      "required": [
        "method",
        "url"
      ],
      "properties": {
        "method": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "body": {
          "type": "string",
          "media": {
            "binaryEncoding": "base64"
          }
        },
        "header": {
          "patternProperties": {
            ".*": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          "type": "object"
        }
      },
      "additionalProperties": false,
      "type": "object"
    }
  }
}