ivoa-std / MANGO

Model for Annotating Generic Objects in VOTables
2 stars 8 forks source link

ModelInstance #31

Closed mcdittmar closed 1 month ago

mcdittmar commented 3 years ago

This element seems to be a 'catch-all' for any modeled data product. In that regard, it is very similar to Markus' recommendation, where there is an undescribed class where you then "put appropriate object here".

lmichel commented 3 years ago

This is a catch-anything-serialized-with-the-same-syntax element

In that regard, it is very similar to Markus' recommendation,

I'm not sure @msdemlei will be enthusiastic with this way to proceed, bu the idea is the similar anyway.

where there is an undescribed class where you then "put appropriate object here".

Exactly, there are 2 use cases that justified this feature:

It is to be noted that the such associated data can be delivered by web services; in that case, we would have to use WebEnpoint instead of ModelInstance

mcdittmar commented 3 years ago

Right, so this is another case in the discussion about model dependencies. A more formal approach would be:

For the case I'm currently working.. I am associating a cube (TS/LightCurve) to each Master Source record. Which is when I noticed that, technically, my TS is not a ModelInstance, so should not be allowed (validation wise).