Skip to content

Class: StringSchema

String schema definition.

URI: mcp:StringSchema

 classDiagram
    class StringSchema
    click StringSchema href "../StringSchema/"
      StringSchema : default

      StringSchema : default_value

      StringSchema : description

      StringSchema : format





        StringSchema --> "0..1" StringFormatEnum : format
        click StringFormatEnum href "../StringFormatEnum/"



      StringSchema : maxLength

      StringSchema : minLength

      StringSchema : title

      StringSchema : type

Slots

Name Cardinality and Range Description Inheritance
type 1
String
Type discriminator field direct
default 0..1
JsonValue
Default value for a schema field direct
default_value 0..1
String
Default value for a schema field direct
description 0..1
String
A human-readable description direct
format 0..1
StringFormatEnum
String format constraint direct
minLength 0..1
Integer
Minimum length constraint direct
maxLength 0..1
Integer
Maximum length constraint direct
title 0..1
String
Intended for UI and end-user contexts — optimized to be human-readable and ea... direct

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

Direct

name: StringSchema
description: String schema definition.
from_schema: https://w3id.org/lmodel/mcp
slots:
- type
- default
- default_value
- description
- format
- minLength
- maxLength
- title
slot_usage:
  type:
    name: type
    required: true
    equals_string: string

Induced

name: StringSchema
description: String schema definition.
from_schema: https://w3id.org/lmodel/mcp
slot_usage:
  type:
    name: type
    required: true
    equals_string: string
attributes:
  type:
    name: type
    description: Type discriminator field.
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    alias: type
    owner: StringSchema
    domain_of:
    - TextContent
    - ImageContent
    - AudioContent
    - ContentBlock
    - EmbeddedResource
    - ResourceLink
    - ToolUseContent
    - ToolResultContent
    - PromptReference
    - ResourceTemplateReference
    - SchemaItems
    - JsonSchema
    - StringSchema
    - NumberSchema
    - BooleanSchema
    - UntitledSingleSelectEnumSchema
    - TitledSingleSelectEnumSchema
    - UntitledMultiSelectEnumSchema
    - TitledMultiSelectEnumSchema
    - LegacyTitledEnumSchema
    range: string
    required: true
    equals_string: string
  default:
    name: default
    description: Default value for a schema field.
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    alias: default
    owner: StringSchema
    domain_of:
    - JsonSchema
    - StringSchema
    - NumberSchema
    - BooleanSchema
    - UntitledSingleSelectEnumSchema
    - TitledSingleSelectEnumSchema
    - UntitledMultiSelectEnumSchema
    - TitledMultiSelectEnumSchema
    - LegacyTitledEnumSchema
    range: JsonValue
  default_value:
    name: default_value
    description: Default value for a schema field.
    from_schema: https://w3id.org/lmodel/mcp
    aliases:
    - default
    rank: 1000
    alias: default_value
    owner: StringSchema
    domain_of:
    - StringSchema
    - NumberSchema
    - BooleanSchema
    - UntitledSingleSelectEnumSchema
    - TitledSingleSelectEnumSchema
    - UntitledMultiSelectEnumSchema
    - TitledMultiSelectEnumSchema
    - LegacyTitledEnumSchema
    range: string
  description:
    name: description
    description: A human-readable description.
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    slot_uri: dct:description
    alias: description
    owner: StringSchema
    domain_of:
    - Implementation
    - ResourceLink
    - Resource
    - ResourceTemplate
    - PromptArgument
    - Prompt
    - JsonSchema
    - Tool
    - StringSchema
    - NumberSchema
    - BooleanSchema
    - UntitledSingleSelectEnumSchema
    - TitledSingleSelectEnumSchema
    - UntitledMultiSelectEnumSchema
    - TitledMultiSelectEnumSchema
    - LegacyTitledEnumSchema
    - GetPromptResult
    range: string
  format:
    name: format
    description: String format constraint.
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    alias: format
    owner: StringSchema
    domain_of:
    - JsonSchema
    - StringSchema
    range: StringFormatEnum
  minLength:
    name: minLength
    description: Minimum length constraint.
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    alias: minLength
    owner: StringSchema
    domain_of:
    - JsonSchema
    - StringSchema
    range: integer
  maxLength:
    name: maxLength
    description: Maximum length constraint.
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    alias: maxLength
    owner: StringSchema
    domain_of:
    - JsonSchema
    - StringSchema
    range: integer
  title:
    name: title
    description: Intended for UI and end-user contexts — optimized to be human-readable
      and easily understood.
    from_schema: https://w3id.org/lmodel/mcp
    rank: 1000
    slot_uri: dct:title
    alias: title
    owner: StringSchema
    domain_of:
    - HasName
    - ToolAnnotations
    - EnumOption
    - JsonSchema
    - StringSchema
    - NumberSchema
    - BooleanSchema
    - UntitledSingleSelectEnumSchema
    - TitledSingleSelectEnumSchema
    - UntitledMultiSelectEnumSchema
    - TitledMultiSelectEnumSchema
    - LegacyTitledEnumSchema
    range: string