cisco-ie / yang-json-validator

Validate support for YANG JSON configuration/operational data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validate elements match expected primitive types

remingtonc opened this issue · comments

Each YANG leaf defines the type which is expected, when traversing the JSON tree we can ensure that the data matches the expected primitive type. Higher level types can also be validated against but that would be more complex.

Simple check.