activity_streams v0.1.0 ActivityStreams.Properties.AnyOf View Source

Identifies an inclusive option for a Question. Use of anyOf implies that the Question can have multiple answers. To indicate that a Question can have only one answer, use oneOf. W3C

Examples

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