Capability

class pyvo.io.vosi.voresource.Capability(*args, **kwargs)[source]

Bases: ElementWithXSIType

Capability element as described in http://www.ivoa.net/xml/VOResource/v1.0

a description of what the service does (in terms of context-specific behavior), and how to use it (in terms of an interface)

Attributes Summary

description

interfaces

a description of how to call the service to access this capability

standardid

validationlevels

A numeric grade describing the quality of the capability description and interface, when applicable, to be used to indicate the confidence an end-user can put in the resource as part of a VO application or research study.

Methods Summary

describe()

Prints out a human readable description

Attributes Documentation

description
interfaces

a description of how to call the service to access this capability

Since the Interface type is abstract, one must describe the interface using a subclass of Interface, denoting it via xsi:type.

Multiple occurances can describe different interfaces to the logically same capability–i.e. data or functionality. That is, the inputs accepted and the output provides should be logically the same. For example, a WebBrowser interface given in addition to a WebService interface would simply provide an interactive, human-targeted interface to the underlying WebService interface.

standardid
validationlevels

A numeric grade describing the quality of the capability description and interface, when applicable, to be used to indicate the confidence an end-user can put in the resource as part of a VO application or research study.

Methods Documentation

describe()[source]

Prints out a human readable description