This document defines a YANG extension that allows for defining metadata annotations in YANG modules. The document also specifies XML and JSON encoding of annotations and other rules for annotating instances of YANG data nodes.
RFC 7952-2016 history
2016RFC 7952-2016 Defining and Using Metadata with YANG