import type { ObjectOrArray } from "@twin.org/core"; import type { IJsonLdNodeObject } from "@twin.org/data-json-ld"; /** * Represents a Question with an exclusive list of possible answers, but not an inclusive list. */ export interface IActivityStreamsQuestionOneOfChoice { /** * Specifies an inclusive list of possible answers. * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-anyof */ anyOf?: never; /** * Specifies an exclusive list of possible answers. * @see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-oneof */ oneOf: ObjectOrArray; }