Skip to main content

ISCC - JSON-LD Metadata and OpenAPI Service Descriptions

Project description

ISCC - Schema

Tests Python License Ask DeepWiki

JSON-LD Metadata and OpenAPI Service Descriptions for the International Standard Content Code.

What is iscc-schema?

iscc-schema provides the official schema definitions for the International Standard Content Code (ISO 24138:2024). YAML-based OpenAPI 3.1.0 definitions are the single source of truth for auto-generated JSON Schema, JSON-LD contexts, and Python models.

Install

pip install iscc-schema

Quick Start

from iscc_schema import IsccMeta

meta = IsccMeta(
    iscc="ISCC:KACYPXW445FTYNJ3CYSXHAFJMA2HUWULUNRFE3BLHRSCXYH2M5AEGQY",
    name="The Never Ending Story",
)

# Serialize as dict (set fields only)
meta.dict()
# {'iscc': 'ISCC:KACY...', 'name': 'The Never Ending Story'}

# Serialize as JSON (includes schema defaults)
meta.json()
# '{"@context":"http://purl.org/iscc/context","@type":"CreativeWork",...}'

Schema Categories

  • ISCC Metadata. Core vocabulary for digital content identified by the ISCC. All fields are optional, covering content description, rights, technical properties, and cryptographic declarations.
  • Seed Metadata. Industry-specific input for Meta-Code generation (ISBN, ISRC). Required fields ensure interoperable content fingerprinting across platforms.
  • Service Metadata. Use-case-specific schemas for ISCC registries (TDM, GenAI). Machine-readable signals for text and data mining rights and generative AI disclosure.

Published Artifacts

Artifact URL
JSON Schema http://purl.org/iscc/schema
JSON-LD Context http://purl.org/iscc/context
Vocabulary http://purl.org/iscc/terms
Python Package https://pypi.org/project/iscc-schema

Documentation

Documentation is hosted at schema.iscc.codes

Development

uv sync              # Install dependencies
uv run poe all       # Full build pipeline (codegen, tests, docs)

Status

Under development. Expect breaking changes until we reach a version 1.0 release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iscc_schema-0.6.0.tar.gz (445.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iscc_schema-0.6.0-py3-none-any.whl (52.6 kB view details)

Uploaded Python 3

File details

Details for the file iscc_schema-0.6.0.tar.gz.

File metadata

  • Download URL: iscc_schema-0.6.0.tar.gz
  • Upload date:
  • Size: 445.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for iscc_schema-0.6.0.tar.gz
Algorithm Hash digest
SHA256 0b8b40cfb42fa1b6e7cd105aefb086db7c651d522de6a4e15f08044682a119c6
MD5 2050a2c7469539ace7bf12f050d72216
BLAKE2b-256 4aa89f4fc728c6d88e37f9dedf8b12b25645e60312c461778c39530dbda3c40e

See more details on using hashes here.

File details

Details for the file iscc_schema-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: iscc_schema-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 52.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for iscc_schema-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e632185aa1ade741df1eaec3c64cad0a9de16c10e1d98b99e247ceb6408f536f
MD5 490f945d886bec4e9dedfb1b11ae3c93
BLAKE2b-256 ec55f8c1003a88b326ce33c8801509c2b3f86b185b6e54c67663a433f5e1a49e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page