# Schema: PlaceholderUserCollectionModel
---
allOf:
  - $ref: './collection_model.yml'
  - type: object
    required:
      - _links
      - _embedded
    properties:
      _links:
        type: object
        required:
          - self
        properties:
          self:
            allOf:
              - $ref: "./link.yml"
              - description: |-
                  This placeholder user collection
                  
                  **Resource**: Collection
      _embedded:
        type: object
        required:
          - elements
        properties:
          elements:
            type: array
            items:
              $ref: './placeholder_user_model.yml'

example:
  _type: Collection
  total: 2
  count: 2
  _links:
    self:
      href: '/api/v3/placeholder_users'
  _embedded:
    elements:
      - _hint: PlaceholderUser resource shortened for brevity
        _type: PlaceholderUser
        id: 1337
      - _hint: PlaceholderUser resource shortened for brevity
        _type: PlaceholderUser
        id: 1338
