{"section":"naming-conventions","title":"Naming Conventions Rules","description":"Rules for naming properties, parameters, and headers","totalRules":6,"spectralRules":[{"name":"property-camel-case","severity":"warn","message":"Property names should use camelCase","description":"Uses custom function checkPropertyCase with exceptions for HAL (_links, _embedded) and OData (@odata.*)","given":"$.components.schemas[*].properties[*]~","then":{"function":"checkPropertyCase","functionOptions":{"style":"camelCase"}}},{"name":"query-param-camel-case","severity":"warn","message":"Query parameter names should use camelCase","given":"$.paths[*][*].parameters[?(@.in=='query')].name","then":{"function":"casing","functionOptions":{"type":"camel"}}},{"name":"header-kebab-case","severity":"warn","message":"Custom header names should use kebab-case","given":"$.paths[*][*].parameters[?(@.in=='header')].name","then":{"function":"pattern","functionOptions":{"match":"^[A-Z][a-z]*(-[A-Z][a-z]*)*$|^[a-z]+(-[a-z]+)*$"}}}],"rules":[{"id":"property-camel-case","requirement":"SHOULD","rule":"JSON property names should use camelCase","severity":"warn","spectralRule":"property-camel-case","examples":{"notRecommended":["order_number","FirstName","CREATED_AT"],"recommended":["orderNumber","firstName","createdAt"]},"alternatives":[{"name":"snake_case","spectralRule":"property-snake-case","sources":["Cloud Foundry","Monite"],"examples":["order_number","first_name","created_at"]}]},{"id":"query-param-camel-case","requirement":"SHOULD","rule":"Query parameter names should use camelCase","severity":"warn","spectralRule":"query-param-camel-case"},{"id":"header-kebab-case","requirement":"SHOULD","rule":"Custom header names should use Kebab-Case or kebab-case","severity":"warn","spectralRule":"header-kebab-case"},{"id":"property-ascii-only","requirement":"MUST","rule":"Property names must be ASCII alphanumeric characters only","severity":"error"},{"id":"property-case-sensitive","requirement":"MUST","rule":"Property names must be treated with case sensitivity","severity":"error"},{"id":"array-plural-names","requirement":"SHOULD","rule":"Array property names should be plural","severity":"warn"}]}