Skip to main content

Module schema

Module schema 

Source
Expand description

LinkML schema definitions for parsing and representing LinkML schemas in Rust.

This module provides Rust structs that map directly to the YAML structure of LinkML schemas. Each struct is annotated with serde derive macros to enable serialization/deserialization.

Structsยง

Annotation
Represents an annotation on a schema element
AttributeDefinition
Defines a slot (property/field) in the schema
ClassDefinition
Defines a class in the schema
Contributor
Represents a contributor to the schema
EnumDefinition
Defines an enumeration type
Example
Represents an example value for a slot
LinkML
The root schema object that contains all LinkML schema definitions
PermissibleValue
Represents a single permissible value in an enum
SlotUsage
Defines how a slot is used in a specific context
Subset
Defines a subset of schema elements
TypeDefinition
Defines a custom data type