Skip to content
Demiton

Document location

Where an entity's source documents live: a SharePoint or Dropbox folder.

Part of Documents in the register catalog.

Register ID
document_locationUse this name to ask for the register. The API calls it a shelf ID.
Each record is
A stateThe current value of something, replaced when it changes.
Status
DeclaredDefined, and fills when a source produces its first record.
Data
OrganisationPrivate to each organisation's own workspace.
Version
v1Current version.

Connectors

Connected today

Demiton keeps this register current from these systems now.

No system fills this register yet.

On the roadmap

Systems in the planned connector rollout that can fill this register. Partial means the system holds only some of its fields.

  • MittiPartial
  • Oracle AconexPartial
  • PayappsPartial
  • SitematePartial
  • Xero AccountingPartial

Fields

17 fields: 6 required, 7 optional, 4 defined by each organisation.

Required

Every record carries these fields.

entity_typeText

The entity kind whose documents this binding locates; part of the binding's own supersede key.

Example: project

coordinate_keyText

The override discriminator stored in the fact's identity — bare when there is no coordinate override, else an 8-hex hash of the coordinate selector.

Example: project:BWG-2025-001

sourcesList

The ordered list of places to look: each element is one complete declarative locator.

systemText

The storage system of one source; only SharePoint and Dropbox are crawlable.

Example: SHAREPOINT

connector_refText

The logical alias of the connector that reaches this source; also the field the export/import scope filter compares.

Example: sharepoint-bridgeworks-projects

source_systemText

The producing system of the fact (AUTHORED for this shelf — no harvested origin)

Example: SHAREPOINT

Optional

Present when the source system records them.

doc_typeText

The specific document type this binding locates, or null for the entity type's general home; part of the supersede key.

store_site_idText

The store's site identifier; required to reach a source on systems that address by site.

Example: bridgeworksgroup.sharepoint.com,projects

store_drive_idText

The store's drive identifier.

store_drive_nameText

The drive's display name, used to translate between the store root and display paths.

Example: Documents

store_rootText

The path under the store root to start from (null/empty for systems addressed by site+drive)

file_globText

The file match for this doc type, either * (no filter) or a single *.ext glob.

binding_statusText

Whether the operator has confirmed the binding or it is still a candidate.

Defined by each organisation

Their contents come from the organisation's own forms or systems, so they differ between organisations.

entity_folder_patternText

How each entity's own folder is named, binding a folder to an entity by its number token.

lifecycle_foldersList

The status-tagged folders to traverse, each with a folder name and the entity status it holds.

doc_subpathText

An optional fixed sub-path inside the entity folder where this doc type's files sit.

folder_patternText

A case-insensitive regex matched against folder names at any depth, used where no single sub-path name holds.

Example: Projects/{job_no}

Example record

A sample from Bridgeworks Group, Demiton's demonstration company. The values are illustrative; the shape is exactly what the contract describes.

document_location.example.json
{
"connector_ref": "sharepoint-bridgeworks-projects",
"coordinate_key": "project:BWG-2025-001",
"entity_type": "project",
"folder_pattern": "Projects/{job_no}",
"source_system": "SHAREPOINT",
"sources": [
"ITP",
"SWMS",
"Variations"
],
"store_drive_name": "Documents",
"store_site_id": "bridgeworksgroup.sharepoint.com,projects",
"system": "SHAREPOINT"
}

Use this contract

The contract is a standard JSON Schema (draft 2020-12) document, so any JSON Schema validator can check a record against it. Keywords starting with x-demiton- add Demiton's own meaning, such as units and requiredness, and validators ignore them.

Schema URL
https://docs.demiton.io/registers/document_location/v1.json
Show the full JSON Schema

Loading the schema…

Talk to the team

Tell us what you run - your ERP, field, payroll and document systems - and we will show you the registers Demiton would keep current from them, on your data, in a 30-minute call.

Book a 30-minute callStart free