type: object
properties:
  name:
    type: string
    description: Name of the data table
    minLength: 1
    maxLength: 128
  columns:
    type: array
    description: Column definitions for the table
    items:
      type: object
      properties:
        name:
          type: string
          description: Column name
          minLength: 1
        type:
          type: string
          enum: [string, number, boolean, date, json]
          description: Column data type
      required:
        - name
        - type
  projectId:
    type: string
    description: |
      ID of the project to create the table in. When omitted, the table is created in the user's personal project.
required:
  - name
  - columns
