-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
26 changed files
with
1,890 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.. _vodataservice_api: | ||
|
||
VODataservice API | ||
----------------- | ||
|
||
Models | ||
^^^^^^ | ||
|
||
.. automodule:: vo_models.vodataservice.models | ||
:members: | ||
:no-inherited-members: | ||
:exclude-members: model_config, model_fields, Job |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ The following IVOA protocols are currently supported: | |
:maxdepth: 3 | ||
|
||
uws | ||
vosi | ||
vosi | ||
vodataservice |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,173 @@ | ||
.. _vodataservice: | ||
|
||
VODataService | ||
------------- | ||
|
||
VODataService is an IVOA XML encoding standard for data collections and services that access them. It is an extension of the VOResource standard. | ||
|
||
`vo-models` currently supports the following VODataService v1.2 elements: | ||
|
||
Models | ||
^^^^^^ | ||
|
||
FKColumn | ||
******** | ||
|
||
Represents a single foreign key column. | ||
|
||
.. grid:: 2 | ||
:gutter: 2 | ||
|
||
.. grid-item-card:: Model | ||
|
||
.. literalinclude:: ../../../../examples/snippets/vodataservice/vodataservice.py | ||
:language: python | ||
:start-after: FKColumn-model-start | ||
:end-before: FKColumn-model-end | ||
|
||
.. grid-item-card:: XML Output | ||
|
||
.. literalinclude:: ../../../../examples/snippets/vodataservice/vodataservice.py | ||
:language: xml | ||
:lines: 2- | ||
:start-after: FKColumn-xml-start | ||
:end-before: FKColumn-xml-end | ||
|
||
ForeignKey | ||
********** | ||
|
||
Represents one or more foreign key columns. | ||
|
||
.. grid:: 2 | ||
:gutter: 2 | ||
|
||
.. grid-item-card:: Model | ||
|
||
.. literalinclude:: ../../../../examples/snippets/vodataservice/vodataservice.py | ||
:language: python | ||
:start-after: ForeignKey-model-start | ||
:end-before: ForeignKey-model-end | ||
|
||
.. grid-item-card:: XML Output | ||
|
||
.. literalinclude:: ../../../../examples/snippets/vodataservice/vodataservice.py | ||
:language: xml | ||
:lines: 2- | ||
:start-after: ForeignKey-xml-start | ||
:end-before: ForeignKey-xml-end | ||
|
||
DataType | ||
******** | ||
|
||
A simple element containing a column's datatype. | ||
|
||
.. grid:: 2 | ||
:gutter: 2 | ||
|
||
.. grid-item-card:: Model | ||
|
||
.. literalinclude:: ../../../../examples/snippets/vodataservice/vodataservice.py | ||
:language: python | ||
:start-after: DataType-model-start | ||
:end-before: DataType-model-end | ||
|
||
.. grid-item-card:: XML Output | ||
|
||
.. literalinclude:: ../../../../examples/snippets/vodataservice/vodataservice.py | ||
:language: xml | ||
:lines: 2- | ||
:start-after: DataType-xml-start | ||
:end-before: DataType-xml-end | ||
|
||
TableParam | ||
********** | ||
|
||
A description of a table parameter (a column within the table) with a fixed datatype. | ||
|
||
.. grid:: 2 | ||
:gutter: 2 | ||
|
||
.. grid-item-card:: Model | ||
|
||
.. literalinclude:: ../../../../examples/snippets/vodataservice/vodataservice.py | ||
:language: python | ||
:start-after: TableParam-model-start | ||
:end-before: TableParam-model-end | ||
|
||
.. grid-item-card:: XML Output | ||
|
||
.. literalinclude:: ../../../../examples/snippets/vodataservice/vodataservice.py | ||
:language: xml | ||
:lines: 2- | ||
:start-after: TableParam-xml-start | ||
:end-before: TableParam-xml-end | ||
|
||
Table | ||
***** | ||
|
||
A single table element. | ||
|
||
.. grid:: 2 | ||
:gutter: 2 | ||
|
||
.. grid-item-card:: Model | ||
|
||
.. literalinclude:: ../../../../examples/snippets/vodataservice/vodataservice.py | ||
:language: python | ||
:start-after: Table-model-start | ||
:end-before: Table-model-end | ||
|
||
.. grid-item-card:: XML Output | ||
|
||
.. literalinclude:: ../../../../examples/snippets/vodataservice/vodataservice.py | ||
:language: xml | ||
:lines: 2- | ||
:start-after: Table-xml-start | ||
:end-before: Table-xml-end | ||
|
||
TableSchema | ||
*********** | ||
|
||
Represents a description of a logically related group of tables. | ||
|
||
.. grid:: 2 | ||
:gutter: 2 | ||
|
||
.. grid-item-card:: Model | ||
|
||
.. literalinclude:: ../../../../examples/snippets/vodataservice/vodataservice.py | ||
:language: python | ||
:start-after: TableSchema-model-start | ||
:end-before: TableSchema-model-end | ||
|
||
.. grid-item-card:: XML Output | ||
|
||
.. literalinclude:: ../../../../examples/snippets/vodataservice/vodataservice.py | ||
:language: xml | ||
:lines: 2- | ||
:start-after: TableSchema-xml-start | ||
:end-before: TableSchema-xml-end | ||
|
||
|
||
TableSet | ||
******** | ||
|
||
Represents a collection of tables that are part of a single resource. | ||
|
||
.. grid:: 2 | ||
:gutter: 2 | ||
|
||
.. grid-item-card:: Model | ||
|
||
.. literalinclude:: ../../../../examples/snippets/vodataservice/vodataservice.py | ||
:language: python | ||
:start-after: TableSet-model-start | ||
:end-before: TableSet-model-end | ||
|
||
.. grid-item-card:: XML Output | ||
|
||
.. literalinclude:: ../../../../examples/snippets/vodataservice/vodataservice.py | ||
:language: xml | ||
:lines: 2- | ||
:start-after: TableSet-xml-start | ||
:end-before: TableSet-xml-end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.