require 'voruby/resources/conesearch/loader' require 'voruby/resources/voresource/voresource_v0_10' require 'voruby/resources/vodataservice/vodataservice_v0_5' include VORuby::Resources::VOResource::V0_10 include VORuby::Resources::VODataService::V0_5 module VORuby module Resources module ConeSearch module V0_3 # Forward declarations class ConeSearch < TabularSkyService; end class CSCapRestriction < Capability; end class ConeSearchCapability < CSCapRestriction; end # A standard service that returns catalog entries with a # position falling within a cone on the sky (given by a position # and a radius). class ConeSearch # a description of how this particular ConeSearch service behaves object_node :capability, 'capability', :class => ConeSearchCapability, :optional => false end # An abstract capability that sets the standardURL to the ConeSearch standard definition. class CSCapRestriction object_node :standard_id, '@standardID', :class => IdentifierURI, :optional => true object_node :standard_url, '@standardURL', :class => AnyURI, :optional => true, :default_value => 'http://www.us-vo.org/metadata/conesearch.html' end # The capabilities of a Cone Search implementation. It includes # the listing of the columns that appear in image query # output VOTable and Cone Search-specific metadata. class ConeSearchCapability # the largest search radius, in degrees, that will be accepted by the service without returning an error condition numeric_node :max_sr, 'maxSR', :optional => false # the largest number of records that the service will return numeric_node :max_records, 'maxRecords', :optional => false # true if the service supports the VERB keyword; false, otherwise boolean_node :verbosity, 'verbosity', 'true', 'false', :optional => false end end end end end