Skip to content

Removes additionalProperties:false and adds LD type declarations

Nis Jespersen requested to merge fix/schema-type-declarations-40 into main

Remove additionalProperties:false from all nested objects across all 10 schemas, allowing document extensions. Closes #40 (closed).

Add and activate context class aliases by adding explicit type declarations to nested objects in all example files:

  • MonetaryAmount (schema:MonetaryAmount) on all monetary amount objects
  • Quantity (schema:QuantitativeValue) on all weight/quantity objects
  • TradeLineItem (uncefact:SupplyChainTradeLineItem) on itemsShipped and orderedItems
  • Product (schema:Product) on product objects

Merge request reports

Loading