sunspec / models

SunSpec Model Definitions
Apache License 2.0
93 stars 52 forks source link

Naming of the description member #161

Closed BetaPrimate closed 3 years ago

BetaPrimate commented 3 years ago

I've worked with SMDX models for several years and am working on implementation of JSON.

1) XML (SMDX style) uses "description" wherever applicable (eg: ...)

2) schema.json defines the spelling as "description" wherever applicable (in model, group, point, and symbol)

3) however, all model_*.json files at https://github.com/sunspec/models/tree/master/json use "desc" (shortened name) to spell this member name.

This generate natively incompatible objects with raw (un-customized) import/export methods. Is this an acceptable variation that I'll need to work around in my code (non-issue)? Or is this indeed an issue?

BetaPrimate commented 3 years ago

This was recently addressed