1{ 2 "version":"2.0", 3 "metadata":{ 4 "apiVersion":"2016-03-11", 5 "endpointPrefix":"eventstream-rest-json", 6 "jsonVersion":"1.1", 7 "protocol":"rest-json", 8 "serviceAbbreviation":"EventStreamRestJson", 9 "serviceFullName":"Event Stream Rest Json", 10 "serviceId":"EventStreamRestJson", 11 "signatureVersion":"v4", 12 "targetPrefix":"ProtocolTestsService", 13 "timestampFormat":"unixTimestamp", 14 "uid":"restjson-2016-03-11" 15 }, 16 "operations":{ 17 "EventStreamOperation": { 18 "name": "EventStreamOperation", 19 "http": { 20 "method": "POST", 21 "requestUri": "/2016-03-11/eventStreamOperation" 22 }, 23 "input": { 24 "shape": "EventStreamOperationRequest" 25 }, 26 "output": { 27 "shape": "EventStreamOutput" 28 } 29 } 30 }, 31 "shapes":{ 32 "EventStreamOperationRequest": { 33 "type": "structure", 34 "required": [ 35 "InputEventStream" 36 ], 37 "members": { 38 "InputEventStream": { 39 "shape": "InputEventStream" 40 } 41 }, 42 "payload":"InputEventStream" 43 }, 44 "EventStreamOutput": { 45 "type": "structure", 46 "required": [ 47 "EventStream" 48 ], 49 "members": { 50 "EventStream": { 51 "shape": "EventStream" 52 } 53 } 54 }, 55 "InputEventStream": { 56 "type": "structure", 57 "members": { 58 "InputEvent": { 59 "shape": "InputEvent" 60 }, 61 "InputEventB": { 62 "shape": "InputEvent" 63 }, 64 "InputEventTwo": { 65 "shape": "InputEventTwo" 66 } 67 }, 68 "eventstream": true 69 }, 70 "InputEvent": { 71 "type": "structure", 72 "members": { 73 "ExplicitPayloadMember": { 74 "shape":"ExplicitPayloadMember", 75 "eventpayload":true 76 } 77 }, 78 "event": true 79 }, 80 "InputEventTwo": { 81 "type": "structure", 82 "members": { 83 "ExplicitPayloadMember": { 84 "shape":"ExplicitPayloadMember", 85 "eventpayload":true 86 } 87 }, 88 "event": true 89 }, 90 91 "ExplicitPayloadMember":{"type":"blob"}, 92 "EventStream": { 93 "type": "structure", 94 "members": { 95 "TheEventOne": { 96 "shape": "EventOne" 97 }, 98 "LegacyGeneratedEvent": { 99 "shape": "EventOne" 100 }, 101 "EventTwo": { 102 "shape": "EventTwo" 103 }, 104 "SecondEventTwo": { 105 "shape": "EventTwo" 106 } 107 }, 108 "eventstream": true 109 }, 110 "EventOne": { 111 "type": "structure", 112 "members": { 113 "Foo": { 114 "shape": "String" 115 } 116 }, 117 "event": true 118 }, 119 "EventTwo": { 120 "type": "structure", 121 "members": { 122 "Bar": { 123 "shape": "String" 124 } 125 }, 126 "event": true 127 }, 128 "String": { 129 "type":"string" 130 } 131 } 132} 133