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
The scripting API produce() methods allows for passing a TD fragment argument. It is essentially a init dictionary of a TD.
We might want to have a proper validation of this TD fragment argument.
The idea is to use the existing JSON Schema form the ThingDescription document with the only difference that all "required": { ... } keywords are pruned.
Call 2021-01-18: @relu91 volunteered to work on a PR providing an algorithm to validate partial TD input (e.g., by re-using the JSON schema used in the TD spec)
The scripting API
produce()
methods allows for passing a TD fragment argument. It is essentially a init dictionary of a TD.We might want to have a proper validation of this TD fragment argument.
The idea is to use the existing JSON Schema form the ThingDescription document with the only difference that all
"required": { ... }
keywords are pruned.Question: difference between TD model and TD fragment used in scripting.
see related discussion for TD model.
The text was updated successfully, but these errors were encountered: