CoreLogic (Cotality) · API Governance Rules
CoreLogic (Cotality) API Rules
Spectral linting rules defining API design standards and conventions for CoreLogic (Cotality).
CoreLogic (Cotality) API Rules is a Spectral governance ruleset published by CoreLogic (Cotality) on the APIs.io network, containing 10 lint rules.
The ruleset includes 6 error-severity rules and 4 warning-severity rules.
Tagged areas include Climate Risk, CoreLogic, Cotality, Direct Web API, and Hazard Data.
Rulesets can be applied to your own OpenAPI specs via Spectral to enforce the same governance standards.
10 Rules
error 6
warn 4
Rule Categories
trestle
Rules
error
trestle-info-contact
API info object must declare contact info pointing at Trestle support.
$.info
error
trestle-server-https
Servers must use HTTPS.
$.servers[*].url
error
trestle-base-url
Base URL must reference the api.cotality.com Trestle OData endpoint.
$.servers[*].url
error
trestle-oauth2-client-credentials
Security must be OAuth2 Client Credentials against the cotality token endpoint.
$.components.securitySchemes.oauth2ClientCredentials.flows.clientCredentials.tokenUrl
warn
trestle-reso-resources
API must expose the canonical RESO Web API resources.
$.paths
warn
trestle-odata-query-parameters
Property collection endpoint must accept the standard OData query parameters.
$.paths['/Property'].get.parameters[*].name
error
trestle-operation-id
Every operation must define a camelCase operationId.
$.paths.*.*
warn
trestle-summary-title-case
Operation summaries must be in Title Case.
$.paths.*.*.summary
error
trestle-tags-required
Every operation must declare at least one tag.
$.paths.*.*
warn
trestle-pascal-case-resources
Resource paths must use PascalCase to match RESO Data Dictionary entity names.
$.paths