MNX Document Model
Loading...
Searching...
No Matches
mnx::validation::SemanticValidationResult Struct Reference

Returns the results of semantic validation. More...

#include <Validation.h>

+ Inheritance diagram for mnx::validation::SemanticValidationResult:

Public Attributes

std::unordered_map< std::string, json_pointerlyricLines
 
- Public Attributes inherited from mnx::validation::ValidationResult
std::vector< Errorerrors
 errors encountered
 

Additional Inherited Members

- Public Member Functions inherited from mnx::validation::ValidationResult
 operator bool () const
 Allows a simple if check to see if the schema validated.
 

Detailed Description

Returns the results of semantic validation.

Member Data Documentation

◆ lyricLines

std::unordered_map<std::string, json_pointer> mnx::validation::SemanticValidationResult::lyricLines

list of lyric line ID values. These are sourced either from global.lyrics().lineOrder() or global().lyrics().lineMetadata(). The json_pointer is used only for reporting the location of duplicate values. It points to an element in one of the two arrays, with preference given to lineOrder if it exists.