How catenax-ev/cx-odrl-profile works
This repository defines the Catena-X ODRL policy profile: machine-readable contractual terms and constraints for data-sharing agreements. The principal workflow is to define policy terms and constraints, express policies using the profile’s schemas and JSON-LD context, then use them in Dataspace Protocol negotiations. The repository also provides examples and a generated human-readable profile. The generator’s inputs and output are visible in its source; other subsystem links below are based on README descriptions, not inspected schema contents.
Main entry points: generate.py Profile generator · profile.ttl ODRL terms · policy-schema.json Policy schema · constraint Constraint schemas
Components 14
Policy profile
- ODRL terms
profile.ttl - Profile generator
generate.py - Markdown template
profile_template.md - Human-readable profile
profile.md
Policy schemas
- Policy schema
schema/policy-schema.json - Constraint schemas
schema/constraint - Atomic constraint schema
schema/atomic-constraint-schemas.json - JSON-LD context
schema/context
Examples and reference
- Policy examples
schema/samples - Example policy
example_usage_policy.json - Expanded example
example_usage_policy_expanded.json
Other components
- Profile author
- Dataspace participants
- DSP negotiation
Connections 11
- Profile author → ODRL terms: defines terms
Readme.md - Profile generator → ODRL terms: reads profile
generate.py - Profile generator → Markdown template: renders template
generate.py - Profile generator → Human-readable profile: writes output
generate.py - Dataspace participants → DSP negotiation: negotiate agreements
Readme.md - Policy schema → DSP negotiation: defines policy format
Readme.md - Constraint schemas → DSP negotiation: define constraints
Readme.md - Atomic constraint schema → DSP negotiation: defines constraint structure
Readme.md - JSON-LD context → DSP negotiation: provides JSON-LD context
Readme.md - Policy examples → Dataspace participants: illustrate policies
Readme.md - Example policy → Expanded example: expands to
Readme.md