-
Notifications
You must be signed in to change notification settings - Fork 203
Description
This issue is intended to raise the visibility and documentation of a proposed addition to purl-test-schema.json from its introduction in PR #614 which proposes a new test type for validation. The PR covers the proposed change to the schema and corresponding updates to the 32 registered PURL types. The context for adding this issue is that context any normative change to a PURL schema should be reviewed approved by TC54/TG2. The purl-test-schema.json is not included in the proposed PURL 1.0 Ecma standard, but it is a normative element of the PURL specification.
The gist of the proposal is to add a validation test type :
"purl_validation_message": {
"title": "PURL validation message",
"description": "Validation severity and message to use as a test expected output when validating a PURL.",
"type": "object",
"additionalProperties": false,
"properties": {
"severity": {
"title": "Validation severity",
"description": "Validation severity.",
"type": "string",
"enum": [
"info",
"warning",
"error"
],
"meta:enum": {
"info": "Informational validation message",
"warning": "Warning validation message",
"error": "Error validation message"
}
},
"message": {
"title": "Validation message",
"description": "Validation message.",
"type": "string"
}
}
},
PR #614 adds the new purl_validation_message property and includes other changes to implement the change in the schema. See the PR for details.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status