Skip to content
mailschemaPublic

About

Canonical Mail Action Protocol schemas embedded for Rust

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

mailschema

The Mail Action Protocol 0.3 artifacts for Rust, embedded byte for byte as mailschema.org publishes them: the profile record, the JSON-LD context, and the core, type contract and implementation record schemas. The profile record binds the context and the first two schemas by SHA-256. No runtime dependencies, filesystem access or network calls.

[dependencies]
mailschema = "0.3"
let schema: serde_json::Value = serde_json::from_str(mailschema::CORE_SCHEMA)?;

The constants are PROFILE_RECORD, CONTEXT_DOCUMENT, CORE_SCHEMA, CONTRACT_SCHEMA and IMPLEMENTATION_SCHEMA, with PROFILE and CONTEXT naming the profile and context. Schema validation alone does not establish a valid description; see the specification.

Source: mailschema/rust. License: MIT.

About

Canonical Mail Action Protocol schemas embedded for Rust

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages