Skip to content

Validator Extension Enhancements #321

Description

@dslik

The following enhancements have been requested for the CDMI validator extension:

  1. Allow a validator to mark an object that passes (or fails) validation with specific metadata (or rels, e.g. a "validated_by" pointing to the schema in the version of the validator used to validate, with annotation of when, etc). Currently the validation extension only permits marking with the validator path and the validation result.
  2. Allow a validation specification to be attached to a container so that it is "sticky" with the container. Currently the validation extension requires creating a seperate data object that defines the validation. (both embedded schemas, and pointing to a schema object/URI)
  3. Add clarity around long-running validations and how this interacts with the object's completionStatus

It also would be useful to add an example showing how to use $ref to use external schemas not explicitly stored in the validation object. Having these "schema objects" is a useful pattern and we should provide guidance and examples. This may be best as a seperate "schema extension".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions