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, the paired -pygeoapi sibling rule fires at warn instead. 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: 2 July 2026
Page Source