howarddierking / metalsmith-ldschema

Metalsmith plugin for generating Web documentation for a linked data vocabulary. Inspired by https://schema.org
Apache License 2.0
7 stars 1 forks source link

Need more flexibility in view model construction #9

Closed howarddierking closed 5 years ago

howarddierking commented 5 years ago

At present, the view model is constructed from a pre-defined set of terms (e.g. rdfs:label). I would like to be able to have additional relationships be added to the view model without requiring a code change (e.g. dataClassification or any other property metadata)

howarddierking commented 5 years ago

refactorings:

howarddierking commented 5 years ago

new plugin option: query

howarddierking commented 5 years ago

Note: as a part of making the view model construction more generic, I made a trade-off for simplicity and consistency in that all values are now sets rather than some be scalar values and others be sets.