Skip to content

Commit

Permalink
add ArtifactDescription to VODML
Browse files Browse the repository at this point in the history
only include changed sections in UML image
  • Loading branch information
pdowler committed Jul 29, 2024
1 parent b4ea486 commit 8ee180e
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ The following is a brief summary of changes in the current draft version (2.5).
The above changes mean that each of position/energy/time/polarization objects have one mandatory field and
queries with something like `Plane.position.bounds is not null` can be used to detect if the object is present.

- add `ArtifactDescription` entity
- add `Artifact.descriptor` to support providing descriptions with links (eg in a DataLink output)
- add `ArtifactDescription` entity to support providing descriptions with links (eg in a DataLink output)
- add `Artifact.descriptionID` to refer to a shared `ArtifactDescription`

## radio support
For radio observations, many properties such as field-of-view, spatial and spectral resolution are dependent on frequency. Modern, wideband facilities can have large frequency-dependent variation in these properties within a single observation.
Expand Down
45 changes: 45 additions & 0 deletions src/main/resources/CAOM-current-vodml.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1062,6 +1062,18 @@
<maxOccurs>-1</maxOccurs>
</multiplicity>
</attribute>
<attribute>
<vodml-id>Artifact.descriptionID</vodml-id>
<name>descriptionID</name>
<description>identifier for an ArtifactDescription entity (new in CAOM-2.5)</description>
<datatype>
<vodml-ref>ivoa:anyURI</vodml-ref>
</datatype>
<multiplicity>
<minOccurs>0</minOccurs>
<maxOccurs>1</maxOccurs>
</multiplicity>
</attribute>

<composition>
<vodml-id>Artifact.parts</vodml-id>
Expand All @@ -1077,6 +1089,39 @@
</composition>
</objectType>

<objectType>
<vodml-id>ArtifactDescription</vodml-id>
<name>ArtifactDescription</name>
<description>shared and referenceable description of an artitfact (NEW in CAOM-2.5)</description>
<extends>
<vodml-ref>caom2:CaomEntity</vodml-ref>
</extends>
<attribute>
<vodml-id>ArtifactDescription.uri</vodml-id>
<name>uri</name>
<description>logical identifier for this description</description>
<datatype>
<vodml-ref>ivoa:anyURI</vodml-ref>
</datatype>
<multiplicity>
<minOccurs>1</minOccurs>
<maxOccurs>1</maxOccurs>
</multiplicity>
</attribute>
<attribute>
<vodml-id>Artifact.description</vodml-id>
<name>description</name>
<description>description of an artifact</description>
<datatype>
<vodml-ref>ivoa:string</vodml-ref>
</datatype>
<multiplicity>
<minOccurs>1</minOccurs>
<maxOccurs>1</maxOccurs>
</multiplicity>
</attribute>
</objectType>

<objectType>
<vodml-id>Part</vodml-id>
<name>Part</name>
Expand Down
Binary file modified src/main/resources/draft-CAOM-2.5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/uml/CAOM.zargo
Binary file not shown.
12 changes: 6 additions & 6 deletions src/uml/merge-uml-pngs.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash

convert -append \
CAOM1core.png \
CAOM2datatypes.png \
CAOM3wcs.png \
CAOM4entities.png \
CAOM5vocabularies.png \
## complete list
#convert -append CAOM1core.png CAOM2datatypes.png CAOM3wcs.png CAOM4entities.png CAOM5vocabularies.png \
draft-CAOM-2.5.png

## only changes
convert -append CAOM1core.png CAOM4entities.png CAOM5vocabularies.png \
draft-CAOM-2.5.png

0 comments on commit 8ee180e

Please sign in to comment.