# Schema: GridWriteModel
---
type: object
properties:
  rowCount:
    type: integer
    description: The number of rows the grid has
    minimum: 1
  columnCount:
    type: integer
    description: The number of columns the grid has
    minimum: 1
  widgets:
    type: array
    description: |-
      The set of `GridWidget`s selected for the grid.

      # Conditions

      - The widgets must not overlap.
    items:
      $ref: './grid_widget_model.yml'
  _links:
    type: object
    properties:
      scope:
        allOf:
          - $ref: './link.yml'
          - description: |-
              The location where this grid is used, usually represented as a relative URL.
