@welldot/core

Attachment

A document attached to the well or to one of its records. Since v2.3 it is a common type, allowed at the root (attachments) and on historylogs, permits (and their history and condition fulfillments), pumpinstallations, hydrodynamicevents and aquiferanalysis entries.

Attachment = object

A document attached to the well or to one of its records. Since v2.3 it is a common type, allowed at the root (attachments) and on history_logs, permits (and their history and condition fulfillments), pump_installations, hydrodynamic_events and aquifer_analysis entries.

Properties

description?

optional description?: string

Caption or content description.


document_type?

optional document_type?: OpenVocab<AttachmentDocumentType>

What the document is. Since v2.3. Recommended values: DOCUMENT_TYPES. Non-canonical values SHOULD use the x- prefix.


filename?

optional filename?: string

Original filename for display.


id

id: string

Unique within its owning attachments array. UUID v4 recommended.


media_type

media_type: string

MIME type (e.g. application/pdf, image/jpeg).


sha256?

optional sha256?: string

SHA-256 of the file, lowercase hex.


uri

uri: string

Full HTTPS URL. Relative paths are not permitted.