type: object
properties:
  users:
    type: array
    items:
      type: object
      properties:
        id:
          type: string
        username:
          type: string
        avatarUrl:
          type: string
        emailAddress:
          type: string
        links:
          type: object
          properties:
            self:
              type: string
            teams:
              type: string
            mockApis:
              type: string
            apiTemplateCatalogues:
              type: string
            apiTemplates:
              type: string
            organisation:
              type: string
          required:
            - self
            - teams
            - mockApis
            - apiTemplateCatalogues
            - apiTemplates
            - organisation
      required:
        - id
        - username
        - avatarUrl
        - emailAddress
        - links
  meta:
    $ref: ./PaginationMeta.yaml
  links:
    $ref: ./PaginationLinks.yaml
required:
  - users
