type: array items: type: object additionalProperties: false required: - id - name - text properties: id: type: string pattern: "^[a-z0-9-]+$" name: type: string text: type: string