gavo.registry.model module

The schema and XML namespaces for OAI/VOR documents.

class gavo.registry.model.DC[source]

Bases: object

is a container for classes modelling elements from Dublin Core.

class DCElement(id=None)[source]

Bases: Element

class contributor(id=None)[source]

Bases: DCElement

class coverage(id=None)[source]

Bases: DCElement

class creator(id=None)[source]

Bases: DCElement

class date(id=None)[source]

Bases: DCElement

class description(id=None)[source]

Bases: DCElement

class format(id=None)[source]

Bases: DCElement

class identifier(id=None)[source]

Bases: DCElement

class language(id=None)[source]

Bases: DCElement

class publisher(id=None)[source]

Bases: DCElement

class relation(id=None)[source]

Bases: DCElement

class rights(id=None)[source]

Bases: DCElement

class source(id=None)[source]

Bases: DCElement

class subject(id=None)[source]

Bases: DCElement

class title(id=None)[source]

Bases: DCElement

class type(id=None)[source]

Bases: DCElement

class gavo.registry.model.DOC[source]

Bases: object

A container for elements from DocRegExt.

class DOCElement(id=None)[source]

Bases: Element

class Document(created=None, id=None, status=None, updated=None, xsi_type='doc:Document')[source]

Bases: Resource

class capability(id=None, languageCode=None, locTitle=None, xsi_type='doc:Edition')[source]

Bases: DOCElement

class languageCode(id=None)[source]

Bases: DOCElement

class locTitle(id=None)[source]

Bases: DOCElement

class gavo.registry.model.DaFut[source]

Bases: object

A container for XSD elements we want to push into other schemas one of these days (“DaCHS Future”).

class DaFutElement(id=None)[source]

Bases: Element

class daliInterface(id=None, qtype=None, role='std', version=None, xsi_type='dachs:DALIInterface')[source]

Bases: interface

name_ = 'interface'
class endpoint(id=None)[source]

Bases: DaFutElement

class meta(about=None, id=None, property=None, resource=None)[source]

Bases: DaFutElement

exception gavo.registry.model.Error(msg: str = '', hint: Optional[str] = None)[source]

Bases: Error

class gavo.registry.model.OAI[source]

Bases: object

is a container for classes modelling OAI elements.

class GetRecord(id=None)[source]

Bases: OAIElement

class Identify(id=None)[source]

Bases: OAIElement

class ListIdentifiers(id=None)[source]

Bases: OAIElement

class ListMetadataFormats(id=None)[source]

Bases: OAIElement

class ListRecords(id=None)[source]

Bases: OAIElement

class ListSets(id=None)[source]

Bases: OAIElement

class OAIElement(id=None)[source]

Bases: Element

class PMH(id=None)[source]

Bases: OAIElement

name_ = 'OAI-PMH'
class adminEmail(id=None)[source]

Bases: OAIElement

class baseURL(id=None)[source]

Bases: OAIElement

class datestamp(id=None)[source]

Bases: OAIElement

class deletedRecord(id=None)[source]

Bases: OAIElement

class description(id=None)[source]

Bases: OAIElement

class earliestDatestamp(id=None)[source]

Bases: OAIElement

class error(code=None, id=None)[source]

Bases: OAIElement

class granularity(id=None)[source]

Bases: OAIElement

class header(id=None, status=None)[source]

Bases: OAIElement

class identifier(id=None)[source]

Bases: OAIElement

class metadata(id=None)[source]

Bases: OAIElement

class metadataFormat(id=None)[source]

Bases: OAIElement

class metadataNamespace(id=None)[source]

Bases: OAIElement

class metadataPrefix(id=None)[source]

Bases: OAIElement

class protocolVersion(id=None)[source]

Bases: OAIElement

class record(id=None)[source]

Bases: OAIElement

class repositoryName(id=None)[source]

Bases: OAIElement

class request(id=None, metadataPrefix=None, verb=None)[source]

Bases: OAIElement

class responseDate(id=None)[source]

Bases: OAIElement

class resumptionToken(id=None)[source]

Bases: OAIElement

class schema(id=None)[source]

Bases: OAIElement

class set(id=None)[source]

Bases: OAIElement

class setDescription(id=None)[source]

Bases: OAIElement

class setName(id=None)[source]

Bases: OAIElement

class setSpec(id=None)[source]

Bases: OAIElement

class gavo.registry.model.OAIDC[source]

Bases: object

is a container for OAI’s Dublin Core metadata model.

class OAIDCElement(id=None)[source]

Bases: Element

class dc(id=None)[source]

Bases: OAIDCElement

class gavo.registry.model.RI[source]

Bases: object

is a container for classes modelling elements from IVOA Registry Interface.

class RIElement(id=None)[source]

Bases: Element

class Resource(created=None, id=None, status=None, updated=None)[source]

Bases: Resource

class VOResources(id=None)[source]

Bases: RIElement

class gavo.registry.model.SCS[source]

Bases: object

A container for elements describing Simple Cone Search services.

class SCSElement(id=None)[source]

Bases: Element

class capability(id=None, standardID='ivo://ivoa.net/std/ConeSearch', xsi_type='cs:ConeSearch')[source]

Bases: capability

class dec(id=None)[source]

Bases: SCSElement

class extras(id=None)[source]

Bases: SCSElement

class interface(id=None, qtype=None, role='std', version=None, xsi_type='vs:ParamHTTP')[source]

Bases: interface

class maxRecords(id=None)[source]

Bases: SCSElement

class maxSR(id=None)[source]

Bases: SCSElement

class ra(id=None)[source]

Bases: SCSElement

class sr(id=None)[source]

Bases: SCSElement

class testQuery(id=None)[source]

Bases: SCSElement

class verbosity(id=None)[source]

Bases: SCSElement

class gavo.registry.model.SIA[source]

Bases: object

A container for classes modelling elements for describing simple image access services.

class SIAElement(id=None)[source]

Bases: Element

class capability(id=None, standardID='ivo://ivoa.net/std/SIA', xsi_type='sia:SimpleImageAccess')[source]

Bases: capability

class capability2(id=None, standardID='ivo://ivoa.net/std/SIA#query-2.0', xsi_type='sia:SimpleImageAccess')[source]

Bases: capability

class imageServiceType(id=None)[source]

Bases: SIAElement

class interface(id=None, qtype=None, role='std', version=None, xsi_type='vs:ParamHTTP')[source]

Bases: interface

class lat(id=None)[source]

Bases: SIAElement

class long(id=None)[source]

Bases: SIAElement

class maxFileSize(id=None)[source]

Bases: SIAElement

class maxImageExtent(id=None)[source]

Bases: SIAElement

class maxImageSize(id=None)[source]

Bases: SIAElement

class maxQueryRegionSize(id=None)[source]

Bases: SIAElement

class maxRecords(id=None)[source]

Bases: SIAElement

class pos(id=None)[source]

Bases: SIAElement

class size(id=None)[source]

Bases: SIAElement

class testQuery(id=None)[source]

Bases: SIAElement

class gavo.registry.model.SLAP[source]

Bases: object

A container for the elements of the SSA registry extension.

class SLAPElement(id=None)[source]

Bases: Element

class capability(id=None, standardID='ivo://ivoa.net/std/SLAP', xsi_type='slap:SimpleLineAccess')[source]

Bases: capability

class complianceLevel(id=None)[source]

Bases: SLAPElement

class dataSource(id=None)[source]

Bases: SLAPElement

class interface(id=None, qtype=None, role='std', version=None, xsi_type='vs:ParamHTTP')[source]

Bases: interface

class queryDataCmd(id=None)[source]

Bases: SLAPElement

class testQuery(id=None)[source]

Bases: SLAPElement

class gavo.registry.model.SSAP[source]

Bases: object

A container for the elements of the SSA registry extension.

class SSAElement(id=None)[source]

Bases: Element

class capability(id=None, standardID='ivo://ivoa.net/std/SSA', xsi_type='ssap:SimpleSpectralAccess')[source]

Bases: capability

class complianceLevel(id=None)[source]

Bases: SSAElement

class creationType(id=None)[source]

Bases: SSAElement

class dataSource(id=None)[source]

Bases: SSAElement

class defaultMaxRecords(id=None)[source]

Bases: SSAElement

class interface(id=None, qtype=None, role='std', version=None, xsi_type='vs:ParamHTTP')[source]

Bases: interface

class maxAperture(id=None)[source]

Bases: SSAElement

class maxFileSize(id=None)[source]

Bases: SSAElement

class maxRecords(id=None)[source]

Bases: SSAElement

class maxSearchRadius(id=None)[source]

Bases: SSAElement

class queryDataCmd(id=None)[source]

Bases: SSAElement

class supportedFrame(id=None)[source]

Bases: SSAElement

class testQuery(id=None)[source]

Bases: SSAElement

class gavo.registry.model.TR[source]

Bases: object

A container for elements describing TAP services.

class TRElement(id=None)[source]

Bases: Element

class alias(id=None)[source]

Bases: TRElement

class capability(id=None, standardID='ivo://ivoa.net/std/TAP', xsi_type='tr:TableAccess')[source]

Bases: capability

class daliInterface(id=None, qtype=None, role='std', version=None, xsi_type='tr:DALIInterface')[source]

Bases: interface

name_ = 'interface'
class dataModel(id=None, ivoId=None)[source]

Bases: TRElement

class default(id=None, unit=None)[source]

Bases: TRElement

class description(id=None)[source]

Bases: TRElement

class endpoint(id=None)[source]

Bases: TRElement

class executionDuration(id=None)[source]

Bases: TRElement

class feature(id=None)[source]

Bases: TRElement

class form(id=None)[source]

Bases: TRElement

class hard(id=None, unit=None)[source]

Bases: TRElement

class interface(id=None, qtype=None, role='std', version=None, xsi_type='vs:ParamHTTP')[source]

Bases: interface

class label(id=None)[source]

Bases: TRElement

class language(LANG=None, id=None)[source]

Bases: TRElement

class languageFeatures(id=None, type=None)[source]

Bases: TRElement

class meta(about=None, id=None, property=None, resource=None)[source]

Bases: TRElement

class mime(id=None)[source]

Bases: TRElement

class name(id=None)[source]

Bases: TRElement

class outputFormat(FORMAT=None, id=None, ivoId=None, mime=None)[source]

Bases: TRElement

class outputLimit(id=None)[source]

Bases: TRElement

class parameter(id=None)[source]

Bases: TRElement

class protocol(id=None)[source]

Bases: TRElement

class retentionPeriod(id=None)[source]

Bases: TRElement

class uploadLimit(id=None)[source]

Bases: TRElement

class uploadMethod(id=None, ivoId=None, protocol=None)[source]

Bases: TRElement

class version(id=None, ivoId=None)[source]

Bases: TRElement

class gavo.registry.model.VOG[source]

Bases: object

is a container for classes modelling elements from VO Registry.

class Authority(created=None, id=None, status=None, updated=None, xsi_type='vg:Authority')[source]

Bases: Resource

class Harvest(id=None, standardID='ivo://ivoa.net/std/Registry', xsi_type='vg:Harvest')[source]

Bases: capability

class OAIHTTP(id=None, qtype=None, role=None, version=None, xsi_type='vg:OAIHTTP')[source]

Bases: interface

class OAISOAP(id=None, qtype=None, role=None, version=None, xsi_type='vg:OAISOAP')[source]

Bases: interface

class Resource(created=None, id=None, status=None, updated=None, xsi_type='vg:Registry')[source]

Bases: Resource

class Search(id=None, xsi_type='vg:Search')[source]

Bases: VOGElement

class VOGElement(id=None)[source]

Bases: Element

class capability(id=None, standardID='ivo://ivoa.net/std/Registry')[source]

Bases: capability

class description(id=None)[source]

Bases: VOGElement

class extensionSearchSupport(id=None)[source]

Bases: VOGElement

class full(id=None)[source]

Bases: VOGElement

class interface(id=None)[source]

Bases: VOGElement

class managedAuthority(id=None)[source]

Bases: VOGElement

class managingOrg(id=None, ivoId=None)[source]

Bases: VOGElement, _ResourceNameMixin

class maxRecords(id=None)[source]

Bases: VOGElement

class optionalProtocol(id=None)[source]

Bases: VOGElement

class validationLevel(id=None)[source]

Bases: VOGElement

class gavo.registry.model.VOR[source]

Bases: object

is a container for classes modelling elements from VO Resource.

class Organisation(created=None, id=None, status=None, updated=None, xsi_type='vr:Organisation')[source]

Bases: Resource

class Resource(created=None, id=None, status=None, updated=None)[source]

Bases: VORElement

name_ = 'Resource'
class ResourceName(altIdentifier=None, id=None, ivoId=None)[source]

Bases: VORElement

class Service(created=None, id=None, status=None, updated=None, xsi_type='vr:Service')[source]

Bases: Resource

class VORElement(id=None)[source]

Bases: Element

class WebBrowser(id=None, qtype=None, role=None, version=None, xsi_type='vr:WebBrowser')[source]

Bases: interface

class WebService(id=None, qtype=None, role=None, version=None, xsi_type='vr:WebService')[source]

Bases: interface

class accessURL(id=None, use=None)[source]

Bases: VORElement

class address(id=None)[source]

Bases: VORElement

class altIdentifier(id=None)[source]

Bases: VORElement

class capability(id=None, standardID=None)[source]

Bases: VORElement

name_ = 'capability'
class contact(id=None)[source]

Bases: VORElement

class content(id=None)[source]

Bases: VORElement

class contentLevel(id=None)[source]

Bases: VORElement

class contributor(altIdentifier=None, id=None, ivoId=None)[source]

Bases: ResourceName

class creator(id=None)[source]

Bases: VORElement

class curation(id=None)[source]

Bases: VORElement

class date(id=None, role=None)[source]

Bases: VORElement

class description(id=None)[source]

Bases: VORElement

class email(id=None)[source]

Bases: VORElement

class facility(id=None)[source]

Bases: VORElement

class identifier(id=None)[source]

Bases: VORElement

class instrument(altIdentifier=None, id=None, ivoId=None)[source]

Bases: ResourceName

class interface(id=None, qtype=None, role=None, version=None)[source]

Bases: VORElement

name_ = 'interface'

Bases: VORElement

class mirrorURL(id=None)[source]

Bases: VORElement

class name(id=None)[source]

Bases: VORElement

class publisher(altIdentifier=None, id=None, ivoId=None)[source]

Bases: ResourceName

class referenceURL(id=None)[source]

Bases: VORElement

class relatedResource(id=None, ivoId=None)[source]

Bases: VORElement

class relationship(id=None)[source]

Bases: VORElement

isEmpty()[source]

returns true if the current node has no non-empty children and no non-whitespace text content.

class relationshipType(id=None)[source]

Bases: VORElement

class rights(id=None, rightsURI=None)[source]

Bases: VORElement

class securityMethod(id=None, standardId=None)[source]

Bases: VORElement

isEmpty()[source]

returns true if the current node has no non-empty children and no non-whitespace text content.

class shortName(id=None)[source]

Bases: VORElement

class source(format=None, id=None)[source]

Bases: VORElement

class subject(id=None)[source]

Bases: VORElement

class telephone(id=None)[source]

Bases: VORElement

class title(id=None)[source]

Bases: VORElement

class type(id=None)[source]

Bases: VORElement

class validationLevel(id=None, validatedBy=None)[source]

Bases: VORElement

class version(id=None)[source]

Bases: VORElement

class wsdlURL(id=None)[source]

Bases: VORElement

class gavo.registry.model.VS[source]

Bases: object

A container for classes modelling elements from VODataService 1.2.

class CatalogResource(created=None, id=None, status=None, updated=None, xsi_type='vs:CatalogResource')[source]

Bases: DataResource

class CatalogService(created=None, id=None, status=None, updated=None, xsi_type='vs:CatalogService')[source]

Bases: CatalogResource

class DataCollection(created=None, id=None, status=None, updated=None, xsi_type='vs:DataCollection')[source]

Bases: Resource

class DataResource(created=None, id=None, status=None, updated=None, xsi_type='vs:DataResource')[source]

Bases: Service

class DataService(created=None, id=None, status=None, updated=None, xsi_type='vs:DataService')[source]

Bases: DataResource

class ParamHTTP(id=None, qtype=None, role=None, version=None, xsi_type='vs:ParamHTTP')[source]

Bases: interface

class Service(created=None, id=None, status=None, updated=None)[source]

Bases: Resource

class ServiceReference(id=None, ivoId=None)[source]

Bases: VSElement

class VSElement(id=None)[source]

Bases: Element

class accessURL(id=None)[source]

Bases: VSElement

class column(fillFactor=None, id=None, maxValue=None, median=None, minValue=None, percentile03=None, percentile97=None)[source]

Bases: VSElement

class coverage(id=None)[source]

Bases: VSElement

class dataType(arraysize=None, delim=None, extendedSchema=None, extendedType=None, id=None, xsi_type=None)[source]

Bases: dataType

name_ = 'dataType'
class description(id=None)[source]

Bases: VSElement

class facility(id=None)[source]

Bases: VSElement

class fkColumn(id=None)[source]

Bases: VSElement

class flag(id=None)[source]

Bases: VSElement

class footprint(id=None, ivoId=None)[source]

Bases: VSElement

class foreignKey(id=None)[source]

Bases: VSElement

class format(id=None, isMIMEType=None)[source]

Bases: VSElement

class fromColumn(id=None)[source]

Bases: VSElement

class instrument(id=None)[source]

Bases: VSElement

class name(id=None)[source]

Bases: VSElement

class nrows(id=None)[source]

Bases: VSElement

class param(id=None, std='false')[source]

Bases: VSElement

class queryType(id=None)[source]

Bases: VSElement

class regionOfRegard(id=None)[source]

Bases: VSElement

class resultType(id=None)[source]

Bases: VSElement

class schema(id=None)[source]

Bases: VSElement

class spatial(id=None)[source]

Bases: VSElement

class spectral(id=None)[source]

Bases: VSElement

class table(id=None, type=None)[source]

Bases: VSElement

class tableset(id=None)[source]

Bases: VSElement

class tapType(arraysize=None, delim=None, extendedSchema=None, extendedType=None, id=None, size=None, xsi_type='vs:TAPType')[source]

Bases: dataType

name_ = 'dataType'
class targetColumn(id=None)[source]

Bases: VSElement

class targetTable(id=None)[source]

Bases: VSElement

class temporal(id=None)[source]

Bases: VSElement

class title(id=None)[source]

Bases: VSElement

class ucd(id=None)[source]

Bases: VSElement

class unit(id=None)[source]

Bases: VSElement

class utype(id=None)[source]

Bases: VSElement

class voTableDataType(arraysize=None, delim=None, extendedSchema=None, extendedType=None, id=None, xsi_type='vs:VOTableType')[source]

Bases: dataType

name_ = 'dataType'
class waveband(id=None)[source]

Bases: VSElement

class gavo.registry.model.VSTD[source]

Bases: object

A container for elements from StandardsRegExt.

class Standard(created=None, id=None, status=None, updated=None, xsi_type='vstd:Standard')[source]

Bases: Resource

class VSTDElement(id=None)[source]

Bases: Element

class deprecated(id=None)[source]

Bases: VSTDElement

class description(id=None)[source]

Bases: VSTDElement

class endorsedVersion(id=None, status='n/a', use='preferred')[source]

Bases: VSTDElement

class key(id=None)[source]

Bases: VSTDElement

class name(id=None)[source]

Bases: VSTDElement