-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
I'm currently implementing a parser for the JSON models according to the information model specification and found some issues when using the current models as a test case, because the currently provided models do not fully conform to the (admittedly also not quite yet consistent or final) information model specification:
- Models currently lack the (qua specification) required "label" field
- Models are not declared as "model" explicitly (I personally wouldn't object to that, honestly, but the specification disagrees)
- For parsers' sake, model "id" fields should not be purely numeric types (e.g. 1, 102, ...), given that the specification allows "alphanumeric characters and the underscore character", so even if only numeric IDs should be used for model IDs, they should still be stringly-typed (i.e. "1", "102", ...).
- Points' "access" fields have lowercase values (in contrast to the specification's uppercase "R" and "RW" definitions)
- Points' "mandatory" fields currently hold bool-ish strings ("true", "false") instead of the specification's "M" or "O" strings.
- Groups are missing their "type" attribute.
- some scaling factors are ascribed type "sunssf" instead of the specification's "sf"
- Points' "size" attribute is encoded as "len"
Metadata
Metadata
Assignees
Labels
No labels