Debian Codegraph @

gavo/resources/schemata/Colstats.xsd

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- a prototype extension schema to add extended metadata to VODataService
3 tablesets as per vs:BaseParam's authorisation to add any non-namespace
4 attributes.
5
6 Once we've worked out which of these are useful, they ought to be added
7 to VODataService, and we ought to get rid or the namespaced attributes again.
8
9 This is *not* intended to turn into a permanent Registry extension.
10 -->
11
12 <xs:schema
13 xmlns:xs="http://www.w3.org/2001/XMLSchema"
14 targetNamespace="http://dc.g-vo.org/ColStats-1"
15 xmlns="http://dc.g-vo.org/ColStats-1"
16 attributeFormDefault="qualified">
17
18 <xs:attribute name="min-value">
19 <xs:annotation>
20 <xs:documentation>
21 The smallest value found in the column in VOTable TABLEDATA
22 serialisation.
23 </xs:documentation>
24 <xs:documentation>
25 There are no guarantees that the column does not
26 contain smaller values; services may choose to only sample
27 a reasonable subset of large tables, or to only now and
28 then re-analyse evolving tables.
29 </xs:documentation>
30 </xs:annotation>
31 <xs:simpleType>
32 <xs:restriction base="xs:string"/>
33 </xs:simpleType>
34 </xs:attribute>
35
36 <xs:attribute name="max-value">
37 <xs:annotation>
38 <xs:documentation>
39 The largest value found in the column in VOTable TABLEDATA
40 serialisation.
41 </xs:documentation>
42 <xs:documentation>
43 There are no guarantees that the column does not
44 contain larger values; services may choose to only sample
45 a reasonable subset of large tables, or to only now and
46 then re-analyse evolving tables.
47 </xs:documentation>
48 </xs:annotation>
49 <xs:simpleType>
50 <xs:restriction base="xs:string"/>
51 </xs:simpleType>
52 </xs:attribute>
53
54 <xs:attribute name="percentile03">
55 <xs:annotation>
56 <xs:documentation>
57 An estimate for the value in the 3rd percentile of the column's
58 distribution in VOTable TABLEDATA serialisation.
59 </xs:documentation>
60 <xs:documentation>
61 This can be an interpolated value, i.e., the value is not guaranteed
62 to be present in the table.
63 </xs:documentation>
64 </xs:annotation>
65 <xs:simpleType>
66 <xs:restriction base="xs:string"/>
67 </xs:simpleType>
68 </xs:attribute>
69
70 <xs:attribute name="median">
71 <xs:annotation>
72 <xs:documentation>
73 An estimate for the median value of the column's
74 distribution in VOTable TABLEDATA serialisation.
75 </xs:documentation>
76 <xs:documentation>
77 This can be an interpolated value, i.e., the value is not guaranteed
78 to be present in the table.
79 </xs:documentation>
80 </xs:annotation>
81 <xs:simpleType>
82 <xs:restriction base="xs:string"/>
83 </xs:simpleType>
84 </xs:attribute>
85
86 <xs:attribute name="percentile97">
87 <xs:annotation>
88 <xs:documentation>
89 An estimate for the value in the 97th percentile of the column's
90 distribution in VOTable TABLEDATA serialisation.
91 </xs:documentation>
92 <xs:documentation>
93 This can be an interpolated value, i.e., the value is not guaranteed
94 to be present in the table.
95 </xs:documentation>
96 </xs:annotation>
97 <xs:simpleType>
98 <xs:restriction base="xs:string"/>
99 </xs:simpleType>
100 </xs:attribute>
101
102 <xs:attribute name="fillFactor">
103 <xs:annotation>
104 <xs:documentation>
105 An estimate for the ratio of non-NULL values in this column
106 to the number of rows in the table.
107 </xs:documentation>
108 </xs:annotation>
109 <xs:simpleType>
110 <xs:restriction base="xs:double"/>
111 </xs:simpleType>
112 </xs:attribute>
113
114 </xs:schema>