Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-7935

Validate metric.yaml schemas for validate_base packages

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Won't Fix
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: QA
    • Labels:

      Description

      Use JSON schema (https://spacetelescope.github.io/understanding-json-schema/basics.html) to define a formal schema for YAML-formatted metric and specification config files.

      In validate_base, provide a Python API for validating YAML data, and also a command line script for validation.

      Include this in the docs.

        Attachments

          Issue Links

            Activity

            Hide
            kennylo Kenny Lo added a comment -

            FYI, I've added myself as watcher since I need the JSON Schema for my DAX API work.

            Show
            kennylo Kenny Lo added a comment - FYI, I've added myself as watcher since I need the JSON Schema for my DAX API work.
            Hide
            jsick Jonathan Sick added a comment -

            This work can be restarted for lsst.verify's metric and specification YAML documents taking advantage of the cerebus package being added to the stack via RFC-380.

            Show
            jsick Jonathan Sick added a comment - This work can be restarted for lsst.verify 's metric and specification YAML documents taking advantage of the cerebus package being added to the stack via RFC-380 .
            Hide
            tjenness Tim Jenness added a comment -

            What's the status of this ticket? Should it be renamed to talk about verify package? Is the ticket now owned by the validation team? Note that cerberus is not in the conda env at present.

            Show
            tjenness Tim Jenness added a comment - What's the status of this ticket? Should it be renamed to talk about verify package? Is the ticket now owned by the validation team? Note that cerberus is not in the conda env at present.
            Hide
            jsick Jonathan Sick added a comment -

            Changing to won't fix. I think validation is still a excellent idea (at the moment we'd probably use either jsonschema or Pydantic) but I don't personally have a roadmap to continue developing lsst.verify.

            Show
            jsick Jonathan Sick added a comment - Changing to won't fix. I think validation is still a excellent idea (at the moment we'd probably use either jsonschema or Pydantic) but I don't personally have a roadmap to continue developing lsst.verify.

              People

              Assignee:
              jsick Jonathan Sick
              Reporter:
              jsick Jonathan Sick
              Watchers:
              Jonathan Sick, Kenny Lo, Simon Krughoff, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.