Validate Model


The Validate Model node verifies whether the data from the previous node matches the model.

Node Type

EnOS.

Input and Output Ability

This node has multiple entry points and 2 exit points (success/failure).

Node Properties

../../../_images/validate_model.png


Name

The name for this node.


Description

The description for this node.

Limitations

  • The input msg must be in EnOS standard data format, with the metadata containing the asset ID, device key, product key, and organization ID.

Samples

Input Sample

{
  "MetaData": {
    "messageType": "PostAttribute",
    "assetId": "assetId",
    "deviceKey": "deviceKey",
    "productKey": "productKey",
    "orgId": "yourOrgId"
  },
  "Body": {
    "capacity":98
  }
}

Output Sample

{
  "MetaData": {
    "messageType": "PostAttribute",
    "assetId": "assetId",
    "deviceKey": "deviceKey",
    "productKey": "productKey",
    "orgId": "yourOrgId",
    "componentResult": "Success",
  },
  "Body": {
    "capacity":98
  }
}