Skip to content
mailschemaPublic

About

Mail Action Protocol schemas and validation tools for Python

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

mailschema

The Mail Action Protocol 0.3 artifacts for Python, 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. The package has no dependencies.

pip install mailschema==0.3.0
import json
import mailschema

core_schema = json.loads(mailschema.artifact("core.schema.json"))

mailschema.ARTIFACTS lists the bundled files and mailschema.PROFILE names the profile. To parse and check descriptions and contracts, use the JavaScript or Ruby package, or implement the specification; schema validation alone does not establish a valid description.

Source: mailschema/python. License: MIT.

About

Mail Action Protocol schemas and validation tools for Python

Topics

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages