Closed lzehl closed 4 years ago
Not sure what you are asking exactly. Adding definedIn
here makes sense as an optional property to be able to point to the original file the annotation comes from.
I agree that one of the annotationFile
parts should be renamed to make it less confusing. If we were to rename the schema to annotationStorage
, I would intuitively expect that you can point to a repository where one or several annotation files are located. The way the schema is built at the moment, this is not the intention, right? If not, I would prefer to keep annotationFile
as schema name and e.g. annotationFileStorage
or fileStorage
as the property name.
If that's not what you asked for, could you explain in more detail what you are wondering about? :)
Feel free to follow my thoughts that let me to it, but the important suggestion comes at the end of this comment.
I thought about it a bit more and I suggest not to introduce another property name to point to a fileInstance.schemas.json, but stick to the one we typically use which is definedIn
. In this case there is no name conflict with the schema annotationFile
.
Alternatively I could imagine a property storedIn
or representedIn
instead of definedIn
.
The original file (fileInstance.schemas.json) where the annotation was inspired from is pointed to in the annotation.schema.json
via the property inspiredBy
.
More points to discuss here:
should we move annotationFile.schemas.json to core or to options ?
I would like to move the navigationRules
from annotation.schemas.json to annotationFile.schemas.json and probably add a referenceSpace
property here as well.
inspiredBy
), it might be delivered in several other spaces (each annotationFile space) inspiredBy
, but then group all representations of this annotation (if there are multiple ones)navigationRules
referenceSpace
internalFileIdentifier
More concrete example for point 3)
inspiredBy
and two annotationFile
s, one for each coordinate space
OR to simplify the atlas registration I would not create annotations for the probability maps but only the maximum probability map of each area (which should be default representation of the parcellation of the atlas):inspiredBy
linked to (at least) the probability map of that area (both coordinate spaces) and two annotationFile
s, one for each coordinate space that links to the maximum probability map with the internalFileIndentifier for that areainspiredBy
actually depends on the coordinate space, but creating in total 4 annotations for one area (one for each hemisphere + each coordinate space it is represented in) seems to be too cumbersome and repetitive...What if we move also the inspiredBy
with the nativeCoordinateSpace
(optional) into the annotationFile?
Here a complete revised suggestion:
@UlrikeS91 @aeidi89 @skoehnen @tgbugs What do you think?
Based on the discussions in #27 this schema needs to be merged with annotation schema also discussed in #27
was merged into annotation. PR already integrated
annotationFile
definedIn
, schema:annotationFile
orannotationStorage
?