-
Notifications
You must be signed in to change notification settings - Fork 333
Validating yang structure data #2403
Copy link
Copy link
Open
Labels
is:enhancementRequest for adding new feature or enahncing functionality.Request for adding new feature or enahncing functionality.status:completedFrom the developer perspective, the issue was solved (bug fixed, question answered,...)From the developer perspective, the issue was solved (bug fixed, question answered,...)
Metadata
Metadata
Assignees
Labels
is:enhancementRequest for adding new feature or enahncing functionality.Request for adding new feature or enahncing functionality.status:completedFrom the developer perspective, the issue was solved (bug fixed, question answered,...)From the developer perspective, the issue was solved (bug fixed, question answered,...)
Type
Fields
Give feedbackNo fields configured for issues without a type.
I've tried to validate the example in RFC 8791 using yanglint but without a success, is yang structures fully supported for data and schema or schema only?
This the examples I tried:
and input data:
{ "example-module:address-book": { "example-module:address": [ { "city": "Bedrock", "example-module-aug:zipcode": "70777", "first": "Fred", "last": "Flintstone", "street": "301 Cobblestone Way" }, { "city": "Bedrock", "example-module-aug:zipcode": "70777", "first": "Charlie", "last": "Root", "street": "4711 Cobblestone Way" } ] } }witht the command: