Skip to content

Consider to add one or more validation steps to assure TD consistency #238

Open
@relu91

Description

@relu91

In #231 we simplified the validation algorithm to just one step. This step leverage on the JSONSchema defined in the TD specs. However, to the best of my knowledge, JSONSchema does not handle complex constraints between fields. For example, if a particular value of the field is only admitted if another field as a specific value.

Currently, we do not check if a form of an affordance has the correct op values. For example, a property might have a form with "op": ["invokeAction"] and still be a valid TD for the current JSONSchema. We should look in those use cases (and maybe find some more) and update the validation algorithm consequently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    for next iterationPlanned or postponed topics for the futurepriority: lowIssues that might be deferred for latervalidationRelates to how to conform to a given set of rules (e.g., data validation, conformance)wait-for-td

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions