IETF YANG Telemetry message draft.
Examples are validated with development yanglint version 5.0.2 tool from libyang
Single Tree
$ yanglint yang/ietf-telemetry-message@2025-10-19.yang -f tree --tree-line-length 69 -p yang/deps
$ yanglint yang/ietf-yang-push-telemetry-message@2025-10-19.yang -f tree --tree-line-length 69 -p dyang/depsFull tree validating the schemas
yanglint -p yang/deps yang/ietf-yang-push-telemetry-message@2025-10-19.yang yang/ietf-telemetry-message@2025-10-19.yang -f treeFormat for Datatracker
$ yanglint yang/ietf-telemetry-message@2025-10-19.yang -f yang -p yang/deps
$ yanglint yang/ietf-yang-push-telemetry-message@2025-10-19.yang -f yang -p yang/depsValidating the example using YANG Library
yanglint -e -Y examples/lib.xml -p yang/deps -p yang examples/example.json -f xmlValidating the example without using YANG Library
yanglint --anydata-strict -p yang/deps yang/deps/ietf-yang-push@2019-09-09.yang yang/deps/ietf-udp-notif-transport@2025-02-14.yang yang/deps/ietf-datastores@2018-02-14.yang yang/ietf-yang-push-telemetry-message@2025-10-19.yang yang/ietf-telemetry-message@2025-10-19.yang examples/example.json -f jsonValidating the example telemetry-message with notification envelope payload using YANG Library (currently working with yanglint 5.0.4)
yanglint --anydata-strict -e -Y examples/lib.xml -p yang/deps -p yang examples/example-with-envelope.json -f jsonNOTE: validating just the envelope without the telemetry message works
yanglint -e -Y examples/lib.xml -p yang/deps -p yang examples/envelope.json -f json