Closed reckart closed 5 years ago
Correct, in WSEV you cannot see the difference and conceptually it is all properties and in LIF some properties are expressed on the top-level of an annotations whereas the rest is in the features dictionary which is a dictionary of all other properties. However, it is confusing and I will add something to the LIF specifications on this.
The distinction is there because of historical accident I think and in retrospect we should probably only have had @type
and properties
as attributes on annotations. Changing this is tricky since it breaks backward compatibility.
Some clarifications were added to the lapps.github.io pages (see https://github.com/lapps/lapps.github.io/commit/3d5e4661bd781e574c7a881f76e7768f55bbb6e6).
The LAPPS WSEV generically defines Properties, e.g.
start
,end,
targets`, etc.The LIF format makes a distinction between
properties
andfeatures
. Properties are defined directly on the JSON annotation object, whilefeatures
are actually an embedded map:From the WSEV it is not possible to see what is supposed to be a feature and what is supposed to be a property.