Skip to content

Metadata

Info

The types of metadata listed in this reference comply with the specification provided by the SEP-001 standard, based on the claims established within it.

Descriptive

Bases: Dynamic

Descriptive "d" claim metadata implementation.

Usage:

# example of populating "d" claim
d = Descriptive(
    title="Example",
    description="Example description",
    language="English",
    author="NASA",
)

Structural

Bases: Dynamic

Structural "s" claim metadata implementation.

Usage:

# example of populating "s" claim
s = Structural(cid="QmZG1jK2zYyzdHZtkZb9f9Uu3qQ2Ru6yvLjWFRV8ZuM6aM")
s_with_path = Structural(cid="QmZG1jK2zYyzdHZtkZb9f9Uu3qQ2Ru6yvLjWFRV8ZuM6aM", path="/videos/example_video.mp4")

Technical

Bases: Dynamic

Technical "t" claim metadata implementation.

Usage:

# example of populating "t" claim
t = Technical(
    size=1024,
    width=256,
    height=256,
    length=90
)