5123 one of

https://w3id.org/class/redaktor/oneOf

JSON

Inbox

Definition

Identifies an exclusive option for a Question. Use of oneOf implies that the Question can have only a single answer. To indicate that a Question can have multiple answers, use anyOf.
see https://www.w3.org/TR/activitystreams-vocabulary/#dfn-oneof

Scope Note

: Property

Example

Example 91

{
  "@context": "https://www.w3.org/ns/activitystreams",
  "type": "Question",
  "name": "What is the answer?",
  "oneOf": [
    {
      "type": "Note",
      "name": "Option A"
    },
    {
      "type": "Note",
      "name": "Option B"
    }
  ]
}