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.5.0.tar.gz (435.8 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.5.0-py3-none-any.whl (52.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: iscc_schema-0.5.0.tar.gz
  • Upload date:
  • Size: 435.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","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.5.0.tar.gz
Algorithm Hash digest
SHA256 2ab76848b3c8a1b6aadd29a30f9d4fd55942f4e76813988b0a04359a4d05ed34
MD5 6a2705e0ebfd1770e929cf0abaf5d8f9
BLAKE2b-256 15f905b4634a5706b48d19ebb1ffa676dbf10a1287342734edcfcf7f509bab9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iscc_schema-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 52.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 40cce0748479bce262544b46377cb02f4594215d0e0635c3dd9ab8191b7fa77d
MD5 d6bacc38f6aab887066324d1ae150c79
BLAKE2b-256 4e77aa393a0c08f3ab537e20fa8a929751a57479c59ec7bf969b97de2a0ac4e2

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