Define & Validate APIsValidation Rulesets
Google Discovery Rulesets
The ruleset APIMatic uses to validate Google Discovery documents.
APIMatic validates Google Discovery documents against the ruleset below. These include rules defined by the standard as well as additional checks APIMatic enforces for better output.
Google Discovery Document Validation
Validation checks performed on a Google Discovery Document file.
| Property | Value |
|---|---|
| Ruleset ID | google-discovery-validation |
| Code prefix | GOOGLEDISCOVERY_V |
| Type | Validation |
| Default severity | Error |
| Rule system | Semantic |
| Rules | 1 |
Basic Structure
| Code | Rule | Severity | What it checks |
|---|---|---|---|
GOOGLEDISCOVERY_V001 | valid-google-discovery-syntax | Blocking | The provided Google Discovery document must not contain any syntax/semantic issues and use only valid JSON. Each property in the file must have a type as defined in the standard. |