httk.serve.dsp.config¶
Validated configuration and durable publication records for DSP serving.
Attributes¶
Protected official DSP JSON-LD context required by the 2025-1 schemas. |
|
Implemented Data Space Protocol version. |
|
Official DSP endpoint type used by HTTPS-pull data addresses. |
|
Classes¶
Attach the one DSP-specific offer identifier to a neutral dataset. |
|
Store exactly one dataset publication or catalogue service envelope. |
|
Non-OPTIMADE logical family for durable DSP publication records. |
|
Configure global DSP minimal service and catalogue metadata. |
Module Contents¶
- httk.serve.dsp.config.DSP_CONTEXT = 'https://w3id.org/dspace/2025/1/context.jsonld'[source]¶
Protected official DSP JSON-LD context required by the 2025-1 schemas.
- httk.serve.dsp.config.HTTP_ENDPOINT_TYPE = 'https://w3id.org/idsa/v4.1/HTTP'[source]¶
Official DSP endpoint type used by HTTPS-pull data addresses.
- httk.serve.dsp.config.DSP_2025_1_SPECIFICATION = 'https://eclipse-dataspace-protocol-base.github.io/DataspaceProtocol/2025-1-err1/'[source]¶
- httk.serve.dsp.config.DCAT_AP_3_0_1_PROFILE = 'https://semiceu.github.io/DCAT-AP/releases/3.0.1/'[source]¶
- httk.serve.dsp.config.DSP_MINIMAL_PROFILE = 'https://schemas.httk.org/profiles/dsp/2025-1/minimal'[source]¶
- httk.serve.dsp.config.DCAT_AP_MINIMAL_PROFILE = 'https://schemas.httk.org/profiles/dcat-ap/3.0.1/minimal'[source]¶
- httk.serve.dsp.config.DCAT_AP_MINIMAL_CONTENT_NEGOTIATION = 'https://schemas.httk.org/profiles/dsp/2025-1/minimal#dcat-ap-content-negotiation'[source]¶
- httk.serve.dsp.config.EU_FILE_TYPE_CSV = 'http://publications.europa.eu/resource/authority/file-type/CSV'[source]¶
- httk.serve.dsp.config.EU_FILE_TYPE_JSON = 'http://publications.europa.eu/resource/authority/file-type/JSON'[source]¶
- httk.serve.dsp.config.IANA_MEDIA_TYPE_CSV = 'https://www.iana.org/assignments/media-types/text/csv'[source]¶
- httk.serve.dsp.config.IANA_MEDIA_TYPE_JSON = 'https://www.iana.org/assignments/media-types/application/json'[source]¶
- class httk.serve.dsp.config.DspDatasetPublication(dataset, offer_id=None)[source]¶
Attach the one DSP-specific offer identifier to a neutral dataset.
The dataset owns its distribution metadata. The minimal DSP profile accepts exactly one downloadable distribution and infers its CSV or JSON format/media-type IRIs only when either is absent. Other representations must provide both IRIs in the neutral distribution. No file is opened, measured, or hashed by this envelope.
- dataset: httk.core.DatasetRecord[source]¶
- property distribution: httk.core.DatasetDistribution[source]¶
Return the sole neutral distribution accepted by this profile.
- property byte_size: int | None[source]¶
Return publisher-supplied size metadata from the distribution.
- class httk.serve.dsp.config.DspPublicationRecord(dataset=None, service=None)[source]¶
Store exactly one dataset publication or catalogue service envelope.
- dataset: DspDatasetPublication | None = None[source]¶
- service: httk.core.ServiceRecord | None = None[source]¶
- class httk.serve.dsp.config.DspPublicationEntry[source]¶
Non-OPTIMADE logical family for durable DSP publication records.