openapi: 3.0.3
info:
  title: User example
  version: 1.0.0
paths: {}
components:
  schemas:
    User:
      type: object
      required: [id]
      properties:
        id:
          type: string
          pattern: '^[0-9]{3}$'
