@twin.org/standards-dataspace-protocol 0.0.3-next.5 → 0.0.3-next.50
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.
- package/dist/es/dataTypes/catalogDataTypes.js +114 -20
- package/dist/es/dataTypes/catalogDataTypes.js.map +1 -1
- package/dist/es/dataTypes/contractNegotiationDataTypes.js +58 -62
- package/dist/es/dataTypes/contractNegotiationDataTypes.js.map +1 -1
- package/dist/es/dataTypes/dataspaceProtocolDataTypes.js +4 -1
- package/dist/es/dataTypes/dataspaceProtocolDataTypes.js.map +1 -1
- package/dist/es/dataTypes/transferProcessDataTypes.js +53 -56
- package/dist/es/dataTypes/transferProcessDataTypes.js.map +1 -1
- package/dist/es/index.js +47 -27
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/catalog/IDataspaceProtocolCatalogError.js +2 -0
- package/dist/es/models/catalog/IDataspaceProtocolCatalogError.js.map +1 -0
- package/dist/es/models/catalog/IDataspaceProtocolCatalogRequestMessage.js +2 -0
- package/dist/es/models/catalog/IDataspaceProtocolCatalogRequestMessage.js.map +1 -0
- package/dist/es/models/catalog/IDataspaceProtocolDatasetRequestMessage.js +2 -0
- package/dist/es/models/catalog/IDataspaceProtocolDatasetRequestMessage.js.map +1 -0
- package/dist/es/models/catalog/dataspaceProtocolCatalogTypes.js +86 -0
- package/dist/es/models/catalog/dataspaceProtocolCatalogTypes.js.map +1 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementMessage.js +2 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementMessage.js.map +1 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementVerificationMessage.js +2 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractAgreementVerificationMessage.js.map +1 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiation.js +2 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiation.js.map +1 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationError.js +2 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationError.js.map +1 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationEventMessage.js +2 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationEventMessage.js.map +1 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationTerminationMessage.js +2 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractNegotiationTerminationMessage.js.map +1 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractOfferMessage.js +2 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractOfferMessage.js.map +1 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractRequestMessage.js +2 -0
- package/dist/es/models/contractNegotiation/IDataspaceProtocolContractRequestMessage.js.map +1 -0
- package/dist/es/models/contractNegotiation/{contractNegotiationTypes.js → dataspaceProtocolContractNegotiationTypes.js} +2 -2
- package/dist/es/models/contractNegotiation/dataspaceProtocolContractNegotiationTypes.js.map +1 -0
- package/dist/es/models/contractNegotiation/types/{contractNegotiationEventType.js → dataspaceProtocolContractNegotiationEventType.js} +2 -2
- package/dist/es/models/contractNegotiation/types/dataspaceProtocolContractNegotiationEventType.js.map +1 -0
- package/dist/es/models/contractNegotiation/types/{contractNegotiationStateType.js → dataspaceProtocolContractNegotiationStateType.js} +2 -2
- package/dist/es/models/contractNegotiation/types/dataspaceProtocolContractNegotiationStateType.js.map +1 -0
- package/dist/es/models/dataspaceProtocolContextType.js.map +1 -1
- package/dist/es/models/dataspaceProtocolContexts.js +12 -4
- package/dist/es/models/dataspaceProtocolContexts.js.map +1 -1
- package/dist/es/models/dcat3/IDataspaceProtocolCatalog.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolCatalog.js.map +1 -0
- package/dist/es/models/dcat3/IDataspaceProtocolCatalogNoContext.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolCatalogNoContext.js.map +1 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDataService.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDataService.js.map +1 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDataServiceNoContext.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDataServiceNoContext.js.map +1 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDataset.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDataset.js.map +1 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDatasetNoContext.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDatasetNoContext.js.map +1 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDistribution.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDistribution.js.map +1 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDistributionNoContext.js +2 -0
- package/dist/es/models/dcat3/IDataspaceProtocolDistributionNoContext.js.map +1 -0
- package/dist/es/models/odrl/IDataspaceProtocolAgreement.js +2 -0
- package/dist/es/models/odrl/IDataspaceProtocolAgreement.js.map +1 -0
- package/dist/es/models/odrl/IDataspaceProtocolAgreementNoContext.js +2 -0
- package/dist/es/models/odrl/IDataspaceProtocolAgreementNoContext.js.map +1 -0
- package/dist/es/models/odrl/IDataspaceProtocolOffer.js +2 -0
- package/dist/es/models/odrl/IDataspaceProtocolOffer.js.map +1 -0
- package/dist/es/models/odrl/IDataspaceProtocolOfferNoContext.js +2 -0
- package/dist/es/models/odrl/IDataspaceProtocolOfferNoContext.js.map +1 -0
- package/dist/es/models/odrl/IDataspaceProtocolPolicy.js +2 -0
- package/dist/es/models/odrl/IDataspaceProtocolPolicy.js.map +1 -0
- package/dist/es/models/odrl/IDataspaceProtocolPolicyNoContext.js +2 -0
- package/dist/es/models/odrl/IDataspaceProtocolPolicyNoContext.js.map +1 -0
- package/dist/es/models/odrl/IDataspaceProtocolSet.js +2 -0
- package/dist/es/models/odrl/IDataspaceProtocolSet.js.map +1 -0
- package/dist/es/models/odrl/IDataspaceProtocolSetNoContext.js +2 -0
- package/dist/es/models/odrl/IDataspaceProtocolSetNoContext.js.map +1 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolDataAddress.js +2 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolDataAddress.js.map +1 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolEndpointProperty.js +2 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolEndpointProperty.js.map +1 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferCompletionMessage.js +2 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferCompletionMessage.js.map +1 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferError.js +2 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferError.js.map +1 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferProcess.js +2 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferProcess.js.map +1 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferRequestMessage.js +2 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferRequestMessage.js.map +1 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferStartMessage.js +2 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferStartMessage.js.map +1 -0
- package/dist/es/models/transferProcess/{ITransferSuspensionMessage.js → IDataspaceProtocolTransferSuspensionMessage.js} +1 -1
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferSuspensionMessage.js.map +1 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferTerminationMessage.js +2 -0
- package/dist/es/models/transferProcess/IDataspaceProtocolTransferTerminationMessage.js.map +1 -0
- package/dist/es/models/transferProcess/{transferProcessTypes.js → dataspaceProtocolTransferProcessTypes.js} +2 -2
- package/dist/es/models/transferProcess/dataspaceProtocolTransferProcessTypes.js.map +1 -0
- package/dist/es/models/transferProcess/types/dataspaceProtocolEndpointType.js +89 -0
- package/dist/es/models/transferProcess/types/dataspaceProtocolEndpointType.js.map +1 -0
- package/dist/es/models/transferProcess/types/{transferProcessStateType.js → dataspaceProtocolTransferProcessStateType.js} +2 -2
- package/dist/es/models/transferProcess/types/dataspaceProtocolTransferProcessStateType.js.map +1 -0
- package/dist/es/schemas/DataspaceProtocolAgreement.json +184 -0
- package/dist/es/schemas/DataspaceProtocolAgreementNoContext.json +6 -0
- package/dist/es/schemas/DataspaceProtocolCatalog.json +11 -0
- package/dist/es/schemas/{CatalogError.json → DataspaceProtocolCatalogError.json} +10 -7
- package/dist/es/schemas/DataspaceProtocolCatalogNoContext.json +6 -0
- package/dist/es/schemas/{CatalogRequestMessage.json → DataspaceProtocolCatalogRequestMessage.json} +10 -7
- package/dist/es/schemas/{ContractAgreementMessage.json → DataspaceProtocolContractAgreementMessage.json} +11 -8
- package/dist/es/schemas/{ContractAgreementVerificationMessage.json → DataspaceProtocolContractAgreementVerificationMessage.json} +10 -7
- package/dist/es/schemas/{ContractNegotiation.json → DataspaceProtocolContractNegotiation.json} +11 -8
- package/dist/es/schemas/{ContractNegotiationError.json → DataspaceProtocolContractNegotiationError.json} +10 -7
- package/dist/es/schemas/{ContractNegotiationEventMessage.json → DataspaceProtocolContractNegotiationEventMessage.json} +11 -8
- package/dist/es/schemas/{ContractNegotiationEventType.json → DataspaceProtocolContractNegotiationEventType.json} +1 -1
- package/dist/es/schemas/{ContractNegotiationStateType.json → DataspaceProtocolContractNegotiationStateType.json} +1 -1
- package/dist/es/schemas/{ContractNegotiationTerminationMessage.json → DataspaceProtocolContractNegotiationTerminationMessage.json} +10 -7
- package/dist/es/schemas/{ContractOfferMessage.json → DataspaceProtocolContractOfferMessage.json} +11 -8
- package/dist/es/schemas/{ContractRequestMessage.json → DataspaceProtocolContractRequestMessage.json} +11 -8
- package/dist/es/schemas/{DataAddress.json → DataspaceProtocolDataAddress.json} +3 -4
- package/dist/es/schemas/DataspaceProtocolDataServiceNoContext.json +6 -0
- package/dist/es/schemas/DataspaceProtocolDataset.json +11 -0
- package/dist/es/schemas/DataspaceProtocolDatasetNoContext.json +6 -0
- package/dist/es/schemas/{DatasetRequestMessage.json → DataspaceProtocolDatasetRequestMessage.json} +10 -7
- package/dist/es/schemas/DataspaceProtocolDistributionNoContext.json +6 -0
- package/dist/es/schemas/{EndpointProperty.json → DataspaceProtocolEndpointProperty.json} +2 -3
- package/dist/es/schemas/DataspaceProtocolOffer.json +202 -0
- package/dist/es/schemas/DataspaceProtocolOfferNoContext.json +6 -0
- package/dist/es/schemas/DataspaceProtocolPolicy.json +219 -0
- package/dist/es/schemas/DataspaceProtocolPolicyNoContext.json +6 -0
- package/dist/es/schemas/DataspaceProtocolSet.json +220 -0
- package/dist/es/schemas/DataspaceProtocolSetNoContext.json +6 -0
- package/dist/es/schemas/{TransferCompletionMessage.json → DataspaceProtocolTransferCompletionMessage.json} +10 -7
- package/dist/es/schemas/{TransferError.json → DataspaceProtocolTransferError.json} +10 -7
- package/dist/es/schemas/DataspaceProtocolTransferProcess.json +82 -0
- package/dist/es/schemas/{TransferRequestMessage.json → DataspaceProtocolTransferRequestMessage.json} +11 -8
- package/dist/es/schemas/{TransferStartMessage.json → DataspaceProtocolTransferStartMessage.json} +11 -8
- package/dist/es/schemas/{TransferSuspensionMessage.json → DataspaceProtocolTransferSuspensionMessage.json} +10 -7
- package/dist/es/schemas/{TransferTerminationMessage.json → DataspaceProtocolTransferTerminationMessage.json} +10 -7
- package/dist/es/schemas-src/DataspaceProtocolDataService.json +11 -0
- package/dist/es/schemas-src/DataspaceProtocolDistribution.json +11 -0
- package/dist/es/utils/dataspaceProtocolHelper.js +110 -0
- package/dist/es/utils/dataspaceProtocolHelper.js.map +1 -0
- package/dist/types/index.d.ts +44 -26
- package/dist/types/models/catalog/{ICatalogError.d.ts → IDataspaceProtocolCatalogError.d.ts} +3 -3
- package/dist/types/models/catalog/{ICatalogRequestMessage.d.ts → IDataspaceProtocolCatalogRequestMessage.d.ts} +3 -3
- package/dist/types/models/catalog/{IDatasetRequestMessage.d.ts → IDataspaceProtocolDatasetRequestMessage.d.ts} +3 -3
- package/dist/types/models/catalog/dataspaceProtocolCatalogTypes.d.ts +86 -0
- package/dist/types/models/contractNegotiation/{IContractAgreementMessage.d.ts → IDataspaceProtocolContractAgreementMessage.d.ts} +5 -5
- package/dist/types/models/contractNegotiation/{IContractAgreementVerificationMessage.d.ts → IDataspaceProtocolContractAgreementVerificationMessage.d.ts} +3 -3
- package/dist/types/models/contractNegotiation/{IContractNegotiation.d.ts → IDataspaceProtocolContractNegotiation.d.ts} +5 -5
- package/dist/types/models/contractNegotiation/{IContractNegotiationError.d.ts → IDataspaceProtocolContractNegotiationError.d.ts} +3 -3
- package/dist/types/models/contractNegotiation/{IContractNegotiationEventMessage.d.ts → IDataspaceProtocolContractNegotiationEventMessage.d.ts} +5 -5
- package/dist/types/models/contractNegotiation/{IContractNegotiationTerminationMessage.d.ts → IDataspaceProtocolContractNegotiationTerminationMessage.d.ts} +3 -3
- package/dist/types/models/contractNegotiation/{IContractOfferMessage.d.ts → IDataspaceProtocolContractOfferMessage.d.ts} +5 -5
- package/dist/types/models/contractNegotiation/{IContractRequestMessage.d.ts → IDataspaceProtocolContractRequestMessage.d.ts} +5 -5
- package/dist/types/models/contractNegotiation/dataspaceProtocolContractNegotiationTypes.d.ts +50 -0
- package/dist/types/models/contractNegotiation/types/{contractNegotiationEventType.d.ts → dataspaceProtocolContractNegotiationEventType.d.ts} +2 -2
- package/dist/types/models/contractNegotiation/types/{contractNegotiationStateType.d.ts → dataspaceProtocolContractNegotiationStateType.d.ts} +2 -2
- package/dist/types/models/dataspaceProtocolContextType.d.ts +4 -4
- package/dist/types/models/dataspaceProtocolContexts.d.ts +12 -4
- package/dist/types/models/dcat3/IDataspaceProtocolCatalog.d.ts +63 -0
- package/dist/types/models/dcat3/IDataspaceProtocolCatalogNoContext.d.ts +5 -0
- package/dist/types/models/dcat3/IDataspaceProtocolDataService.d.ts +48 -0
- package/dist/types/models/dcat3/IDataspaceProtocolDataServiceNoContext.d.ts +5 -0
- package/dist/types/models/dcat3/IDataspaceProtocolDataset.d.ts +65 -0
- package/dist/types/models/dcat3/IDataspaceProtocolDatasetNoContext.d.ts +5 -0
- package/dist/types/models/dcat3/IDataspaceProtocolDistribution.d.ts +69 -0
- package/dist/types/models/dcat3/IDataspaceProtocolDistributionNoContext.d.ts +5 -0
- package/dist/types/models/odrl/IDataspaceProtocolAgreement.d.ts +17 -0
- package/dist/types/models/odrl/IDataspaceProtocolAgreementNoContext.d.ts +5 -0
- package/dist/types/models/odrl/IDataspaceProtocolOffer.d.ts +17 -0
- package/dist/types/models/odrl/IDataspaceProtocolOfferNoContext.d.ts +5 -0
- package/dist/types/models/odrl/IDataspaceProtocolPolicy.d.ts +17 -0
- package/dist/types/models/odrl/IDataspaceProtocolPolicyNoContext.d.ts +5 -0
- package/dist/types/models/odrl/IDataspaceProtocolSet.d.ts +17 -0
- package/dist/types/models/odrl/IDataspaceProtocolSetNoContext.d.ts +5 -0
- package/dist/types/models/transferProcess/{IDataAddress.d.ts → IDataspaceProtocolDataAddress.d.ts} +5 -5
- package/dist/types/models/transferProcess/{IEndpointProperty.d.ts → IDataspaceProtocolEndpointProperty.d.ts} +3 -3
- package/dist/types/models/transferProcess/{ITransferCompletionMessage.d.ts → IDataspaceProtocolTransferCompletionMessage.d.ts} +3 -3
- package/dist/types/models/transferProcess/{ITransferError.d.ts → IDataspaceProtocolTransferError.d.ts} +3 -3
- package/dist/types/models/transferProcess/{ITransferProcess.d.ts → IDataspaceProtocolTransferProcess.d.ts} +5 -5
- package/dist/types/models/transferProcess/{ITransferRequestMessage.d.ts → IDataspaceProtocolTransferRequestMessage.d.ts} +5 -5
- package/dist/types/models/transferProcess/{ITransferStartMessage.d.ts → IDataspaceProtocolTransferStartMessage.d.ts} +5 -5
- package/dist/types/models/transferProcess/{ITransferSuspensionMessage.d.ts → IDataspaceProtocolTransferSuspensionMessage.d.ts} +3 -3
- package/dist/types/models/transferProcess/{ITransferTerminationMessage.d.ts → IDataspaceProtocolTransferTerminationMessage.d.ts} +3 -3
- package/dist/types/models/transferProcess/dataspaceProtocolTransferProcessTypes.d.ts +46 -0
- package/dist/types/models/transferProcess/types/dataspaceProtocolEndpointType.d.ts +89 -0
- package/dist/types/models/transferProcess/types/dataspaceProtocolTransferProcessStateType.d.ts +30 -0
- package/dist/types/utils/dataspaceProtocolHelper.d.ts +20 -0
- package/docs/changelog.md +806 -0
- package/docs/reference/classes/DataspaceProtocolHelper.md +63 -0
- package/docs/reference/index.md +51 -32
- package/docs/reference/interfaces/IDataspaceProtocolAgreement.md +179 -0
- package/docs/reference/interfaces/IDataspaceProtocolCatalog.md +574 -0
- package/docs/reference/interfaces/{ICatalogError.md → IDataspaceProtocolCatalogError.md} +1 -1
- package/docs/reference/interfaces/{ICatalogRequestMessage.md → IDataspaceProtocolCatalogRequestMessage.md} +1 -1
- package/docs/reference/interfaces/{IContractAgreementMessage.md → IDataspaceProtocolContractAgreementMessage.md} +3 -3
- package/docs/reference/interfaces/{IContractAgreementVerificationMessage.md → IDataspaceProtocolContractAgreementVerificationMessage.md} +2 -2
- package/docs/reference/interfaces/{IContractNegotiation.md → IDataspaceProtocolContractNegotiation.md} +3 -3
- package/docs/reference/interfaces/{IContractNegotiationError.md → IDataspaceProtocolContractNegotiationError.md} +2 -2
- package/docs/reference/interfaces/{IContractNegotiationEventMessage.md → IDataspaceProtocolContractNegotiationEventMessage.md} +3 -3
- package/docs/reference/interfaces/{IContractNegotiationTerminationMessage.md → IDataspaceProtocolContractNegotiationTerminationMessage.md} +2 -2
- package/docs/reference/interfaces/{IContractOfferMessage.md → IDataspaceProtocolContractOfferMessage.md} +3 -3
- package/docs/reference/interfaces/{IContractRequestMessage.md → IDataspaceProtocolContractRequestMessage.md} +3 -3
- package/docs/reference/interfaces/{IDataAddress.md → IDataspaceProtocolDataAddress.md} +3 -3
- package/docs/reference/interfaces/IDataspaceProtocolDataService.md +391 -0
- package/docs/reference/interfaces/IDataspaceProtocolDataset.md +488 -0
- package/docs/reference/interfaces/{IDatasetRequestMessage.md → IDataspaceProtocolDatasetRequestMessage.md} +1 -1
- package/docs/reference/interfaces/IDataspaceProtocolDistribution.md +384 -0
- package/docs/reference/interfaces/{IEndpointProperty.md → IDataspaceProtocolEndpointProperty.md} +2 -2
- package/docs/reference/interfaces/IDataspaceProtocolOffer.md +179 -0
- package/docs/reference/interfaces/IDataspaceProtocolPolicy.md +180 -0
- package/docs/reference/interfaces/IDataspaceProtocolSet.md +179 -0
- package/docs/reference/interfaces/{ITransferCompletionMessage.md → IDataspaceProtocolTransferCompletionMessage.md} +2 -2
- package/docs/reference/interfaces/{ITransferError.md → IDataspaceProtocolTransferError.md} +2 -2
- package/docs/reference/interfaces/IDataspaceProtocolTransferProcess.md +44 -0
- package/docs/reference/interfaces/{ITransferRequestMessage.md → IDataspaceProtocolTransferRequestMessage.md} +3 -3
- package/docs/reference/interfaces/{ITransferStartMessage.md → IDataspaceProtocolTransferStartMessage.md} +3 -3
- package/docs/reference/interfaces/{ITransferSuspensionMessage.md → IDataspaceProtocolTransferSuspensionMessage.md} +2 -2
- package/docs/reference/interfaces/{ITransferTerminationMessage.md → IDataspaceProtocolTransferTerminationMessage.md} +2 -2
- package/docs/reference/type-aliases/DataspaceProtocolCatalogTypes.md +5 -0
- package/docs/reference/type-aliases/DataspaceProtocolContextType.md +2 -2
- package/docs/reference/type-aliases/DataspaceProtocolContractNegotiationEventType.md +5 -0
- package/docs/reference/type-aliases/DataspaceProtocolContractNegotiationStateType.md +5 -0
- package/docs/reference/type-aliases/DataspaceProtocolContractNegotiationTypes.md +5 -0
- package/docs/reference/type-aliases/DataspaceProtocolEndpointType.md +12 -0
- package/docs/reference/type-aliases/DataspaceProtocolTransferProcessStateType.md +5 -0
- package/docs/reference/type-aliases/DataspaceProtocolTransferProcessTypes.md +5 -0
- package/docs/reference/type-aliases/IDataspaceProtocolAgreementNoContext.md +5 -0
- package/docs/reference/type-aliases/IDataspaceProtocolCatalogNoContext.md +5 -0
- package/docs/reference/type-aliases/IDataspaceProtocolDataServiceNoContext.md +5 -0
- package/docs/reference/type-aliases/IDataspaceProtocolDatasetNoContext.md +5 -0
- package/docs/reference/type-aliases/IDataspaceProtocolDistributionNoContext.md +5 -0
- package/docs/reference/type-aliases/IDataspaceProtocolOfferNoContext.md +5 -0
- package/docs/reference/type-aliases/IDataspaceProtocolPolicyNoContext.md +5 -0
- package/docs/reference/type-aliases/IDataspaceProtocolSetNoContext.md +5 -0
- package/docs/reference/variables/DataspaceProtocolCatalogTypes.md +122 -0
- package/docs/reference/variables/DataspaceProtocolContexts.md +18 -6
- package/docs/reference/variables/{ContractNegotiationEventType.md → DataspaceProtocolContractNegotiationEventType.md} +2 -2
- package/docs/reference/variables/{ContractNegotiationStateType.md → DataspaceProtocolContractNegotiationStateType.md} +2 -2
- package/docs/reference/variables/DataspaceProtocolContractNegotiationTypes.md +68 -0
- package/docs/reference/variables/DataspaceProtocolEndpointType.md +96 -0
- package/docs/reference/variables/DataspaceProtocolTransferProcessStateType.md +38 -0
- package/docs/reference/variables/DataspaceProtocolTransferProcessTypes.md +62 -0
- package/locales/en.json +7 -1
- package/package.json +3 -3
- package/dist/es/models/catalog/ICatalogError.js +0 -2
- package/dist/es/models/catalog/ICatalogError.js.map +0 -1
- package/dist/es/models/catalog/ICatalogRequestMessage.js +0 -2
- package/dist/es/models/catalog/ICatalogRequestMessage.js.map +0 -1
- package/dist/es/models/catalog/IDatasetRequestMessage.js +0 -2
- package/dist/es/models/catalog/IDatasetRequestMessage.js.map +0 -1
- package/dist/es/models/catalog/catalogTypes.js +0 -22
- package/dist/es/models/catalog/catalogTypes.js.map +0 -1
- package/dist/es/models/contractNegotiation/IContractAgreementMessage.js +0 -2
- package/dist/es/models/contractNegotiation/IContractAgreementMessage.js.map +0 -1
- package/dist/es/models/contractNegotiation/IContractAgreementVerificationMessage.js +0 -2
- package/dist/es/models/contractNegotiation/IContractAgreementVerificationMessage.js.map +0 -1
- package/dist/es/models/contractNegotiation/IContractNegotiation.js +0 -2
- package/dist/es/models/contractNegotiation/IContractNegotiation.js.map +0 -1
- package/dist/es/models/contractNegotiation/IContractNegotiationError.js +0 -2
- package/dist/es/models/contractNegotiation/IContractNegotiationError.js.map +0 -1
- package/dist/es/models/contractNegotiation/IContractNegotiationEventMessage.js +0 -2
- package/dist/es/models/contractNegotiation/IContractNegotiationEventMessage.js.map +0 -1
- package/dist/es/models/contractNegotiation/IContractNegotiationTerminationMessage.js +0 -2
- package/dist/es/models/contractNegotiation/IContractNegotiationTerminationMessage.js.map +0 -1
- package/dist/es/models/contractNegotiation/IContractOfferMessage.js +0 -2
- package/dist/es/models/contractNegotiation/IContractOfferMessage.js.map +0 -1
- package/dist/es/models/contractNegotiation/IContractRequestMessage.js +0 -2
- package/dist/es/models/contractNegotiation/IContractRequestMessage.js.map +0 -1
- package/dist/es/models/contractNegotiation/contractNegotiationTypes.js.map +0 -1
- package/dist/es/models/contractNegotiation/types/contractNegotiationEventType.js.map +0 -1
- package/dist/es/models/contractNegotiation/types/contractNegotiationStateType.js.map +0 -1
- package/dist/es/models/transferProcess/IDataAddress.js +0 -2
- package/dist/es/models/transferProcess/IDataAddress.js.map +0 -1
- package/dist/es/models/transferProcess/IEndpointProperty.js +0 -2
- package/dist/es/models/transferProcess/IEndpointProperty.js.map +0 -1
- package/dist/es/models/transferProcess/ITransferCompletionMessage.js +0 -2
- package/dist/es/models/transferProcess/ITransferCompletionMessage.js.map +0 -1
- package/dist/es/models/transferProcess/ITransferError.js +0 -2
- package/dist/es/models/transferProcess/ITransferError.js.map +0 -1
- package/dist/es/models/transferProcess/ITransferProcess.js +0 -2
- package/dist/es/models/transferProcess/ITransferProcess.js.map +0 -1
- package/dist/es/models/transferProcess/ITransferRequestMessage.js +0 -2
- package/dist/es/models/transferProcess/ITransferRequestMessage.js.map +0 -1
- package/dist/es/models/transferProcess/ITransferStartMessage.js +0 -2
- package/dist/es/models/transferProcess/ITransferStartMessage.js.map +0 -1
- package/dist/es/models/transferProcess/ITransferSuspensionMessage.js.map +0 -1
- package/dist/es/models/transferProcess/ITransferTerminationMessage.js +0 -2
- package/dist/es/models/transferProcess/ITransferTerminationMessage.js.map +0 -1
- package/dist/es/models/transferProcess/transferProcessTypes.js.map +0 -1
- package/dist/es/models/transferProcess/types/transferProcessStateType.js.map +0 -1
- package/dist/es/schemas/TransferProcess.json +0 -109
- package/dist/types/models/catalog/catalogTypes.d.ts +0 -22
- package/dist/types/models/contractNegotiation/contractNegotiationTypes.d.ts +0 -50
- package/dist/types/models/transferProcess/transferProcessTypes.d.ts +0 -46
- package/dist/types/models/transferProcess/types/transferProcessStateType.d.ts +0 -30
- package/docs/reference/interfaces/ITransferProcess.md +0 -74
- package/docs/reference/type-aliases/CatalogTypes.md +0 -5
- package/docs/reference/type-aliases/ContractNegotiationEventType.md +0 -5
- package/docs/reference/type-aliases/ContractNegotiationStateType.md +0 -5
- package/docs/reference/type-aliases/ContractNegotiationTypes.md +0 -5
- package/docs/reference/type-aliases/TransferProcessStateType.md +0 -5
- package/docs/reference/type-aliases/TransferProcessTypes.md +0 -5
- package/docs/reference/variables/CatalogTypes.md +0 -26
- package/docs/reference/variables/ContractNegotiationTypes.md +0 -68
- package/docs/reference/variables/TransferProcessStateType.md +0 -38
- package/docs/reference/variables/TransferProcessTypes.md +0 -62
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolPolicy.js","sourceRoot":"","sources":["../../../../src/models/odrl/IDataspaceProtocolPolicy.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IOdrlPolicy } from \"@twin.org/standards-w3c-odrl\";\n\n/**\n * Policy interface compliant with Eclipse Data Space Protocol.\n *\n * Extends IOdrlPolicy with DS Protocol-specific constraints:\n * - `@id` is REQUIRED (used as the primary policy identifier in DS Protocol)\n * - `@context` is omitted (inherited from the parent Dataset/Distribution)\n *\n * @see https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#lower-level-types\n * @see IOdrlPolicy from @twin.org/standards-w3c-odrl\n */\nexport interface IDataspaceProtocolPolicy extends Omit<IOdrlPolicy, \"uid\"> {\n\t/**\n\t * Unique identifier for the policy.\n\t */\n\t\"@id\": string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolPolicyNoContext.js","sourceRoot":"","sources":["../../../../src/models/odrl/IDataspaceProtocolPolicyNoContext.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataspaceProtocolPolicy } from \"./IDataspaceProtocolPolicy.js\";\n\n/**\n * Policy interface compliant with Eclipse Data Space Protocol, excluding the `@context` property.\n */\nexport type IDataspaceProtocolPolicyNoContext = Omit<IDataspaceProtocolPolicy, \"@context\">;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolSet.js","sourceRoot":"","sources":["../../../../src/models/odrl/IDataspaceProtocolSet.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IOdrlSet } from \"@twin.org/standards-w3c-odrl\";\n\n/**\n * Set interface compliant with Eclipse Data Space Protocol.\n *\n * Extends IOdrlSet with DS Protocol-specific constraints:\n * - `@id` is REQUIRED (used as the primary set identifier in DS Protocol)\n * - `@context` is omitted (inherited from the parent Dataset/Distribution)\n *\n * @see https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#lower-level-types\n * @see IOdrlSet from @twin.org/standards-w3c-odrl\n */\nexport interface IDataspaceProtocolSet extends Omit<IOdrlSet, \"uid\"> {\n\t/**\n\t * Unique identifier for the set.\n\t */\n\t\"@id\": string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolSetNoContext.js","sourceRoot":"","sources":["../../../../src/models/odrl/IDataspaceProtocolSetNoContext.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDataspaceProtocolSet } from \"./IDataspaceProtocolSet.js\";\n\n/**\n * Set interface compliant with Eclipse Data Space Protocol, excluding the `@context` property.\n */\nexport type IDataspaceProtocolSetNoContext = Omit<IDataspaceProtocolSet, \"@context\">;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolDataAddress.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/IDataspaceProtocolDataAddress.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolTransferProcessTypes } from \"./dataspaceProtocolTransferProcessTypes.js\";\nimport type { IDataspaceProtocolEndpointProperty } from \"./IDataspaceProtocolEndpointProperty.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#lower-level-types\n */\nexport interface IDataspaceProtocolDataAddress {\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof DataspaceProtocolTransferProcessTypes.DataAddress;\n\n\t/**\n\t * The type of endpoint of this data address.\n\t */\n\tendpointType: string;\n\n\t/**\n\t * The endpoint of the data address\n\t */\n\tendpoint?: string;\n\n\t/**\n\t * Properties associated to the endpoint which might depend on the endpoint type.\n\t */\n\tendpointProperties?: IDataspaceProtocolEndpointProperty[];\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolEndpointProperty.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/IDataspaceProtocolEndpointProperty.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolTransferProcessTypes } from \"./dataspaceProtocolTransferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#lower-level-types\n */\nexport interface IDataspaceProtocolEndpointProperty {\n\t/**\n\t * LD Type.\n\t */\n\t\"@type\": typeof DataspaceProtocolTransferProcessTypes.EndpointProperty;\n\n\t/**\n\t * Property name.\n\t */\n\tname: string;\n\n\t/**\n\t * Property value.\n\t */\n\tvalue: string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolTransferCompletionMessage.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/IDataspaceProtocolTransferCompletionMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { DataspaceProtocolTransferProcessTypes } from \"./dataspaceProtocolTransferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-completion-message\n */\nexport interface IDataspaceProtocolTransferCompletionMessage {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof DataspaceProtocolTransferProcessTypes.TransferCompletionMessage;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Provider side.\n\t */\n\tproviderPid: string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolTransferError.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/IDataspaceProtocolTransferError.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { DataspaceProtocolTransferProcessTypes } from \"./dataspaceProtocolTransferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol#error-transfer-error\n */\nexport interface IDataspaceProtocolTransferError {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof DataspaceProtocolTransferProcessTypes.TransferError;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Provider side.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The error code.\n\t */\n\tcode?: string;\n\n\t/**\n\t * The error reason(s).\n\t */\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\treason?: any[];\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolTransferProcess.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/IDataspaceProtocolTransferProcess.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { DataspaceProtocolTransferProcessTypes } from \"./dataspaceProtocolTransferProcessTypes.js\";\nimport type { DataspaceProtocolTransferProcessStateType } from \"./types/dataspaceProtocolTransferProcessStateType.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#ack-transfer-process\n */\nexport interface IDataspaceProtocolTransferProcess {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof DataspaceProtocolTransferProcessTypes.TransferProcess;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Provider side.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The transfer process state.\n\t */\n\tstate: DataspaceProtocolTransferProcessStateType;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolTransferRequestMessage.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/IDataspaceProtocolTransferRequestMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { DataspaceProtocolTransferProcessTypes } from \"./dataspaceProtocolTransferProcessTypes.js\";\nimport type { IDataspaceProtocolDataAddress } from \"./IDataspaceProtocolDataAddress.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-request-message\n */\nexport interface IDataspaceProtocolTransferRequestMessage {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof DataspaceProtocolTransferProcessTypes.TransferRequestMessage;\n\n\t/**\n\t * MUST refer to an existing Agreement between the Consumer and Provider.\n\t */\n\tagreementId: string;\n\n\t/**\n\t * MUST be a URI indicating where messages to the Consumer SHOULD be sent.\n\t */\n\tcallbackAddress: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * The format property is a format specified by a Distribution for the Dataset associated with the Agreement.\n\t * This is generally obtained from the Provider's Catalog.\n\t */\n\tformat: string;\n\n\t/**\n\t * If defined MUST contain a transport-specific set of properties for pushing the data.\n\t * It MAY include an endpoint, a temporary authorization via the endpointProperties property - depending on the endpointType.\n\t */\n\tdataAddress?: IDataspaceProtocolDataAddress;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolTransferStartMessage.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/IDataspaceProtocolTransferStartMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { DataspaceProtocolTransferProcessTypes } from \"./dataspaceProtocolTransferProcessTypes.js\";\nimport type { IDataspaceProtocolDataAddress } from \"./IDataspaceProtocolDataAddress.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-start-message\n */\nexport interface IDataspaceProtocolTransferStartMessage {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof DataspaceProtocolTransferProcessTypes.TransferStartMessage;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Provider side.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * MUST be provided if the current transfer is a pull transfer and\n\t * contains a transport-specific endpoint address for obtaining the data.\n\t */\n\tdataAddress?: IDataspaceProtocolDataAddress;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolTransferSuspensionMessage.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/IDataspaceProtocolTransferSuspensionMessage.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { DataspaceProtocolTransferProcessTypes } from \"./dataspaceProtocolTransferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-suspension-message\n */\nexport interface IDataspaceProtocolTransferSuspensionMessage {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof DataspaceProtocolTransferProcessTypes.TransferSuspensionMessage;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Provider side.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The suspension code.\n\t */\n\tcode?: string;\n\n\t/**\n\t * The suspension reason(s).\n\t */\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\treason?: any[];\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDataspaceProtocolTransferTerminationMessage.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/IDataspaceProtocolTransferTerminationMessage.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { DataspaceProtocolContextType } from \"../dataspaceProtocolContextType.js\";\nimport type { DataspaceProtocolTransferProcessTypes } from \"./dataspaceProtocolTransferProcessTypes.js\";\n\n/**\n * Interface for Dataspace Protocol Transfer Messages.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/#transfer-termination-message\n */\nexport interface IDataspaceProtocolTransferTerminationMessage {\n\t/**\n\t * LD Context\n\t */\n\t\"@context\": DataspaceProtocolContextType;\n\n\t/**\n\t * LD Type\n\t */\n\t\"@type\": typeof DataspaceProtocolTransferProcessTypes.TransferTerminationMessage;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Consumer side.\n\t */\n\tconsumerPid: string;\n\n\t/**\n\t * MUST refer to the transfer identifier of the Provider side.\n\t */\n\tproviderPid: string;\n\n\t/**\n\t * The termination code.\n\t */\n\tcode?: string;\n\n\t/**\n\t * The termination reason(s).\n\t */\n\t// eslint-disable-next-line @typescript-eslint/no-explicit-any\n\treason?: any[];\n}\n"]}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#message-types-1
|
|
6
6
|
*/
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
8
|
-
export const
|
|
8
|
+
export const DataspaceProtocolTransferProcessTypes = {
|
|
9
9
|
/**
|
|
10
10
|
* Transfer Request Message.
|
|
11
11
|
*/
|
|
@@ -43,4 +43,4 @@ export const TransferProcessTypes = {
|
|
|
43
43
|
*/
|
|
44
44
|
TransferError: "TransferError"
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=
|
|
46
|
+
//# sourceMappingURL=dataspaceProtocolTransferProcessTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataspaceProtocolTransferProcessTypes.js","sourceRoot":"","sources":["../../../../src/models/transferProcess/dataspaceProtocolTransferProcessTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,qCAAqC,GAAG;IACpD;;OAEG;IACH,sBAAsB,EAAE,wBAAwB;IAEhD;;OAEG;IACH,oBAAoB,EAAE,sBAAsB;IAE5C;;OAEG;IACH,yBAAyB,EAAE,2BAA2B;IAEtD;;OAEG;IACH,yBAAyB,EAAE,2BAA2B;IAEtD;;OAEG;IACH,0BAA0B,EAAE,4BAA4B;IAExD;;OAEG;IACH,WAAW,EAAE,aAAa;IAE1B;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;IAEpC;;OAEG;IACH,eAAe,EAAE,iBAAiB;IAElC;;OAEG;IACH,aAAa,EAAE,eAAe;CACrB,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The types for Dataspace Protocol Transfer Process.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#message-types-1\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DataspaceProtocolTransferProcessTypes = {\n\t/**\n\t * Transfer Request Message.\n\t */\n\tTransferRequestMessage: \"TransferRequestMessage\",\n\n\t/**\n\t * Transfer Start Message.\n\t */\n\tTransferStartMessage: \"TransferStartMessage\",\n\n\t/**\n\t * Transfer Suspension Message.\n\t */\n\tTransferSuspensionMessage: \"TransferSuspensionMessage\",\n\n\t/**\n\t * Transfer Completion Message.\n\t */\n\tTransferCompletionMessage: \"TransferCompletionMessage\",\n\n\t/**\n\t * Transfer Termination Message.\n\t */\n\tTransferTerminationMessage: \"TransferTerminationMessage\",\n\n\t/**\n\t * Data Address\n\t */\n\tDataAddress: \"DataAddress\",\n\n\t/**\n\t * Endpoint property.\n\t */\n\tEndpointProperty: \"EndpointProperty\",\n\n\t/**\n\t * Transfer Process\n\t */\n\tTransferProcess: \"TransferProcess\",\n\n\t/**\n\t * Transfer Error.\n\t */\n\tTransferError: \"TransferError\"\n} as const;\n\n/**\n * The types for Dataspace Protocol Transfer.\n */\nexport type DataspaceProtocolTransferProcessTypes =\n\t(typeof DataspaceProtocolTransferProcessTypes)[keyof typeof DataspaceProtocolTransferProcessTypes];\n"]}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// Copyright 2025 IOTA Stiftung.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0.
|
|
3
|
+
/**
|
|
4
|
+
* TWIN Data Space Protocol Profile endpoint type identifiers.
|
|
5
|
+
*
|
|
6
|
+
* This module defines endpoint types according to the TWIN Foundation's
|
|
7
|
+
* Data Space Protocol Profile (RFC 006), which extends the Eclipse Dataspace
|
|
8
|
+
* Protocol specification with TWIN-specific vocabulary.
|
|
9
|
+
*
|
|
10
|
+
* The TWIN vocabulary uses persistent identifiers under the
|
|
11
|
+
* https://schema.twindev.org namespace to provide stable, semantic
|
|
12
|
+
* identifiers for data space endpoint types.
|
|
13
|
+
*
|
|
14
|
+
* References:
|
|
15
|
+
* - TWIN RFC 006: https://github.com/twinfoundation/rfcs/blob/main/rfcs/data-space-protocol/006-data-space-protocol-profile.md
|
|
16
|
+
* - TWIN DS Protocol Context: https://github.com/twinfoundation/rfcs/blob/main/rfcs/data-space-protocol/twin-ds-protocol-profile.jsonld
|
|
17
|
+
* - Eclipse DSP Specification: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/
|
|
18
|
+
* - RFC 001 (Query Interface): https://github.com/twinfoundation/rfcs/blob/main/rfcs/data-space-connector/001-data-space-connector-query.md
|
|
19
|
+
*/
|
|
20
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
21
|
+
export const DataspaceProtocolEndpointType = {
|
|
22
|
+
// ========================================
|
|
23
|
+
// TWIN Data Space Protocol Profile (RFC 006)
|
|
24
|
+
// Namespace: https://schema.twindev.org/dspace/v1/
|
|
25
|
+
// ========================================
|
|
26
|
+
/**
|
|
27
|
+
* HTTPS Query Endpoint (TWIN DS Profile).
|
|
28
|
+
*
|
|
29
|
+
* Used for PULL transfers via the TWIN Data Space Connector Query interface.
|
|
30
|
+
* The consumer retrieves data by querying this endpoint using the data access token.
|
|
31
|
+
* Endpoint must implement the interface specified in RFC 001.
|
|
32
|
+
*
|
|
33
|
+
* Transfer Flow:
|
|
34
|
+
* 1. Consumer initiates transfer request
|
|
35
|
+
* 2. Provider returns this endpoint type with data access token
|
|
36
|
+
* 3. Consumer queries the endpoint with the token to retrieve data
|
|
37
|
+
*
|
|
38
|
+
* @see https://github.com/twinfoundation/rfcs/blob/main/rfcs/data-space-protocol/006-data-space-protocol-profile.md#data-transfer-profile-vocabulary
|
|
39
|
+
* @see https://github.com/twinfoundation/rfcs/blob/main/rfcs/data-space-connector/001-data-space-connector-query.md
|
|
40
|
+
*/
|
|
41
|
+
HttpsQueryEndpoint: "https://schema.twindev.org/dspace/v1/Https-Query-Endpoint",
|
|
42
|
+
/**
|
|
43
|
+
* HTTPS Activity Stream Endpoint (TWIN DS Profile).
|
|
44
|
+
*
|
|
45
|
+
* Used for PUSH transfers via Activity Streams 2.0 protocol.
|
|
46
|
+
* The provider actively sends data to the consumer's Activity Stream inbox endpoint.
|
|
47
|
+
* Based on W3C Activity Streams 2.0 specification.
|
|
48
|
+
*
|
|
49
|
+
* Transfer Flow:
|
|
50
|
+
* 1. Consumer initiates transfer request with this endpoint type
|
|
51
|
+
* 2. Consumer provides their Activity Stream inbox URL
|
|
52
|
+
* 3. Provider pushes data to the consumer's inbox as Activity Stream objects
|
|
53
|
+
*
|
|
54
|
+
* @see https://github.com/twinfoundation/rfcs/blob/main/rfcs/data-space-protocol/006-data-space-protocol-profile.md#data-transfer-profile-vocabulary
|
|
55
|
+
* @see https://www.w3.org/TR/activitystreams-core/
|
|
56
|
+
* @see https://www.w3.org/TR/activitypub/
|
|
57
|
+
*/
|
|
58
|
+
HttpsActivityStreamEndpoint: "https://schema.twindev.org/dspace/v1/Https-Activity-Stream-Endpoint",
|
|
59
|
+
// ========================================
|
|
60
|
+
// IDSA W3ID Namespace (Interoperability)
|
|
61
|
+
// ========================================
|
|
62
|
+
/**
|
|
63
|
+
* HTTP endpoint (IDSA W3ID v4.1).
|
|
64
|
+
*
|
|
65
|
+
* Persistent identifier for HTTP-based data access endpoints.
|
|
66
|
+
* This W3ID URL is used as a semantic identifier in JSON-LD contexts.
|
|
67
|
+
*
|
|
68
|
+
* Note: For TWIN-specific implementations, prefer using `HttpsQueryEndpoint`.
|
|
69
|
+
* This constant is provided for interoperability with IDSA-based systems.
|
|
70
|
+
*
|
|
71
|
+
* @see https://w3id.org/idsa/v4.1/HTTP
|
|
72
|
+
* @see https://github.com/International-Data-Spaces-Association/InformationModel
|
|
73
|
+
*/
|
|
74
|
+
HTTP: "https://w3id.org/idsa/v4.1/HTTP",
|
|
75
|
+
/**
|
|
76
|
+
* HTTPS endpoint (IDSA W3ID v4.1).
|
|
77
|
+
*
|
|
78
|
+
* Persistent identifier for HTTPS-based secure data access endpoints.
|
|
79
|
+
* This W3ID URL is used as a semantic identifier in JSON-LD contexts.
|
|
80
|
+
*
|
|
81
|
+
* Note: For TWIN-specific implementations, prefer using `HttpsQueryEndpoint`.
|
|
82
|
+
* This constant is provided for interoperability with IDSA-based systems.
|
|
83
|
+
*
|
|
84
|
+
* @see https://w3id.org/idsa/v4.1/HTTPS
|
|
85
|
+
* @see https://github.com/International-Data-Spaces-Association/InformationModel
|
|
86
|
+
*/
|
|
87
|
+
HTTPS: "https://w3id.org/idsa/v4.1/HTTPS"
|
|
88
|
+
};
|
|
89
|
+
//# sourceMappingURL=dataspaceProtocolEndpointType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataspaceProtocolEndpointType.js","sourceRoot":"","sources":["../../../../../src/models/transferProcess/types/dataspaceProtocolEndpointType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;;;;;;;;;;;;;;GAgBG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC5C,2CAA2C;IAC3C,6CAA6C;IAC7C,mDAAmD;IACnD,2CAA2C;IAE3C;;;;;;;;;;;;;;OAcG;IACH,kBAAkB,EAAE,2DAA2D;IAE/E;;;;;;;;;;;;;;;OAeG;IACH,2BAA2B,EAC1B,qEAAqE;IAEtE,2CAA2C;IAC3C,yCAAyC;IACzC,2CAA2C;IAE3C;;;;;;;;;;;OAWG;IACH,IAAI,EAAE,iCAAiC;IAEvC;;;;;;;;;;;OAWG;IACH,KAAK,EAAE,kCAAkC;CAChC,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * TWIN Data Space Protocol Profile endpoint type identifiers.\n *\n * This module defines endpoint types according to the TWIN Foundation's\n * Data Space Protocol Profile (RFC 006), which extends the Eclipse Dataspace\n * Protocol specification with TWIN-specific vocabulary.\n *\n * The TWIN vocabulary uses persistent identifiers under the\n * https://schema.twindev.org namespace to provide stable, semantic\n * identifiers for data space endpoint types.\n *\n * References:\n * - TWIN RFC 006: https://github.com/twinfoundation/rfcs/blob/main/rfcs/data-space-protocol/006-data-space-protocol-profile.md\n * - TWIN DS Protocol Context: https://github.com/twinfoundation/rfcs/blob/main/rfcs/data-space-protocol/twin-ds-protocol-profile.jsonld\n * - Eclipse DSP Specification: https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/\n * - RFC 001 (Query Interface): https://github.com/twinfoundation/rfcs/blob/main/rfcs/data-space-connector/001-data-space-connector-query.md\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DataspaceProtocolEndpointType = {\n\t// ========================================\n\t// TWIN Data Space Protocol Profile (RFC 006)\n\t// Namespace: https://schema.twindev.org/dspace/v1/\n\t// ========================================\n\n\t/**\n\t * HTTPS Query Endpoint (TWIN DS Profile).\n\t *\n\t * Used for PULL transfers via the TWIN Data Space Connector Query interface.\n\t * The consumer retrieves data by querying this endpoint using the data access token.\n\t * Endpoint must implement the interface specified in RFC 001.\n\t *\n\t * Transfer Flow:\n\t * 1. Consumer initiates transfer request\n\t * 2. Provider returns this endpoint type with data access token\n\t * 3. Consumer queries the endpoint with the token to retrieve data\n\t *\n\t * @see https://github.com/twinfoundation/rfcs/blob/main/rfcs/data-space-protocol/006-data-space-protocol-profile.md#data-transfer-profile-vocabulary\n\t * @see https://github.com/twinfoundation/rfcs/blob/main/rfcs/data-space-connector/001-data-space-connector-query.md\n\t */\n\tHttpsQueryEndpoint: \"https://schema.twindev.org/dspace/v1/Https-Query-Endpoint\",\n\n\t/**\n\t * HTTPS Activity Stream Endpoint (TWIN DS Profile).\n\t *\n\t * Used for PUSH transfers via Activity Streams 2.0 protocol.\n\t * The provider actively sends data to the consumer's Activity Stream inbox endpoint.\n\t * Based on W3C Activity Streams 2.0 specification.\n\t *\n\t * Transfer Flow:\n\t * 1. Consumer initiates transfer request with this endpoint type\n\t * 2. Consumer provides their Activity Stream inbox URL\n\t * 3. Provider pushes data to the consumer's inbox as Activity Stream objects\n\t *\n\t * @see https://github.com/twinfoundation/rfcs/blob/main/rfcs/data-space-protocol/006-data-space-protocol-profile.md#data-transfer-profile-vocabulary\n\t * @see https://www.w3.org/TR/activitystreams-core/\n\t * @see https://www.w3.org/TR/activitypub/\n\t */\n\tHttpsActivityStreamEndpoint:\n\t\t\"https://schema.twindev.org/dspace/v1/Https-Activity-Stream-Endpoint\",\n\n\t// ========================================\n\t// IDSA W3ID Namespace (Interoperability)\n\t// ========================================\n\n\t/**\n\t * HTTP endpoint (IDSA W3ID v4.1).\n\t *\n\t * Persistent identifier for HTTP-based data access endpoints.\n\t * This W3ID URL is used as a semantic identifier in JSON-LD contexts.\n\t *\n\t * Note: For TWIN-specific implementations, prefer using `HttpsQueryEndpoint`.\n\t * This constant is provided for interoperability with IDSA-based systems.\n\t *\n\t * @see https://w3id.org/idsa/v4.1/HTTP\n\t * @see https://github.com/International-Data-Spaces-Association/InformationModel\n\t */\n\tHTTP: \"https://w3id.org/idsa/v4.1/HTTP\",\n\n\t/**\n\t * HTTPS endpoint (IDSA W3ID v4.1).\n\t *\n\t * Persistent identifier for HTTPS-based secure data access endpoints.\n\t * This W3ID URL is used as a semantic identifier in JSON-LD contexts.\n\t *\n\t * Note: For TWIN-specific implementations, prefer using `HttpsQueryEndpoint`.\n\t * This constant is provided for interoperability with IDSA-based systems.\n\t *\n\t * @see https://w3id.org/idsa/v4.1/HTTPS\n\t * @see https://github.com/International-Data-Spaces-Association/InformationModel\n\t */\n\tHTTPS: \"https://w3id.org/idsa/v4.1/HTTPS\"\n} as const;\n\n/**\n * Type representing all valid Dataspace Protocol endpoint types.\n *\n * All values are valid URIs as required by the DS Protocol JSON-LD context\n * which defines endpointType as @type:@vocab.\n *\n * Includes:\n * - TWIN RFC 006 types: HttpsQueryEndpoint, HttpsActivityStreamEndpoint\n * - IDSA W3ID types: HTTP, HTTPS\n */\nexport type DataspaceProtocolEndpointType =\n\t(typeof DataspaceProtocolEndpointType)[keyof typeof DataspaceProtocolEndpointType];\n"]}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#ack-transfer-process
|
|
6
6
|
*/
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
8
|
-
export const
|
|
8
|
+
export const DataspaceProtocolTransferProcessStateType = {
|
|
9
9
|
/**
|
|
10
10
|
* Completed
|
|
11
11
|
*/
|
|
@@ -27,4 +27,4 @@ export const TransferProcessStateType = {
|
|
|
27
27
|
*/
|
|
28
28
|
TERMINATED: "TERMINATED"
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=
|
|
30
|
+
//# sourceMappingURL=dataspaceProtocolTransferProcessStateType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataspaceProtocolTransferProcessStateType.js","sourceRoot":"","sources":["../../../../../src/models/transferProcess/types/dataspaceProtocolTransferProcessStateType.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;;GAGG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,yCAAyC,GAAG;IACxD;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,OAAO,EAAE,SAAS;IAElB;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,UAAU,EAAE,YAAY;CACf,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The states for Dataspace Protocol Transfer Process.\n * https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/#ack-transfer-process\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const DataspaceProtocolTransferProcessStateType = {\n\t/**\n\t * Completed\n\t */\n\tCOMPLETED: \"COMPLETED\",\n\n\t/**\n\t * Requested\n\t */\n\tREQUESTED: \"REQUESTED\",\n\n\t/**\n\t * Started\n\t */\n\tSTARTED: \"STARTED\",\n\n\t/**\n\t * Suspended\n\t */\n\tSUSPENDED: \"SUSPENDED\",\n\n\t/**\n\t * Terminated\n\t */\n\tTERMINATED: \"TERMINATED\"\n} as const;\n\n/**\n * The types for Dataspace Protocol Transfer.\n */\nexport type DataspaceProtocolTransferProcessStateType =\n\t(typeof DataspaceProtocolTransferProcessStateType)[keyof typeof DataspaceProtocolTransferProcessStateType];\n"]}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolAgreement",
|
|
4
|
+
"description": "Agreement interface compliant with Eclipse Data Space Protocol.\n\nExtends IOdrlAgreement with DS Protocol-specific constraints:\n- `@id` is REQUIRED (used as the primary agreement identifier in DS Protocol)\n- `@context` is omitted (inherited from the parent Dataset/Distribution)",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"@type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"const": "Agreement",
|
|
10
|
+
"description": "The type must be \"Agreement\"."
|
|
11
|
+
},
|
|
12
|
+
"assigner": {
|
|
13
|
+
"anyOf": [
|
|
14
|
+
{
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"description": "The assigner of the agreement. Required for Agreement policies."
|
|
22
|
+
},
|
|
23
|
+
"assignee": {
|
|
24
|
+
"anyOf": [
|
|
25
|
+
{
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"description": "The assignee of the agreement. Required for Agreement policies."
|
|
33
|
+
},
|
|
34
|
+
"@context": {
|
|
35
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlContextType",
|
|
36
|
+
"description": "The context for the policy. Must include \"https://www.w3.org/ns/odrl.jsonld\""
|
|
37
|
+
},
|
|
38
|
+
"profile": {
|
|
39
|
+
"anyOf": [
|
|
40
|
+
{
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "array",
|
|
45
|
+
"items": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"description": "The profile(s) this policy conforms to. IRIs identifying the ODRL Profile(s)."
|
|
51
|
+
},
|
|
52
|
+
"target": {
|
|
53
|
+
"anyOf": [
|
|
54
|
+
{
|
|
55
|
+
"type": "string"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAsset"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"type": "array",
|
|
65
|
+
"items": {
|
|
66
|
+
"anyOf": [
|
|
67
|
+
{
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAsset"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"description": "The target asset for the rule."
|
|
81
|
+
},
|
|
82
|
+
"action": {
|
|
83
|
+
"anyOf": [
|
|
84
|
+
{
|
|
85
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/ActionType"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "string"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAction"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"type": "array",
|
|
95
|
+
"items": {
|
|
96
|
+
"anyOf": [
|
|
97
|
+
{
|
|
98
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/ActionType"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"type": "string"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAction"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"description": "The action associated with the rule."
|
|
111
|
+
},
|
|
112
|
+
"inheritFrom": {
|
|
113
|
+
"anyOf": [
|
|
114
|
+
{
|
|
115
|
+
"type": "string"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"type": "array",
|
|
119
|
+
"items": {
|
|
120
|
+
"type": "string"
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"description": "The parent policy(ies) this policy inherits from. IRIs identifying the parent Policy(ies)."
|
|
125
|
+
},
|
|
126
|
+
"conflict": {
|
|
127
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/ConflictStrategyType",
|
|
128
|
+
"description": "The conflict resolution strategy.\n- perm: Permissions override Prohibitions\n- prohibit: Prohibitions override Permissions\n- invalid: Policy is void if conflicts exist (default)"
|
|
129
|
+
},
|
|
130
|
+
"permission": {
|
|
131
|
+
"anyOf": [
|
|
132
|
+
{
|
|
133
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPermission"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"type": "array",
|
|
137
|
+
"items": {
|
|
138
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPermission"
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"description": "The permissions in the policy. At least one of permission, prohibition, or obligation must be present."
|
|
143
|
+
},
|
|
144
|
+
"prohibition": {
|
|
145
|
+
"anyOf": [
|
|
146
|
+
{
|
|
147
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"type": "array",
|
|
151
|
+
"items": {
|
|
152
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"description": "The prohibitions in the policy. At least one of permission, prohibition, or obligation must be present."
|
|
157
|
+
},
|
|
158
|
+
"obligation": {
|
|
159
|
+
"anyOf": [
|
|
160
|
+
{
|
|
161
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlDuty"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"type": "array",
|
|
165
|
+
"items": {
|
|
166
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlDuty"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
],
|
|
170
|
+
"description": "The obligations in the policy. At least one of permission, prohibition, or obligation must be present."
|
|
171
|
+
},
|
|
172
|
+
"@id": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"description": "Unique identifier for the agreement."
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
"required": [
|
|
178
|
+
"@context",
|
|
179
|
+
"@id",
|
|
180
|
+
"@type",
|
|
181
|
+
"assignee",
|
|
182
|
+
"assigner"
|
|
183
|
+
]
|
|
184
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolAgreementNoContext",
|
|
4
|
+
"description": "Agreement interface compliant with Eclipse Data Space Protocol, excluding the `@context` property.",
|
|
5
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolAgreement"
|
|
6
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
3
|
+
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolCatalog",
|
|
4
|
+
"description": "Catalog compliant with Eclipse Data Space Protocol. Validates only DS Protocol-specific requirements while allowing all optional DCAT properties.",
|
|
5
|
+
"title": "DataspaceProtocolCatalog",
|
|
6
|
+
"allOf": [
|
|
7
|
+
{
|
|
8
|
+
"$ref": "https://w3id.org/dspace/2025/1/catalog/catalog-schema.json"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://schema.twindev.org/dataspace-protocol/
|
|
3
|
+
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolCatalogError",
|
|
4
4
|
"description": "Interface for Dataspace Protocol Catalog Error. https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#error-catalog-error",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"@context": {
|
|
8
|
-
"description": "The Dataspace Protocol
|
|
8
|
+
"description": "The Dataspace Protocol JSON-LD context type.",
|
|
9
9
|
"anyOf": [
|
|
10
|
+
{
|
|
11
|
+
"type": "string",
|
|
12
|
+
"const": "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
13
|
+
},
|
|
10
14
|
{
|
|
11
15
|
"type": "array",
|
|
12
16
|
"items": {
|
|
13
17
|
"type": "string",
|
|
14
|
-
"const": "https://w3id.org/dspace/2025/1/context.
|
|
18
|
+
"const": "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
15
19
|
},
|
|
16
20
|
"minItems": 1,
|
|
17
21
|
"maxItems": 1
|
|
@@ -22,7 +26,7 @@
|
|
|
22
26
|
"prefixItems": [
|
|
23
27
|
{
|
|
24
28
|
"type": "string",
|
|
25
|
-
"const": "https://w3id.org/dspace/2025/1/context.
|
|
29
|
+
"const": "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
26
30
|
},
|
|
27
31
|
{
|
|
28
32
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
@@ -41,7 +45,7 @@
|
|
|
41
45
|
},
|
|
42
46
|
{
|
|
43
47
|
"type": "string",
|
|
44
|
-
"const": "https://w3id.org/dspace/2025/1/context.
|
|
48
|
+
"const": "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
45
49
|
}
|
|
46
50
|
],
|
|
47
51
|
"items": {
|
|
@@ -69,6 +73,5 @@
|
|
|
69
73
|
"@context",
|
|
70
74
|
"@type",
|
|
71
75
|
"code"
|
|
72
|
-
]
|
|
73
|
-
"additionalProperties": false
|
|
76
|
+
]
|
|
74
77
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolCatalogNoContext",
|
|
4
|
+
"description": "Catalog interface compliant with Eclipse Data Space Protocol, excluding the `@context` property.",
|
|
5
|
+
"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolCatalog"
|
|
6
|
+
}
|
package/dist/es/schemas/{CatalogRequestMessage.json → DataspaceProtocolCatalogRequestMessage.json}
RENAMED
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "https://schema.twindev.org/dataspace-protocol/
|
|
3
|
+
"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolCatalogRequestMessage",
|
|
4
4
|
"description": "Interface for Dataspace Protocol Catalog Request Messages. https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1/#catalog-request-message",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"@context": {
|
|
8
|
-
"description": "The Dataspace Protocol
|
|
8
|
+
"description": "The Dataspace Protocol JSON-LD context type.",
|
|
9
9
|
"anyOf": [
|
|
10
|
+
{
|
|
11
|
+
"type": "string",
|
|
12
|
+
"const": "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
13
|
+
},
|
|
10
14
|
{
|
|
11
15
|
"type": "array",
|
|
12
16
|
"items": {
|
|
13
17
|
"type": "string",
|
|
14
|
-
"const": "https://w3id.org/dspace/2025/1/context.
|
|
18
|
+
"const": "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
15
19
|
},
|
|
16
20
|
"minItems": 1,
|
|
17
21
|
"maxItems": 1
|
|
@@ -22,7 +26,7 @@
|
|
|
22
26
|
"prefixItems": [
|
|
23
27
|
{
|
|
24
28
|
"type": "string",
|
|
25
|
-
"const": "https://w3id.org/dspace/2025/1/context.
|
|
29
|
+
"const": "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
26
30
|
},
|
|
27
31
|
{
|
|
28
32
|
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
@@ -41,7 +45,7 @@
|
|
|
41
45
|
},
|
|
42
46
|
{
|
|
43
47
|
"type": "string",
|
|
44
|
-
"const": "https://w3id.org/dspace/2025/1/context.
|
|
48
|
+
"const": "https://w3id.org/dspace/2025/1/context.jsonld"
|
|
45
49
|
}
|
|
46
50
|
],
|
|
47
51
|
"items": {
|
|
@@ -64,6 +68,5 @@
|
|
|
64
68
|
"required": [
|
|
65
69
|
"@context",
|
|
66
70
|
"@type"
|
|
67
|
-
]
|
|
68
|
-
"additionalProperties": false
|
|
71
|
+
]
|
|
69
72
|
}
|