opcua:DataType
Mapped https://mapped.com/schema/mapped/1.0/opcua#DataType
An OPC UA DataType node (OPC 10000-3 §5.8.3): a built-in type such as Double, or a structure, enumeration or other subtype from namespace 0, a companion spec or a vendor. One vertex per DataType that an ingested Variable, Property or opcua:Field names through opcua:hasDataType, and per supertype of those. A structure's fields are opcua:Field vertices (opcua:hasField); an enumeration's values are opcua:EnumValue vertices (opcua:hasEnumValue).
Hierarchy
Parent classes: opcua:Node
Subclasses: none, this is a leaf class.
Facts
| Fact | Value |
|---|---|
| URI | https://mapped.com/schema/mapped/1.0/opcua#DataType |
| Source | Mapped |
| Protobuf | OPCUA_DATA_TYPE |
| GraphQL | OPCUADataType |
| Deprecated | No |
Properties
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
opcua:isAbstract | boolean | The IsAbstract attribute of an opcua:ObjectType, opcua:VariableType or opcua:DataType (OPC 10000-3 §5.5.2, §5.6.5, §5.8.3), written only when true: no node or value is of exactly this type, only of its subtypes. A value whose declared DataType is abstract carries its concrete type in UaTypeId. | ||
opcua:optionSetLength | integer | The length in bytes of a structured OptionSet's Value and ValidBits (OPC 10000-3 §8.40): its OptionSetLength Property (§5.8.3), else its supertype's, else enough bytes for its highest defined bit. Always written on a concrete structured OptionSet opcua:DataType. | ||
opcua:structureType | string | The kind of structure an opcua:DataType defines, StructureDefinition.StructureType (OPC 10000-3 §8.49), by name: Structure, StructureWithOptionalFields, Union, StructureWithSubtypedValues or UnionWithSubtypedValues. Present only on structures. A Union value sets one field; the optional kinds may leave fields out. |
exactType is always opcua:DataType.
Inherited properties (18)
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
connectedDataSourceId | string | The id of the origin data source of an entity. This id is already a part of mappingKey but important for faster query. | ||
connectorIds | Array<string> | The ids of the connectors associated with the entity. | ||
dateCreated | dateTime | Datetime when it is created. | ||
dateUpdated | dateTime | Datetime when it is updated last time. | ||
description | string | |||
enrichmentSourceConnectorId | string | The id of the source connector with which the vertex, whether it's a property bag or a derived entity, is associated. | ||
id | string | Yes | A globally unique ID in Mapped services. | |
isVirtual | boolean | false | If this is true, the corresponding entity is virtual, meaning it doesn't exist in the real world but fabricated in the Mapped's system. | |
mappingKey | string | The origin of the entity. More detailed definition is available at here. | ||
name | string | |||
opcua:browseName | string | The name part of the node's BrowseName (OPC 10000-3 §5.2.4), a QualifiedName; the namespace part is opcua:browseNameNamespaceUri. The DisplayName and Description attributes are stored as mapped:name and mapped:description. | ||
opcua:browseNameNamespaceUri | string | The namespace of the node's BrowseName (OPC 10000-3 §8.3) as a URI: its NamespaceIndex resolved through the server's NamespaceArray, http://opcfoundation.org/UA/ for namespace 0. Not the NodeId's namespace: a child that a type declares has its type's namespace. It tells a companion-spec name, such as the DI SerialNumber, from a vendor's. | ||
opcua:nodeId | string | Yes | The node's NodeId (OPC 10000-3 §5.2.2) in the string form of OPC 10000-6 §5.1.12: nsu=<namespace URI>;<identifier> for every namespace except 0, and the bare <identifier> (such as i=58) for namespace 0. GUID identifiers are uppercase. It is the deduplication key for OPC UA nodes, so a node must always produce the same string. | |
opcua:statusCode | string | The OPC UA StatusCode (OPC 10000-4 §7.38), as its symbolic name such as BadNotReadable, of the connector's read of this node's data, written only when it isn't Good. On an opcua:Property it explains the value: a failed read leaves opcua:value out, and a value that can't be decoded is kept undecoded. On a type vertex it says why the type couldn't be read, leaving a placeholder with only opcua:nodeId. | ||
organizationId | string | Yes | The id of the organization that owns the entity. | |
seeAlso | string | |||
systemType | Array<Object> | A system type of the system the entity is associated. | ||
type | Array<Object> | Yes | The entity's types or classes. The types are determined within the class hierarchy. This is an stringified alias for rdf:type. |
Relationships
| Relationship | Targets | Inverse | Cardinality | Notes |
|---|---|---|---|---|
opcua:hasEnumValue | opcua:EnumValue | opcua:isEnumValueOf | 0..* | transitive, canonical From a MultiStateDiscreteType or MultiStateValueDiscreteType Variable to each entry of its EnumStrings or EnumValues Property (OPC 10000-8 §5.3.3), or from an enumeration or OptionSet opcua:DataType to each EnumField of its EnumDefinition (OPC 10000-3 §8.50). OPC UA has no such reference: these are array values, and each entry becomes an opcua:EnumValue vertex. |
opcua:hasField | opcua:Field | opcua:isFieldOf | 0..* | transitive, canonical From a structure opcua:DataType to each of its fields, the StructureFields of its StructureDefinition (OPC 10000-3 §8.48). OPC UA has no such reference: the fields are part of the DataTypeDefinition attribute, and each becomes an opcua:Field vertex. |
opcua:hasSubtype | opcua:DataType, opcua:VariableType, opcua:ObjectType | opcua:isSubtypeOf | 0..* | transitive, canonical A HasSubtype reference (OPC 10000-3 §7.10) from a type to a direct subtype of the same NodeClass: Double to Duration, or BaseAnalogType to AnalogItemType. Only between stored type vertices. |
opcua:isDataTypeOf | opcua:Property, opcua:Field, opcua:Variable | opcua:hasDataType | 0..* | The Variables, Properties and opcua:Fields that hold values of this opcua:DataType: the inverse of opcua:hasDataType. |
opcua:isSubtypeOf | opcua:DataType, opcua:VariableType, opcua:ObjectType | opcua:hasSubtype | 0..* | The direct supertype of this type: the inverse of opcua:hasSubtype. OPC UA names it SubtypeOf (OPC 10000-5 §11.10). Following it up to a namespace-0 type says what a vendor type is, such as a MyTempType that subtypes AnalogItemType. |
Inherited relationships (11)
| Relationship | Targets | Inverse | Cardinality | Notes |
|---|---|---|---|---|
contributesProperty | Meta | hasPropertyContributedFrom | 0..* | transitive, canonical Mapped's internal relationship indicating that a vertex is contributing a property/value to another vertex. |
hasExtendedProperty | ExtendedProperty | 0..* | transitive, canonical The entity's customer-defined extended properties, one node per key-value pair. | |
hasGeneratedArtifact | OpenUSD_Layer | isGeneratedFrom | 0..* | The layers generated from this source. |
hasIdentity | Identity | 0..* | transitive, canonical | |
hasPrimBinding | OpenUSD_Prim_Binding | isPrimBindingOf | 0..* | transitive, canonical Attaches a prim address. Used directly on an entity for pure addressing that carries no physical claim, and on a Representation or level-of-detail heuristic to realise it in USD. |
hasPropertyBag | PropertyBag | 0..* | transitive, canonical | |
isConstraintTarget | Spatial_Constraint | constrainsAgainst | 0..* | The constraints evaluated against this representation or entity. |
isMigratedFrom | Entity | isMigratedTo | 0..* | The entity this entity has been migrated from. This entity supersedes the source. |
isMigratedTo | Entity | isMigratedFrom | 0..* | transitive, canonical The entity this entity has been migrated to. The target supersedes this entity. |
isSubjectOfConstraint | Spatial_Constraint | constrainsSubject | 0..* | The constraints this entity is the subject of. |
opcua:organizedBy | opcua:Object, opcua:Server | opcua:organizes | 0..* | The Object or server that groups this node: the inverse of opcua:organizes, OPC UA's OrganizedBy (OPC 10000-5 §11.6). |
Referenced by
Classes whose own relationships point at opcua:DataType.
- opcua:hasDataType (3): opcua:Field, opcua:Property, opcua:Variable
- opcua:hasSubtype (3): opcua:DataType, opcua:ObjectType, opcua:VariableType
- opcua:isEnumValueOf (1): opcua:EnumValue
- opcua:isFieldOf (1): opcua:Field
- opcua:isSubtypeOf (3): opcua:DataType, opcua:ObjectType, opcua:VariableType
Something wrong or missing on this page? Propose a change to opcua:DataType.