This release is a pre-release and may not be stable for production use.
customer-commerce-semantics-governance-pack
customer-commerce-semantics-governance-pack
Installable SSOT governance pack for customer commerce semantics, products, offers, orders, invoices, reviews, ratings, and conversion actions.
Overview · Installation · Quick Start · Usage · API · Contributing · Governance · License
Overview
Summary
Installable SSOT governance pack for customer commerce semantics, products, offers, orders, invoices, reviews, ratings, and conversion actions.
Why This Package
Use this package when a downstream repository needs to answer: which standards, specifications, or compliance targets govern customer commerce and product semantics, which ADRs should capture the target policy choices, and which SPECs should define implementation-ready conformance requirements.
When to Use
Use this pack when a downstream SSOT Registry needs reusable decisions and requirements for Customer Commerce And Product Semantics.
Features
Included ADRs
adr:commerce-source-policy— Commerce Source Policyadr:schema-org-product-policy— Schema.org Product Policyadr:schema-org-offer-policy— Schema.org Offer Policyadr:schema-org-order-policy— Schema.org Order Policyadr:schema-org-invoice-policy— Schema.org Invoice Policyadr:schema-org-review-rating-policy— Schema.org Review Rating Policyadr:schema-org-commerce-action-policy— Schema.org Commerce Action Policyadr:commerce-identifier-policy— Commerce Identifier Policyadr:commerce-conversion-boundary-policy— Commerce Conversion Boundary Policyadr:commerce-semantics-consume-canonical-gs1-identifiers— Commerce Semantics Consume Canonical GS1 Identifiers
Included SPECs
spc:schema-org-product-requirements— Schema.org Product Requirementsspc:schema-org-offer-requirements— Schema.org Offer Requirementsspc:schema-org-aggregate-offer-requirements— Schema.org Aggregate Offer Requirementsspc:schema-org-order-requirements— Schema.org Order Requirementsspc:schema-org-invoice-requirements— Schema.org Invoice Requirementsspc:schema-org-review-requirements— Schema.org Review Requirementsspc:schema-org-rating-requirements— Schema.org Rating Requirementsspc:schema-org-aggregate-rating-requirements— Schema.org Aggregate Rating Requirementsspc:schema-org-commerce-action-requirements— Schema.org Commerce Action Requirementsspc:schema-org-commerce-event-requirements— Schema.org Commerce Event Requirementsspc:commerce-identifier-classification-requirements— Commerce Identifier Classification Requirementsspc:commerce-transaction-state-requirements— Commerce Transaction State Requirementsspc:commerce-conversion-action-requirements— Commerce Conversion Action Requirementsspc:gs1-to-commerce-semantic-mapping-profile— GS1 To Commerce Semantic Mapping Profile
Non-Goals
The pack supplies governance records. A downstream application implements the controls and collects its own conformance evidence.
Getting Started
Prerequisites
Use Python >=3.10,<3.15. Downstream synchronization also requires SSOT Registry and permission to write the target registry.
Installation
If the desired PyPI release is a prerelease, use its exact version in the installer command.
uv
uv add customer-commerce-semantics-governance-pack
pip
python -m pip install customer-commerce-semantics-governance-pack
Poetry
poetry add customer-commerce-semantics-governance-pack
Quick Start
Example
Source: examples/quick_start.py.
"""Inspect the installed pack identity."""
from ssot_pack_customer_commerce_semantics import load_pack_metadata
metadata = load_pack_metadata()
assert metadata["origin"]["id"] == "pack:customer-commerce-semantics"
print(metadata["origin"]["id"])
Expected Result
The script prints pack:customer-commerce-semantics from the installed pack metadata.
Usage
Common Workflows
Source: examples/usage.py.
"""Find a specification and its downstream path in the installed manifest."""
from ssot_pack_customer_commerce_semantics import load_document_manifest
specification = next(
row for row in load_document_manifest("spec")
if row["id"] == "spc:schema-org-product-requirements"
)
assert specification["target_path"] == ".ssot/specs/SPEC-2001-schema-org-product-requirements.yaml"
Use the downstream environment that has both SSOT Registry and customer-commerce-semantics-governance-pack installed. Inspect the pack and preflight the target registry before approving synchronization.
uv run ssot pack inspect ssot_pack_customer_commerce_semantics
uv run ssot pack preflight . ssot_pack_customer_commerce_semantics --all
uv run ssot pack sync . ssot_pack_customer_commerce_semantics --all --trust --yes
uv run ssot validate .
Configuration
Select the installed import package ssot_pack_customer_commerce_semantics in SSOT Registry. Review reservation owner extension-pack:customer-commerce-semantics-governance-pack and the target's trust policy before syncing.
Error Handling
If preflight reports a schema, trust, or document-number conflict, resolve it in the target registry and repeat preflight before synchronization.
Best Practices
Pin the pack version in downstream projects. Reference document IDs in local governance and inspect the change set before granting trust.
Package Boundary
What It Owns
Removed duplicate GS1 syntax ownership and added a GS1-to-commerce integration profile.
Public API and Import Surfaces
Import load_pack_metadata, load_document_manifest, and read_packaged_document_text from ssot_pack_customer_commerce_semantics to inspect packaged records.
Entry Points
This package declares no command-line, GUI, or plugin entry points in its manifest.
Injected Dependencies
The package binds its metadata and document loaders through ssot-pack-contracts. The caller supplies the target registry to SSOT Registry when synchronizing.
Protocol Consumers
SSOT Registry uses the pack metadata, document manifests, and bundled templates during inspect, preflight, and sync.
Extensions
Define downstream policies as local records and reference the pack's document IDs. Send proposed changes to the canonical pack through repository review.
Operations and Readiness
Operational Requirements
Local inspection reads installed package resources. Synchronization requires an initialized downstream registry and explicit operator approval.
Health and Observability
Review the preflight and sync output, then use ssot validate to check the resulting registry.
Security and Resource Limits
Implicit trust is disabled. Review the exact distribution, version, records, and reserved IDs before enabling trust in a target registry.
Compatibility
- Python
>=3.10,<3.15 - SSOT Registry schema
>=0.4.0 - SSOT pack contracts
>=0.2.17,<0.3.0
Verification
Tests
Run python -m unittest discover -s tests -v with the pack installed. The README workflow checks the source README and runs both examples against an installed wheel.
Certification Status
The pack has no external certification. Downstream adoption requires evidence for the controls an application implements.
Evidence
See the README workflow for package and documentation verification and the packaged records for document-level sources.
FAQ
Why
Why do document IDs matter? Downstream records use them to trace an adopted decision or requirement to the pack that owns it.
How
How do I preview changes? Use the registry's pack preflight before approving a sync.
When
When should I upgrade? Read the changelog and preflight the new version against the target registry before applying it.
Documentation and Related Packages
More Documentation
See the Pack guide, changelog, and pack metadata.
Related Packages
SSOT Registry manages downstream registries. SSOT Pack Contracts provides the shared pack interface.
Project Links
Contributing
How to Contribute
Open an issue or pull request describing the affected records, their authority, and the expected downstream effect.
Development Setup
Install the checkout with python -m pip install -e ., then run python -m unittest discover -s tests -v. On Python 3.11 or newer, run uvx --from readme-standards==0.1.3 readme-standards check.
Notes for Maintainers
Keep source links, document identifiers, and committed manifest hashes aligned. Run uvx --from readme-standards==0.1.3 readme-standards render --write after changing generated README inputs.
Governance
Ownership and Decision Making
Groupsum maintains pack:customer-commerce-semantics. The pack's reservation owner is extension-pack:customer-commerce-semantics-governance-pack. Downstream registry operators approve synchronization.
Standards and Policies
Authority Sources
- Schema.org Person
- Schema.org Product
- Schema.org Offer
- Schema.org Order
- Schema.org Invoice
- Schema.org Review
- Schema.org AggregateRating
- Schema.org Action and Schema.org Event
- GS1 Web Vocabulary
Lifecycle and Migration
Review release changes and preflight the chosen version against each downstream registry.
License and Attribution
License
Licensed under Apache-2.0. See LICENSE.
Notices
No separate NOTICE file is declared. Review the license and bundled third-party attributions.
Metadata
Release files for customer-commerce-semantics-governance-pack 0.2.0.dev2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| customer_commerce_semantics_governance_pack-0.2.0.dev2.tar.gz | 25.2 kB | With provenance | Details for customer_commerce_semantics_governance_pack-0.2.0.dev2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| customer_commerce_semantics_governance_pack-0.2.0.dev2-py3-none-any.whl | Python 3 | none | any | Details for customer_commerce_semantics_governance_pack-0.2.0.dev2-py3-none-any.whl |
Total release size: 58.4 kB
Release files / customer_commerce_semantics_governance_pack-0.2.0.dev2.tar.gz
| Download URL | customer_commerce_semantics_governance_pack-0.2.0.dev2.tar.gz |
|---|---|
| Size | 25.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3949a03b47fa8ca96512579816bd880f53aeaf3eceac441e18718546375b7966
|
|
BLAKE2b-256 checksum How to use checksums |
addd0d246a5be760b6242a5493afc523b9f4b884da30ca09b7888b0c5b437420
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logRelease files / customer_commerce_semantics_governance_pack-0.2.0.dev2-py3-none-any.whl
| Download URL | customer_commerce_semantics_governance_pack-0.2.0.dev2-py3-none-any.whl |
|---|---|
| Size | 33.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e4fe4aebd3fc608eddeb71fd3908bb9fc997aaa5463a41762f8510921058a37
|
|
BLAKE2b-256 checksum How to use checksums |
b6e9202f1b96e1270e2ee90fd0f9214f7ebcbdfcdfa4253ad8a187820f9259c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logSecurity for customer-commerce-semantics-governance-pack 0.2.0.dev2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for customer_commerce_semantics_governance_pack-0.2.0.dev2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.