After you define a Thing Specification Language (TSL) model in IoT Platform, IoT Platform verifies TSL data that is submitted by devices based on specified verification types and defined TSL formats. This article describes three types of data verification.

Notice If the Data Format parameter of a product is Custom, the TSL data submitted by the devices under the product is parsed before verification. IoT Platform uses a data parsing script to convert the submitted data to Alink JSON data.

For more information, see What is data parsing?

Type Description Scenario
Strong verification IoT Platform verifies all fields in the data that is submitted by devices. Only the data that passes the verification is forwarded.

The verified data is displayed on the TSL Data tab of the Device Details page in the IoT Platform console. The data that fails the verification is not displayed.

If a product was created before October 14, 2020, you can use only the strong verification mode.
Weak verification IoT Platform verifies only the identifier and dataType fields of device data. All data is forwarded.

The verified data is displayed on the TSL Data tab of the Device Details page in the IoT Platform console. The data that fails the verification is not displayed.

You can view the data that fails the verification in the checkFailedData parameter of the forwarded data. For more information, see Data formats.

If a product was created between October 14, 2020 and December 31, 2020, you cannot change the current verification mode.

If a product was created on or after January 1, 2021, you must select the weak verification or verification-free mode. After the product is created, you cannot change its verification mode.

For more information, see Create a product.

Verification-free IoT Platform does not verify device data. All data is forwarded.

Usage notes of TSL models:

  • Submit TSL properties: The property data is not displayed on the TSL Data > Status tab of the Device Details page in the IoT Platform console .
  • Call TSL services: The asynchronous call method is used for all services.
  • Submit TSL events: The type of all events is Info.