⚠️ Early Release: This is an early preview and should be used for development and testing purposes only.

LinkML Schema Explorer

The Semantic Data Type (SDT) specification is defined using LinkML. Browse the schema's classes, attributes, and enums, and download target environment models.

Semantic Data Type Schema

Schema URI https://w3id.org/dartfx/semanticdt
Version 0.1.0-dev
License Creative Commons CC0 1.0

A schema defining Semantic Data Types (SDT) situated above physical database or programming types. Encompasses metadata, mappings, validation, generation, and agentic instructions.

SemanticDataType

A high-level data type associated with a distinct concept, validation/generation rules, and metadata.

ConceptReference

Reference to a concept in an external ontology or vocabulary.

StorageType

Physical or logical storage data type binding.

ClassificationSystem

Controlled vocabulary or coding scheme (making this a categorical variable).

ValidationRule

A rule defining syntactical or logical validation of values.

CodeSnippet

A concrete piece of code or expression implementing logic (e.g., validation, generation) in a specific environment.

GenerationRule

Directive for synthetic data generation.

AgentInstruction

Machine and agentic parsing, transformation, or reasoning guidelines.

AgentSkill

Executable tools, functions, or workflows related to the semantic type.

ScopeContext

Contextual boundaries of the data type.

GeospatialCoverage

Geospatial coverage boundaries represented by description and/or formal codes or URIs.

TemporalCoverage

Temporal coverage boundaries represented by description, start/end dates, or ISO 8601 periods/durations.

DisplayFormat

Guidelines for displaying and masking data.

Example

Concrete instance of values.

Resource

An external resource, citation, or reference related to the Semantic Data Type (using simple Dublin Core elements).

class SemanticDataType

A high-level data type associated with a distinct concept, validation/generation rules, and metadata.

Attributes & Slots

Attribute Range (Type) Required Description
id string Yes Unique identifier/URI for the Semantic Data Type.
name string Yes Human-readable name of the Semantic Data Type.
description string Yes A human-readable description of the Semantic Data Type.
version string Yes The version of the Semantic Data Type instance definition (e.g., 1.0.0).
concepts list of ConceptReference No A list of conceptual ontology alignments or mapping references representing this data type in external systems (e.g., SKOS concepts, Wikidata items, or vocabularies like DDI-CDI and schema.org). This should list multiple representations of the same underlying semantic concept, not distinct concepts.
storage_types list of StorageType No Mappings to physical storage types across different environments. A mapping for the 'generic' environment is required to define the platform-independent base type.
classification ClassificationSystem No Code lists or classification schemes that categorize this variable.
validation_rules list of ValidationRule No Rules to validate physical representations of the data type.
generation_rules list of GenerationRule No Templates or directives for generating synthetic valid data.
agent_instructions AgentInstruction No Specific guidelines and instructions for AI agents handling this data type.
agent_skills list of AgentSkill No Tools, functions, or prompts associated with this data type.
scope ScopeContext No Contextual scope of the data type (temporal, geographic, etc.).
display_format DisplayFormat No Formatting rules for displaying values of this type.
examples list of Example No Curated valid and invalid examples for documentation and testing.
resources list of Resource No External resources and references related to the Semantic Data Type.