Skip to content

Partial TD validation #287

@danielpeintner

Description

@danielpeintner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions