eclipse-tractusx / policy-hub

Policy Hub
Apache License 2.0
5 stars 12 forks source link

fix: Use correct JSON-LD context prefix #232

Open leandro-cavalcante opened 21 hours ago

leandro-cavalcante commented 21 hours ago

…ontext

Description

In the returned policies, the policy hub adds the https://w3id.org/catenax/v0.0.1/ns/ context with the cx prefix, but then uses the cx-policy prefix instead.

Why

The cx-policy prefix isn’t bound to any context within the JSON-LD document and therefore will fail to expand during serialization.

Issue

N/A

Checklist

Please delete options that are not relevant.