PTAGIS Data Specification

 

 

M4 Schema Diagram

 

The M4 file format has been in use since 2013. It is an XML file format with a header and detail sections, and has an XSD to define its format requirements. Similar to Minimon files, header section contains metadata about the site and time period of data collection. It was built primarily to store and transmit data from the M4 interrogation software, which parses each message from a transceiver and assigns it a message type. Status messages from transceivers are stitched together into one long message, rather than being transmitted line by line. Time stamps using the date time offset data type were introduced with this file format, allowing times to be recorded in local time instead of Pacific Standard Time.

 

 

 

InterrogationDataSet

Schema InterrogationDataSet.xsd


schema location https://ptagis.org/content/schemas/interrogation/M4v2/InterrogationDataSetV2.xsd
attributeFormDefault qualified
elementFormDefault qualified
targetNamespace http://ptagis.org/InterrogationDataSet.xsd
 
Elements 
InterrogationDataSet 


element InterrogationDataSet
diagram InterrogationDataSet_p1.png
properties
content complex
identity constraints
  Name  Refer  Selector  Field(s)  Annotation
unique  MessageData_Constraint1    .//mstns:MessageData  mstns:MessageKey  
mstns:FileTitle  
unique  Constraint1    .//mstns:FileSubmission  mstns:FileTitle  

element InterrogationDataSet/FileSubmission
diagram InterrogationDataSet_p2.png
properties
content complex

element InterrogationDataSet/FileSubmission/FileTitle
diagram InterrogationDataSet_p3.png
type restriction of xs:string
properties
content simple
facets
Kind Value Annotation
maxLength 50

element InterrogationDataSet/FileSubmission/FileCreated
diagram InterrogationDataSet_p4.png
type restriction of xs:dateTime
properties
content simple

element InterrogationDataSet/FileSubmission/SiteCode
diagram InterrogationDataSet_p5.png
type restriction of xs:string
properties
content simple
facets
Kind Value Annotation
maxLength 3

element InterrogationDataSet/FileSubmission/SiteLastModified
diagram InterrogationDataSet_p6.png
type xs:dateTime
properties
content simple

element InterrogationDataSet/FileSubmission/MachineName
diagram InterrogationDataSet_p7.png
type restriction of xs:string
properties
content simple
facets
Kind Value Annotation
maxLength 50

element InterrogationDataSet/FileSubmission/ProgramVersion
diagram InterrogationDataSet_p8.png
type restriction of xs:string
properties
content simple
facets
Kind Value Annotation
maxLength 50

element InterrogationDataSet/FileSubmission/DataRole
diagram InterrogationDataSet_p9.png
type restriction of xs:string
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
maxLength 25

element InterrogationDataSet/FileSubmission/PtagisUserId
diagram InterrogationDataSet_p10.png
type restriction of xs:string
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
maxLength 255

element InterrogationDataSet/FileSubmission/FileClosed
diagram InterrogationDataSet_p11.png
type restriction of xs:dateTime
properties
content simple

element InterrogationDataSet/FileSubmission/MessageData
diagram InterrogationDataSet_p12.png
properties
minOcc 0
maxOcc unbounded
content complex
annotation
appinfo
<msdata:Relationship name="FileSubmission_MessageData" msdata:parent="FileSubmission" msdata:child="MessageData" msdata:parentkey="FileTitle" msdata:childkey="FileTitle" msprop:Generator_UserChildTable="MessageData" msprop:Generator_ChildPropName="GetMessageDataRows" msprop:Generator_UserRelationName="FileSubmission_MessageData" msprop:Generator_ParentPropName="FileSubmissionRow" msprop:Generator_RelationVarName="relationFileSubmission_MessageData" msprop:Generator_UserParentTable="FileSubmission"/>

element InterrogationDataSet/FileSubmission/MessageData/MessageKey
diagram InterrogationDataSet_p13.png
type xs:int
properties
content simple

element InterrogationDataSet/FileSubmission/MessageData/TimeStamp
diagram InterrogationDataSet_p14.png
type restriction of xs:dateTime
properties
content simple

element InterrogationDataSet/FileSubmission/MessageData/MessageTypeVal
diagram InterrogationDataSet_p15.png
type restriction of xs:string
properties
content simple
default None
facets
Kind Value Annotation
maxLength 255

element InterrogationDataSet/FileSubmission/MessageData/MessageText
diagram InterrogationDataSet_p16.png
type restriction of xs:string
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
maxLength 4000

element InterrogationDataSet/FileSubmission/MessageData/AntennaGroup
diagram InterrogationDataSet_p17.png
type restriction of xs:string
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
maxLength 255

element InterrogationDataSet/FileSubmission/MessageData/TransceiverId
diagram InterrogationDataSet_p18.png
type restriction of xs:string
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
maxLength 2

element InterrogationDataSet/FileSubmission/MessageData/AntennaId
diagram InterrogationDataSet_p19.png
type restriction of xs:string
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
maxLength 2

element InterrogationDataSet/FileSubmission/MessageData/TransceiverBufferTimeStamp
diagram InterrogationDataSet_p20.png
type xs:dateTime
properties
minOcc 0
maxOcc 1
content simple

element InterrogationDataSet/FileSubmission/MessageData/SbycActionTypeVal
diagram InterrogationDataSet_p21.png
type restriction of xs:string
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
maxLength 255

element InterrogationDataSet/FileSubmission/MessageData/SbycActionCode
diagram InterrogationDataSet_p22.png
type xs:int
properties
minOcc 0
maxOcc 1
content simple

element InterrogationDataSet/FileSubmission/MessageData/SbycGateActionTypeVal
diagram InterrogationDataSet_p23.png
type restriction of xs:string
properties
minOcc 0
maxOcc 1
content simple
facets
Kind Value Annotation
maxLength 255

element InterrogationDataSet/FileSubmission/MessageData/SbycProcessLatency
diagram InterrogationDataSet_p24.png
type xs:decimal
properties
minOcc 0
maxOcc 1
content simple

element InterrogationDataSet/FileSubmission/MessageData/FileTitle
diagram InterrogationDataSet_p25.png
type restriction of xs:string
properties
content simple
facets
Kind Value Annotation
maxLength 50


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy