TWiki> IVOA Web>SSAValidaterTests (revision 1)EditAttach
Jumps: IvoaResReg :: registry mail archive :: RofR :: RegistryOperations :: SSA standard
Meetings: InterOpMay2009ResReg

Validation Tests: Simple Spectral Access

Requirements

These tests are drawn from "MUST" statements in the SSA standard.

4.1 The value of the INFO element with name="QUERY_STATUS" of a response to a valid query must not be ERROR.

4.2a The VOTable response to any query must contain exactly one RESOURCE with type='results'.

4.2b There must be exactly one TABLE in the RESOURCE containing the results of a response to a valid query.

4.2d The RESOURCE containing the results of a response to any query must include one INFO element with name="QUERY_STATUS".

4.2.5 The RESOURCE containing the results of a response to a valid query must include one FIELD / PARAM element with:

  • 4.2.5.1 ucd="meta.ref.url" // datatype="char" // arraysize="*"
  • 4.2.5.4b ucd="meta.number" // datatype="long" // arraysize="1" or "" or not provided
  • 4.2.5.5a ucd="meta.title;meta.dataset" // datatype="char" // arraysize="*"
  • 4.2.5.10a ucd="pos.eq" // datatype="double" // arraysize="2"
  • 4.2.5.10b ucd="instr.fov" // datatype="double" // arraysize="1" or "" or not provided
  • 4.2.5.10c ucd="time.epoch" // datatype="double" // arraysize="1" or "" or not provided
  • 4.2.5.10e ucd="instr.bandpass" // datatype="double" // arraysize="1" or "" or not provided
  • 4.2.5.10f ucd="instr.bandwidth" // datatype="double" // arraysize="1" or "" or not provided

6.1 The value of the INFO element with name="QUERY_STATUS" of a response to a metadata query must not be ERROR.

6.2a The RESOURCE containing the results of a response to a metadata query must include PARAM elements with:

  • name="INPUT:POS"
  • name="INPUT:SIZE"
  • name="INPUT:BAND"
  • name="INPUT:TIME"
  • name="INPUT:FORMAT"

8.10a The value of the INFO element with name="QUERY_STATUS" of a response to any query must be either OK, ERROR, or OVERFLOW.

8.10.1 The value of the INFO element with name="QUERY_STATUS" of a response to an error query must be ERROR.

Warnings

These tests are drawn from strongly encouraged "SHOULD" statements in the SSA standard.

4.2.5 The UCDs of the FIELDs / PARAMs of the RESOURCE containing the results of a response to a valid query should match the documented case.

8.10b The content of the INFO element with name="QUERY_STATUS" of a response to any query should include an error message if its value is not OK.

Recommendations

These tests are drawn from other "SHOULD" statements in the SSA standard.

4.2.5 The RESOURCE containing the results of a response to a valid query should include one FIELD / PARAM element with:

  • 4.2.5.6a ucd="meta.bib.bibcode" // datatype="char" // arraysize="*"
  • 4.2.5.10d ucd="time.duration" // datatype="double" // arraysize="1" or "" or not provided
  • 4.2.5.10g ucd="em;stat.min" // datatype="double" // arraysize="1" or "" or not provided
  • 4.2.5.10h ucd="em;stat.max" // datatype="double" // arraysize="1" or "" or not provided
  • 4.2.5.11c ucd="spect.resolution;em" // datatype="double" // arraysize="1" or "" or not provided
  • 4.2.5.11d ucd="stat.error;pos.eq" // datatype="double" // arraysize="1" or "" or not provided
  • 4.2.5.11f ucd="pos.angResolution" // datatype="double" // arraysize="1" or "" or not provided

6.2b The RESOURCE containing the results of a response to a metadata query should include PARAM elements for all supported INPUT parameters, not just the five compulsory ones.

6.2c The PARAM elements for INPUT parameters in the RESOURCE containing the results of a response to a metadata query should have DESCRIPTIONs.

6.2d The "INPUT:FORMAT" PARAM element in the RESOURCE containing the results of a response to a metadata query should list supported formats using VALUES elements.


Edit | Attach | Watch | Print version | History: r5 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2009-10-19 - AurelienStebe
 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback