Skip to content

Slot: oneOf

JSON Schema oneOf entries.

URI: mcp:oneOf Alias: oneOf

Applicable Classes

Name Description Modifies Slot
JsonSchema Restricted JSON Schema object used in MCP payloads no
TitledSingleSelectEnumSchema Single-selection enum with display titles for each option yes

Properties

Type and Range

Property Value
Range EnumOption
Domain Of JsonSchema, TitledSingleSelectEnumSchema

Cardinality and Requirements

Property Value
Multivalued Yes

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self mcp:oneOf
native mcp:oneOf

LinkML Source

name: oneOf
description: JSON Schema oneOf entries.
from_schema: https://w3id.org/lmodel/mcp
rank: 1000
alias: oneOf
domain_of:
- JsonSchema
- TitledSingleSelectEnumSchema
range: EnumOption
multivalued: true