Skip to main content

Crate sbol_core

Crate sbol_core 

Source
Expand description

Version-neutral SBOL machinery shared by the sbol2 and sbol3 crates.

sbol-core holds the parts of an SBOL implementation that do not depend on a specific data-model version: the field-metadata descriptor types that drive schema-directed serialization and validation, the validation framework (configuration, severity, coverage, and reporting), identity and IRI utilities, and the object and document scaffolding that a versioned model builds on. The sbol2 and sbol3 crates supply their own class and rule catalogs on top of these shared primitives.

Modulesยง

diff
Structural comparison of two SBOL documents.
document
Version-neutral document scaffolding: the RDF-backed object store shared by every SBOL document, independent of the typed surface a versioned model layers on top.
error
Version-neutral read and write errors for SBOL documents.
identity
Validated identity helpers used by the typed builder surface.
iri
IRI string helpers shared across SBOL versions and the conversion layer.
object
Version-neutral field-structs shared by the parsed-object representation: the identity-level and top-level metadata every SBOL object carries regardless of model version, and the Object value that binds an identity to its RDF types, properties, and parsed metadata.
prelude
Common re-exports for working with the version-neutral SBOL primitives.
schema
Version-neutral schema descriptors for SBOL classes and properties.
syntax
Lexical checks for IUPAC sequence characters, URLs/IRIs, hash digests, and display IDs.
validation
The version-neutral validation framework: coverage taxonomy, severity and reporting types, and configuration shared by the SBOL 2 and SBOL 3 validators. Each version supplies its own rule catalog and rule implementations on top of these primitives.