/[volute]/trunk/projects/theory/snapdm/output/schema/VOResource-v1.0.xsd
ViewVC logotype

Contents of /trunk/projects/theory/snapdm/output/schema/VOResource-v1.0.xsd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 107 - (show annotations)
Thu Mar 27 10:43:08 2008 UTC (12 years, 8 months ago) by bourges.laurent
File size: 55779 byte(s)
First release able to generate simple Java Beans from UML model
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema targetNamespace="http://www.ivoa.net/xml/VOResource/v1.0"
3 xmlns="http://www.w3.org/2001/XMLSchema"
4 xmlns:xs="http://www.w3.org/2001/XMLSchema"
5 xmlns:vr="http://www.ivoa.net/xml/VOResource/v1.0"
6 xmlns:vm="http://www.ivoa.net/xml/VOMetadata/v0.1"
7 elementFormDefault="unqualified"
8 attributeFormDefault="unqualified"
9 version="1.02">
10
11 <xs:annotation>
12 <xs:appinfo>
13 <vm:schemaName>VOResource</vm:schemaName>
14 <vm:schemaPrefix>xs</vm:schemaPrefix>
15 <vm:targetPrefix>vr</vm:targetPrefix>
16 </xs:appinfo>
17 <xs:documentation>
18 Implementation of an XML Schema describing a resource to
19 be used in the Virtual Observatory Project. Based on "Resource
20 Metadata for the Virtual Observatory", Version 0.8,
21 February 2002 by Bob Hanisch et al.
22 </xs:documentation>
23 </xs:annotation>
24
25 <xs:simpleType name="UTCTimestamp">
26 <xs:annotation>
27 <xs:documentation>
28 A timestamp that is compliant with ISO8601 but disallows
29 the use of a timezone indicator.
30 </xs:documentation>
31 </xs:annotation>
32
33 <xs:restriction base="xs:dateTime">
34 <xs:pattern value="\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(\.\d+)?"/>
35 </xs:restriction>
36 </xs:simpleType>
37
38 <xs:simpleType name="UTCDateTime">
39 <xs:annotation>
40 <xs:documentation>
41 A date stamp that can be given to a precision of either a
42 day (type xs:date) or seconds (type
43 xs:dateTime)
44 </xs:documentation>
45 </xs:annotation>
46 <xs:union memberTypes="xs:date vr:UTCTimestamp"/>
47 </xs:simpleType>
48
49 <xs:complexType name="Resource">
50 <xs:annotation>
51 <xs:documentation>
52 Any entity or component of a VO application that is
53 describable and identifiable by a IVOA Identifier.
54 </xs:documentation>
55 </xs:annotation>
56 <xs:sequence>
57 <xs:element name="validationLevel" type="vr:Validation"
58 minOccurs="0" maxOccurs="unbounded">
59 <xs:annotation>
60 <xs:documentation>
61 A numeric grade describing the quality of the
62 resource description, when applicable,
63 to be used to indicate the confidence an end-user
64 can put in the resource as part of a VO application
65 or research study.
66 </xs:documentation>
67 <xs:documentation>
68 See vr:ValidationLevel for an explanation of the
69 allowed levels.
70 </xs:documentation>
71 <xs:documentation>
72 Note that when this resource is a Service, this
73 grade applies to the core set of metadata.
74 Capability and interface metadata, as well as the
75 compliance of the service with the interface
76 standard, is rated by validationLevel tag in the
77 capability element (see the vr:Service complex
78 type).
79 </xs:documentation>
80 </xs:annotation>
81 </xs:element>
82
83 <xs:element name="title" type="xs:token">
84 <xs:annotation>
85 <xs:appinfo>
86 <vm:dcterm>Title</vm:dcterm>
87 </xs:appinfo>
88 <xs:documentation>
89 the full name given to the resource
90 </xs:documentation>
91 </xs:annotation>
92 </xs:element>
93
94 <xs:element name="shortName" type="vr:ShortName" minOccurs="0">
95 <xs:annotation>
96 <xs:documentation>
97 a short name or abbreviation given to the resource.
98 </xs:documentation>
99 <xs:documentation>
100 This name will be used where brief annotations for
101 the resource name are required. Applications may
102 use to refer to this resource in a compact display.
103 </xs:documentation>
104 <xs:documentation>
105 One word or a few letters is recommended. No more
106 than sixteen characters are allowed.
107 </xs:documentation>
108 </xs:annotation>
109 </xs:element>
110
111 <xs:element name="identifier" type="vr:IdentifierURI">
112 <xs:annotation>
113 <xs:appinfo>
114 <vm:dcterm>Identifier</vm:dcterm>
115 </xs:appinfo>
116 <xs:documentation>
117 Unambiguous reference to the resource conforming to the IVOA
118 standard for identifiers
119 </xs:documentation>
120 </xs:annotation>
121 </xs:element>
122
123 <xs:element name="curation" type="vr:Curation">
124 <xs:annotation>
125 <xs:documentation>
126 Information regarding the general curation of the resource
127 </xs:documentation>
128 </xs:annotation>
129 </xs:element>
130
131 <xs:element name="content" type="vr:Content">
132 <xs:annotation>
133 <xs:documentation>
134 Information regarding the general content of the resource
135 </xs:documentation>
136 </xs:annotation>
137 </xs:element>
138
139 </xs:sequence>
140
141 <xs:attribute name="created" type="xs:dateTime" use="required">
142 <xs:annotation>
143 <xs:documentation>
144 The UTC date and time this resource metadata description
145 was created.
146 </xs:documentation>
147 <xs:documentation>
148 This timestamp must not be in the future. This time is
149 not required to be accurate; it should be at least
150 accurate to the day. Any insignificant time fields
151 should be set to zero.
152 </xs:documentation>
153 </xs:annotation>
154 </xs:attribute>
155
156 <xs:attribute name="updated" type="xs:dateTime" use="required">
157 <xs:annotation>
158 <xs:documentation>
159 The UTC date this resource metadata description was last updated.
160 </xs:documentation>
161 <xs:documentation>
162 This timestamp must not be in the future. This time is
163 not required to be accurate; it should be at least
164 accurate to the day. Any insignificant time fields
165 should be set to zero.
166 </xs:documentation>
167 </xs:annotation>
168 </xs:attribute>
169
170 <xs:attribute name="status" use="required">
171 <xs:annotation>
172 <xs:documentation>
173 a tag indicating whether this resource is believed to be still
174 actively maintained.
175 </xs:documentation>
176 </xs:annotation>
177 <xs:simpleType>
178 <xs:restriction base="xs:string">
179 <xs:enumeration value="active">
180 <xs:annotation>
181 <xs:documentation>
182 resource is believed to be currently maintained, and its
183 description is up to date (default).
184 </xs:documentation>
185 </xs:annotation>
186 </xs:enumeration>
187 <xs:enumeration value="inactive">
188 <xs:annotation>
189 <xs:documentation>
190 resource is apparently not being maintained at the present.
191 </xs:documentation>
192 </xs:annotation>
193 </xs:enumeration>
194 <xs:enumeration value="deleted">
195 <xs:annotation>
196 <xs:documentation>
197 resource publisher has explicitly deleted the resource.
198 </xs:documentation>
199 </xs:annotation>
200 </xs:enumeration>
201 </xs:restriction>
202 </xs:simpleType>
203 </xs:attribute>
204 </xs:complexType>
205
206 <xs:simpleType name="ValidationLevel">
207 <xs:annotation>
208 <xs:documentation>
209 the allowed values for describing the resource descriptions
210 and interfaces.
211 </xs:documentation>
212 <xs:documentation>
213 See the RM (v1.1, section 4) for more guidance on the use of
214 these values.
215 </xs:documentation>
216 </xs:annotation>
217 <xs:restriction base="xs:integer">
218 <xs:whiteSpace value="collapse"/>
219 <xs:enumeration value="0">
220 <xs:annotation>
221 <xs:documentation>
222 The resource has a description that is stored in a
223 registry. This level does not imply a compliant
224 description.
225 </xs:documentation>
226 </xs:annotation>
227 </xs:enumeration>
228 <xs:enumeration value="1">
229 <xs:annotation>
230 <xs:documentation>
231 In addition to meeting the level 0 definition, the
232 resource description conforms syntactically to this
233 standard and to the encoding scheme used.
234 </xs:documentation>
235 </xs:annotation>
236 </xs:enumeration>
237 <xs:enumeration value="2">
238 <xs:annotation>
239 <xs:documentation>
240 In addition to meeting the level 1 definition, the
241 resource description refers to an existing resource that
242 has demonstrated to be functionally compliant.
243 </xs:documentation>
244 <xs:documentation>
245 When the resource is a service, it is consider to exist
246 and functionally compliant if use of the
247 service accessURL responds without error when used as
248 intended by the resource. If the service is a standard
249 one, it must also demonstrate the response is syntactically
250 compliant with the service standard in order to be
251 considered functionally compliant. If the resource is
252 not a service, then the ReferenceURL must be shown to
253 return a document without error.
254 </xs:documentation>
255 </xs:annotation>
256 </xs:enumeration>
257 <xs:enumeration value="3">
258 <xs:annotation>
259 <xs:documentation>
260 In addition to meeting the level 2 definition, the
261 resource description has been inspected by a human and
262 judged to comply semantically to this standard as well
263 as meeting any additional minimum quality criteria (e.g.,
264 providing values for important but non-required
265 metadata) set by the human inspector.
266 </xs:documentation>
267 </xs:annotation>
268 </xs:enumeration>
269 <xs:enumeration value="4">
270 <xs:annotation>
271 <xs:documentation>
272 In addition to meeting the level 3 definition, the
273 resource description meets additional quality criteria
274 set by the human inspector and is therefore considered
275 an excellent description of the resource. Consequently,
276 the resource is expected to be operate well as part of a
277 VO application or research study.
278 </xs:documentation>
279 </xs:annotation>
280 </xs:enumeration>
281 </xs:restriction>
282 </xs:simpleType>
283
284 <xs:complexType name="Validation">
285 <xs:annotation>
286 <xs:documentation>
287 a validation stamp combining a validation level and the ID of
288 the validator.
289 </xs:documentation>
290 </xs:annotation>
291 <xs:simpleContent>
292 <xs:extension base="vr:ValidationLevel">
293 <xs:attribute name="validatedBy" type="vr:IdentifierURI"
294 use="required">
295 <xs:annotation>
296 <xs:documentation>
297 The IVOA ID of the registry or organisation that
298 assigned the validation level.
299 </xs:documentation>
300 </xs:annotation>
301 </xs:attribute>
302 </xs:extension>
303 </xs:simpleContent>
304 </xs:complexType>
305
306 <xs:simpleType name="AuthorityID">
307 <xs:restriction base="xs:token">
308 <xs:pattern value="[\w\d][\w\d\-_\.!~\*'\(\)\+=]{2,}"/>
309 </xs:restriction>
310 </xs:simpleType>
311
312 <xs:simpleType name="ResourceKey">
313 <xs:restriction base="xs:token">
314 <xs:pattern value="[\w\d\-_\.!~\*'\(\)\+=]+(/[\w\d\-_\.!~\*'\(\)\+=]+)*"/>
315 </xs:restriction>
316 </xs:simpleType>
317
318 <xs:simpleType name="IdentifierURI">
319 <xs:restriction base="xs:anyURI">
320 <xs:pattern value="ivo://[\w\d][\w\d\-_\.!~\*'\(\)\+=]{2,}(/[\w\d\-_\.!~\*'\(\)\+=]+(/[\w\d\-_\.!~\*'\(\)\+=]+)*)?"/>
321 </xs:restriction>
322 </xs:simpleType>
323
324 <xs:simpleType name="ShortName">
325 <xs:annotation>
326 <xs:documentation>
327 a short name or abbreviation given to something.
328 </xs:documentation>
329 <xs:documentation>
330 This name will be used where brief annotations for
331 the resource name are required. Applications may
332 use to refer to this resource in a compact display.
333 </xs:documentation>
334 <xs:documentation>
335 One word or a few letters is recommended. No more
336 than sixteen characters are allowed.
337 </xs:documentation>
338 </xs:annotation>
339
340 <xs:restriction base="xs:token">
341 <xs:maxLength value="16"/>
342 </xs:restriction>
343 </xs:simpleType>
344
345 <xs:complexType name="Curation">
346 <xs:annotation>
347 <xs:documentation>
348 Information regarding the general curation of a resource
349 </xs:documentation>
350 </xs:annotation>
351
352 <xs:sequence>
353 <xs:element name="publisher" type="vr:ResourceName">
354 <xs:annotation>
355 <xs:appinfo>
356 <vm:dcterm>Publisher</vm:dcterm>
357 </xs:appinfo>
358 <xs:documentation>
359 Entity (e.g. person or organisation) responsible for making the
360 resource available
361 </xs:documentation>
362 </xs:annotation>
363 </xs:element>
364
365 <xs:element name="creator" type="vr:Creator"
366 minOccurs="0" maxOccurs="unbounded">
367 <xs:annotation>
368 <xs:appinfo>
369 <vm:dcterm>Creator</vm:dcterm>
370 </xs:appinfo>
371 <xs:documentation>
372 The entity (e.g. person or organisation) primarily responsible
373 for creating the content or constitution of the resource.
374 </xs:documentation>
375 <xs:documentation>
376 A logo need only be provided for the first occurance.
377 When multiple logos are supplied via multiple creator
378 elements, the application is free to choose which to
379 use.
380 </xs:documentation>
381 </xs:annotation>
382 </xs:element>
383
384 <xs:element name="contributor" type="vr:ResourceName"
385 minOccurs="0" maxOccurs="unbounded">
386 <xs:annotation>
387 <xs:appinfo>
388 <vm:dcterm>Contributor</vm:dcterm>
389 </xs:appinfo>
390 <xs:documentation>
391 Entity responsible for contributions to the content of
392 the resource
393 </xs:documentation>
394 </xs:annotation>
395 </xs:element>
396
397 <xs:element name="date" type="vr:Date"
398 minOccurs="0" maxOccurs="unbounded">
399 <xs:annotation>
400 <xs:appinfo>
401 <vm:dcterm>Date</vm:dcterm>
402 </xs:appinfo>
403 <xs:documentation>
404 Date associated with an event in the life cycle of the
405 resource.
406 </xs:documentation>
407 <xs:documentation>
408 This will typically be associated with the creation or
409 availability (i.e., most recent release or version) of
410 the resource. Use the role attribute to clarify.
411 </xs:documentation>
412 </xs:annotation>
413 </xs:element>
414
415 <xs:element name="version" type="xs:token" minOccurs="0">
416 <xs:annotation>
417 <xs:documentation>
418 Label associated with creation or availablilty of a version of
419 a resource.
420 </xs:documentation>
421 </xs:annotation>
422 </xs:element>
423
424 <xs:element name="contact" type="vr:Contact" maxOccurs="unbounded">
425 <xs:annotation>
426 <xs:documentation>
427 Information that can be used for contacting someone with
428 regard to this resource.
429 </xs:documentation>
430 </xs:annotation>
431 </xs:element>
432
433 </xs:sequence>
434 </xs:complexType>
435
436 <xs:complexType name="ResourceName">
437 <xs:annotation>
438 <xs:documentation>
439 the name of a potentially registered resource. That is, the entity
440 referred to may have an associated identifier.
441 </xs:documentation>
442 </xs:annotation>
443
444 <xs:simpleContent>
445 <xs:extension base="xs:token">
446
447 <xs:attribute name="ivo-id" type="vr:IdentifierURI">
448 <xs:annotation>
449 <xs:documentation>
450 The URI form of the IVOA identifier for the resource refered to
451 </xs:documentation>
452 </xs:annotation>
453 </xs:attribute>
454
455 </xs:extension>
456 </xs:simpleContent>
457 </xs:complexType>
458
459 <xs:complexType name="Contact">
460 <xs:annotation>
461 <xs:documentation>
462 Information that can be used for contacting someone
463 </xs:documentation>
464 </xs:annotation>
465 <xs:sequence>
466 <xs:element name="name" type="vr:ResourceName">
467 <xs:annotation>
468 <xs:documentation>
469 the name or title of the contact person.
470 </xs:documentation>
471 <xs:documentation>
472 This can be a person's name, e.g. "John P. Jones" or
473 a group, "Archive Support Team".
474 </xs:documentation>
475 </xs:annotation>
476 </xs:element>
477
478 <xs:element name="address" type="xs:token" minOccurs="0">
479 <xs:annotation>
480 <xs:documentation>the contact mailing address</xs:documentation>
481 <xs:documentation>
482 All components of the mailing address are given in one
483 string, e.g. "3700 San Martin Drive, Baltimore, MD 21218 USA".
484 </xs:documentation>
485 </xs:annotation>
486 </xs:element>
487
488 <xs:element name="email" type="xs:token" minOccurs="0">
489 <xs:annotation>
490 <xs:documentation>the contact email address</xs:documentation>
491 </xs:annotation>
492 </xs:element>
493
494 <xs:element name="telephone" type="xs:token" minOccurs="0">
495 <xs:annotation>
496 <xs:documentation>the contact telephone number</xs:documentation>
497 <xs:documentation>
498 Complete international dialing codes should be given, e.g.
499 "+1-410-338-1234".
500 </xs:documentation>
501 </xs:annotation>
502 </xs:element>
503
504 </xs:sequence>
505 </xs:complexType>
506
507 <xs:complexType name="Creator">
508 <xs:annotation>
509 <xs:documentation>
510 The entity (e.g. person or organisation) primarily responsible
511 for creating something
512 </xs:documentation>
513 </xs:annotation>
514
515 <xs:sequence>
516 <xs:element name="name" type="vr:ResourceName">
517 <xs:annotation>
518 <xs:documentation>
519 the name or title of the creating person or organization
520 </xs:documentation>
521 <xs:documentation>
522 Users of the creation should use this name in
523 subsequent credits and acknowledgements.
524 </xs:documentation>
525 </xs:annotation>
526 </xs:element>
527
528 <xs:element name="logo" type="xs:anyURI" minOccurs="0">
529 <xs:annotation>
530 <xs:documentation>
531 URL pointing to a graphical logo, which may be used to help
532 identify the information source
533 </xs:documentation>
534 </xs:annotation>
535 </xs:element>
536
537 </xs:sequence>
538 </xs:complexType>
539
540 <xs:complexType name="Date">
541 <xs:simpleContent>
542 <xs:extension base="vr:UTCDateTime">
543 <xs:attribute name="role" type="xs:string" default="representative">
544 <xs:annotation>
545 <xs:documentation>
546 A string indicating what the date refers to.
547 </xs:documentation>
548 <xs:documentation>
549 While this vocabulary is uncontrolled, recognized strings
550 include "creation", indicating the date that the resource
551 itself was created, and "update", indicating when the
552 resource was updated last. The default value,
553 "representative", means that the date is a rough
554 representation of the time coverage of the resource.
555 </xs:documentation>
556 <xs:documentation>
557 Note that this date refers to the resource; dates describing
558 the metadata description of the resource are handled by
559 the "created" and "updated" attributes of the Resource
560 element.
561 </xs:documentation>
562 </xs:annotation>
563 </xs:attribute>
564 </xs:extension>
565 </xs:simpleContent>
566 </xs:complexType>
567
568 <xs:complexType name="Content">
569 <xs:annotation>
570 <xs:documentation>
571 Information regarding the general content of a resource
572 </xs:documentation>
573 </xs:annotation>
574
575 <xs:sequence>
576 <xs:element name="subject" type="xs:token" maxOccurs="unbounded">
577 <xs:annotation>
578 <xs:appinfo>
579 <vm:dcterm>Subject</vm:dcterm>
580 </xs:appinfo>
581 <xs:documentation>
582 a topic, object type, or other descriptive keywords
583 about the resource.
584 </xs:documentation>
585 <xs:documentation>
586 Terms for Subject should be drawn from the IAU Astronomy
587 Thesaurus (http://msowww.anu.edu.au/library/thesaurus/).
588 </xs:documentation>
589 </xs:annotation>
590 </xs:element>
591
592 <xs:element name="description" type="xs:token">
593 <xs:annotation>
594 <xs:appinfo>
595 <vm:dcterm>Description</vm:dcterm>
596 </xs:appinfo>
597 <xs:documentation>
598 An account of the nature of the resource
599 </xs:documentation>
600 <xs:documentation>
601 The description may include but is not limited to an abstract,
602 table of contents, reference to a graphical representation of
603 content or a free-text account of the content.
604 </xs:documentation>
605 </xs:annotation>
606 </xs:element>
607
608 <xs:element name="source" type="vr:Source" minOccurs="0">
609 <xs:annotation>
610 <xs:appinfo>
611 <vm:dcterm>Source</vm:dcterm>
612 </xs:appinfo>
613 <xs:documentation>
614 a bibliographic reference from which the present resource is
615 derived or extracted.
616 </xs:documentation>
617 <xs:documentation>
618 This is intended to point to an article in the published
619 literature. An ADS Bibcode is recommended as a value when
620 available.
621 </xs:documentation>
622 </xs:annotation>
623 </xs:element>
624
625 <xs:element name="referenceURL" type="xs:anyURI">
626 <xs:annotation>
627 <xs:documentation>
628 URL pointing to a human-readable document describing this
629 resource.
630 </xs:documentation>
631 </xs:annotation>
632 </xs:element>
633
634 <xs:element name="type" type="vr:Type"
635 minOccurs="0" maxOccurs="unbounded">
636 <xs:annotation>
637 <xs:appinfo>
638 <vm:dcterm>Type</vm:dcterm>
639 </xs:appinfo>
640 <xs:documentation>
641 Nature or genre of the content of the resource
642 </xs:documentation>
643 </xs:annotation>
644 </xs:element>
645
646 <xs:element name="contentLevel" type="vr:ContentLevel"
647 minOccurs="0" maxOccurs="unbounded">
648 <xs:annotation>
649 <xs:appinfo>
650 <vm:dcterm>Subject</vm:dcterm>
651 <vm:dcterm>Subject.ContentLevel</vm:dcterm>
652 </xs:appinfo>
653 <xs:documentation>
654 Description of the content level or intended audience
655 </xs:documentation>
656 </xs:annotation>
657 </xs:element>
658
659 <xs:element name="relationship" type="vr:Relationship"
660 minOccurs="0" maxOccurs="unbounded">
661 <xs:annotation>
662 <xs:documentation>
663 a description of a relationship to another resource.
664 </xs:documentation>
665 <xs:documentation>
666 Because this element's type is abstract, an xsi:type must be
667 to indicate the set of relationship types that are valid.
668 </xs:documentation>
669 </xs:annotation>
670 </xs:element>
671
672 </xs:sequence>
673
674 </xs:complexType>
675
676 <xs:complexType name="Source">
677 <xs:simpleContent>
678 <xs:extension base="xs:token">
679 <xs:attribute name="format" type="xs:string">
680 <xs:annotation>
681 <xs:documentation>
682 The reference format. Recognized values include "bibcode",
683 referring to a standard astronomical bibcode
684 (http://cdsweb.u-strasbg.fr/simbad/refcode.html).
685 </xs:documentation>
686 </xs:annotation>
687 </xs:attribute>
688 </xs:extension>
689 </xs:simpleContent>
690 </xs:complexType>
691
692 <xs:simpleType name="Type">
693 <xs:restriction base="xs:token">
694 <xs:enumeration value="Other">
695 <xs:annotation>
696 <xs:documentation>
697 resource that does not fall into any of the category names
698 currently defined.
699 </xs:documentation>
700 </xs:annotation>
701 </xs:enumeration>
702 <xs:enumeration value="Archive">
703 <xs:annotation>
704 <xs:documentation>
705 Collection of pointed observations
706 </xs:documentation>
707 </xs:annotation>
708 </xs:enumeration>
709 <xs:enumeration value="Bibliography">
710 <xs:annotation>
711 <xs:documentation>
712 Collection of bibliographic reference, abstracts, and
713 publications
714 </xs:documentation>
715 </xs:annotation>
716 </xs:enumeration>
717 <xs:enumeration value="Catalog">
718 <xs:annotation>
719 <xs:documentation>
720 Collection of derived data, primarily in tabular form
721 </xs:documentation>
722 </xs:annotation>
723 </xs:enumeration>
724 <xs:enumeration value="Journal">
725 <xs:annotation>
726 <xs:documentation>
727 Collection of scholarly publications under common editorial
728 policy
729 </xs:documentation>
730 </xs:annotation>
731 </xs:enumeration>
732 <xs:enumeration value="Library">
733 <xs:annotation>
734 <xs:documentation>
735 Collection of published materials (journals, books, etc.)
736 </xs:documentation>
737 </xs:annotation>
738 </xs:enumeration>
739 <xs:enumeration value="Simulation">
740 <xs:annotation>
741 <xs:documentation>
742 Theoretical simulation or model
743 </xs:documentation>
744 </xs:annotation>
745 </xs:enumeration>
746 <xs:enumeration value="Survey">
747 <xs:annotation>
748 <xs:documentation>
749 Collection of observations covering substantial and
750 contiguous areas of the sky
751 </xs:documentation>
752 </xs:annotation>
753 </xs:enumeration>
754 <xs:enumeration value="Transformation">
755 <xs:annotation>
756 <xs:documentation>
757 A service that transforms data
758 </xs:documentation>
759 </xs:annotation>
760 </xs:enumeration>
761 <xs:enumeration value="Education">
762 <xs:annotation>
763 <xs:documentation>
764 Collection of materials appropriate for educational use, such
765 as teaching resources, curricula, etc.
766 </xs:documentation>
767 </xs:annotation>
768 </xs:enumeration>
769 <xs:enumeration value="Outreach">
770 <xs:annotation>
771 <xs:documentation>
772 Collection of materials appropriate for public outreach, such
773 as press releases and photo galleries
774 </xs:documentation>
775 </xs:annotation>
776 </xs:enumeration>
777 <xs:enumeration value="EPOResource">
778 <xs:annotation>
779 <xs:documentation>
780 Collection of materials that may be suitable for EPO
781 products but which are not in final product form, as in Type
782 Outreach or Type Education. EPOResource would apply,
783 e.g., to archives with easily accessed preview images or to
784 surveys with easy-to-use images.
785 </xs:documentation>
786 </xs:annotation>
787 </xs:enumeration>
788 <xs:enumeration value="Animation">
789 <xs:annotation>
790 <xs:documentation>
791 Animation clips of astronomical phenomena
792 </xs:documentation>
793 </xs:annotation>
794 </xs:enumeration>
795 <xs:enumeration value="Artwork">
796 <xs:annotation>
797 <xs:documentation>
798 Artists' renderings of astronomical phenomena or objects
799 </xs:documentation>
800 </xs:annotation>
801 </xs:enumeration>
802 <xs:enumeration value="Background">
803 <xs:annotation>
804 <xs:documentation>
805 Background information on astronomical phenomena or objects
806 </xs:documentation>
807 </xs:annotation>
808 </xs:enumeration>
809 <xs:enumeration value="BasicData">
810 <xs:annotation>
811 <xs:documentation>
812 Compilations of basic astronomical facts about objects,
813 such as approximate distance or membership in constellation.
814 </xs:documentation>
815 </xs:annotation>
816 </xs:enumeration>
817 <xs:enumeration value="Historical">
818 <xs:annotation>
819 <xs:documentation>
820 Historical information about astronomical objects
821 </xs:documentation>
822 </xs:annotation>
823 </xs:enumeration>
824 <xs:enumeration value="Photographic">
825 <xs:annotation>
826 <xs:documentation>
827 Publication-quality photographs of astronomical objects
828 </xs:documentation>
829 </xs:annotation>
830 </xs:enumeration>
831 <xs:enumeration value="Press">
832 <xs:annotation>
833 <xs:documentation>
834 Press releases about astronomical objects
835 </xs:documentation>
836 </xs:annotation>
837 </xs:enumeration>
838 <xs:enumeration value="Organisation">
839 <xs:annotation>
840 <xs:documentation>
841 An organization that is a publisher or curator of other
842 resources.
843 </xs:documentation>
844 </xs:annotation>
845 </xs:enumeration>
846 <xs:enumeration value="Project">
847 <xs:annotation>
848 <xs:documentation>
849 A project that is a publisher or curator of other resources
850 </xs:documentation>
851 </xs:annotation>
852 </xs:enumeration>
853 <xs:enumeration value="Registry">
854 <xs:annotation>
855 <xs:documentation>
856 a query service for which response is a structured
857 description of resources.
858 </xs:documentation>
859 </xs:annotation>
860 </xs:enumeration>
861 </xs:restriction>
862 </xs:simpleType>
863
864 <xs:simpleType name="ContentLevel">
865 <xs:restriction base="xs:token">
866 <xs:enumeration value="General">
867 <xs:annotation>
868 <xs:documentation>
869 Resource provides information appropriate for all users
870 </xs:documentation>
871 </xs:annotation>
872 </xs:enumeration>
873 <xs:enumeration value="Elementary Education">
874 <xs:annotation>
875 <xs:documentation>
876 Resource provides information appropriate for use in elementary
877 education (e.g. approximate ages 6-11)
878 </xs:documentation>
879 </xs:annotation>
880 </xs:enumeration>
881 <xs:enumeration value="Middle School Education">
882 <xs:annotation>
883 <xs:documentation>
884 Resource provides information appropriate for use in middle
885 school education (e.g. approximate ages 11-14)
886 </xs:documentation>
887 </xs:annotation>
888 </xs:enumeration>
889 <xs:enumeration value="Secondary Education">
890 <xs:annotation>
891 <xs:documentation>
892 Resource provides information appropriate for use in elementary
893 education (e.g. approximate ages 14-18)
894 </xs:documentation>
895 </xs:annotation>
896 </xs:enumeration>
897 <xs:enumeration value="Community College">
898 <xs:annotation>
899 <xs:documentation>
900 Resource provides information appropriate for use in
901 community/junior college or early university education.
902 </xs:documentation>
903 </xs:annotation>
904 </xs:enumeration>
905 <xs:enumeration value="University">
906 <xs:annotation>
907 <xs:documentation>
908 Resource provides information appropriate for use in
909 university education
910 </xs:documentation>
911 </xs:annotation>
912 </xs:enumeration>
913 <xs:enumeration value="Research">
914 <xs:annotation>
915 <xs:documentation>
916 Resource provides information appropriate for
917 supporting scientific research.
918 </xs:documentation>
919 </xs:annotation>
920 </xs:enumeration>
921 <xs:enumeration value="Amateur">
922 <xs:annotation>
923 <xs:documentation>
924 Resource provides information of interest to
925 amateur astronomers.
926 </xs:documentation>
927 </xs:annotation>
928 </xs:enumeration>
929 <xs:enumeration value="Informal Education">
930 <xs:annotation>
931 <xs:documentation>
932 Resource provides information appropriate for education
933 at museums, planetariums, and other centers of informal learning.
934 </xs:documentation>
935 </xs:annotation>
936 </xs:enumeration>
937 </xs:restriction>
938 </xs:simpleType>
939
940 <xs:complexType name="Relationship">
941 <xs:annotation>
942 <xs:documentation>
943 A description of the relationship between one resource and one or
944 more other resources.
945 </xs:documentation>
946 </xs:annotation>
947
948 <xs:sequence>
949 <xs:element name="relationshipType" type="xs:token">
950 <xs:annotation>
951 <xs:documentation>
952 the named type of relationship
953 </xs:documentation>
954 <xs:documentation>
955 The VOResource Core specification defines a standard
956 set of names that are not enforced by this schema,
957 but are otherwise required by the spec.
958 </xs:documentation>
959 </xs:annotation>
960 </xs:element>
961
962 <xs:element name="relatedResource" type="vr:ResourceName"
963 minOccurs="1" maxOccurs="unbounded">
964 <xs:annotation>
965 <xs:documentation>
966 the name of resource that this resource is related to.
967 </xs:documentation>
968 </xs:annotation>
969 </xs:element>
970 </xs:sequence>
971 </xs:complexType>
972
973 <!--
974 - The Organisation resource type
975 -->
976
977 <xs:complexType name="Organisation">
978 <xs:annotation>
979 <xs:documentation>
980 A named group of one or more persons brought together to pursue
981 participation in VO applications.
982 </xs:documentation>
983 <xs:documentation>
984 According to the Resource Metadata Recommendation, organisations
985 "can be hierarchical and range in size and scope. At a high level,
986 an organisation could be a university, observatory, or government
987 agency. At a finer level, it could be a specific scientific
988 project, mission, or individual researcher."
989 </xs:documentation>
990 <xs:documentation>
991 The main purpose of an organisation as a registered resource is
992 to serve as a publisher of other resources.
993 </xs:documentation>
994 </xs:annotation>
995 <xs:complexContent>
996 <xs:extension base="vr:Resource">
997 <xs:sequence>
998
999 <xs:element name="facility" type="vr:ResourceName"
1000 minOccurs="0" maxOccurs="unbounded">
1001 <xs:annotation>
1002 <xs:appinfo>
1003 <vm:dcterm>Subject</vm:dcterm>
1004 </xs:appinfo>
1005 <xs:documentation>
1006 the observatory or facility used to collect the data
1007 contained or managed by this resource.
1008 </xs:documentation>
1009 </xs:annotation>
1010 </xs:element>
1011
1012 <xs:element name="instrument" type="vr:ResourceName"
1013 minOccurs="0" maxOccurs="unbounded">
1014 <xs:annotation>
1015 <xs:appinfo>
1016 <vm:dcterm>Subject</vm:dcterm>
1017 <vm:dcterm>Subject.Instrument</vm:dcterm>
1018 </xs:appinfo>
1019 <xs:documentation>
1020 the Instrument used to collect the data contain or
1021 managed by a resource.
1022 </xs:documentation>
1023 </xs:annotation>
1024 </xs:element>
1025
1026 </xs:sequence>
1027 </xs:extension>
1028 </xs:complexContent>
1029 </xs:complexType>
1030
1031 <!--
1032 - The Service resource type
1033 -->
1034
1035 <xs:complexType name="Service">
1036 <xs:annotation>
1037 <xs:documentation>
1038 a resource that can be invoked by a client to perform some action
1039 on its behalf.
1040 </xs:documentation>
1041 </xs:annotation>
1042 <xs:complexContent>
1043 <xs:extension base="vr:Resource">
1044 <xs:sequence>
1045
1046 <xs:element name="rights" type="vr:Rights"
1047 minOccurs="0" maxOccurs="unbounded">
1048 <xs:annotation>
1049 <xs:appinfo>
1050 <vm:dcterm>Rights</vm:dcterm>
1051 </xs:appinfo>
1052 <xs:documentation>
1053 Information about rights held in and over the resource.
1054 </xs:documentation>
1055 <xs:documentation>
1056 This should be repeated for all Rights values that apply.
1057 </xs:documentation>
1058 </xs:annotation>
1059 </xs:element>
1060
1061 <xs:element name="capability" type="vr:Capability"
1062 minOccurs="0" maxOccurs="unbounded">
1063 <xs:annotation>
1064 <xs:documentation>
1065 a description of a general capability of the
1066 service and how to use it.
1067 </xs:documentation>
1068 <xs:documentation>
1069 This describes a general function of the
1070 service, usually in terms of a standard
1071 service protocol (e.g. SIA), but not
1072 necessarily.
1073 </xs:documentation>
1074 <xs:documentation>
1075 A service can have many capabilities
1076 associated with it, each reflecting different
1077 aspects of the functionality it provides.
1078 </xs:documentation>
1079 </xs:annotation>
1080 </xs:element>
1081 </xs:sequence>
1082 </xs:extension>
1083 </xs:complexContent>
1084 </xs:complexType>
1085
1086 <xs:simpleType name="Rights">
1087 <xs:restriction base="xs:token">
1088 <xs:enumeration value="public">
1089 <xs:annotation>
1090 <xs:documentation>
1091 unrestricted, public access is allowed without
1092 authentication.
1093 </xs:documentation>
1094 </xs:annotation>
1095 </xs:enumeration>
1096 <xs:enumeration value="secure">
1097 <xs:annotation>
1098 <xs:documentation>
1099 authenticated, public access is allowed.
1100 </xs:documentation>
1101 </xs:annotation>
1102 </xs:enumeration>
1103 <xs:enumeration value="proprietary">
1104 <xs:annotation>
1105 <xs:documentation>
1106 only proprietary access is allowed with authentication.
1107 </xs:documentation>
1108 </xs:annotation>
1109 </xs:enumeration>
1110 </xs:restriction>
1111 </xs:simpleType>
1112
1113 <xs:complexType name="Capability">
1114 <xs:annotation>
1115 <xs:documentation>
1116 a description of what the service does (in terms of
1117 context-specific behavior), and how to use it (in terms of
1118 an interface)
1119 </xs:documentation>
1120 </xs:annotation>
1121
1122 <xs:sequence>
1123 <xs:element name="validationLevel" type="vr:Validation"
1124 minOccurs="0" maxOccurs="unbounded">
1125 <xs:annotation>
1126 <xs:documentation>
1127 A numeric grade describing the quality of the
1128 capability description and interface, when applicable,
1129 to be used to indicate the confidence an end-user
1130 can put in the resource as part of a VO application
1131 or research study.
1132 </xs:documentation>
1133 <xs:documentation>
1134 See vr:ValidationLevel for an explanation of the
1135 allowed levels.
1136 </xs:documentation>
1137 </xs:annotation>
1138 </xs:element>
1139
1140 <xs:element name="description" type="xs:token" minOccurs="0">
1141 <xs:annotation>
1142 <xs:documentation>
1143 A human-readable description of what this capability
1144 provides as part of the over-all service
1145 </xs:documentation>
1146 <xs:documentation>
1147 Use of this optional element is especially encouraged when
1148 this capability is non-standard and is one of several
1149 capabilities listed.
1150 </xs:documentation>
1151 </xs:annotation>
1152 </xs:element>
1153
1154 <xs:element name="interface" type="vr:Interface"
1155 minOccurs="0" maxOccurs="unbounded">
1156 <xs:annotation>
1157 <xs:documentation>
1158 a description of how to call the service to access
1159 this capability
1160 </xs:documentation>
1161 <xs:documentation>
1162 Since the Interface type is abstract, one must describe
1163 the interface using a subclass of Interface, denoting
1164 it via xsi:type.
1165 </xs:documentation>
1166 <xs:documentation>
1167 Multiple occurances can describe different interfaces to
1168 the logically same capability--i.e. data or functionality.
1169 That is, the inputs accepted and the output provides should
1170 be logically the same. For example, a WebBrowser interface
1171 given in addition to a WebService interface would simply
1172 provide an interactive, human-targeted interface to the
1173 underlying WebService interface.
1174 </xs:documentation>
1175 </xs:annotation>
1176 </xs:element>
1177 </xs:sequence>
1178
1179 <xs:attribute name="standardID" type="xs:anyURI">
1180 <xs:annotation>
1181 <xs:documentation>
1182 A URI identifier for a standard service.
1183 </xs:documentation>
1184 <xs:documentation>
1185 This provides a unique way to refer to a service
1186 specification standard, such as a Simple Image Access service.
1187 The use of an IVOA identifier here implies that a
1188 VOResource description of the standard is registered and
1189 accessible.
1190 </xs:documentation>
1191 </xs:annotation>
1192 </xs:attribute>
1193 </xs:complexType>
1194
1195 <xs:complexType name="Interface" abstract="true">
1196 <xs:annotation>
1197 <xs:documentation>
1198 A description of a service interface.
1199 </xs:documentation>
1200 <xs:documentation>
1201 Since this type is abstract, one must use an Interface subclass
1202 to describe an actual interface.
1203 </xs:documentation>
1204 <xs:documentation>
1205 Additional interface subtypes (beyond WebService and WebBrowser) are
1206 defined in the VODataService schema.
1207 </xs:documentation>
1208 </xs:annotation>
1209
1210 <xs:sequence>
1211 <xs:element name="accessURL" type="vr:AccessURL"
1212 minOccurs="1" maxOccurs="unbounded">
1213 <xs:annotation>
1214 <xs:documentation>
1215 The URL (or base URL) that a client uses to access the
1216 service. How this URL is to be interpreted and used
1217 depends on the specific Interface subclass
1218 </xs:documentation>
1219 <xs:documentation>
1220 When more than one URL is given, each represents an
1221 alternative (i.e. mirror) endpoint whose behavior is
1222 identical to all the other accessURLs listed.
1223 </xs:documentation>
1224 <xs:documentation>
1225 Editor's note: this element assumes that
1226 all registered services are inherently web based.
1227 </xs:documentation>
1228 </xs:annotation>
1229 </xs:element>
1230
1231 <xs:element name="securityMethod" type="vr:SecurityMethod"
1232 minOccurs="0" maxOccurs="unbounded">
1233 <xs:annotation>
1234 <xs:documentation>
1235 the mechanism the client must employ to gain secure
1236 access to the service.
1237 </xs:documentation>
1238 <xs:documentation>
1239 when more than one method is listed, each one must
1240 be employed to gain access.
1241 </xs:documentation>
1242 </xs:annotation>
1243 </xs:element>
1244
1245 </xs:sequence>
1246
1247 <xs:attribute name="version" type="xs:string" default="1.0">
1248 <xs:annotation>
1249 <xs:documentation>
1250 The version of a standard interface specification that this
1251 interface complies with. When the interface is
1252 provided in the context of a Capability element, then
1253 the standard being refered to is the one identified by
1254 the Capability's standardID element. If the standardID
1255 is not provided, the meaning of this attribute is
1256 undefined.
1257 </xs:documentation>
1258 </xs:annotation>
1259 </xs:attribute>
1260
1261 <xs:attribute name="role" type="xs:NMTOKEN">
1262 <xs:annotation>
1263 <xs:documentation>
1264 A tag name the identifies the role the interface plays
1265 in the particular capability. If the value is equal to
1266 "std" or begins with "std:", then the interface refers
1267 to a standard interface defined by the standard
1268 referred to by the capability's standardID attribute.
1269 </xs:documentation>
1270 <xs:documentation>
1271 For an interface complying with some registered
1272 standard (i.e. has a legal standardID), the role can be
1273 match against interface roles enumerated in standard
1274 resource record. The interface descriptions in
1275 the standard record can provide default descriptions
1276 so that such details need not be repeated here.
1277 </xs:documentation>
1278 </xs:annotation>
1279 </xs:attribute>
1280 </xs:complexType>
1281
1282 <xs:complexType name="AccessURL">
1283 <xs:simpleContent>
1284 <xs:extension base="xs:anyURI">
1285 <xs:attribute name="use">
1286 <xs:annotation>
1287 <xs:documentation>
1288 A flag indicating whether this should be interpreted as a base
1289 URL, a full URL, or a URL to a directory that will produce a
1290 listing of files.
1291 </xs:documentation>
1292 <xs:documentation>
1293 The default value assumed when one is not given depends on the
1294 context.
1295 </xs:documentation>
1296 </xs:annotation>
1297 <xs:simpleType>
1298 <xs:restriction base="xs:NMTOKEN">
1299 <xs:enumeration value="full">
1300 <xs:annotation>
1301 <xs:documentation>
1302 Assume a full URL--that is, one that can be invoked
1303 directly without alteration. This usually returns a
1304 single document or file.
1305 </xs:documentation>
1306 </xs:annotation>
1307 </xs:enumeration>
1308 <xs:enumeration value="base">
1309 <xs:annotation>
1310 <xs:documentation>
1311 Assume a base URL--that is, one requiring an extra portion
1312 to be appended before being invoked.
1313 </xs:documentation>
1314 </xs:annotation>
1315 </xs:enumeration>
1316 <xs:enumeration value="dir">
1317 <xs:annotation>
1318 <xs:documentation>
1319 Assume URL points to a directory that will return a listing
1320 of files.
1321 </xs:documentation>
1322 </xs:annotation>
1323 </xs:enumeration>
1324 </xs:restriction>
1325 </xs:simpleType>
1326 </xs:attribute>
1327 </xs:extension>
1328 </xs:simpleContent>
1329 </xs:complexType>
1330
1331 <xs:complexType name="SecurityMethod">
1332 <xs:annotation>
1333 <xs:documentation>
1334 a description of a security mechanism.
1335 </xs:documentation>
1336 <xs:documentation>
1337 this type only allows one to refer to the mechanism via a
1338 URI. Derived types would allow for more metadata.
1339 </xs:documentation>
1340 </xs:annotation>
1341
1342 <xs:sequence/>
1343
1344 <xs:attribute name="standardID" type="xs:anyURI">
1345 <xs:annotation>
1346 <xs:documentation>
1347 A URI identifier for a standard security mechanism.
1348 </xs:documentation>
1349 <xs:documentation>
1350 This provides a unique way to refer to a security
1351 specification standard. The use of an IVOA identifier here
1352 implies that a VOResource description of the standard is
1353 registered and accessible.
1354 </xs:documentation>
1355 </xs:annotation>
1356 </xs:attribute>
1357
1358 </xs:complexType>
1359
1360 <xs:complexType name="WebBrowser">
1361 <xs:annotation>
1362 <xs:documentation>
1363 A (form-based) interface intended to be accesed interactively
1364 by a user via a web browser.
1365 </xs:documentation>
1366 <xs:documentation>
1367 The accessURL represents the URL of the web form itself.
1368 </xs:documentation>
1369 </xs:annotation>
1370
1371 <xs:complexContent>
1372 <xs:extension base="vr:Interface">
1373 <xs:sequence/>
1374 </xs:extension>
1375 </xs:complexContent>
1376 </xs:complexType>
1377
1378 <xs:complexType name="WebService">
1379 <xs:annotation>
1380 <xs:documentation>
1381 A Web Service that is describable by a WSDL document.
1382 </xs:documentation>
1383 <xs:documentation>
1384 The accessURL element gives the Web Service's endpoint URL.
1385 </xs:documentation>
1386 </xs:annotation>
1387
1388 <xs:complexContent>
1389 <xs:extension base="vr:Interface">
1390 <xs:sequence>
1391 <xs:element name="wsdlURL" type="xs:anyURI"
1392 minOccurs="0" maxOccurs="unbounded">
1393 <xs:annotation>
1394 <xs:documentation>
1395 The location of the WSDL that describes this
1396 Web Service. If not provided, the location is
1397 assumed to be the accessURL with "?wsdl" appended.
1398 </xs:documentation>
1399 <xs:documentation>
1400 Multiple occurances should represent mirror copies of
1401 the same WSDL file.
1402 </xs:documentation>
1403 </xs:annotation>
1404 </xs:element>
1405 </xs:sequence>
1406 </xs:extension>
1407 </xs:complexContent>
1408 </xs:complexType>
1409
1410 </xs:schema>

msdemlei@ari.uni-heidelberg.de
ViewVC Help
Powered by ViewVC 1.1.26