Package com.bfo.box

Class C2PA_AssertionSchema

All Implemented Interfaces:
C2PA_Assertion

public class C2PA_AssertionSchema extends JsonContainerBox implements C2PA_Assertion
A C2PA Assertion for the "stds.exif", "stds.iptc", "stds.schema-org.ClaimReview", "stds.schema-org.CreativeWork" types

Note: no validation is made on the schema; any Json object is accepted.

Since:
5
  • Constructor Details

    • C2PA_AssertionSchema

      public C2PA_AssertionSchema(String schema, Json json)
      Create a new assertion
      Parameters:
      schema - one of "stds.exif", "stds.iptc", "stds.schema-org.ClaimReview", "stds.schema-org.CreativeWork"
      json - the JSON data