[Cube/vo-dml] ivoa datatypes

Gerard Lemson lemson at MPA-Garching.MPG.DE
Tue Apr 29 01:32:28 PDT 2014


Hi Mark
Leaving discussion on a "time quantity" type to others for now..

> -----Original Message-----
> From: CresitelloDittmar, Mark [mailto:mdittmar at cfa.harvard.edu]
> Sent: 28 April 2014 21:19
> To: Gerard Lemson
> Cc: Data Models mailing list
> Subject: Re: [Cube/vo-dml] ivoa datatypes
> 
> ...
> 
> So, I see certain cases, where you want to identify a particular item where a URL
> would be appropriate, but not a URI.. to ensure you get the right thing.
> 
>   examples:  DataID.logo , STC.STCBase.href, maybe some documentation links.
> 
> For the majority of cases anyURI would be more appropriate.
> 
In VO-DML, extension /inheritance of primitive types is assumed to indicate a restriction on the value represented by the super type.
So if we would want to define ivoa:URL (anyURL?) as a subtype of ivoa:anyURI, we must define the restriction on its value. 
Is it something like: "Must start with 'http://' or 'ftp://' or 'https://' or ... "? 
There must be someone out there who knows about this.
 
Cheers
Gerard
PS
ivoa: ==> https://volute.googlecode.com/svn/trunk/projects/dm/vo-dml/models/ivoa/IVOA.vo-dml.xml. 




More information about the dm mailing list