Ticketmaster · API Governance Rules
Ticketmaster API Rules
Spectral linting rules defining API design standards and conventions for Ticketmaster.
11 Rules
error 3
warn 4
info 4
Rule Categories
ticketmaster
Rules
warn
ticketmaster-paths-json-suffix
Ticketmaster Discovery API paths must end with .json
$.paths[*]~
error
ticketmaster-apikey-param-required
All operations must accept an apikey query parameter
$.paths[*][get,post,put,delete]
warn
ticketmaster-tags-title-case
All tags must use Title Case
$.tags[*].name
warn
ticketmaster-operation-ids-camel-case
Operation IDs must use camelCase
$.paths[*][*].operationId
error
ticketmaster-responses-200-on-get
GET operations must have a 200 response
$.paths[*].get
info
ticketmaster-responses-401-on-get
GET operations should document 401 unauthorized response
$.paths[*].get
info
ticketmaster-responses-404-on-resource
Single resource GET endpoints should document 404 response
$.paths[?(/\{.*\}/)].get
error
ticketmaster-servers-https-only
All server URLs must use HTTPS
$.servers[*].url
info
ticketmaster-pagination-in-list-ops
List operations should support size and page parameters
$.paths[*~$(\.json)].get.parameters
info
ticketmaster-embedded-response-structure
Collection responses should use HAL _embedded structure
$.components.schemas[?(@.properties._embedded)]
warn
ticketmaster-info-version-semver
API version should be documented
$.info