2.3.3.5.4. Discussions

  • Relative Filepath[1]: dev/discussion.yaml

  • Pre-configured: True

[1]: Filepath is relative to the root of the control center directory.

$schema: https://json-schema.org/draft/2020-12/schema
title: meta_dev_discussions
description: GitHub discussions settings for the project
type: object
default: { }
additionalProperties: false
properties:
  form:
    type: object
    default: { }
    additionalProperties:
      type: object
      additionalProperties: false
      properties:
        title:
          type: string
        labels:
          type: array
          uniqueItems: true
          items:
              type: string
        body:
          type: array
          items:
            type: object
            additionalProperties: false
            properties:
              type:
                type: string
                enum: [ checkboxes, dropdown, input, markdown, textarea ]
              id:
                type: string
                pattern: ^[A-Za-z][A-Za-z0-9_-]*$
              attributes:
                type: object
                additionalProperties: true
              validations:
                type: object
                additionalProperties: true
            required: [ type, attributes ]
      required: [ body ]
required: [ form ]
form: {}

For more information on the syntax for discussion category forms, see the corresponding GitHub documentation. For details on different elements that can be added to the body of a discussion form, see the GitHub documentation on syntax for GitHub’s form schema.