Is there a way to define/execute custom data integrity checks on the Azure Digital Twin data?

Gautam G 6 Reputation points
2021-03-17T20:34:11.703+00:00

Is there a way to define/execute custom data integrity checks on the Azure Digital Twin data?

Eg:

We have a model for Person with property name, gender and age.

Person1/Person2/Person3 are twins of type Person.

Person2 <motherOf> Person1 would imply we cannot have Person2 gender as "Male".

How can such checks be defined and performed on the data level?

Azure Digital Twins
Azure Digital Twins
An Azure platform that is used to create digital representations of real-world things, places, business processes, and people.
224 questions
{count} votes

1 answer

Sort by: Most helpful
  1. QuantumCache 20,261 Reputation points
    2021-04-07T14:47:04.733+00:00

    Hello @GautamG-045, Below is the response from the product team, hope it is helpful with your initial query.

    The logic required in this example would need to be implemented by the application that is updating/creating the new digital twin. Depending on the case, the application may need to query information about related twins to perform such checks.

    You may be interested in checking DTDL Validator - Code Samples | Microsoft Learn in case that helps.

    Please comment in the below section if you need further help in this regard!
    If the response is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments