@twin.org/standards-dcsa 0.0.3-next.23 → 0.0.3-next.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -248,6 +248,7 @@ export class DcsaDataTypes {
248
248
  }
249
249
  ];
250
250
  DataTypeHelper.registerTypes(DcsaContexts.Namespace, undefined, types);
251
+ DataTypeHelper.registerTypes(DcsaContexts.JsonSchemaNamespace, undefined, types);
251
252
  }
252
253
  }
253
254
  //# sourceMappingURL=dcsaDataTypes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dcsaDataTypes.js","sourceRoot":"","sources":["../../../src/dataTypes/dcsaDataTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,WAAW,MAAM,2BAA2B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC1E,OAAO,wBAAwB,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACpG,OAAO,wBAAwB,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACpG,OAAO,eAAe,MAAM,+BAA+B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAClF,OAAO,kBAAkB,MAAM,kCAAkC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACxF,OAAO,qBAAqB,MAAM,qCAAqC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC9F,OAAO,uBAAuB,MAAM,uCAAuC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAClG,OAAO,wBAAwB,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC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AAI,EAAE,SAAS,CAAC,cAAc;gBAC9B,MAAM,EAAE,oBAAoB;aAC5B;YACD;gBACC,IAAI,EAAE,SAAS,CAAC,gBAAgB;gBAChC,MAAM,EAAE,sBAAsB;aAC9B;YACD;gBACC,IAAI,EAAE,SAAS,CAAC,yBAAyB;gBACzC,MAAM,EAAE,+BAA+B;aACvC;YACD;gBACC,IAAI,EAAE,SAAS,CAAC,kBAAkB;gBAClC,MAAM,EAAE,wBAAwB;aAChC;YACD;gBACC,IAAI,EAAE,SAAS,CAAC,MAAM;gBACtB,MAAM,EAAE,YAAY;aACpB;YACD;gBACC,IAAI,EAAE,SAAS,CAAC,mBAAmB;gBACnC,MAAM,EAAE,yBAAyB;aACjC;SACD,CAAC;QACF,cAAc,CAAC,aAAa,CAAC,YAAY,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;IACxE,CAAC;CACD","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { DataTypeHelper } from \"@twin.org/data-core\";\nimport { DcsaContexts } from \"../models/dcsaContexts.js\";\nimport { DcsaTypes } from \"../models/dcsaTypes.js\";\nimport BargeSchema from \"../schemas/DcsaBarge.json\" with { type: \"json\" };\nimport BargeTransportCallSchema from \"../schemas/DcsaBargeTransportCall.json\" with { type: \"json\" };\nimport BaseEquipmentEventSchema from \"../schemas/DcsaBaseEquipmentEvent.json\" with { type: \"json\" };\nimport BaseEventSchema from \"../schemas/DcsaBaseEvent.json\" with { type: \"json\" };\nimport BaseIoTEventSchema from \"../schemas/DcsaBaseIoTEvent.json\" with { type: \"json\" };\nimport BaseReeferEventSchema from \"../schemas/DcsaBaseReeferEvent.json\" with { type: \"json\" };\nimport BaseShipmentEventSchema from \"../schemas/DcsaBaseShipmentEvent.json\" with { type: \"json\" };\nimport BaseTransportEventSchema from \"../schemas/DcsaBaseTransportEvent.json\" with { type: \"json\" };\nimport EquipmentEventSchema from \"../schemas/DcsaEquipmentEvent.json\" with { type: \"json\" };\nimport EquipmentPayloadSchema from \"../schemas/DcsaEquipmentPayload.json\" with { type: \"json\" };\nimport EquipmentSubscriptionBodySchema from \"../schemas/DcsaEquipmentSubscriptionBody.json\" with { type: \"json\" };\nimport EventSchema from \"../schemas/DcsaEvent.json\" with { type: \"json\" };\nimport EventMetadataActiveSchema from \"../schemas/DcsaEventMetadataActive.json\" with { type: \"json\" };\nimport EventMetadataBaseSchema from \"../schemas/DcsaEventMetadataBase.json\" with { type: \"json\" };\nimport EventMetadataRetractionSchema from \"../schemas/DcsaEventMetadataRetraction.json\" with { type: \"json\" };\nimport EventPayloadSchema from \"../schemas/DcsaEventPayload.json\" with { type: \"json\" };\nimport EventRetractionSchema from \"../schemas/DcsaEventRetraction.json\" with { type: \"json\" };\nimport EventWithPayloadSchema from \"../schemas/DcsaEventWithPayload.json\" with { type: \"json\" };\nimport IotEventSchema from \"../schemas/DcsaIotEvent.json\" with { type: \"json\" };\nimport IotEventMetadataActiveSchema from \"../schemas/DcsaIotEventMetadataActive.json\" with { type: \"json\" };\nimport IotEventMetadataRetractionSchema from \"../schemas/DcsaIotEventMetadataRetraction.json\" with { type: \"json\" };\nimport IotPayloadSchema from \"../schemas/DcsaIotPayload.json\" with { type: \"json\" };\nimport IotSubscriptionBodySchema from \"../schemas/DcsaIotSubscriptionBody.json\" with { type: \"json\" };\nimport PublisherSchema from \"../schemas/DcsaPublisher.json\" with { type: \"json\" };\nimport RailTransportCallSchema from \"../schemas/DcsaRailTransportCall.json\" with { type: \"json\" };\nimport ReeferEventSchema from \"../schemas/DcsaReeferEvent.json\" with { type: \"json\" };\nimport ReeferEventMetadataActiveSchema from \"../schemas/DcsaReeferEventMetadataActive.json\" with { type: \"json\" };\nimport ReeferEventMetadataRetractionSchema from \"../schemas/DcsaReeferEventMetadataRetraction.json\" with { type: \"json\" };\nimport ReeferMeasurementsSchema from \"../schemas/DcsaReeferMeasurements.json\" with { type: \"json\" };\nimport ReeferPayloadSchema from \"../schemas/DcsaReeferPayload.json\" with { type: \"json\" };\nimport ReeferSetpointSchema from \"../schemas/DcsaReeferSetpoint.json\" with { type: \"json\" };\nimport ReeferSubscriptionBodySchema from \"../schemas/DcsaReeferSubscriptionBody.json\" with { type: \"json\" };\nimport ReferenceSchema from \"../schemas/DcsaReference.json\" with { type: \"json\" };\nimport RelatedDocumentReferenceSchema from \"../schemas/DcsaRelatedDocumentReference.json\" with { type: \"json\" };\nimport ShipmentEventSchema from \"../schemas/DcsaShipmentEvent.json\" with { type: \"json\" };\nimport ShipmentPayloadSchema from \"../schemas/DcsaShipmentPayload.json\" with { type: \"json\" };\nimport ShipmentSubscriptionBodySchema from \"../schemas/DcsaShipmentSubscriptionBody.json\" with { type: \"json\" };\nimport TransportCallSchema from \"../schemas/DcsaTransportCall.json\" with { type: \"json\" };\nimport TransportCallBaseSchema from \"../schemas/DcsaTransportCallBase.json\" with { type: \"json\" };\nimport TransportCallSubscriptionBodySchema from \"../schemas/DcsaTransportCallSubscriptionBody.json\" with { type: \"json\" };\nimport TransportEventSchema from \"../schemas/DcsaTransportEvent.json\" with { type: \"json\" };\nimport TransportPayloadSchema from \"../schemas/DcsaTransportPayload.json\" with { type: \"json\" };\nimport TransportSubscriptionBodySchema from \"../schemas/DcsaTransportSubscriptionBody.json\" with { type: \"json\" };\nimport TruckTransportCallSchema from \"../schemas/DcsaTruckTransportCall.json\" with { type: \"json\" };\nimport VesselSchema from \"../schemas/DcsaVessel.json\" with { type: \"json\" };\nimport VesselTransportCallSchema from \"../schemas/DcsaVesselTransportCall.json\" with { type: \"json\" };\n\n/**\n * Data Type registration for DCSA\n */\nexport abstract class DcsaDataTypes {\n\t/**\n\t * Register redirects for DCSA namespace to enable offline JSON-LD processing.\n\t */\n\tpublic static registerRedirects(): void {}\n\n\t/**\n\t * Register all the data types.\n\t */\n\tpublic static registerTypes(): void {\n\t\tconst types = [\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.Barge,\n\t\t\t\tschema: BargeSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.BargeTransportCall,\n\t\t\t\tschema: BargeTransportCallSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.BaseEquipmentEvent,\n\t\t\t\tschema: BaseEquipmentEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.BaseEvent,\n\t\t\t\tschema: BaseEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.BaseIoTEvent,\n\t\t\t\tschema: BaseIoTEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.BaseReeferEvent,\n\t\t\t\tschema: BaseReeferEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.BaseShipmentEvent,\n\t\t\t\tschema: BaseShipmentEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.BaseTransportEvent,\n\t\t\t\tschema: BaseTransportEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.EquipmentEvent,\n\t\t\t\tschema: EquipmentEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.EquipmentPayload,\n\t\t\t\tschema: EquipmentPayloadSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.EquipmentSubscriptionBody,\n\t\t\t\tschema: EquipmentSubscriptionBodySchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.Event,\n\t\t\t\tschema: EventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.EventMetadataActive,\n\t\t\t\tschema: EventMetadataActiveSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.EventMetadataBase,\n\t\t\t\tschema: EventMetadataBaseSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.EventMetadataRetraction,\n\t\t\t\tschema: EventMetadataRetractionSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.EventPayload,\n\t\t\t\tschema: EventPayloadSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.EventRetraction,\n\t\t\t\tschema: EventRetractionSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.EventWithPayload,\n\t\t\t\tschema: EventWithPayloadSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.IotEvent,\n\t\t\t\tschema: IotEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.IotEventMetadataActive,\n\t\t\t\tschema: IotEventMetadataActiveSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.IotEventMetadataRetraction,\n\t\t\t\tschema: IotEventMetadataRetractionSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.IotPayload,\n\t\t\t\tschema: IotPayloadSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.IotSubscriptionBody,\n\t\t\t\tschema: IotSubscriptionBodySchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.Publisher,\n\t\t\t\tschema: PublisherSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.RailTransportCall,\n\t\t\t\tschema: RailTransportCallSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ReeferEvent,\n\t\t\t\tschema: ReeferEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ReeferEventMetadataActive,\n\t\t\t\tschema: ReeferEventMetadataActiveSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ReeferEventMetadataRetraction,\n\t\t\t\tschema: ReeferEventMetadataRetractionSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ReeferMeasurements,\n\t\t\t\tschema: ReeferMeasurementsSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ReeferPayload,\n\t\t\t\tschema: ReeferPayloadSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ReeferSetpoint,\n\t\t\t\tschema: ReeferSetpointSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ReeferSubscriptionBody,\n\t\t\t\tschema: ReeferSubscriptionBodySchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.Reference,\n\t\t\t\tschema: ReferenceSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.RelatedDocumentReference,\n\t\t\t\tschema: RelatedDocumentReferenceSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ShipmentEvent,\n\t\t\t\tschema: ShipmentEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ShipmentPayload,\n\t\t\t\tschema: ShipmentPayloadSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ShipmentSubscriptionBody,\n\t\t\t\tschema: ShipmentSubscriptionBodySchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.TransportCall,\n\t\t\t\tschema: TransportCallSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.TransportCallBase,\n\t\t\t\tschema: TransportCallBaseSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.TransportCallSubscriptionBody,\n\t\t\t\tschema: TransportCallSubscriptionBodySchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.TransportEvent,\n\t\t\t\tschema: TransportEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.TransportPayload,\n\t\t\t\tschema: TransportPayloadSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.TransportSubscriptionBody,\n\t\t\t\tschema: TransportSubscriptionBodySchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.TruckTransportCall,\n\t\t\t\tschema: TruckTransportCallSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.Vessel,\n\t\t\t\tschema: VesselSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.VesselTransportCall,\n\t\t\t\tschema: VesselTransportCallSchema\n\t\t\t}\n\t\t];\n\t\tDataTypeHelper.registerTypes(DcsaContexts.Namespace, undefined, types);\n\t}\n}\n"]}
1
+ {"version":3,"file":"dcsaDataTypes.js","sourceRoot":"","sources":["../../../src/dataTypes/dcsaDataTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,WAAW,MAAM,2BAA2B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC1E,OAAO,wBAAwB,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACpG,OAAO,wBAAwB,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACpG,OAAO,eAAe,MAAM,+BAA+B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAClF,OAAO,kBAAkB,MAAM,kCAAkC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACxF,OAAO,qBAAqB,MAAM,qCAAqC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC9F,OAAO,uBAAuB,MAAM,uCAAuC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAClG,OAAO,wBAAwB,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACpG,OAAO,oBAAoB,MAAM,oCAAoC,CAA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AM,EAAE,oBAAoB;aAC5B;YACD;gBACC,IAAI,EAAE,SAAS,CAAC,gBAAgB;gBAChC,MAAM,EAAE,sBAAsB;aAC9B;YACD;gBACC,IAAI,EAAE,SAAS,CAAC,yBAAyB;gBACzC,MAAM,EAAE,+BAA+B;aACvC;YACD;gBACC,IAAI,EAAE,SAAS,CAAC,kBAAkB;gBAClC,MAAM,EAAE,wBAAwB;aAChC;YACD;gBACC,IAAI,EAAE,SAAS,CAAC,MAAM;gBACtB,MAAM,EAAE,YAAY;aACpB;YACD;gBACC,IAAI,EAAE,SAAS,CAAC,mBAAmB;gBACnC,MAAM,EAAE,yBAAyB;aACjC;SACD,CAAC;QACF,cAAc,CAAC,aAAa,CAAC,YAAY,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;QACvE,cAAc,CAAC,aAAa,CAAC,YAAY,CAAC,mBAAmB,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;IAClF,CAAC;CACD","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { DataTypeHelper } from \"@twin.org/data-core\";\nimport { DcsaContexts } from \"../models/dcsaContexts.js\";\nimport { DcsaTypes } from \"../models/dcsaTypes.js\";\nimport BargeSchema from \"../schemas/DcsaBarge.json\" with { type: \"json\" };\nimport BargeTransportCallSchema from \"../schemas/DcsaBargeTransportCall.json\" with { type: \"json\" };\nimport BaseEquipmentEventSchema from \"../schemas/DcsaBaseEquipmentEvent.json\" with { type: \"json\" };\nimport BaseEventSchema from \"../schemas/DcsaBaseEvent.json\" with { type: \"json\" };\nimport BaseIoTEventSchema from \"../schemas/DcsaBaseIoTEvent.json\" with { type: \"json\" };\nimport BaseReeferEventSchema from \"../schemas/DcsaBaseReeferEvent.json\" with { type: \"json\" };\nimport BaseShipmentEventSchema from \"../schemas/DcsaBaseShipmentEvent.json\" with { type: \"json\" };\nimport BaseTransportEventSchema from \"../schemas/DcsaBaseTransportEvent.json\" with { type: \"json\" };\nimport EquipmentEventSchema from \"../schemas/DcsaEquipmentEvent.json\" with { type: \"json\" };\nimport EquipmentPayloadSchema from \"../schemas/DcsaEquipmentPayload.json\" with { type: \"json\" };\nimport EquipmentSubscriptionBodySchema from \"../schemas/DcsaEquipmentSubscriptionBody.json\" with { type: \"json\" };\nimport EventSchema from \"../schemas/DcsaEvent.json\" with { type: \"json\" };\nimport EventMetadataActiveSchema from \"../schemas/DcsaEventMetadataActive.json\" with { type: \"json\" };\nimport EventMetadataBaseSchema from \"../schemas/DcsaEventMetadataBase.json\" with { type: \"json\" };\nimport EventMetadataRetractionSchema from \"../schemas/DcsaEventMetadataRetraction.json\" with { type: \"json\" };\nimport EventPayloadSchema from \"../schemas/DcsaEventPayload.json\" with { type: \"json\" };\nimport EventRetractionSchema from \"../schemas/DcsaEventRetraction.json\" with { type: \"json\" };\nimport EventWithPayloadSchema from \"../schemas/DcsaEventWithPayload.json\" with { type: \"json\" };\nimport IotEventSchema from \"../schemas/DcsaIotEvent.json\" with { type: \"json\" };\nimport IotEventMetadataActiveSchema from \"../schemas/DcsaIotEventMetadataActive.json\" with { type: \"json\" };\nimport IotEventMetadataRetractionSchema from \"../schemas/DcsaIotEventMetadataRetraction.json\" with { type: \"json\" };\nimport IotPayloadSchema from \"../schemas/DcsaIotPayload.json\" with { type: \"json\" };\nimport IotSubscriptionBodySchema from \"../schemas/DcsaIotSubscriptionBody.json\" with { type: \"json\" };\nimport PublisherSchema from \"../schemas/DcsaPublisher.json\" with { type: \"json\" };\nimport RailTransportCallSchema from \"../schemas/DcsaRailTransportCall.json\" with { type: \"json\" };\nimport ReeferEventSchema from \"../schemas/DcsaReeferEvent.json\" with { type: \"json\" };\nimport ReeferEventMetadataActiveSchema from \"../schemas/DcsaReeferEventMetadataActive.json\" with { type: \"json\" };\nimport ReeferEventMetadataRetractionSchema from \"../schemas/DcsaReeferEventMetadataRetraction.json\" with { type: \"json\" };\nimport ReeferMeasurementsSchema from \"../schemas/DcsaReeferMeasurements.json\" with { type: \"json\" };\nimport ReeferPayloadSchema from \"../schemas/DcsaReeferPayload.json\" with { type: \"json\" };\nimport ReeferSetpointSchema from \"../schemas/DcsaReeferSetpoint.json\" with { type: \"json\" };\nimport ReeferSubscriptionBodySchema from \"../schemas/DcsaReeferSubscriptionBody.json\" with { type: \"json\" };\nimport ReferenceSchema from \"../schemas/DcsaReference.json\" with { type: \"json\" };\nimport RelatedDocumentReferenceSchema from \"../schemas/DcsaRelatedDocumentReference.json\" with { type: \"json\" };\nimport ShipmentEventSchema from \"../schemas/DcsaShipmentEvent.json\" with { type: \"json\" };\nimport ShipmentPayloadSchema from \"../schemas/DcsaShipmentPayload.json\" with { type: \"json\" };\nimport ShipmentSubscriptionBodySchema from \"../schemas/DcsaShipmentSubscriptionBody.json\" with { type: \"json\" };\nimport TransportCallSchema from \"../schemas/DcsaTransportCall.json\" with { type: \"json\" };\nimport TransportCallBaseSchema from \"../schemas/DcsaTransportCallBase.json\" with { type: \"json\" };\nimport TransportCallSubscriptionBodySchema from \"../schemas/DcsaTransportCallSubscriptionBody.json\" with { type: \"json\" };\nimport TransportEventSchema from \"../schemas/DcsaTransportEvent.json\" with { type: \"json\" };\nimport TransportPayloadSchema from \"../schemas/DcsaTransportPayload.json\" with { type: \"json\" };\nimport TransportSubscriptionBodySchema from \"../schemas/DcsaTransportSubscriptionBody.json\" with { type: \"json\" };\nimport TruckTransportCallSchema from \"../schemas/DcsaTruckTransportCall.json\" with { type: \"json\" };\nimport VesselSchema from \"../schemas/DcsaVessel.json\" with { type: \"json\" };\nimport VesselTransportCallSchema from \"../schemas/DcsaVesselTransportCall.json\" with { type: \"json\" };\n\n/**\n * Data Type registration for DCSA\n */\nexport abstract class DcsaDataTypes {\n\t/**\n\t * Register redirects for DCSA namespace to enable offline JSON-LD processing.\n\t */\n\tpublic static registerRedirects(): void {}\n\n\t/**\n\t * Register all the data types.\n\t */\n\tpublic static registerTypes(): void {\n\t\tconst types = [\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.Barge,\n\t\t\t\tschema: BargeSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.BargeTransportCall,\n\t\t\t\tschema: BargeTransportCallSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.BaseEquipmentEvent,\n\t\t\t\tschema: BaseEquipmentEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.BaseEvent,\n\t\t\t\tschema: BaseEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.BaseIoTEvent,\n\t\t\t\tschema: BaseIoTEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.BaseReeferEvent,\n\t\t\t\tschema: BaseReeferEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.BaseShipmentEvent,\n\t\t\t\tschema: BaseShipmentEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.BaseTransportEvent,\n\t\t\t\tschema: BaseTransportEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.EquipmentEvent,\n\t\t\t\tschema: EquipmentEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.EquipmentPayload,\n\t\t\t\tschema: EquipmentPayloadSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.EquipmentSubscriptionBody,\n\t\t\t\tschema: EquipmentSubscriptionBodySchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.Event,\n\t\t\t\tschema: EventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.EventMetadataActive,\n\t\t\t\tschema: EventMetadataActiveSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.EventMetadataBase,\n\t\t\t\tschema: EventMetadataBaseSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.EventMetadataRetraction,\n\t\t\t\tschema: EventMetadataRetractionSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.EventPayload,\n\t\t\t\tschema: EventPayloadSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.EventRetraction,\n\t\t\t\tschema: EventRetractionSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.EventWithPayload,\n\t\t\t\tschema: EventWithPayloadSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.IotEvent,\n\t\t\t\tschema: IotEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.IotEventMetadataActive,\n\t\t\t\tschema: IotEventMetadataActiveSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.IotEventMetadataRetraction,\n\t\t\t\tschema: IotEventMetadataRetractionSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.IotPayload,\n\t\t\t\tschema: IotPayloadSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.IotSubscriptionBody,\n\t\t\t\tschema: IotSubscriptionBodySchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.Publisher,\n\t\t\t\tschema: PublisherSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.RailTransportCall,\n\t\t\t\tschema: RailTransportCallSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ReeferEvent,\n\t\t\t\tschema: ReeferEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ReeferEventMetadataActive,\n\t\t\t\tschema: ReeferEventMetadataActiveSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ReeferEventMetadataRetraction,\n\t\t\t\tschema: ReeferEventMetadataRetractionSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ReeferMeasurements,\n\t\t\t\tschema: ReeferMeasurementsSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ReeferPayload,\n\t\t\t\tschema: ReeferPayloadSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ReeferSetpoint,\n\t\t\t\tschema: ReeferSetpointSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ReeferSubscriptionBody,\n\t\t\t\tschema: ReeferSubscriptionBodySchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.Reference,\n\t\t\t\tschema: ReferenceSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.RelatedDocumentReference,\n\t\t\t\tschema: RelatedDocumentReferenceSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ShipmentEvent,\n\t\t\t\tschema: ShipmentEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ShipmentPayload,\n\t\t\t\tschema: ShipmentPayloadSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.ShipmentSubscriptionBody,\n\t\t\t\tschema: ShipmentSubscriptionBodySchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.TransportCall,\n\t\t\t\tschema: TransportCallSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.TransportCallBase,\n\t\t\t\tschema: TransportCallBaseSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.TransportCallSubscriptionBody,\n\t\t\t\tschema: TransportCallSubscriptionBodySchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.TransportEvent,\n\t\t\t\tschema: TransportEventSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.TransportPayload,\n\t\t\t\tschema: TransportPayloadSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.TransportSubscriptionBody,\n\t\t\t\tschema: TransportSubscriptionBodySchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.TruckTransportCall,\n\t\t\t\tschema: TruckTransportCallSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.Vessel,\n\t\t\t\tschema: VesselSchema\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: DcsaTypes.VesselTransportCall,\n\t\t\t\tschema: VesselTransportCallSchema\n\t\t\t}\n\t\t];\n\t\tDataTypeHelper.registerTypes(DcsaContexts.Namespace, undefined, types);\n\t\tDataTypeHelper.registerTypes(DcsaContexts.JsonSchemaNamespace, undefined, types);\n\t}\n}\n"]}
@@ -8,6 +8,10 @@ export const DcsaContexts = {
8
8
  /**
9
9
  * The canonical RDF namespace URI.
10
10
  */
11
- Namespace: "https://dcsa.org/"
11
+ Namespace: "https://dcsa.org/",
12
+ /**
13
+ * The namespace location of the hosted version of the JSON Schema.
14
+ */
15
+ JsonSchemaNamespace: "https://schema.twindev.org/dcsa/"
12
16
  };
13
17
  //# sourceMappingURL=dcsaContexts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dcsaContexts.js","sourceRoot":"","sources":["../../../src/models/dcsaContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,YAAY,GAAG;IAC3B;;OAEG;IACH,SAAS,EAAE,mBAAmB;CACrB,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The LD Contexts concerning DCSA.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DcsaContexts = {\n\t/**\n\t * The canonical RDF namespace URI.\n\t */\n\tNamespace: \"https://dcsa.org/\"\n} as const;\n\n/**\n * The LD Contexts concerning DCSA.\n */\nexport type DcsaContexts = (typeof DcsaContexts)[keyof typeof DcsaContexts];\n"]}
1
+ {"version":3,"file":"dcsaContexts.js","sourceRoot":"","sources":["../../../src/models/dcsaContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,YAAY,GAAG;IAC3B;;OAEG;IACH,SAAS,EAAE,mBAAmB;IAE9B;;OAEG;IACH,mBAAmB,EAAE,kCAAkC;CAC9C,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The LD Contexts concerning DCSA.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DcsaContexts = {\n\t/**\n\t * The canonical RDF namespace URI.\n\t */\n\tNamespace: \"https://dcsa.org/\",\n\n\t/**\n\t * The namespace location of the hosted version of the JSON Schema.\n\t */\n\tJsonSchemaNamespace: \"https://schema.twindev.org/dcsa/\"\n} as const;\n\n/**\n * The LD Contexts concerning DCSA.\n */\nexport type DcsaContexts = (typeof DcsaContexts)[keyof typeof DcsaContexts];\n"]}
@@ -6,6 +6,10 @@ export declare const DcsaContexts: {
6
6
  * The canonical RDF namespace URI.
7
7
  */
8
8
  readonly Namespace: "https://dcsa.org/";
9
+ /**
10
+ * The namespace location of the hosted version of the JSON Schema.
11
+ */
12
+ readonly JsonSchemaNamespace: "https://schema.twindev.org/dcsa/";
9
13
  };
10
14
  /**
11
15
  * The LD Contexts concerning DCSA.
package/docs/changelog.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.0.3-next.25](https://github.com/twinfoundation/standards/compare/standards-dcsa-v0.0.3-next.24...standards-dcsa-v0.0.3-next.25) (2026-02-02)
4
+
5
+
6
+ ### Features
7
+
8
+ * register schemas at hosted location ([#128](https://github.com/twinfoundation/standards/issues/128)) ([ab35298](https://github.com/twinfoundation/standards/commit/ab35298c812d69f043f69c35ab5aa1ac4a6aaa90))
9
+
10
+ ## [0.0.3-next.24](https://github.com/twinfoundation/standards/compare/standards-dcsa-v0.0.3-next.23...standards-dcsa-v0.0.3-next.24) (2026-01-30)
11
+
12
+
13
+ ### Miscellaneous Chores
14
+
15
+ * **standards-dcsa:** Synchronize repo versions
16
+
3
17
  ## [0.0.3-next.23](https://github.com/twinfoundation/standards/compare/standards-dcsa-v0.0.3-next.22...standards-dcsa-v0.0.3-next.23) (2026-01-30)
4
18
 
5
19
 
@@ -11,3 +11,9 @@ The LD Contexts concerning DCSA.
11
11
  > `readonly` **Namespace**: `"https://dcsa.org/"` = `"https://dcsa.org/"`
12
12
 
13
13
  The canonical RDF namespace URI.
14
+
15
+ ### JsonSchemaNamespace
16
+
17
+ > `readonly` **JsonSchemaNamespace**: `"https://schema.twindev.org/dcsa/"` = `"https://schema.twindev.org/dcsa/"`
18
+
19
+ The namespace location of the hosted version of the JSON Schema.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/standards-dcsa",
3
- "version": "0.0.3-next.23",
3
+ "version": "0.0.3-next.25",
4
4
  "description": "Models which define the structure of DCSA",
5
5
  "repository": {
6
6
  "type": "git",