infoContactProperties
infoContactProperties
will check a specification to ensure that name
, url
, and email
are defined in the contact
section
of the info
object
Example ruleset configuration
info-contact-properties:
description: "Check `name`, `url` and `email` are defined in the contact object."
type: "validation"
recommended: true
severity: "error"
given: "$"
then:
function: "infoContactProperties"
The function is used by the info-contact-properties Rule