Skip to main content

This is a new service. Help us improve it and give your feedback.

MUST

MUST define a format for number types

number properties MUST have a format defined (float, double, or decimal).

Important:

For openapi definitions marked with info.x-api-type: pygeoapi, this rule’s severity is automatically set to warn by the override-severity-pygeoapi rule. See 1.

Invalid Example

requestBody:
    content:
      application/json:
        schema:
          type: object
          properties:
            range:
              type: number

Valid Example

requestBody:
  content:
    application/json:
      schema:
        type: object
        properties:
          range:
            type: number
            format: float

Zalando Guideline 171


Published: 24 January 2025
Last updated: 25 September 2025
Page Source