MTConnectDevices

Definition: root entity of an MTConnectDevices Response Documentresponse document published by an MTConnect Agent in response to a probe request. that contains the Device Information Modelinformation model that describes the physical and logical configuration for a piece of equipment and the data that may be reported by that equipment. of one or more Device entities.

MTConnectDevices

Note: Additional properties of MTConnectDevices MAY be defined for schema and namespace declaration. See Section Schema and Namespace Declaration Information for an XML example.

Version Info

IntroducedDeprecatedUpdated
1.0  

Relations

NameTypeIntDepMultiplicityDescription
hasHeader Header1.01
hasDevice Device1.01..*

Constraints

Error MessageOCL Expression
All id properties MUST be unique.
val:IdsMustBeUnique
    a sh:PredicateShape ;
    sh:targetSubjectsOf mt:hasId ;
    sh:sparql [
        sh:prefixes val:Prefix ;
        sh:message "All `id` properties **MUST** be unique." ;
        sh:select """
            SELECT $this ?id WHERE {
                $this mt:hasId ?id .
                ?other mt:hasId ?id .
                FILTER ($this != ?other)
            }
        """ ;
    ] .
All name properties MUST be unique.
val:NamesShouldBeUnique
    a sh:PredicateShape ;
    sh:targetSubjectsOf mt:hasName ;
    sh:sparql [
      a sh:SPARQLConstraint ;
        sh:prefixes val:Prefix ;
        sh:message "All `name` properties **SHOULD** be unique." ;
        sh:severity sh:Warning ;
        sh:select """
            SELECT $this ?name WHERE {
                $this mt:hasName ?name .
                ?other mt:hasName ?name .
                FILTER ($this != ?other)
            }
        """ ;
    ] .

val:NamesAtTheSameLevelMustBeUnique
    a sh:NodeShape ;
    sh:targetClass mt:Component ;
    sh:sparql [
        a sh:SPARQLConstraint ;
        sh:prefixes val:Prefix ;
        sh:message "All `name` properties at the same level **MUST** be unique." ;
        sh:select """
            SELECT $this ?name ?sub1 ?sub2 WHERE {
                $this mt:hasComponent ?sub1 .
                ?sub1 mt:hasName ?name .
                $this mt:hasComponent ?sub2 .
                ?sub2 mt:hasName ?name .
                FILTER (?sub1 != ?sub2)
            }
        """ ;
    ] .

Back to top

Copyright © 2017-2026 Association for Manufacturing Technology (AMT). All rights reserved. MTConnect® is a trademark of AMT. Terms of Use.

MTConnect SysML Model V2.7