gbv / jskos-validate

Validation for JSKOS data.
MIT License
0 stars 1 forks source link

Rename validation functions or add synonyms for JSKOS object types #2

Closed stefandesu closed 5 years ago

stefandesu commented 5 years ago

It should be possible to use the result of jskos-tools' getObjectType to validate an object of that type. So we should either rename the validation functions (so validate.concept => validate.Concept, validate.scheme => validate.ConceptScheme, etc.), or provide synonyms. Renaming would break functionality for all programs using this.

nichtich commented 5 years ago

With jskos-tools I added a second argument to guessObjectType to get the short name.