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
- Attribute
Definition - Defines a slot (property/field) in the schema
- Class
Definition - Defines a class in the schema
- Contributor
- Represents a contributor to the schema
- Enum
Definition - Defines an enumeration type
- Example
- Represents an example value for a slot
- LinkML
- The root schema object that contains all LinkML schema definitions
- Permissible
Value - Represents a single permissible value in an enum
- Slot
Usage - Defines how a slot is used in a specific context
- Subset
- Defines a subset of schema elements
- Type
Definition - Defines a custom data type