{
  "version":"2.0",
  "metadata":{
    "apiVersion":"0000-00-00",
    "endpointPrefix":"restxmlservice",
    "jsonVersion":"1.1",
    "protocol":"rest-xml",
    "serviceAbbreviation":"RESTXMLService",
    "serviceFullName":"REST XML Service",
    "serviceId":"RESTXMLService",
    "signatureVersion":"v4",
    "targetPrefix":"RESTXMLService_00000000",
    "uid":"RESTXMLService-0000-00-00"
  },
  "operations":{
    "GetEventStream":{
      "name":"GetEventStream",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"GetEventStreamRequest"},
      "output":{"shape":"GetEventStreamResponse"}
    },
    "EmptyStream":{
      "name":"EmptyStream",
      "http":{
        "method":"POST",
        "requestUri":"/"
      },
      "input":{"shape":"EmptyStreamRequest"},
      "output":{"shape":"EmptyStreamResponse"}
    }
  },
  "shapes":{
    "Bool":{"type":"boolean"},
    "Byte":{"type":"byte"},
    "Short":{"type":"short"},
    "Integer":{"type":"integer"},
    "Long":{"type":"long"},
    "Blob":{"type":"blob"},
    "String":{"type":"string"},
    "Time":{"type":"timestamp"},
    "GetEventStreamRequest":{
      "type":"structure",
      "members":{
        "InputVal":{"shape":"String"}
      }
    },
    "GetEventStreamResponse":{
      "type":"structure",
      "members":{
        "StrVal":{"shape":"String"},
        "IntVal":{"shape":"Integer"},
        "EventStream":{"shape":"EventStream"}
      }
    },
    "EventStream":{
      "type":"structure",
      "members":{
        "Headers":{"shape":"HeaderOnlyEvent"},
        "ImplicitPayload":{"shape":"ImplicitPayloadEvent"},
        "ExplicitPayload":{"shape":"ExplicitPayloadEvent"},
        "PayloadOnly":{"shape":"PayloadOnlyEvent"},
        "PayloadOnlyBlob":{"shape":"PayloadOnlyBlobEvent"},
        "PayloadOnlyString":{"shape":"PayloadOnlyStringEvent"},
        "Empty":{"shape":"EmptyEvent"},
        "Exception":{"shape":"ExceptionEvent"}
      },
      "eventstream":true
    },
    "EmptyStreamRequest":{
      "type":"structure",
      "members":{}
    },
    "EmptyStreamResponse":{
      "type":"structure",
      "members":{
        "EventStream":{"shape":"EmptyEventStream"}
      }
    },
    "EmptyEventStream":{
      "type":"structure",
      "members":{
      },
      "eventstream":true
    },
    "HeaderOnlyEvent":{
      "type":"structure",
      "members":{
        "BoolVal":{
          "shape":"Bool",
          "eventheader":true
        },
        "ByteVal":{
          "shape":"Byte",
          "eventheader":true
        },
        "ShortVal":{
          "shape":"Short",
          "eventheader":true
        },
        "IntegerVal":{
          "shape":"Integer",
          "eventheader":true
        },
        "LongVal":{
          "shape":"Long",
          "eventheader":true
        },
        "StringVal":{
          "shape":"String",
          "eventheader":true
        },
        "BlobVal":{
          "shape":"Blob",
          "eventheader":true
        },
        "TimeVal":{
          "shape":"Time",
          "eventheader":true
        }
      },
      "event":true
    },
    "ImplicitPayloadEvent": {
      "type":"structure",
      "members":{
        "ByteVal":{
          "shape":"Byte",
          "eventheader":true
        },
        "ShortVal":{
          "shape":"Short"
        },
        "IntegerVal":{
          "shape":"Integer"
        }
      },
      "event":true
    },
    "ExplicitPayloadEvent": {
      "type":"structure",
      "members":{
        "LongVal":{
          "shape":"Long",
          "eventheader":true
        },
        "StringVal":{
          "shape":"String",
          "eventheader":true
        },
        "NestedVal":{
          "shape":"NestedShape",
          "eventpayload":true
        }
      },
      "event":true
    },
    "PayloadOnlyEvent":{
      "type":"structure",
      "members":{
        "NestedVal":{
          "shape":"NestedShape",
          "eventpayload":true
        }
      },
      "event":true
    },
    "PayloadOnlyBlobEvent":{
      "type":"structure",
      "members":{
        "BlobPayload":{
          "shape":"Blob",
          "eventpayload":true
        }
      },
      "event":true
    },
	"PayloadOnlyStringEvent":{
      "type":"structure",
      "members":{
        "StringPayload":{
          "shape":"String",
          "eventpayload":true
        }
      },
      "event":true
	},
    "EmptyEvent": {
      "type":"structure",
      "members":{},
      "event": true
    },
    "NestedShape": {
      "type":"structure",
      "members":{
        "IntVal":{"shape":"Integer"},
        "StrVal":{"shape":"String"}
      }
    },
    "ExceptionEvent":{
      "type":"structure",
      "members":{
        "IntVal":{"shape":"Integer"},
        "message":{"shape":"String"}
      },
      "exception":true
    }
  }
}
