chainguard-dev / vex

vexctl is a tool to attest VEX impact statements
Apache License 2.0
44 stars 11 forks source link

Enable json-ld ! #63

Closed puerco closed 1 year ago

puerco commented 1 year ago

This PR modifies the json output of the VEX object to make our documents json-ld compatible. This is achieved by:

  1. Changes the ID label in the json doc to @id
  2. Adds the @context field
  3. Creates a public namespace for shared document IDs and adds a constant with the context definition location

Signed-off-by: Adolfo García Veytia (Puerco) puerco@chainguard.dev