SimDB/REST
SimDB is based on a data model.
Data models are supposed to be represented in UML and be accompanied by an XML schema.
In SimDB we propose the following usage for this schema
- Defines valid SimDB/XML documents.
- Such documents can be retrieved upon a simple GET request (format to be decided) for single (or multiple?), identified SimDB/Resource(-s).
- Such documents MAY be used if a SimDB instance allows upload/insertion of SimDB/Resource-s.
TODO
Issue to be discussed:
- Only concrete (i.e. non-abstract) root entity classes mapped to root elements
- use of predefined base.xsd
- each package mapped to own XML doc with own targetnamespace
- identifiers structured
- database id (a long)
- ivoIdentifier
- xml ID (for references internal to doc)
- ?publisherDID?
- references mapped to element containing just an identifier
- ...