You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/digital-twins/how-to-parse-models.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ titleSuffix: Azure Digital Twins
4
4
description: Learn how to use the parser library to parse DTDL models.
5
5
author: baanders
6
6
ms.author: baanders
7
-
ms.date: 06/29/2023
7
+
ms.date: 04/11/2025
8
8
ms.topic: how-to
9
9
ms.service: azure-digital-twins
10
10
ms.custom: devx-track-dotnet
@@ -31,7 +31,7 @@ To use the parser library, you provide it with a set of DTDL documents. Typicall
31
31
Here's the general workflow for using the parser:
32
32
1. Retrieve some or all DTDL documents from the service.
33
33
2. Pass the returned, in-memory DTDL documents to the parser.
34
-
3. The parser will validate the set of documents passed to it, and return detailed error information. This ability is useful in editor scenarios.
34
+
3. The parser validates the set of documents passed to it, and returns detailed error information. This ability is useful in editor scenarios.
35
35
4. Use the parser APIs to continue analyzing the models included in the document set.
36
36
37
37
The capabilities of the parser include:
@@ -41,13 +41,13 @@ The capabilities of the parser include:
41
41
* Determine whether a model is assignable from another model.
42
42
43
43
> [!NOTE]
44
-
> [IoT Plug and Play](../iot/overview-iot-plug-and-play.md) devices use a small syntax variant to describe their functionality. This syntax variant is a semantically compatible subset of the DTDL that is used in Azure Digital Twins. When using the parser library, you do not need to know which syntax variant was used to create the DTDL for your digital twin. The parser will always, by default, return the same model for both IoT Plug and Play and Azure Digital Twins syntax.
44
+
> [IoT Plug and Play](../iot/overview-iot-plug-and-play.md) devices use a small syntax variant to describe their functionality. This syntax variant is a semantically compatible subset of the DTDL that is used in Azure Digital Twins. When using the parser library, you don't need to know which syntax variant was used to create the DTDL for your digital twin. The parser will always, by default, return the same model for both IoT Plug and Play and Azure Digital Twins syntax.
45
45
46
46
## Code with the parser library
47
47
48
48
You can use the parser library directly, for things like validating models in your own application or for generating dynamic, model-driven UI, dashboards, and reports.
49
49
50
-
To support the parser code example below, consider several models defined in an Azure Digital Twins instance:
50
+
To support the following parser code example, consider several models defined in an Azure Digital Twins instance:
0 commit comments