{ "rules": { "info-contact": { "description": "API must have a contact information available.", "given": "$.info", "severity": "error", "recommended": true, "type": "style", "formats": ["oas3"], "then": {"field":"contact","function":"truthy"} } , "info-contact-name": { "description": "API must have a contact name available.", "given": "$.info.contact", "severity": "error", "then": {"field":"name","function":"truthy"} } , "info-contact-email": { "description": "API must have a contact email available.", "given": "$.info.contact", "severity": "error", "then": {"field":"email","function":"truthy"} } , "info-contact-url": { "description": "API must have a contact url available.", "given": "$.info.contact", "severity": "error", "then": {"field":"url","function":"truthy"} } }}