4.4.2 ChannelMetadata Message

Topic Version1Published10/16/2017
For StandardETPW20 v1

For this particular example, the producer replies to the ChannelDescribe message with the following ChannelMetatdata message; below, also see the domain object XML.


// [e5245366-2d61-4769-89a1-e36475439f28] Message received at 2017-04-14 14:07:50.1001{

"protocol":1,

"messageType":2,

"correlationId":3,

"messageId":2,

"messageFlags":3}{  

"channels": [    {      

"channelUri": " eml://witsml20/Channel(cb224581-c2be-4fc6-be5f-91da7904fe7f)",      

"channelId": 1,      

"indexes": [        {          

"indexType": "Time",          

"uom": "us",          

"depthDatum": null,          

"direction": "Increasing",          

"mnemonic": null,          

"description": "Time sent",          

"uri": null,          

"customData": {},          

"scale": 0,          

"timeDatum": null        }      ],      

"channelName": "ALARM",      

"dataType": "string",      

"uom": "none",      

"startIndex": null,      

"endIndex": null,      

"description": "Alarm",      

"status": "Active",      

"contentType": null,      

"source": "Console",      

"measureClass": "Unitless",      

"uuid": "cb224581-c2be-4fc6-be5f-91da7904fe7f",      

"customData": {},      

"domainObject": {        

"resource": {          

"uri": "eml://witsml20/Channel(cb224581-c2be-4fc6-be5f-91da7904fe7f)",          

"contentType": "application/x-witsml+xml;version=2.0;type=Channel",          

"name": "ALARM",          

"channelSubscribable": true,          

"customData": {},          

"resourceType": "DataObject",          

"hasChildren": 0,          

"uuid": "cb224581-c2be-4fc6-be5f-91da7904fe7f",          

"lastChanged": 1492196225411050,          

"objectNotifiable": true        },        

"contentEncoding": "",        

"data": [ binary data truncated for readability ]      }    },    {      

"channelUri": " eml://witsml20/Channel(503be6e8-47c7-45de-a2e9-af7850301cef)",      

"channelId": 2,      

"indexes": [        {          

"indexType": "Time",          

"uom": "us",          

"depthDatum": null,          

"direction": "Increasing",          

"mnemonic": null,          

"description": "Time sent",          

"uri": null,          

"customData": {},          

"scale": 0,          

"timeDatum": null        }      ],      

"channelName": "ALERT",      

"dataType": "string",      

"uom": "none",      

"startIndex": null,      

"endIndex": null,      

"description": "Alert",      

"status": "Active",      

"contentType": null,      

"source": "Console",      

"measureClass": "Unitless",      

"uuid": "503be6e8-47c7-45de-a2e9-af7850301cef",      

"customData": {},      

"domainObject": {        

"resource": {          

"uri": "eml://witsml20/Channel(503be6e8-47c7-45de-a2e9-af7850301cef)",          

"contentType": "application/x-witsml+xml;version=2.0;type=Channel",          

"name": "ALERT",          

"channelSubscribable": true,          

"customData": {},          

"resourceType": "DataObject",          

"hasChildren": 0,          

"uuid": "503be6e8-47c7-45de-a2e9-af7850301cef",          

"lastChanged": 1492196225431674,          

"objectNotifiable": true        },        

"contentEncoding": "",        

"data": [ binary data truncated for readability ]      }    },    {      

"channelUri": " eml://witsml20/Channel(5579b4a1-994a-415d-b511-39b7b4fe0ee6)",      

"channelId": 3,      

"indexes": [        {          

"indexType": "Time",          

"uom": "us",          

"depthDatum": null,          

"direction": "Increasing",          

"mnemonic": null,          

"description": "Time sent",          

"uri": null,          

"customData": {},          

"scale": 0,          

"timeDatum": null        }      ],      

"channelName": "ANNOT",      

"dataType": "string",      

"uom": "none",      

"startIndex": null,      

"endIndex": null,      

"description": "Annotation",      

"status": "Active",      

"contentType": null,      

"source": "Console",      

"measureClass": "Unitless",      

"uuid": "5579b4a1-994a-415d-b511-39b7b4fe0ee6",      

"customData": {},      

"domainObject": {        

"resource": {          

"uri": "eml://witsml20/Channel(5579b4a1-994a-415d-b511-39b7b4fe0ee6)",          

"contentType": "application/x-witsml+xml;version=2.0;type=Channel",          

"name": "ANNOT",          

"channelSubscribable": true,          

"customData": {},          

"resourceType": "DataObject",          

"hasChildren": 0,          

"uuid": "5579b4a1-994a-415d-b511-39b7b4fe0ee6",          

"lastChanged": 1492196225448718,          

"objectNotifiable": true        },        

"contentEncoding": "",        

"data": [ binary data truncated for readability ]       }    }  ]}

Example Channel data object decoded as XML:


<Channel xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dc="http://purl.org/dc/terms/" xmlns:gml="http://www.opengis.net/gml/3.2" schemaVersion="2.0" uuid="cb224581-c2be-4fc6-be5f-91da7904fe7f" xmlns="http://www.energistics.org/energyml/data/witsmlv2">
<Citation xmlns="http://www.energistics.org/energyml/data/commonv2">
<Title>ALARM</Title>
<Originator>PDS</Originator>
<Creation>2017-04-14T00:00:00Z</Creation>
<Format>MessageConsole</Format>
<LastUpdate>2017-04-14T23:05:06.233893Z</LastUpdate>
<Description>Alarm</Description>
</Citation>
<Mnemonic>ALARM</Mnemonic>
<DataType>double</DataType>
<Uom xsi:nil="true" />
<GrowingStatus>active</GrowingStatus>
<Wellbore>
<ContentType xmlns="http://www.energistics.org/energyml/data/commonv2">application/x-witsml+xml;version=2.0;type=Wellbore</ContentType>
<Title xmlns="http://www.energistics.org/energyml/data/commonv2">WB-A1</Title>
<Uuid xmlns="http://www.energistics.org/energyml/data/commonv2">2cf95836-8d9c-4b56-a6a0-803d21e12a24</Uuid>
</Wellbore>
<TimeDepth>Time</TimeDepth>
<ChannelClass>
<ContentType xmlns="http://www.energistics.org/energyml/data/commonv2">application/x-eml+xml;version=2.1;type=PropertyKind</ContentType>
<Title xmlns="http://www.energistics.org/energyml/data/commonv2">none</Title>
<Uuid xmlns="http://www.energistics.org/energyml/data/commonv2">a818e404-dbc9-41e0-adc8-455eafc5b8d1</Uuid>
</ChannelClass>
<LoggingCompanyName>PDS</LoggingCompanyName>
<Index>
<IndexType>date time</IndexType>
<Uom>us</Uom>
<Direction>increasing</Direction>
</Index>
</Channel>