API reference
Elta Public API 1.0.0, OpenAPI 3.1.2. Rendered from the published contract, so it always matches the deployed definitions and examples. The guide is in Norwegian; this reference is in English.
Authentication
Opaque environment-bound personal API token. Cookies, session JWTs and Supabase keys are not customer credentials.
Send Authorization: Bearer <token> over HTTPS. Paths below include the team API address /api/v1/accounts/{accountId}; its full form, shown with each token, is https://<elta-host>/api/v1/accounts/<accountId>.
Capabilities
A token holds selected capabilities. Each request is also limited by the member's live role and the team's lifecycle.
| Capability | Grants | Required by |
|---|---|---|
properties:read | read properties, placements and placement templates | listPropertiesgetPropertylistPropertyPlacementscreatePropertyObservationupdatePropertyObservationStatuscreatePropertyupdatePropertyObservationupdateObservationEvidenceRequirementlistAssignedPropertiesgetAssignedPropertyupdateObservationCompletionEvidenceupdateObservationLegacyEvidenceupdatePropertyupdatePropertyStatuscreatePropertyPlacementupdatePropertyPlacementmovePropertyPlacementreorderPropertyPlacementsremovePropertyPlacementlistPlacementTemplatesgetPlacementTemplatecreatePlacementTemplateupdatePlacementTemplateduplicatePlacementTemplateremovePlacementTemplatesavePlacementTemplateFromPropertyremovePropertyObservationlistPropertyRemediationCostsgetObservationRemediationCostsetObservationRemediationCostgetPropertyCovergetPropertyCoverContentremovePropertyCovergetPropertyRolesassignPropertyRoleupdatePropertyRoleremovePropertyRolecreateInspectionObservationlinkInspectionObservationsunlinkInspectionObservation |
properties:write | create, update and archive properties and manage placements and placement templates | createPropertyupdatePropertyupdatePropertyStatuscreatePropertyPlacementupdatePropertyPlacementmovePropertyPlacementreorderPropertyPlacementsremovePropertyPlacementcreatePlacementTemplateupdatePlacementTemplateduplicatePlacementTemplateremovePlacementTemplatesavePlacementTemplateFromPropertystartPhotoUploadBatchcompletePhotoUploadBatchgetPhotoUploadBatchremovePropertyCover |
observations:read | read observations | listPropertyObservationsgetPropertyObservationcreatePropertyObservationupdatePropertyObservationStatuslistObservationPhotosupdatePropertyObservationupdateObservationEvidenceRequirementlistAccountObservationslistObservationCompletionsupdateObservationCompletionEvidenceupdateObservationLegacyEvidenceremovePropertyObservationlistPropertyRemediationCostsgetObservationRemediationCostsetObservationRemediationCostlistObservationStatusHistorysearchObservationSuggestionsgetObservationPhotoContentupdateObservationPhotoCaptionreorderObservationPhotosremoveObservationPhotocreateInspectionObservationlinkInspectionObservationsunlinkInspectionObservation |
observations:write | create, edit and delete observations and set their evidence requirements | createPropertyObservationupdatePropertyObservationupdateObservationEvidenceRequirementremovePropertyObservationcreateInspectionObservationlinkInspectionObservationsunlinkInspectionObservation |
remediation:write | change status, add completion comments and remediation photos | updatePropertyObservationStatusupdateObservationCompletionEvidenceupdateObservationLegacyEvidencestartPhotoUploadBatchcompletePhotoUploadBatchgetPhotoUploadBatch |
observation-photos:read | read observation photo details and download photos | listObservationPhotosgetObservationPhotoContentupdateObservationPhotoCaptionreorderObservationPhotosremoveObservationPhoto |
observation-photos:write | upload and arrange observation photos | startPhotoUploadBatchcompletePhotoUploadBatchgetPhotoUploadBatchupdateObservationPhotoCaptionreorderObservationPhotosremoveObservationPhoto |
remediation-costs:read | read observation remediation costs in NOK | listPropertyRemediationCostsgetObservationRemediationCostsetObservationRemediationCost |
remediation-costs:write | set and clear observation remediation costs | setObservationRemediationCost |
contacts:read | read persons, companies and their links | listPersonsgetPersoncreatePersonupdatePersonremovePersonlistCompaniesgetCompanycreateCompanyupdateCompanyremoveCompanygetPropertyRolesassignPropertyRoleupdatePropertyRoleremovePropertyRole |
contacts:write | create, update and delete persons, companies and their links | createPersonupdatePersonremovePersoncreateCompanyupdateCompanyremoveCompanyassignPropertyRoleupdatePropertyRoleremovePropertyRole |
inspections:read | read inspections, locked checklists and answers | getInspectionCreateOptionscreatePropertyInspectionremovePropertyInspectionlistAccountInspectionslistPropertyInspectionsgetPropertyInspectionlistInspectionChecklistsetInspectionAnswersetInspectionAnswerCommentclearInspectionAnswercreateInspectionObservationlinkInspectionObservationsunlinkInspectionObservationcompletePropertyInspection |
inspections:write | manage inspections, checklist answers and completion | createPropertyInspectionremovePropertyInspectionsetInspectionAnswersetInspectionAnswerCommentclearInspectionAnswercreateInspectionObservationlinkInspectionObservationsunlinkInspectionObservationcompletePropertyInspection |
documents:read | read property document metadata and download document contents | listPropertyDocumentsgetPropertyDocumentContentupdatePropertyDocumentMetadataremovePropertyDocument |
documents:write | upload, reclassify, rename and delete property documents | startPhotoUploadBatchcompletePhotoUploadBatchgetPhotoUploadBatchupdatePropertyDocumentMetadataremovePropertyDocument |
reports:read | read report metadata and download generated PDFs; PDFs may include property, contact, observation, photo and cost data | listAccountReportslistPropertyReportslistReportPdfGenerationsgetReportPdfContent |
inspection-tools:read | read measuring equipment and calibration dates | listInspectionToolscreateInspectionToolupdateInspectionToolremoveInspectionTool |
inspection-tools:write | create, update and delete measuring equipment | createInspectionToolupdateInspectionToolremoveInspectionTool |
certificates:read | read eligible member certificate metadata and download own or managed covers | listCertificatesgetCertificateupdateCertificatearchiveCertificateunarchiveCertificateremoveCertificategetCertificateCoverContent |
certificates:write | create and maintain own or managed certificates and cover scans | startPhotoUploadBatchcompletePhotoUploadBatchgetPhotoUploadBatchupdateCertificatearchiveCertificateunarchiveCertificateremoveCertificate |
Limits and policies
- Request budgets
- Loading…
- JSON bodies
- At most 262,144 bytes, sent as
application/json. - Retries
- Writes require
Idempotency-Key. Completed outcomes are retained for at least 24 hours. A command still running returns409 idempotency_pendingwithRetry-After. API major and operation command versions stay stable across compatible package releases. Retained retries use the recorded command/canonicalization version, never the current package minor or patch version. - Pagination
- Offset pages (
pageIndex,pageSize) are not snapshots: records can move, repeat or be missed between requests. Reconcile byid. - Availability
- Publication describes the contract; the environment must also enable the feature. Disabled property and template commands and incremental sync return
503 dependency_unavailablebefore authentication. Template-backed property creation checks its feature after authentication and JSON parsing, before schema validation; creation without a template remains available. Retrying cannot enable a disabled feature. - Incremental sync
- Placement and template lists accept
changedSince, when enabled. Tokens are opaque; ordinary filters are rejected. Deleted rows appear only withincludeDeleted=true. A currentplacementSetVersiondoes not reconcile a local cache that skipped them. - Query parameters
- Reject unknown and repeated parameters, including repeated equal values. Numeric bounds use unsigned decimal integers.
- Caching
private, no-store- CORS
- Registered web-app origins only; absent Origin is permitted for authenticated server clients. Cookies are unsupported.
- Images
- No image upload or download in v1. Completion evidence refers to existing fix-image IDs.
Operations
GET/api/v1/accounts/{accountId}/properties
List account properties. Operation ID listProperties.
Required capabilities:properties:read
Ordering: updatedAt desc, then id asc.
Incremental sync: changedSince takes initial or prior syncCheckpoint. Send only changedSince, cursor, includeDeleted, pageSize. Only the final page carries syncCheckpoint; intermediate pages carry nextCursor.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
pageIndex | query | integer · 0–9007199254740991 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
search | query | string · at most 200 characters |
status | query | one of `"active"`, `"archived"` · default `"active"` · example `"active"` |
propertyType | query | one of `"detached"`, `"apartment"`, `"townhouse"`, `"semi_detached"`, `"cabin"`, `"commercial"`, `"other"` |
sortBy | query | one of `"address"`, `"propertyType"`, `"constructionYear"`, `"createdAt"`, `"updatedAt"` · default `"updatedAt"` · example `"updatedAt"` |
sortDirection | query | one of `"asc"`, `"desc"` · default `"desc"` · example `"desc"` |
changedSince | query | string · 1–2048 characters · example `"initial"` |
cursor | query | string · 1–2048 characters |
includeDeleted | query | boolean |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ServedPropertyListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [
{
"id": "22222222-2222-4222-8222-222222222222",
"version": "prop-v1.22222222-2222-4222-8222-222222222222.0",
"accountId": "11111111-1111-4111-8111-111111111111",
"address": {
"streetAddress": "Storgata 1",
"postalCode": "0155",
"city": "Oslo"
},
"cadastral": {
"gnr": "1",
"bnr": "2",
"municipality": "Oslo",
"municipalityCode": "0301",
"fnr": null,
"snr": null
},
"registryAddress": null,
"registryApartment": null,
"propertyType": "apartment",
"status": "active",
"constructionYear": 1990,
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z"
}
],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}
Get a property. Operation ID getProperty.
Required capabilities:properties:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. PropertyResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "22222222-2222-4222-8222-222222222222",
"version": "prop-v1.22222222-2222-4222-8222-222222222222.0",
"accountId": "11111111-1111-4111-8111-111111111111",
"address": {
"streetAddress": "Storgata 1",
"postalCode": "0155",
"city": "Oslo"
},
"cadastral": {
"gnr": "1",
"bnr": "2",
"municipality": "Oslo",
"municipalityCode": "0301",
"fnr": null,
"snr": null
},
"registryAddress": null,
"registryApartment": null,
"propertyType": "apartment",
"status": "active",
"constructionYear": 1990,
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"path",
"propertyId"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}/placements
Discover property placement targets. Operation ID listPropertyPlacements.
Required capabilities:properties:read
Ordering: position asc, then id asc.
Incremental sync: changedSince takes initial or prior syncCheckpoint. Send only changedSince, cursor, includeDeleted, pageSize. Only the final page carries syncCheckpoint; intermediate pages carry nextCursor.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
pageIndex | query | integer · 0–9007199254740991 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
changedSince | query | string · 1–2048 characters · example `"initial"` |
cursor | query | string · 1–2048 characters |
includeDeleted | query | boolean |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ServedPlacementListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [
{
"id": "33333333-3333-4333-8333-333333333333",
"propertyId": "22222222-2222-4222-8222-222222222222",
"parentId": null,
"name": "Sikringsskap",
"placementType": "single",
"position": 0,
"installationYear": null,
"isActive": true
}
],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false,
"placementSetVersion": "placements-v1.22222222-2222-4222-8222-222222222222.0"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}/observations
List property observations. Operation ID listPropertyObservations.
Required capabilities:observations:read
Ordering: createdAt desc, then id asc.
Incremental sync: changedSince takes initial or prior syncCheckpoint. Send only changedSince, cursor, includeDeleted, pageSize. Only the final page carries syncCheckpoint; intermediate pages carry nextCursor.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
pageIndex | query | integer · 0–9007199254740991 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
status | query | one of `"open"`, `"in_progress"`, `"resolved"` |
tgGrade | query | one of `"TG0"`, `"TG1"`, `"TG2"`, `"TG3"`, `"TG-IU"` |
placementId | query | string (uuid) |
sortBy | query | always `"createdAt"` · default `"createdAt"` · example `"createdAt"` |
sortDirection | query | one of `"asc"`, `"desc"` · default `"desc"` · example `"desc"` |
changedSince | query | string · 1–2048 characters · example `"initial"` |
cursor | query | string · 1–2048 characters |
includeDeleted | query | boolean |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ServedObservationListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [
{
"id": "44444444-4444-4444-8444-444444444444",
"propertyId": "22222222-2222-4222-8222-222222222222",
"placementId": "33333333-3333-4333-8333-333333333333",
"number": "26.0001",
"controlPoint": "Sikringsskap",
"title": "Manglende kursmerking",
"description": "Manglende merking av kurs.",
"tgGrade": "TG2",
"status": "open",
"installationYear": null,
"resolvedAt": null,
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z",
"version": "obs-v1.44444444-4444-4444-8444-444444444444.1",
"remediation": {
"imageRequired": false,
"commentRequired": true
}
}
],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}/observations/{observationId}
Get a property observation. Operation ID getPropertyObservation.
Required capabilities:observations:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
observationIdrequired | path | string (uuid) · example `"44444444-4444-4444-8444-444444444444"` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ObservationDetailResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "44444444-4444-4444-8444-444444444444",
"propertyId": "22222222-2222-4222-8222-222222222222",
"placementId": "33333333-3333-4333-8333-333333333333",
"number": "26.0001",
"controlPoint": "Sikringsskap",
"title": "Manglende kursmerking",
"description": "Manglende merking av kurs.",
"tgGrade": "TG2",
"status": "open",
"installationYear": null,
"resolvedAt": null,
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z",
"version": "obs-v1.44444444-4444-4444-8444-444444444444.1",
"remediation": {
"imageRequired": false,
"commentRequired": true,
"latestCompletion": null
}
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"path",
"observationId"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}POST/api/v1/accounts/{accountId}/properties/{propertyId}/observations
Create a direct-property observation. Operation ID createPropertyObservation.
Required capabilities:properties:readobservations:readobservations:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
CreateObservation (see Schemas).
Example request
{
"placementId": "33333333-3333-4333-8333-333333333333",
"controlPoint": "Sikringsskap",
"title": "Manglende kursmerking",
"description": "Manglende merking av kurs.",
"tgGrade": "TG2",
"installationYear": null
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 201 | Observation created; the authorized completed outcome can be replayed. ObservationResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The key was used for a different command, or the command is still pending. | idempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 201 response
{
"data": {
"id": "44444444-4444-4444-8444-444444444444",
"propertyId": "22222222-2222-4222-8222-222222222222",
"placementId": "33333333-3333-4333-8333-333333333333",
"number": "26.0001",
"controlPoint": "Sikringsskap",
"title": "Manglende kursmerking",
"description": "Manglende merking av kurs.",
"tgGrade": "TG2",
"status": "open",
"installationYear": null,
"resolvedAt": null,
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z",
"version": "obs-v1.44444444-4444-4444-8444-444444444444.1"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"placementId"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:idempotency-conflict",
"title": "Conflict",
"status": 409,
"detail": "The key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "idempotency_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PATCH/api/v1/accounts/{accountId}/properties/{propertyId}/observations/{observationId}/status
Change observation status with a version precondition. Operation ID updatePropertyObservationStatus.
Required capabilities:properties:readobservations:readremediation:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
observationIdrequired | path | string (uuid) · example `"44444444-4444-4444-8444-444444444444"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
UpdateObservationStatus (see Schemas).
Example request
{
"status": "resolved",
"expectedVersion": "obs-v1.44444444-4444-4444-8444-444444444444.1",
"comment": "Connection repaired and verified.",
"imageIds": []
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ObservationDetailResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "44444444-4444-4444-8444-444444444444",
"propertyId": "22222222-2222-4222-8222-222222222222",
"placementId": "33333333-3333-4333-8333-333333333333",
"number": "26.0001",
"controlPoint": "Sikringsskap",
"title": "Manglende kursmerking",
"description": "Manglende merking av kurs.",
"tgGrade": "TG2",
"status": "resolved",
"installationYear": null,
"resolvedAt": "2026-10-26T10:00:00.000Z",
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z",
"version": "obs-v1.44444444-4444-4444-8444-444444444444.2",
"remediation": {
"imageRequired": false,
"commentRequired": true,
"latestCompletion": {
"id": "55555555-5555-4555-8555-555555555555",
"comment": "Connection repaired and verified.",
"imageIds": []
}
}
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}POST/api/v1/accounts/{accountId}/properties
Create an account property. Operation ID createProperty.
Required capabilities:properties:readproperties:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
CreateProperty (see Schemas).
Example request
{
"address": {
"streetAddress": "Storgata 1",
"postalCode": "0155",
"city": "Oslo"
},
"propertyType": "detached",
"constructionYear": 1990
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 201 | Successful response. PropertyResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The key was used for a different command, or the command is still pending. | idempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 201 response
{
"data": {
"id": "22222222-2222-4222-8222-222222222222",
"version": "prop-v1.22222222-2222-4222-8222-222222222222.0",
"accountId": "11111111-1111-4111-8111-111111111111",
"address": {
"streetAddress": "Storgata 1",
"postalCode": "0155",
"city": "Oslo"
},
"cadastral": {
"gnr": "1",
"bnr": "2",
"municipality": "Oslo",
"municipalityCode": "0301",
"fnr": null,
"snr": null
},
"registryAddress": null,
"registryApartment": null,
"propertyType": "apartment",
"status": "active",
"constructionYear": 1990,
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"address"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:idempotency-conflict",
"title": "Conflict",
"status": 409,
"detail": "The key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "idempotency_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}/observations/{observationId}/photos
List finding photos and current evidence of the latest completion. Operation ID listObservationPhotos.
Required capabilities:observations:readobservation-photos:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
observationIdrequired | path | string (uuid) · example `"44444444-4444-4444-8444-444444444444"` |
pageIndex | query | integer · 0–9007199254740991 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Photos are identified by (kind, id). Finding photos precede the latest completion evidence; each kind is ordered by position, then ascending id. ObservationPhotoPage | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [
{
"id": "66666666-6666-4666-8666-666666666666",
"kind": "finding",
"position": 0,
"caption": "Kursmerking",
"width": null,
"height": null,
"mimeType": "image/webp",
"sizeBytes": 2048,
"createdAt": "2026-10-26T10:00:00.000Z",
"completionId": null
}
],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PATCH/api/v1/accounts/{accountId}/properties/{propertyId}/observations/{observationId}
Correct observation fields with a version precondition. Operation ID updatePropertyObservation.
Required capabilities:properties:readobservations:readobservations:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
observationIdrequired | path | string (uuid) · example `"44444444-4444-4444-8444-444444444444"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
UpdateObservation (see Schemas).
Example request
{
"expectedVersion": "obs-v1.44444444-4444-4444-8444-444444444444.1",
"title": "Manglende kursmerking i sikringsskap",
"tgGrade": "TG3"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Observation corrected; the authorized completed outcome can be replayed. ObservationDetailResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "44444444-4444-4444-8444-444444444444",
"propertyId": "22222222-2222-4222-8222-222222222222",
"placementId": "33333333-3333-4333-8333-333333333333",
"number": "26.0001",
"controlPoint": "Sikringsskap",
"title": "Manglende kursmerking i sikringsskap",
"description": "Manglende merking av kurs.",
"tgGrade": "TG3",
"status": "open",
"installationYear": null,
"resolvedAt": null,
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z",
"version": "obs-v1.44444444-4444-4444-8444-444444444444.2",
"remediation": {
"imageRequired": false,
"commentRequired": true,
"latestCompletion": null
}
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PATCH/api/v1/accounts/{accountId}/properties/{propertyId}/observations/{observationId}/evidence-requirements
Set one inspector evidence requirement. Operation ID updateObservationEvidenceRequirement.
Required capabilities:properties:readobservations:readobservations:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
observationIdrequired | path | string (uuid) · example `"44444444-4444-4444-8444-444444444444"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
UpdateObservationEvidenceRequirement (see Schemas).
Example request
{
"expectedVersion": "obs-v1.44444444-4444-4444-8444-444444444444.1",
"kind": "image",
"required": true
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ObservationDetailResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "44444444-4444-4444-8444-444444444444",
"propertyId": "22222222-2222-4222-8222-222222222222",
"placementId": "33333333-3333-4333-8333-333333333333",
"number": "26.0001",
"controlPoint": "Sikringsskap",
"title": "Manglende kursmerking",
"description": "Manglende merking av kurs.",
"tgGrade": "TG2",
"status": "open",
"installationYear": null,
"resolvedAt": null,
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z",
"version": "obs-v1.44444444-4444-4444-8444-444444444444.2",
"remediation": {
"imageRequired": true,
"commentRequired": false,
"latestCompletion": null
}
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/observations
List account observations. Operation ID listAccountObservations.
Required capabilities:observations:read
Ordering: createdAt desc, then id asc.
Incremental sync: changedSince takes initial or prior syncCheckpoint. Send only changedSince, cursor, includeDeleted, pageSize. Only the final page carries syncCheckpoint; intermediate pages carry nextCursor.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
pageIndex | query | integer · 0–9007199254740991 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
propertyId | query | string (uuid) |
status | query | one of `"open"`, `"in_progress"`, `"resolved"` |
tgGrade | query | one of `"TG0"`, `"TG1"`, `"TG2"`, `"TG3"`, `"TG-IU"` |
sortBy | query | one of `"createdAt"`, `"updatedAt"` · default `"createdAt"` · example `"createdAt"` |
sortDirection | query | one of `"asc"`, `"desc"` · default `"desc"` · example `"desc"` |
changedSince | query | string · 1–2048 characters · example `"initial"` |
cursor | query | string · 1–2048 characters |
includeDeleted | query | boolean |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ServedObservationListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [
{
"id": "44444444-4444-4444-8444-444444444444",
"propertyId": "22222222-2222-4222-8222-222222222222",
"placementId": "33333333-3333-4333-8333-333333333333",
"number": "26.0001",
"controlPoint": "Sikringsskap",
"title": "Manglende kursmerking",
"description": "Manglende merking av kurs.",
"tgGrade": "TG2",
"status": "open",
"installationYear": null,
"resolvedAt": null,
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z",
"version": "obs-v1.44444444-4444-4444-8444-444444444444.1",
"remediation": {
"imageRequired": false,
"commentRequired": true
}
}
],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/assigned-properties
List assigned properties. Operation ID listAssignedProperties.
Required capabilities:properties:read
Ordering: updatedAt desc, then id asc.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
pageIndex | query | integer · 0–9007199254740991 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
search | query | string · at most 200 characters |
status | query | one of `"active"`, `"archived"` · default `"active"` · example `"active"` |
propertyType | query | one of `"detached"`, `"apartment"`, `"townhouse"`, `"semi_detached"`, `"cabin"`, `"commercial"`, `"other"` |
sortBy | query | one of `"address"`, `"propertyType"`, `"constructionYear"`, `"createdAt"`, `"updatedAt"` · default `"updatedAt"` · example `"updatedAt"` |
sortDirection | query | one of `"asc"`, `"desc"` · default `"desc"` · example `"desc"` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. AssignedPropertyListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/assigned-properties/{propertyId}
Get an assigned property. Operation ID getAssignedProperty.
Required capabilities:properties:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. AssignedPropertyResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "22222222-2222-4222-8222-222222222222",
"version": "prop-v1.22222222-2222-4222-8222-222222222222.0",
"accountId": "11111111-1111-4111-8111-111111111111",
"address": {
"streetAddress": "Storgata 1",
"postalCode": "0155",
"city": "Oslo"
},
"cadastral": {
"gnr": "1",
"bnr": "2",
"municipality": "Oslo"
},
"registryApartment": null,
"propertyType": "apartment",
"status": "active",
"constructionYear": 1990,
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z",
"permissions": [
"properties.read"
]
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"path",
"propertyId"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}/observations/{observationId}/completions
List completion evidence; collaborators see only the latest completion. Operation ID listObservationCompletions.
Required capabilities:observations:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
observationIdrequired | path | string (uuid) · example `"44444444-4444-4444-8444-444444444444"` |
pageIndex | query | integer · 0–9007199254740991 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ObservationCompletionListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [
{
"id": "55555555-5555-4555-8555-555555555555",
"fixedAt": "2026-10-26T10:00:00.000Z",
"comment": "",
"imageIds": []
}
],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false
},
"version": "obs-v1.44444444-4444-4444-8444-444444444444.1"
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PATCH/api/v1/accounts/{accountId}/properties/{propertyId}/observations/{observationId}/completions/{completionId}/evidence
Correct the current evidence of a completion. Operation ID updateObservationCompletionEvidence.
Required capabilities:properties:readobservations:readremediation:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
observationIdrequired | path | string (uuid) · example `"44444444-4444-4444-8444-444444444444"` |
completionIdrequired | path | string (uuid) · example `"55555555-5555-4555-8555-555555555555"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
UpdateObservationEvidence (see Schemas).
Example request
{
"expectedVersion": "obs-v1.44444444-4444-4444-8444-444444444444.1",
"comment": "",
"imageIds": []
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ObservationCompletionResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "55555555-5555-4555-8555-555555555555",
"fixedAt": "2026-10-26T10:00:00.000Z",
"comment": "",
"imageIds": []
},
"version": "obs-v1.44444444-4444-4444-8444-444444444444.2"
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PATCH/api/v1/accounts/{accountId}/properties/{propertyId}/observations/{observationId}/evidence
Record evidence for a legacy resolution with no completion. Operation ID updateObservationLegacyEvidence.
Required capabilities:properties:readobservations:readremediation:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
observationIdrequired | path | string (uuid) · example `"44444444-4444-4444-8444-444444444444"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
UpdateObservationEvidence (see Schemas).
Example request
{
"expectedVersion": "obs-v1.44444444-4444-4444-8444-444444444444.1",
"comment": "",
"imageIds": []
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ObservationCompletionResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "55555555-5555-4555-8555-555555555555",
"fixedAt": "2026-10-26T10:00:00.000Z",
"comment": "",
"imageIds": []
},
"version": "obs-v1.44444444-4444-4444-8444-444444444444.2"
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PATCH/api/v1/accounts/{accountId}/properties/{propertyId}
Update property facts with a version precondition. Operation ID updateProperty.
Required capabilities:properties:readproperties:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
UpdateProperty (see Schemas).
Example request
{
"expectedVersion": "prop-v1.22222222-2222-4222-8222-222222222222.0",
"constructionYear": 1991
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. PropertyResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "22222222-2222-4222-8222-222222222222",
"version": "prop-v1.22222222-2222-4222-8222-222222222222.1",
"accountId": "11111111-1111-4111-8111-111111111111",
"address": {
"streetAddress": "Storgata 1",
"postalCode": "0155",
"city": "Oslo"
},
"cadastral": {
"gnr": "1",
"bnr": "2",
"municipality": "Oslo",
"municipalityCode": "0301",
"fnr": null,
"snr": null
},
"registryAddress": null,
"registryApartment": null,
"propertyType": "apartment",
"status": "active",
"constructionYear": 1990,
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PATCH/api/v1/accounts/{accountId}/properties/{propertyId}/status
Set the property archive status with a version precondition. Operation ID updatePropertyStatus.
Required capabilities:properties:readproperties:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
UpdatePropertyStatus (see Schemas).
Example request
{
"expectedVersion": "prop-v1.22222222-2222-4222-8222-222222222222.0",
"status": "archived"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. PropertyResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "22222222-2222-4222-8222-222222222222",
"version": "prop-v1.22222222-2222-4222-8222-222222222222.1",
"accountId": "11111111-1111-4111-8111-111111111111",
"address": {
"streetAddress": "Storgata 1",
"postalCode": "0155",
"city": "Oslo"
},
"cadastral": {
"gnr": "1",
"bnr": "2",
"municipality": "Oslo",
"municipalityCode": "0301",
"fnr": null,
"snr": null
},
"registryAddress": null,
"registryApartment": null,
"propertyType": "apartment",
"status": "archived",
"constructionYear": 1990,
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}POST/api/v1/accounts/{accountId}/properties/{propertyId}/placements
createPropertyPlacement. Operation ID createPropertyPlacement.
Required capabilities:properties:readproperties:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
CreatePlacement (see Schemas).
Example request
{
"expectedVersion": "placements-v1.22222222-2222-4222-8222-222222222222.0",
"name": "Sikringsskap",
"placementType": "single"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 201 | Successful response. PlacementResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 201 response
{
"data": {
"id": "33333333-3333-4333-8333-333333333333",
"propertyId": "22222222-2222-4222-8222-222222222222",
"parentId": null,
"name": "Sikringsskap",
"placementType": "single",
"position": 0,
"installationYear": null,
"isActive": true
},
"meta": {
"placementSetVersion": "placements-v1.22222222-2222-4222-8222-222222222222.0"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PATCH/api/v1/accounts/{accountId}/properties/{propertyId}/placements/{placementId}
updatePropertyPlacement. Operation ID updatePropertyPlacement.
Required capabilities:properties:readproperties:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
placementIdrequired | path | string (uuid) · example `"33333333-3333-4333-8333-333333333333"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
UpdatePlacement (see Schemas).
Example request
{
"expectedVersion": "placements-v1.22222222-2222-4222-8222-222222222222.0",
"name": "Kjøkken"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. PlacementResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "33333333-3333-4333-8333-333333333333",
"propertyId": "22222222-2222-4222-8222-222222222222",
"parentId": null,
"name": "Sikringsskap",
"placementType": "single",
"position": 0,
"installationYear": null,
"isActive": true
},
"meta": {
"placementSetVersion": "placements-v1.22222222-2222-4222-8222-222222222222.0"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PATCH/api/v1/accounts/{accountId}/properties/{propertyId}/placements/{placementId}/position
movePropertyPlacement. Operation ID movePropertyPlacement.
Required capabilities:properties:readproperties:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
placementIdrequired | path | string (uuid) · example `"33333333-3333-4333-8333-333333333333"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
MovePlacement (see Schemas).
Example request
{
"expectedVersion": "placements-v1.22222222-2222-4222-8222-222222222222.0",
"parentId": null,
"position": 0
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. PlacementResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "33333333-3333-4333-8333-333333333333",
"propertyId": "22222222-2222-4222-8222-222222222222",
"parentId": null,
"name": "Sikringsskap",
"placementType": "single",
"position": 0,
"installationYear": null,
"isActive": true
},
"meta": {
"placementSetVersion": "placements-v1.22222222-2222-4222-8222-222222222222.0"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PUT/api/v1/accounts/{accountId}/properties/{propertyId}/placements/order
reorderPropertyPlacements. Operation ID reorderPropertyPlacements.
Required capabilities:properties:readproperties:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
ReorderPlacements (see Schemas).
Example request
{
"expectedVersion": "placements-v1.22222222-2222-4222-8222-222222222222.0",
"orderedPlacementIds": [
"33333333-3333-4333-8333-333333333333"
]
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. PlacementOrderResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [
{
"id": "33333333-3333-4333-8333-333333333333",
"propertyId": "22222222-2222-4222-8222-222222222222",
"parentId": null,
"name": "Sikringsskap",
"placementType": "single",
"position": 0,
"installationYear": null,
"isActive": true
}
],
"meta": {
"placementSetVersion": "placements-v1.22222222-2222-4222-8222-222222222222.0"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}DELETE/api/v1/accounts/{accountId}/properties/{propertyId}/placements/{placementId}
removePropertyPlacement. Operation ID removePropertyPlacement.
Required capabilities:properties:readproperties:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
placementIdrequired | path | string (uuid) · example `"33333333-3333-4333-8333-333333333333"` |
expectedVersionrequired | query | string · 1–256 characters · Opaque server-owned resource version. Never infer its structure from timestamps. · example `"placements-v1.22222222-2222-4222-8222-222222222222.0"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. PlacementRemovalResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "33333333-3333-4333-8333-333333333333",
"propertyId": "22222222-2222-4222-8222-222222222222",
"deleted": true,
"deletedAt": "2026-10-26T10:00:00.000Z"
},
"meta": {
"placementSetVersion": "placements-v1.22222222-2222-4222-8222-222222222222.0"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/placement-templates
List team and standard placement templates. Operation ID listPlacementTemplates.
Required capabilities:properties:read
Incremental sync: changedSince takes initial or prior syncCheckpoint. Send only changedSince, cursor, includeDeleted, pageSize. Only the final page carries syncCheckpoint; intermediate pages carry nextCursor.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
pageIndex | query | integer · 0–9007199254740991 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
propertyType | query | one of `"detached"`, `"apartment"`, `"townhouse"`, `"semi_detached"`, `"cabin"`, `"commercial"`, `"other"` |
search | query | string · at most 200 characters |
changedSince | query | string · 1–2048 characters · example `"initial"` |
cursor | query | string · 1–2048 characters |
includeDeleted | query | boolean |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ServedPlacementTemplateListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [
{
"id": "77777777-7777-4777-8777-777777777777",
"name": "Bolig",
"propertyType": "other",
"structure": {
"nodes": [
{
"name": "Sikringsskap",
"type": "single",
"position": 0,
"installationYear": null,
"children": []
}
]
},
"isStandard": false,
"version": "template-v1.77777777-7777-4777-8777-777777777777.1"
}
],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/placement-templates/{templateId}
Get a placement template. Operation ID getPlacementTemplate.
Required capabilities:properties:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
templateIdrequired | path | string (uuid) · example `"77777777-7777-4777-8777-777777777777"` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. PlacementTemplateResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "77777777-7777-4777-8777-777777777777",
"name": "Bolig",
"propertyType": "other",
"structure": {
"nodes": [
{
"name": "Sikringsskap",
"type": "single",
"position": 0,
"installationYear": null,
"children": []
}
]
},
"isStandard": false,
"version": "template-v1.77777777-7777-4777-8777-777777777777.1"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"path",
"templateId"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}POST/api/v1/accounts/{accountId}/placement-templates
Create a custom placement template. Operation ID createPlacementTemplate.
Required capabilities:properties:readproperties:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
CreatePlacementTemplate (see Schemas).
Example request
{
"name": "Bolig",
"propertyType": "other",
"structure": {
"nodes": [
{
"name": "Sikringsskap",
"type": "single",
"position": 0,
"installationYear": null,
"children": []
}
]
}
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 201 | Successful response. PlacementTemplateResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The key was used for a different command, or the command is still pending. | idempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 201 response
{
"data": {
"id": "77777777-7777-4777-8777-777777777777",
"name": "Bolig",
"propertyType": "other",
"structure": {
"nodes": [
{
"name": "Sikringsskap",
"type": "single",
"position": 0,
"installationYear": null,
"children": []
}
]
},
"isStandard": false,
"version": "template-v1.77777777-7777-4777-8777-777777777777.1"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"name"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:idempotency-conflict",
"title": "Conflict",
"status": 409,
"detail": "The key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "idempotency_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PATCH/api/v1/accounts/{accountId}/placement-templates/{templateId}
Update a custom placement template with a version precondition. Operation ID updatePlacementTemplate.
Required capabilities:properties:readproperties:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
templateIdrequired | path | string (uuid) · example `"77777777-7777-4777-8777-777777777777"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
UpdatePlacementTemplate (see Schemas).
Example request
{
"name": "Endret",
"expectedVersion": "template-v1.77777777-7777-4777-8777-777777777777.1"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. PlacementTemplateResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "77777777-7777-4777-8777-777777777777",
"name": "Bolig",
"propertyType": "other",
"structure": {
"nodes": [
{
"name": "Sikringsskap",
"type": "single",
"position": 0,
"installationYear": null,
"children": []
}
]
},
"isStandard": false,
"version": "template-v1.77777777-7777-4777-8777-777777777777.1"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}POST/api/v1/accounts/{accountId}/placement-templates/{templateId}/duplicate
Duplicate a visible template into the team. Operation ID duplicatePlacementTemplate.
Required capabilities:properties:readproperties:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
templateIdrequired | path | string (uuid) · example `"77777777-7777-4777-8777-777777777777"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
DuplicatePlacementTemplate (see Schemas).
Example request
{
"name": "Kopi"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 201 | Successful response. PlacementTemplateResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The key was used for a different command, or the command is still pending. | idempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 201 response
{
"data": {
"id": "77777777-7777-4777-8777-777777777777",
"name": "Bolig",
"propertyType": "other",
"structure": {
"nodes": [
{
"name": "Sikringsskap",
"type": "single",
"position": 0,
"installationYear": null,
"children": []
}
]
},
"isStandard": false,
"version": "template-v1.77777777-7777-4777-8777-777777777777.1"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"name"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:idempotency-conflict",
"title": "Conflict",
"status": 409,
"detail": "The key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "idempotency_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}DELETE/api/v1/accounts/{accountId}/placement-templates/{templateId}
Soft-delete a custom placement template with a query version. Operation ID removePlacementTemplate.
Required capabilities:properties:readproperties:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
templateIdrequired | path | string (uuid) · example `"77777777-7777-4777-8777-777777777777"` |
expectedVersionrequired | query | string · 1–256 characters · Opaque server-owned resource version. Never infer its structure from timestamps. · example `"template-v1.77777777-7777-4777-8777-777777777777.1"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. PlacementTemplateRemovalResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "77777777-7777-4777-8777-777777777777",
"deleted": true,
"deletedAt": "2026-10-26T10:00:00.000Z",
"version": "template-v1.77777777-7777-4777-8777-777777777777.1"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}POST/api/v1/accounts/{accountId}/properties/{propertyId}/placement-template
Save a property placement tree as an independent template. Operation ID savePlacementTemplateFromProperty.
Required capabilities:properties:readproperties:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
SavePlacementTemplateFromProperty (see Schemas).
Example request
{
"name": "Fra eiendom"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 201 | Successful response. PlacementTemplateResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The key was used for a different command, or the command is still pending. | idempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 201 response
{
"data": {
"id": "77777777-7777-4777-8777-777777777777",
"name": "Bolig",
"propertyType": "other",
"structure": {
"nodes": [
{
"name": "Sikringsskap",
"type": "single",
"position": 0,
"installationYear": null,
"children": []
}
]
},
"isStandard": false,
"version": "template-v1.77777777-7777-4777-8777-777777777777.1"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"name"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:idempotency-conflict",
"title": "Conflict",
"status": 409,
"detail": "The key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "idempotency_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}DELETE/api/v1/accounts/{accountId}/properties/{propertyId}/observations/{observationId}
Soft-delete an observation; recovery requires contacting support. Operation ID removePropertyObservation.
Required capabilities:properties:readobservations:readobservations:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
observationIdrequired | path | string (uuid) · example `"44444444-4444-4444-8444-444444444444"` |
expectedVersionrequired | query | string · 1–256 characters · Opaque server-owned resource version. Never infer its structure from timestamps. · example `"obs-v1.44444444-4444-4444-8444-444444444444.1"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ObservationRemovalResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "44444444-4444-4444-8444-444444444444",
"propertyId": "22222222-2222-4222-8222-222222222222",
"deleted": true,
"deletedAt": "2026-10-26T10:00:00.000Z",
"version": "obs-v1.44444444-4444-4444-8444-444444444444.2"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}/remediation-costs
List remediation costs for a property. Operation ID listPropertyRemediationCosts.
Required capabilities:properties:readobservations:readremediation-costs:read
Incremental sync: changedSince takes initial or prior syncCheckpoint. Send only changedSince, cursor, includeDeleted, pageSize. Only the final page carries syncCheckpoint; intermediate pages carry nextCursor.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
pageIndex | query | integer · 0–9007199254740991 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
changedSince | query | string · 1–2048 characters · example `"initial"` |
cursor | query | string · 1–2048 characters |
includeDeleted | query | boolean |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ServedRemediationCostListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [
{
"observationId": "44444444-4444-4444-8444-444444444444",
"type": "fixed",
"currency": "NOK",
"netOre": 10000,
"vatBasisPoints": 2500,
"vatOre": 2500,
"grossOre": 12500,
"version": "cost-v1.44444444-4444-4444-8444-444444444444.1"
}
],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}/observations/{observationId}/remediation-cost
Read an observation remediation cost. Operation ID getObservationRemediationCost.
Required capabilities:properties:readobservations:readremediation-costs:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
observationIdrequired | path | string (uuid) · example `"44444444-4444-4444-8444-444444444444"` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. RemediationCostResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"observationId": "44444444-4444-4444-8444-444444444444",
"type": "fixed",
"currency": "NOK",
"netOre": 10000,
"vatBasisPoints": 2500,
"vatOre": 2500,
"grossOre": 12500,
"version": "cost-v1.44444444-4444-4444-8444-444444444444.1"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"path",
"observationId"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PUT/api/v1/accounts/{accountId}/properties/{propertyId}/observations/{observationId}/remediation-cost
Set or clear an observation remediation cost. Operation ID setObservationRemediationCost.
Required capabilities:properties:readobservations:readremediation-costs:readremediation-costs:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
observationIdrequired | path | string (uuid) · example `"44444444-4444-4444-8444-444444444444"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
ReplaceRemediationCost (see Schemas).
Example request
{
"type": "fixed",
"netOre": 10000,
"vatBasisPoints": 2500,
"expectedVersion": "cost-v1.44444444-4444-4444-8444-444444444444.0"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. RemediationCostResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"observationId": "44444444-4444-4444-8444-444444444444",
"type": "fixed",
"currency": "NOK",
"netOre": 10000,
"vatBasisPoints": 2500,
"vatOre": 2500,
"grossOre": 12500,
"version": "cost-v1.44444444-4444-4444-8444-444444444444.1"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}/observations/{observationId}/status-history
Page minimized recorded status history, in sequence order. Operation ID listObservationStatusHistory.
Required capabilities:observations:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
observationIdrequired | path | string (uuid) · example `"44444444-4444-4444-8444-444444444444"` |
pageIndex | query | integer · 0–9007199254740991 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ObservationStatusHistoryListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [
{
"sequence": 1,
"eventType": "created",
"previousStatus": null,
"status": "open",
"occurredAt": "2026-10-26T10:00:00.000Z",
"completionId": null
}
],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false,
"legacy": false
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/observation-suggestions
Search inspector title or control-point suggestions for an account. Operation ID searchObservationSuggestions.
Required capabilities:observations:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
kindrequired | query | one of `"title"`, `"controlPoint"` · example `"title"` |
queryrequired | query | string · 1–200 characters · example `"kurs"` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ObservationSuggestionListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [
{
"kind": "title",
"entryId": "1001",
"shortCode": "KM",
"category": "Kurs",
"option": "Merking",
"description": "Manglende merking.",
"missingDescription": false
}
],
"meta": {
"hasMore": false
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"kind"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}/observations/{observationId}/photos/{photoId}/content
Download an authorized observation photo. Operation ID getObservationPhotoContent.
Required capabilities:observations:readobservation-photos:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
observationIdrequired | path | string (uuid) · example `"44444444-4444-4444-8444-444444444444"` |
photoIdrequired | path | string (uuid) · example `"88888888-8888-4888-8888-888888888888"` |
kindrequired | query | one of `"finding"`, `"remediation"` · example `"finding"` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 302 | A private, no-store redirect to one authorized object, valid for 60 seconds. Each link admission consumes bytes, including retries. | — | Cache-ControlX-Request-IdLocation |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"kind"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}POST/api/v1/accounts/{accountId}/uploads
Start a photo upload batch. Operation ID startPhotoUploadBatch.
Required capabilities:Per file target
At least one usable write capability: observation-photos:writeremediation:writeproperties:writedocuments:writecertificates:write. Each file also needs its target's read scopes and live permissions; mixed batches need all scopes their targets require.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
StartPhotoUploadBatch (see Schemas).
Example request
{
"files": [
{
"target": {
"kind": "finding",
"propertyId": "22222222-2222-4222-8222-222222222222",
"observationId": "44444444-4444-4444-8444-444444444444"
},
"filename": "photo.png",
"mimeType": "image/png",
"sizeBytes": 1024
}
]
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 201 | Successful response. PhotoUploadBatchStarted | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The key was used for a different command, or the command is still pending. | idempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 201 response
{
"data": {
"id": "55555555-5555-4555-8555-555555555555",
"expiresAt": "2026-10-26T10:00:00.000Z",
"files": [
{
"id": "44444444-4444-4444-8444-444444444444",
"problem": null,
"upload": {
"uploadUrl": "https://storage.example.test/upload?token=example",
"resumableUrl": "https://storage.example.test/storage/v1/upload/resumable/sign",
"uploadToken": "example",
"bucket": "image_upload_staging",
"objectName": "11111111-1111-4111-8111-111111111111/api-photo-44444444-4444-4444-8444-444444444444/44444444-4444-4444-8444-444444444444",
"chunkSizeBytes": 6291456
}
}
]
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"files"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:idempotency-conflict",
"title": "Conflict",
"status": 409,
"detail": "The key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "idempotency_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}POST/api/v1/accounts/{accountId}/uploads/{batchId}/complete
Verify and queue a photo upload batch. Operation ID completePhotoUploadBatch.
Required capabilities:Per file target
At least one usable write capability: observation-photos:writeremediation:writeproperties:writedocuments:writecertificates:write. Each file also needs its target's read scopes and live permissions; mixed batches need all scopes their targets require.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
batchIdrequired | path | string (uuid) · example `"55555555-5555-4555-8555-555555555555"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
CompletePhotoUploadBatch (see Schemas).
Example request
{}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 202 | Successful response. PhotoUploadBatchAccepted | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The key was used for a different command, or the command is still pending. | idempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 202 response
{
"data": {
"id": "55555555-5555-4555-8555-555555555555"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:idempotency-conflict",
"title": "Conflict",
"status": 409,
"detail": "The key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "idempotency_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/uploads/{batchId}
Read per-file upload progress. Operation ID getPhotoUploadBatch.
Required capabilities:Per file target
At least one usable write capability: observation-photos:writeremediation:writeproperties:writedocuments:writecertificates:write. Each file also needs its target's read scopes and live permissions; mixed batches need all scopes their targets require.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
batchIdrequired | path | string (uuid) · example `"55555555-5555-4555-8555-555555555555"` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. PhotoUploadBatchStatus | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "55555555-5555-4555-8555-555555555555",
"expiresAt": "2026-10-26T10:00:00.000Z",
"files": [
{
"id": "44444444-4444-4444-8444-444444444444",
"status": "processing"
}
]
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"path",
"batchId"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PATCH/api/v1/accounts/{accountId}/properties/{propertyId}/observations/{observationId}/photos/{photoId}
Edit a finding photo caption. Operation ID updateObservationPhotoCaption.
Required capabilities:observations:readobservation-photos:readobservation-photos:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
observationIdrequired | path | string (uuid) · example `"44444444-4444-4444-8444-444444444444"` |
photoIdrequired | path | string (uuid) · example `"66666666-6666-4666-8666-666666666666"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
FindingPhotoCaptionCommand (see Schemas).
Example request
{
"expectedVersion": "obs-v1.44444444-4444-4444-8444-444444444444.1",
"caption": "Panel"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. FindingPhotoCaptionResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "66666666-6666-4666-8666-666666666666",
"kind": "finding",
"position": 0,
"caption": "Panel",
"width": null,
"height": null,
"mimeType": "image/webp",
"sizeBytes": 2048,
"createdAt": "2026-10-26T10:00:00.000Z",
"completionId": null
},
"meta": {
"observationVersion": "obs-v1.44444444-4444-4444-8444-444444444444.2"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PUT/api/v1/accounts/{accountId}/properties/{propertyId}/observations/{observationId}/photos/order
Reorder the complete finding photo set. Operation ID reorderObservationPhotos.
Required capabilities:observations:readobservation-photos:readobservation-photos:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
observationIdrequired | path | string (uuid) · example `"44444444-4444-4444-8444-444444444444"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
FindingPhotoOrderCommand (see Schemas).
Example request
{
"expectedVersion": "obs-v1.44444444-4444-4444-8444-444444444444.1",
"orderedPhotoIds": [
"66666666-6666-4666-8666-666666666666"
]
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. FindingPhotoOrderResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [
{
"id": "66666666-6666-4666-8666-666666666666",
"kind": "finding",
"position": 0,
"caption": "Kursmerking",
"width": null,
"height": null,
"mimeType": "image/webp",
"sizeBytes": 2048,
"createdAt": "2026-10-26T10:00:00.000Z",
"completionId": null
}
],
"meta": {
"observationVersion": "obs-v1.44444444-4444-4444-8444-444444444444.2"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}DELETE/api/v1/accounts/{accountId}/properties/{propertyId}/observations/{observationId}/photos/{photoId}
Remove a finding photo. Operation ID removeObservationPhoto.
Required capabilities:observations:readobservation-photos:readobservation-photos:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
observationIdrequired | path | string (uuid) · example `"44444444-4444-4444-8444-444444444444"` |
photoIdrequired | path | string (uuid) · example `"66666666-6666-4666-8666-666666666666"` |
expectedVersionrequired | query | string · 1–256 characters · Opaque server-owned resource version. Never infer its structure from timestamps. · example `"obs-v1.44444444-4444-4444-8444-444444444444.1"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. FindingPhotoDeletionResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "66666666-6666-4666-8666-666666666666",
"observationId": "44444444-4444-4444-8444-444444444444",
"deleted": true,
"deletedAt": "2026-10-26T10:00:00.000Z"
},
"meta": {
"observationVersion": "obs-v1.44444444-4444-4444-8444-444444444444.2"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}/cover
Read a property cover. Operation ID getPropertyCover.
Required capabilities:properties:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. PropertyCoverResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "88888888-8888-4888-8888-888888888888",
"propertyId": "22222222-2222-4222-8222-222222222222",
"width": 1600,
"height": 1200,
"mimeType": "image/webp",
"uploadedAt": "2026-10-26T10:00:00.000Z"
},
"meta": {
"propertyVersion": "prop-v1.22222222-2222-4222-8222-222222222222.1"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"path",
"propertyId"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}/cover/content
Download the full property cover. Operation ID getPropertyCoverContent.
Required capabilities:properties:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 302 | Private no-store redirect to the full rendition for 60 seconds; each admission consumes measured bytes. | — | Cache-ControlX-Request-IdLocation |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"path",
"propertyId"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}DELETE/api/v1/accounts/{accountId}/properties/{propertyId}/cover
Remove a property cover. Operation ID removePropertyCover.
Required capabilities:properties:readproperties:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
expectedVersionrequired | query | string · 1–256 characters · Opaque server-owned resource version. Never infer its structure from timestamps. · example `"prop-v1.22222222-2222-4222-8222-222222222222.1"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. PropertyCoverDeletionResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"propertyId": "22222222-2222-4222-8222-222222222222",
"imageId": "88888888-8888-4888-8888-888888888888",
"deleted": true,
"deletedAt": "2026-10-26T10:00:00.000Z"
},
"meta": {
"propertyVersion": "prop-v1.22222222-2222-4222-8222-222222222222.2"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/persons
List persons. Operation ID listPersons.
Required capabilities:contacts:read
Ordering: updatedAt desc, then id asc.
Incremental sync: changedSince takes initial or prior syncCheckpoint. Send only changedSince, cursor, includeDeleted, pageSize. Only the final page carries syncCheckpoint; intermediate pages carry nextCursor.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
pageIndex | query | integer · 0–1000000 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
search | query | string |
companyId | query | string (uuid) |
sortBy | query | one of `"fullName"`, `"email"`, `"createdAt"`, `"updatedAt"` · default `"updatedAt"` |
sortDirection | query | one of `"asc"`, `"desc"` · default `"desc"` |
changedSince | query | string · 1–2048 characters · example `"initial"` |
cursor | query | string · 1–2048 characters |
includeDeleted | query | boolean |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ServedPersonListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [
{
"id": "93900000-0000-4000-8000-000000000010",
"createdAt": "2026-11-07T10:00:00Z",
"updatedAt": "2026-11-07T10:00:00Z",
"version": "person-v1.93900000-0000-4000-8000-000000000010.1",
"fullName": "Kari Nordmann",
"email": "kari@example.test",
"phone": null,
"isMemberBacked": false,
"companies": []
}
],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/persons/{personId}
Read a person. Operation ID getPerson.
Required capabilities:contacts:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
personIdrequired | path | string (uuid) · example `"93900000-0000-4000-8000-000000000010"` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. PersonResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "93900000-0000-4000-8000-000000000010",
"createdAt": "2026-11-07T10:00:00Z",
"updatedAt": "2026-11-07T10:00:00Z",
"version": "person-v1.93900000-0000-4000-8000-000000000010.1",
"fullName": "Kari Nordmann",
"email": "kari@example.test",
"phone": null,
"isMemberBacked": false,
"companies": []
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"path",
"personId"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}POST/api/v1/accounts/{accountId}/persons
Create a person. Operation ID createPerson.
Required capabilities:contacts:readcontacts:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
CreatePerson (see Schemas).
Example request
{
"fullName": "Kari Nordmann",
"email": "kari@example.test",
"phone": null,
"companyIds": []
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 201 | Successful response. PersonResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The key was used for a different command, or the command is still pending. | idempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 201 response
{
"data": {
"id": "93900000-0000-4000-8000-000000000010",
"createdAt": "2026-11-07T10:00:00Z",
"updatedAt": "2026-11-07T10:00:00Z",
"version": "person-v1.93900000-0000-4000-8000-000000000010.1",
"fullName": "Kari Nordmann",
"email": "kari@example.test",
"phone": null,
"isMemberBacked": false,
"companies": []
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"fullName"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:idempotency-conflict",
"title": "Conflict",
"status": 409,
"detail": "The key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "idempotency_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PUT/api/v1/accounts/{accountId}/persons/{personId}
Update a person. Operation ID updatePerson.
Required capabilities:contacts:readcontacts:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
personIdrequired | path | string (uuid) · example `"93900000-0000-4000-8000-000000000010"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
UpdatePerson (see Schemas).
Example request
{
"fullName": "Kari Nordmann",
"email": "kari@example.test",
"phone": null,
"companyIds": [],
"expectedVersion": "person-v1.93900000-0000-4000-8000-000000000010.1",
"confirmPropertyActorCleanup": false
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. PersonResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "93900000-0000-4000-8000-000000000010",
"createdAt": "2026-11-07T10:00:00Z",
"updatedAt": "2026-11-07T10:00:00Z",
"version": "person-v1.93900000-0000-4000-8000-000000000010.1",
"fullName": "Kari Nordmann",
"email": "kari@example.test",
"phone": null,
"isMemberBacked": false,
"companies": []
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}DELETE/api/v1/accounts/{accountId}/persons/{personId}
Remove a person. Operation ID removePerson.
Required capabilities:contacts:readcontacts:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
personIdrequired | path | string (uuid) · example `"93900000-0000-4000-8000-000000000010"` |
expectedVersionrequired | query | string · example `"person-v1.93900000-0000-4000-8000-000000000010.1"` |
confirmPropertyActorCleanup | query | boolean · example `false` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. PersonRemovalResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "93900000-0000-4000-8000-000000000010",
"deleted": true,
"deletedAt": "2026-11-07T10:00:00Z",
"version": "person-v1.93900000-0000-4000-8000-000000000010.2"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/companies
List companies. Operation ID listCompanies.
Required capabilities:contacts:read
Ordering: updatedAt desc, then id asc.
Incremental sync: changedSince takes initial or prior syncCheckpoint. Send only changedSince, cursor, includeDeleted, pageSize. Only the final page carries syncCheckpoint; intermediate pages carry nextCursor.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
pageIndex | query | integer · 0–1000000 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
search | query | string |
sortDirection | query | one of `"asc"`, `"desc"` · default `"desc"` |
sortBy | query | one of `"name"`, `"orgNumber"`, `"sector"`, `"createdAt"`, `"updatedAt"` · default `"updatedAt"` |
changedSince | query | string · 1–2048 characters · example `"initial"` |
cursor | query | string · 1–2048 characters |
includeDeleted | query | boolean |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ServedCompanyListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [
{
"id": "93900000-0000-4000-8000-000000000011",
"createdAt": "2026-11-07T10:00:00Z",
"updatedAt": "2026-11-07T10:00:00Z",
"version": "company-v1.93900000-0000-4000-8000-000000000011.1",
"name": "Example AS",
"orgNumber": "123456789",
"sector": null,
"isSelf": false,
"persons": [],
"activePersonCount": 0
}
],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/companies/{companyId}
Read a company. Operation ID getCompany.
Required capabilities:contacts:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
companyIdrequired | path | string (uuid) · example `"93900000-0000-4000-8000-000000000011"` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. CompanyResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "93900000-0000-4000-8000-000000000011",
"createdAt": "2026-11-07T10:00:00Z",
"updatedAt": "2026-11-07T10:00:00Z",
"version": "company-v1.93900000-0000-4000-8000-000000000011.1",
"name": "Example AS",
"orgNumber": "123456789",
"sector": null,
"isSelf": false,
"persons": [],
"activePersonCount": 0
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"path",
"companyId"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}POST/api/v1/accounts/{accountId}/companies
Create a company. Operation ID createCompany.
Required capabilities:contacts:readcontacts:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
CreateCompany (see Schemas).
Example request
{
"name": "Example AS",
"orgNumber": "123456789",
"sector": null,
"personIds": []
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 201 | Successful response. CompanyResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The key was used for a different command, or the command is still pending. | idempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 201 response
{
"data": {
"id": "93900000-0000-4000-8000-000000000011",
"createdAt": "2026-11-07T10:00:00Z",
"updatedAt": "2026-11-07T10:00:00Z",
"version": "company-v1.93900000-0000-4000-8000-000000000011.1",
"name": "Example AS",
"orgNumber": "123456789",
"sector": null,
"isSelf": false,
"persons": [],
"activePersonCount": 0
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"name"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:idempotency-conflict",
"title": "Conflict",
"status": 409,
"detail": "The key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "idempotency_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PUT/api/v1/accounts/{accountId}/companies/{companyId}
Update a company. Operation ID updateCompany.
Required capabilities:contacts:readcontacts:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
companyIdrequired | path | string (uuid) · example `"93900000-0000-4000-8000-000000000011"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
UpdateCompany (see Schemas).
Example request
{
"name": "Example AS",
"orgNumber": "123456789",
"sector": null,
"personIds": [],
"expectedVersion": "company-v1.93900000-0000-4000-8000-000000000011.1",
"confirmPropertyActorCleanup": false
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. CompanyResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "93900000-0000-4000-8000-000000000011",
"createdAt": "2026-11-07T10:00:00Z",
"updatedAt": "2026-11-07T10:00:00Z",
"version": "company-v1.93900000-0000-4000-8000-000000000011.1",
"name": "Example AS",
"orgNumber": "123456789",
"sector": null,
"isSelf": false,
"persons": [],
"activePersonCount": 0
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}DELETE/api/v1/accounts/{accountId}/companies/{companyId}
Remove a company. Operation ID removeCompany.
Required capabilities:contacts:readcontacts:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
companyIdrequired | path | string (uuid) · example `"93900000-0000-4000-8000-000000000011"` |
expectedVersionrequired | query | string · example `"company-v1.93900000-0000-4000-8000-000000000011.1"` |
confirmPropertyActorCleanup | query | boolean · example `false` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. CompanyRemovalResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "93900000-0000-4000-8000-000000000011",
"deleted": true,
"deletedAt": "2026-11-07T10:00:00Z",
"version": "company-v1.93900000-0000-4000-8000-000000000011.2"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}/roles
Read the complete role set and role catalogue. Operation ID getPropertyRoles.
Required capabilities:contacts:readproperties:read
Incremental sync: changedSince takes initial or prior syncCheckpoint. Send only changedSince, cursor, includeDeleted, pageSize. Only the final page carries syncCheckpoint; intermediate pages carry nextCursor.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
changedSince | query | string · 1–2048 characters · example `"initial"` |
cursor | query | string · 1–2048 characters |
includeDeleted | query | boolean |
pageSize | query | integer · 1–100 · default `25` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ServedPropertyRoleResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [
{
"id": "94000000-0000-4000-8000-000000000010",
"role": "owner",
"personId": "94000000-0000-4000-8000-000000000020",
"actingForCompanyId": null
}
],
"roles": [
{
"role": "owner",
"grantsPropertyAccess": false
},
{
"role": "buyer",
"grantsPropertyAccess": false
},
{
"role": "seller",
"grantsPropertyAccess": false
},
{
"role": "broker",
"grantsPropertyAccess": false
},
{
"role": "insurer",
"grantsPropertyAccess": false
},
{
"role": "property_manager",
"grantsPropertyAccess": false
},
{
"role": "collaborator",
"grantsPropertyAccess": true
}
],
"version": "roles-v1.22222222-2222-4222-8222-222222222222.1"
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"path",
"propertyId"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}POST/api/v1/accounts/{accountId}/properties/{propertyId}/roles
Assign an ordinary property role; access administration is web-only. Operation ID assignPropertyRole.
Required capabilities:contacts:readcontacts:writeproperties:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
PropertyRoleWrite (see Schemas).
Example request
{
"role": "owner",
"personId": "94000000-0000-4000-8000-000000000020",
"actingForCompanyId": null,
"expectedVersion": "roles-v1.22222222-2222-4222-8222-222222222222.1"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 201 | Successful response. PropertyRoleResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 201 response
{
"data": {
"id": "94000000-0000-4000-8000-000000000010",
"role": "owner",
"personId": "94000000-0000-4000-8000-000000000020",
"actingForCompanyId": null
},
"version": "roles-v1.22222222-2222-4222-8222-222222222222.2"
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PUT/api/v1/accounts/{accountId}/properties/{propertyId}/roles/{assignmentId}
Update an ordinary property role; access administration is web-only. Operation ID updatePropertyRole.
Required capabilities:contacts:readcontacts:writeproperties:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
assignmentIdrequired | path | string (uuid) · example `"94000000-0000-4000-8000-000000000010"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
PropertyRoleWrite (see Schemas).
Example request
{
"role": "owner",
"personId": "94000000-0000-4000-8000-000000000020",
"actingForCompanyId": null,
"expectedVersion": "roles-v1.22222222-2222-4222-8222-222222222222.1"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. PropertyRoleResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "94000000-0000-4000-8000-000000000010",
"role": "owner",
"personId": "94000000-0000-4000-8000-000000000020",
"actingForCompanyId": null
},
"version": "roles-v1.22222222-2222-4222-8222-222222222222.2"
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}DELETE/api/v1/accounts/{accountId}/properties/{propertyId}/roles/{assignmentId}
Remove an ordinary property role; access administration is web-only. Operation ID removePropertyRole.
Required capabilities:contacts:readcontacts:writeproperties:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
assignmentIdrequired | path | string (uuid) · example `"94000000-0000-4000-8000-000000000010"` |
expectedVersionrequired | query | string · Opaque version of the complete property role set. Bind to the addressed property; compare under the mutation lock. · example `"roles-v1.22222222-2222-4222-8222-222222222222.1"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. PropertyRoleRemovalResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "94000000-0000-4000-8000-000000000010",
"deleted": true,
"deletedAt": "2026-10-26T10:00:00.000Z"
},
"version": "roles-v1.22222222-2222-4222-8222-222222222222.2"
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}/inspections/create-options
Read the current creator inspector reference and selectable standard checklist versions. Operation ID getInspectionCreateOptions.
Required capabilities:inspections:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. InspectionCreateOptionsResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"inspectors": [
{
"inspectorRef": "inspector-v1.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
],
"checklists": []
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"path",
"propertyId"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}POST/api/v1/accounts/{accountId}/properties/{propertyId}/inspections
Create an inspection with the current creator and one selectable checklist version. Operation ID createPropertyInspection.
Required capabilities:inspections:readinspections:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
CreateInspection (see Schemas).
Example request
{
"inspectorRef": "inspector-v1.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"checklistVersionId": "94100000-0000-4000-8000-000000000003"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 201 | Successful response. InspectionCreationResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The key was used for a different command, or the command is still pending. | idempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 201 response
{
"data": {
"id": "94100000-0000-4000-8000-000000000001",
"propertyId": "22222222-2222-4222-8222-222222222222",
"controlNumber": "INSP-26.001",
"status": "started",
"inspectorRef": "inspector-v1.aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"checklist": {
"id": "94100000-0000-4000-8000-000000000002",
"versionId": "94100000-0000-4000-8000-000000000003",
"version": 2020
},
"answers": {
"answered": 0,
"total": 1
},
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z",
"version": "inspection-v1.94100000-0000-4000-8000-000000000001.3"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"inspectorRef"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:idempotency-conflict",
"title": "Conflict",
"status": 409,
"detail": "The key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "idempotency_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}DELETE/api/v1/accounts/{accountId}/properties/{propertyId}/inspections/{inspectionId}
Soft-delete an inspection with a query version; recovery requires support. Operation ID removePropertyInspection.
Required capabilities:inspections:readinspections:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
inspectionIdrequired | path | string (uuid) · example `"94100000-0000-4000-8000-000000000001"` |
expectedVersionrequired | query | string · 1–256 characters · Opaque server-owned resource version. Never infer its structure from timestamps. · example `"inspection-v1.94100000-0000-4000-8000-000000000001.4"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. InspectionRemovalResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "94100000-0000-4000-8000-000000000001",
"propertyId": "22222222-2222-4222-8222-222222222222",
"deleted": true,
"deletedAt": "2026-10-26T10:00:00.000Z",
"version": "inspection-v1.94100000-0000-4000-8000-000000000001.5"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/inspections
Page internal inspection progress; incremental scans accept scope filters only. Operation ID listAccountInspections.
Required capabilities:inspections:read
Incremental sync: changedSince takes initial or prior syncCheckpoint. Send only changedSince, cursor, includeDeleted, pageSize. Only the final page carries syncCheckpoint; intermediate pages carry nextCursor.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
pageIndex | query | integer · 0–1000000 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
status | query | one of `"started"`, `"completed"`, `"action_required"` · example `"started"` |
changedSince | query | string · 1–2048 characters · example `"initial"` |
cursor | query | string · 1–2048 characters |
includeDeleted | query | boolean |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ServedInspectionListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}/inspections
Page internal inspection progress; incremental scans accept scope filters only. Operation ID listPropertyInspections.
Required capabilities:inspections:read
Incremental sync: changedSince takes initial or prior syncCheckpoint. Send only changedSince, cursor, includeDeleted, pageSize. Only the final page carries syncCheckpoint; intermediate pages carry nextCursor.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
pageIndex | query | integer · 0–1000000 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
status | query | one of `"started"`, `"completed"`, `"action_required"` · example `"started"` |
changedSince | query | string · 1–2048 characters · example `"initial"` |
cursor | query | string · 1–2048 characters |
includeDeleted | query | boolean |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ServedInspectionListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}/inspections/{inspectionId}
Read inspection progress and its immutable locked-checklist reference. Operation ID getPropertyInspection.
Required capabilities:inspections:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
inspectionIdrequired | path | string (uuid) · example `"94100000-0000-4000-8000-000000000001"` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. InspectionResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "94100000-0000-4000-8000-000000000001",
"propertyId": "22222222-2222-4222-8222-222222222222",
"controlNumber": "INSP-26.001",
"status": "started",
"inspectorRef": null,
"checklist": {
"id": "94100000-0000-4000-8000-000000000002",
"versionId": "94100000-0000-4000-8000-000000000003",
"version": 1
},
"answers": {
"answered": 0,
"total": 1
},
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z",
"version": "inspection-v1.94100000-0000-4000-8000-000000000001.1"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"path",
"inspectionId"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}/inspections/{inspectionId}/checklist
Page typed locked-definition and answer entries; restart when inspection version changes. Operation ID listInspectionChecklist.
Required capabilities:inspections:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
inspectionIdrequired | path | string (uuid) · example `"94100000-0000-4000-8000-000000000001"` |
pageIndex | query | integer · 0–1000000 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. InspectionChecklistResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false
},
"version": "inspection-v1.94100000-0000-4000-8000-000000000001.1",
"checklistVersionId": "94100000-0000-4000-8000-000000000003"
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PUT/api/v1/accounts/{accountId}/properties/{propertyId}/inspections/{inspectionId}/checklist/questions/{questionId}/answer
Set a locked question answer with a current per-question version. Operation ID setInspectionAnswer.
Required capabilities:inspections:readinspections:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
inspectionIdrequired | path | string (uuid) · example `"94300000-0000-4000-8000-000000000001"` |
questionIdrequired | path | string (uuid) · example `"94300000-0000-4000-8000-000000000002"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
SetInspectionAnswer (see Schemas).
Example request
{
"kind": "text",
"text": "Inspection answer",
"expectedVersion": "answer-v1.94300000-0000-4000-8000-000000000001.94300000-0000-4000-8000-000000000002.1"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. InspectionAnswerResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"kind": "answer",
"questionId": "94300000-0000-4000-8000-000000000002",
"inspectionId": "94300000-0000-4000-8000-000000000001",
"optionId": null,
"text": "Inspection answer",
"comment": null,
"version": "answer-v1.94300000-0000-4000-8000-000000000001.94300000-0000-4000-8000-000000000002.2",
"inspectionVersion": "inspection-v1.94300000-0000-4000-8000-000000000001.2"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PATCH/api/v1/accounts/{accountId}/properties/{propertyId}/inspections/{inspectionId}/checklist/questions/{questionId}/answer/comment
Set a locked question annotation with a current per-question version. Operation ID setInspectionAnswerComment.
Required capabilities:inspections:readinspections:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
inspectionIdrequired | path | string (uuid) · example `"94300000-0000-4000-8000-000000000001"` |
questionIdrequired | path | string (uuid) · example `"94300000-0000-4000-8000-000000000002"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
SetInspectionAnswerComment (see Schemas).
Example request
{
"comment": "Additional context",
"expectedVersion": "answer-v1.94300000-0000-4000-8000-000000000001.94300000-0000-4000-8000-000000000002.1"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. InspectionAnswerResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"kind": "answer",
"questionId": "94300000-0000-4000-8000-000000000002",
"inspectionId": "94300000-0000-4000-8000-000000000001",
"optionId": null,
"text": null,
"comment": "Additional context",
"version": "answer-v1.94300000-0000-4000-8000-000000000001.94300000-0000-4000-8000-000000000002.2",
"inspectionVersion": "inspection-v1.94300000-0000-4000-8000-000000000001.2"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}DELETE/api/v1/accounts/{accountId}/properties/{propertyId}/inspections/{inspectionId}/checklist/questions/{questionId}/answer
Clear an answer while preserving findings and option comments. Operation ID clearInspectionAnswer.
Required capabilities:inspections:readinspections:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
inspectionIdrequired | path | string (uuid) · example `"94300000-0000-4000-8000-000000000001"` |
questionIdrequired | path | string (uuid) · example `"94300000-0000-4000-8000-000000000002"` |
expectedVersionrequired | query | string · 1–256 characters · Opaque server-owned resource version. Never infer its structure from timestamps. · example `"answer-v1.94300000-0000-4000-8000-000000000001.94300000-0000-4000-8000-000000000002.1"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. InspectionAnswerResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"kind": "answer",
"questionId": "94300000-0000-4000-8000-000000000002",
"inspectionId": "94300000-0000-4000-8000-000000000001",
"optionId": null,
"text": null,
"comment": null,
"version": "answer-v1.94300000-0000-4000-8000-000000000001.94300000-0000-4000-8000-000000000002.2",
"inspectionVersion": "inspection-v1.94300000-0000-4000-8000-000000000001.2"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}POST/api/v1/accounts/{accountId}/properties/{propertyId}/inspections/{inspectionId}/checklist/questions/{questionId}/observations
Create a numbered checklist finding through the canonical inspection operation. Operation ID createInspectionObservation.
Required capabilities:properties:readinspections:readinspections:writeobservations:readobservations:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
inspectionIdrequired | path | string (uuid) · example `"94400000-0000-4000-8000-000000000001"` |
questionIdrequired | path | string (uuid) · example `"94400000-0000-4000-8000-000000000002"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
CreateInspectionObservation (see Schemas).
Example request
{
"optionId": "94400000-0000-4000-8000-000000000004",
"placementId": "94400000-0000-4000-8000-000000000005",
"controlPoint": "Circuit",
"title": "Observed defect",
"description": "Insulation is damaged.",
"tgGrade": "TG2",
"extensionValues": null,
"expectedVersion": "answer-v1.94400000-0000-4000-8000-000000000001.94400000-0000-4000-8000-000000000002.1"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 201 | Successful response. InspectionObservationCreatedResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 201 response
{
"data": {
"answer": {
"kind": "answer",
"questionId": "94400000-0000-4000-8000-000000000002",
"optionId": null,
"text": null,
"comment": null,
"version": "answer-v1.94400000-0000-4000-8000-000000000001.94400000-0000-4000-8000-000000000002.2",
"inspectionId": "94400000-0000-4000-8000-000000000001",
"inspectionVersion": "inspection-v1.94400000-0000-4000-8000-000000000001.2"
},
"observation": {
"id": "94400000-0000-4000-8000-000000000003",
"placementId": "94400000-0000-4000-8000-000000000005",
"sequenceYear": 2026,
"sequenceNumber": 1
},
"link": {
"id": "94400000-0000-4000-8000-000000000006",
"answerOptionId": "94400000-0000-4000-8000-000000000004",
"observationId": "94400000-0000-4000-8000-000000000003"
}
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}POST/api/v1/accounts/{accountId}/properties/{propertyId}/inspections/{inspectionId}/checklist/questions/{questionId}/observations/link
Add existing same-property findings to a locked observation option. Operation ID linkInspectionObservations.
Required capabilities:properties:readinspections:readinspections:writeobservations:readobservations:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
inspectionIdrequired | path | string (uuid) · example `"94400000-0000-4000-8000-000000000001"` |
questionIdrequired | path | string (uuid) · example `"94400000-0000-4000-8000-000000000002"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
LinkInspectionObservations (see Schemas).
Example request
{
"optionId": "94400000-0000-4000-8000-000000000004",
"observationIds": [
"94400000-0000-4000-8000-000000000003"
],
"expectedVersion": "answer-v1.94400000-0000-4000-8000-000000000001.94400000-0000-4000-8000-000000000002.1"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. InspectionObservationsLinkedResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"answer": {
"kind": "answer",
"questionId": "94400000-0000-4000-8000-000000000002",
"optionId": null,
"text": null,
"comment": null,
"version": "answer-v1.94400000-0000-4000-8000-000000000001.94400000-0000-4000-8000-000000000002.2",
"inspectionId": "94400000-0000-4000-8000-000000000001",
"inspectionVersion": "inspection-v1.94400000-0000-4000-8000-000000000001.2"
},
"links": [
{
"id": "94400000-0000-4000-8000-000000000006",
"answerOptionId": "94400000-0000-4000-8000-000000000004",
"observationId": "94400000-0000-4000-8000-000000000003"
}
]
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}DELETE/api/v1/accounts/{accountId}/properties/{propertyId}/inspections/{inspectionId}/checklist/questions/{questionId}/observations/{observationId}
Unlink a retained finding without deleting it. Operation ID unlinkInspectionObservation.
Required capabilities:properties:readinspections:readinspections:writeobservations:readobservations:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
inspectionIdrequired | path | string (uuid) · example `"94400000-0000-4000-8000-000000000001"` |
questionIdrequired | path | string (uuid) · example `"94400000-0000-4000-8000-000000000002"` |
observationIdrequired | path | string (uuid) · example `"94400000-0000-4000-8000-000000000003"` |
expectedVersionrequired | query | string · 1–256 characters · Opaque server-owned resource version. Never infer its structure from timestamps. · example `"answer-v1.94400000-0000-4000-8000-000000000001.94400000-0000-4000-8000-000000000002.1"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. InspectionObservationUnlinkedResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"answer": {
"kind": "answer",
"questionId": "94400000-0000-4000-8000-000000000002",
"optionId": null,
"text": null,
"comment": null,
"version": "answer-v1.94400000-0000-4000-8000-000000000001.94400000-0000-4000-8000-000000000002.2",
"inspectionId": "94400000-0000-4000-8000-000000000001",
"inspectionVersion": "inspection-v1.94400000-0000-4000-8000-000000000001.2"
},
"observationId": "94400000-0000-4000-8000-000000000003",
"unlinked": true
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}POST/api/v1/accounts/{accountId}/properties/{propertyId}/inspections/{inspectionId}/completion
Complete an inspection or return committed safe readiness blockers. Operation ID completePropertyInspection.
Required capabilities:inspections:readinspections:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
inspectionIdrequired | path | string (uuid) · example `"94400000-0000-4000-8000-000000000001"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
CompletePropertyInspection (see Schemas).
Example request
{
"expectedVersion": "inspection-v1.94400000-0000-4000-8000-000000000001.1"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. InspectionCompletionResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"inspection": {
"id": "94400000-0000-4000-8000-000000000001",
"propertyId": "22222222-2222-4222-8222-222222222222",
"controlNumber": "INSP-26.001",
"status": "completed",
"inspectorRef": null,
"checklist": {
"id": "94400000-0000-4000-8000-000000000007",
"versionId": "94400000-0000-4000-8000-000000000008",
"version": 2023
},
"answers": {
"answered": 36,
"total": 36
},
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z",
"version": "inspection-v1.94400000-0000-4000-8000-000000000001.2"
},
"completion": {
"outcome": "completed",
"issues": [],
"issueCount": 0,
"hasMore": false
}
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}/documents
List authorized property document metadata. Operation ID listPropertyDocuments.
Required capabilities:documents:read
Incremental sync: changedSince takes initial or prior syncCheckpoint. Send only changedSince, cursor, includeDeleted, pageSize. Only the final page carries syncCheckpoint; intermediate pages carry nextCursor.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
pageIndex | query | integer · 0–1000000 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
documentType | query | one of `"sales_prospectus"`, `"appraisal_report"`, `"declaration_of_conformity"`, `"previous_electrical_inspection_report"`, `"electrical_documentation"`, `"floor_plan"`, `"other"` |
search | query | string |
changedSince | query | string · 1–2048 characters · example `"initial"` |
cursor | query | string · 1–2048 characters |
includeDeleted | query | boolean |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ServedDocumentListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}/documents/{documentId}/content
Download one authorized property document. Operation ID getPropertyDocumentContent.
Required capabilities:documents:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
documentIdrequired | path | string (uuid) · example `"94500000-0000-4000-8000-000000000003"` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 302 | A private, no-store redirect valid for 60 seconds. Every admitted link, including retries, consumes its measured byte budget. | — | Cache-ControlX-Request-IdLocation |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"path",
"documentId"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PATCH/api/v1/accounts/{accountId}/properties/{propertyId}/documents/{documentId}
Rename or reclassify a property document. Operation ID updatePropertyDocumentMetadata.
Required capabilities:documents:readdocuments:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
documentIdrequired | path | string (uuid) · example `"94600000-0000-4000-8000-000000000003"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
UpdatePropertyDocumentMetadata (see Schemas).
Example request
{
"expectedVersion": "document-v1.94600000-0000-4000-8000-000000000003.1",
"filename": "report.pdf",
"documentType": "floor_plan"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. DocumentResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "94600000-0000-4000-8000-000000000003",
"propertyId": "22222222-2222-4222-8222-222222222222",
"filename": "report.pdf",
"documentType": "floor_plan",
"pageCount": null,
"sizeBytes": 100,
"mimeType": "application/pdf",
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z",
"version": "document-v1.94600000-0000-4000-8000-000000000003.2"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}DELETE/api/v1/accounts/{accountId}/properties/{propertyId}/documents/{documentId}
Soft-delete a property document; recovery requires support. Operation ID removePropertyDocument.
Required capabilities:documents:readdocuments:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
documentIdrequired | path | string (uuid) · example `"94600000-0000-4000-8000-000000000003"` |
expectedVersionrequired | query | string · 1–256 characters · Opaque server-owned resource version. Never infer its structure from timestamps. · example `"document-v1.94600000-0000-4000-8000-000000000003.1"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. DocumentRemovalResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "94600000-0000-4000-8000-000000000003",
"propertyId": "22222222-2222-4222-8222-222222222222",
"deleted": true,
"deletedAt": "2026-10-26T10:00:00.000Z",
"version": "document-v1.94600000-0000-4000-8000-000000000003.2"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/reports
List authorized account report metadata. Operation ID listAccountReports.
Required capabilities:reports:read
Incremental sync: changedSince takes initial or prior syncCheckpoint. Send only changedSince, cursor, includeDeleted, pageSize. Only the final page carries syncCheckpoint; intermediate pages carry nextCursor.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
pageIndex | query | integer · 0–1000000 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
search | query | string |
changedSince | query | string · 1–2048 characters · example `"initial"` |
cursor | query | string · 1–2048 characters |
includeDeleted | query | boolean |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ServedReportListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/properties/{propertyId}/reports
List authorized property report metadata. Operation ID listPropertyReports.
Required capabilities:reports:read
Incremental sync: changedSince takes initial or prior syncCheckpoint. Send only changedSince, cursor, includeDeleted, pageSize. Only the final page carries syncCheckpoint; intermediate pages carry nextCursor.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
propertyIdrequired | path | string (uuid) · example `"22222222-2222-4222-8222-222222222222"` |
pageIndex | query | integer · 0–1000000 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
search | query | string |
changedSince | query | string · 1–2048 characters · example `"initial"` |
cursor | query | string · 1–2048 characters |
includeDeleted | query | boolean |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ServedReportListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [
{
"id": "94700000-0000-4000-8000-000000000001",
"propertyId": "22222222-2222-4222-8222-222222222222",
"inspectorPersonId": "94700000-0000-4000-8000-000000000002",
"reportTemplateVersionId": null,
"reportType": null,
"name": "Kontrollrapport",
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z"
}
],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/reports/{reportId}/pdfs
List generated PDF versions and pending or failed status. Operation ID listReportPdfGenerations.
Required capabilities:reports:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
reportIdrequired | path | string (uuid) · example `"94700000-0000-4000-8000-000000000001"` |
pageIndex | query | integer · 0–1000000 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ReportPdfListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [
{
"id": "94700000-0000-4000-8000-000000000003",
"reportId": "94700000-0000-4000-8000-000000000001",
"revisionNumber": 123,
"versionLabel": "v123",
"status": "succeeded",
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z",
"capturedAt": "2026-10-26T10:00:00.000Z",
"downloadable": true
}
],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/reports/{reportId}/pdfs/{generationId}/content
Download an existing completed report PDF. Operation ID getReportPdfContent.
Required capabilities:reports:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
reportIdrequired | path | string (uuid) · example `"94700000-0000-4000-8000-000000000001"` |
generationIdrequired | path | string (uuid) · example `"94700000-0000-4000-8000-000000000003"` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 302 | A private, no-store redirect valid for 60 seconds to an existing immutable PDF. Each admitted link consumes the measured byte budget. Pending or failed generations are not downloadable. | — | Cache-ControlX-Request-IdLocation |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"path",
"generationId"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/inspection-tools
Read team measuring equipment. Operation ID listInspectionTools.
Required capabilities:inspection-tools:read
Ordering: updatedAt desc, then id desc.
Incremental sync: changedSince takes initial or prior syncCheckpoint. Send only changedSince, cursor, includeDeleted, pageSize. Only the final page carries syncCheckpoint; intermediate pages carry nextCursor.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
pageIndex | query | integer · 0–1000000 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
search | query | string |
changedSince | query | string · 1–2048 characters · example `"initial"` |
cursor | query | string · 1–2048 characters |
includeDeleted | query | boolean |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ServedInspectionToolListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [
{
"id": "94800000-0000-4000-8000-000000000001",
"name": "Meter",
"manufacturer": "Acme",
"model": "M1",
"serialNumber": null,
"lastCalibrationAt": null,
"nextCalibrationAt": null,
"nextCalibrationIsManual": false,
"calibrationStatus": "not_set",
"version": "tool-v1.94800000-0000-4000-8000-000000000001.1",
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z"
}
],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}POST/api/v1/accounts/{accountId}/inspection-tools
Create measuring equipment with advisory duplicate warnings. Operation ID createInspectionTool.
Required capabilities:inspection-tools:readinspection-tools:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
CreateInspectionTool (see Schemas).
Example request
{
"name": "Meter",
"manufacturer": "Acme",
"model": "M1",
"serialNumber": null,
"lastCalibrationAt": null,
"nextCalibrationAt": null,
"nextCalibrationIsManual": false
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 201 | Successful response. InspectionToolResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The key was used for a different command, or the command is still pending. | idempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 201 response
{
"data": {
"id": "94800000-0000-4000-8000-000000000001",
"name": "Meter",
"manufacturer": "Acme",
"model": "M1",
"serialNumber": null,
"lastCalibrationAt": null,
"nextCalibrationAt": null,
"nextCalibrationIsManual": false,
"calibrationStatus": "not_set",
"version": "tool-v1.94800000-0000-4000-8000-000000000001.1",
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z"
},
"serialWarning": null
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"name"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:idempotency-conflict",
"title": "Conflict",
"status": 409,
"detail": "The key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "idempotency_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PATCH/api/v1/accounts/{accountId}/inspection-tools/{toolId}
Replace measuring-equipment metadata under its current version. Operation ID updateInspectionTool.
Required capabilities:inspection-tools:readinspection-tools:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
toolIdrequired | path | string (uuid) · example `"94800000-0000-4000-8000-000000000001"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
UpdateInspectionTool (see Schemas).
Example request
{
"name": "Meter",
"manufacturer": "Acme",
"model": "M1",
"serialNumber": null,
"lastCalibrationAt": null,
"nextCalibrationAt": null,
"nextCalibrationIsManual": false,
"expectedVersion": "tool-v1.94800000-0000-4000-8000-000000000001.1"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. InspectionToolResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "94800000-0000-4000-8000-000000000001",
"name": "Meter",
"manufacturer": "Acme",
"model": "M1",
"serialNumber": null,
"lastCalibrationAt": null,
"nextCalibrationAt": null,
"nextCalibrationIsManual": false,
"calibrationStatus": "not_set",
"version": "tool-v1.94800000-0000-4000-8000-000000000001.2",
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z"
},
"serialWarning": null
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}DELETE/api/v1/accounts/{accountId}/inspection-tools/{toolId}
Soft-delete measuring equipment; recovery requires support. Operation ID removeInspectionTool.
Required capabilities:inspection-tools:readinspection-tools:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
toolIdrequired | path | string (uuid) · example `"94800000-0000-4000-8000-000000000001"` |
expectedVersionrequired | query | string · 1–256 characters · Opaque server-owned resource version. Never infer its structure from timestamps. · example `"tool-v1.94800000-0000-4000-8000-000000000001.1"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. InspectionToolRemovalResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "94800000-0000-4000-8000-000000000001",
"deleted": true,
"deletedAt": "2026-10-26T10:00:00.000Z",
"version": "tool-v1.94800000-0000-4000-8000-000000000001.2"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/certificates
List own, eligible member or archived certificate metadata. Operation ID listCertificates.
Required capabilities:certificates:read
Ordering: updatedAt desc, then id desc.
Incremental sync: changedSince takes initial or prior syncCheckpoint. Send only changedSince, cursor, includeDeleted, pageSize. Only the final page carries syncCheckpoint; intermediate pages carry nextCursor.
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
pageIndex | query | integer · 0–1000000 · default `0` · example `0` |
pageSize | query | integer · 1–100 · default `25` · example `25` |
view | query | one of `"mine"`, `"all"`, `"archived"` · default `"mine"` · example `"mine"` |
search | query | string |
changedSince | query | string · 1–2048 characters · example `"initial"` |
cursor | query | string · 1–2048 characters |
includeDeleted | query | boolean |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. ServedCertificateListResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": [
{
"id": "94900000-0000-4000-8000-000000000001",
"holderPersonId": "94900000-0000-4000-8000-000000000002",
"holderName": "Inspector",
"name": "NEK405",
"standard": "NEK405-2",
"issuingBody": "Issuer",
"identifier": "A1",
"issuedAt": "2025-01-01",
"validUntil": "2027-01-01",
"archivedAt": null,
"status": "active",
"version": "cert-v1.94900000-0000-4000-8000-000000000001.1",
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z"
}
],
"meta": {
"pageIndex": 0,
"pageSize": 25,
"hasMore": false
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"pageSize"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/certificates/{certificateId}
Read eligible certificate metadata without cover access. Operation ID getCertificate.
Required capabilities:certificates:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
certificateIdrequired | path | string (uuid) · example `"94900000-0000-4000-8000-000000000001"` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. CertificateResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "94900000-0000-4000-8000-000000000001",
"holderPersonId": "94900000-0000-4000-8000-000000000002",
"holderName": "Inspector",
"name": "NEK405",
"standard": "NEK405-2",
"issuingBody": "Issuer",
"identifier": "A1",
"issuedAt": "2025-01-01",
"validUntil": "2027-01-01",
"archivedAt": null,
"status": "active",
"version": "cert-v1.94900000-0000-4000-8000-000000000001.1",
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"path",
"certificateId"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}PATCH/api/v1/accounts/{accountId}/certificates/{certificateId}
Replace certificate metadata with an exact version. Operation ID updateCertificate.
Required capabilities:certificates:readcertificates:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
certificateIdrequired | path | string (uuid) · example `"94900000-0000-4000-8000-000000000001"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
UpdateCertificate (see Schemas).
Example request
{
"expectedVersion": "cert-v1.94900000-0000-4000-8000-000000000001.1",
"name": "NEK405",
"standard": "NEK405-2",
"issuingBody": "Issuer",
"identifier": "A1",
"issuedAt": "2025-01-01",
"validUntil": "2027-01-01"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. CertificateResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "94900000-0000-4000-8000-000000000001",
"holderPersonId": "94900000-0000-4000-8000-000000000002",
"holderName": "Inspector",
"name": "NEK405",
"standard": "NEK405-2",
"issuingBody": "Issuer",
"identifier": "A1",
"issuedAt": "2025-01-01",
"validUntil": "2027-01-01",
"archivedAt": null,
"status": "active",
"version": "cert-v1.94900000-0000-4000-8000-000000000001.2",
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}POST/api/v1/accounts/{accountId}/certificates/{certificateId}/archive
Archive an active or expired certificate. Operation ID archiveCertificate.
Required capabilities:certificates:readcertificates:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
certificateIdrequired | path | string (uuid) · example `"94900000-0000-4000-8000-000000000001"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
CertificateLifecycleCommand (see Schemas).
Example request
{
"expectedVersion": "cert-v1.94900000-0000-4000-8000-000000000001.1"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. CertificateResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "94900000-0000-4000-8000-000000000001",
"holderPersonId": "94900000-0000-4000-8000-000000000002",
"holderName": "Inspector",
"name": "NEK405",
"standard": "NEK405-2",
"issuingBody": "Issuer",
"identifier": "A1",
"issuedAt": "2025-01-01",
"validUntil": "2027-01-01",
"archivedAt": "2026-10-26T10:00:00.000Z",
"status": "archived",
"version": "cert-v1.94900000-0000-4000-8000-000000000001.2",
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}POST/api/v1/accounts/{accountId}/certificates/{certificateId}/unarchive
Unarchive a retained non-deleted certificate. Operation ID unarchiveCertificate.
Required capabilities:certificates:readcertificates:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
certificateIdrequired | path | string (uuid) · example `"94900000-0000-4000-8000-000000000001"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Request body
CertificateLifecycleCommand (see Schemas).
Example request
{
"expectedVersion": "cert-v1.94900000-0000-4000-8000-000000000001.1"
}Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. CertificateResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 413 | The JSON body exceeds 256 KiB. | payload_too_large | Cache-ControlX-Request-Id |
| 415 | The request body must use application/json. | unsupported_media_type | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "94900000-0000-4000-8000-000000000001",
"holderPersonId": "94900000-0000-4000-8000-000000000002",
"holderName": "Inspector",
"name": "NEK405",
"standard": "NEK405-2",
"issuingBody": "Issuer",
"identifier": "A1",
"issuedAt": "2025-01-01",
"validUntil": "2027-01-01",
"archivedAt": null,
"status": "active",
"version": "cert-v1.94900000-0000-4000-8000-000000000001.2",
"createdAt": "2026-10-26T10:00:00.000Z",
"updatedAt": "2026-10-26T10:00:00.000Z"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"body",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 413 response
{
"type": "urn:elta:problem:payload-too-large",
"title": "Payload too large",
"status": 413,
"detail": "The JSON body exceeds 256 KiB.",
"instance": "/requests/request-example-1",
"code": "payload_too_large",
"requestId": "request-example-1"
}Example 415 response
{
"type": "urn:elta:problem:unsupported-media-type",
"title": "Unsupported media type",
"status": 415,
"detail": "The request body must use application/json.",
"instance": "/requests/request-example-1",
"code": "unsupported_media_type",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}DELETE/api/v1/accounts/{accountId}/certificates/{certificateId}
Soft-delete an archived certificate; recovery requires support. Operation ID removeCertificate.
Required capabilities:certificates:readcertificates:write
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
certificateIdrequired | path | string (uuid) · example `"94900000-0000-4000-8000-000000000001"` |
expectedVersionrequired | query | string · 1–256 characters · Opaque server-owned resource version. Never infer its structure from timestamps. · example `"cert-v1.94900000-0000-4000-8000-000000000001.1"` |
Idempotency-Keyrequired | header | string · 1–255 characters · Opaque caller-generated retry key; retained completed outcomes for at least 24 hours. · example `"9c2df7e8-b8aa-4c95-a1ac-38eb256435f4"` |
Idempotency: required; keys are scoped to account, actor, token, operation. The fingerprint covers apiMajorVersion, operationCommandVersion, operation, URL account/property/resource IDs, normalized validated command, preconditions.
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 200 | Successful response. CertificateRemovalResponse | — | Cache-ControlX-Request-Id |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 409 | The version is stale, the key was used for a different command, or the command is still pending. | version_conflictidempotency_conflictidempotency_pending | Cache-ControlX-Request-IdRetry-After |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 200 response
{
"data": {
"id": "94900000-0000-4000-8000-000000000001",
"deleted": true,
"deletedAt": "2026-10-26T10:00:00.000Z",
"version": "cert-v1.94900000-0000-4000-8000-000000000001.2"
}
}Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"query",
"expectedVersion"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 409 response
{
"type": "urn:elta:problem:version-conflict",
"title": "Conflict",
"status": 409,
"detail": "The version is stale, the key was used for a different command, or the command is still pending.",
"instance": "/requests/request-example-1",
"code": "version_conflict",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}GET/api/v1/accounts/{accountId}/certificates/{certificateId}/cover/content
Download the own or managed A4 certificate cover. Operation ID getCertificateCoverContent.
Required capabilities:certificates:read
Parameters
| Name | In | Schema |
|---|---|---|
accountIdrequired | path | string (uuid) · example `"11111111-1111-4111-8111-111111111111"` |
certificateIdrequired | path | string (uuid) · example `"94900000-0000-4000-8000-000000000001"` |
Responses
| Status | Meaning | Codes | Headers |
|---|---|---|---|
| 302 | Private no-store60-second redirect to the normalized WebP master. Another member’s visible metadata does not grant cover access. Each admitted link consumes the measured byte budget. | — | Cache-ControlX-Request-IdLocation |
| 400 | The request is malformed or invalid. | invalid_request | Cache-ControlX-Request-Id |
| 401 | A valid opaque Bearer token is required. | unauthenticated | Cache-ControlX-Request-IdWWW-Authenticate |
| 403 | The current principal lacks the required capability or account lifecycle access. | forbidden | Cache-ControlX-Request-Id |
| 404 | The requested resource was not found. Missing and foreign resources have the same response. | not_found | Cache-ControlX-Request-Id |
| 429 | The request quota has been exhausted. | rate_limited | Cache-ControlX-Request-IdRetry-After |
| 500 | An unexpected error occurred. | internal_error | Cache-ControlX-Request-Id |
| 503 | A required dependency is unavailable. | dependency_unavailable | Cache-ControlX-Request-IdRetry-After |
Example 400 response
{
"type": "urn:elta:problem:invalid-request",
"title": "Invalid request",
"status": 400,
"detail": "The request is malformed or invalid.",
"instance": "/requests/request-example-1",
"code": "invalid_request",
"requestId": "request-example-1",
"errors": [
{
"path": [
"path",
"certificateId"
],
"code": "invalid",
"message": "This field is missing or invalid."
}
]
}Example 401 response
{
"type": "urn:elta:problem:unauthenticated",
"title": "Unauthorized",
"status": 401,
"detail": "A valid opaque Bearer token is required.",
"instance": "/requests/request-example-1",
"code": "unauthenticated",
"requestId": "request-example-1"
}Example 403 response
{
"type": "urn:elta:problem:forbidden",
"title": "Forbidden",
"status": 403,
"detail": "The current principal lacks the required capability or account lifecycle access.",
"instance": "/requests/request-example-1",
"code": "forbidden",
"requestId": "request-example-1"
}Example 404 response
{
"type": "urn:elta:problem:not-found",
"title": "Not found",
"status": 404,
"detail": "The requested resource was not found. Missing and foreign resources have the same response.",
"instance": "/requests/request-example-1",
"code": "not_found",
"requestId": "request-example-1"
}Example 429 response
{
"type": "urn:elta:problem:rate-limited",
"title": "Too many requests",
"status": 429,
"detail": "The request quota has been exhausted.",
"instance": "/requests/request-example-1",
"code": "rate_limited",
"requestId": "request-example-1"
}Example 500 response
{
"type": "urn:elta:problem:internal-error",
"title": "Internal server error",
"status": 500,
"detail": "An unexpected error occurred.",
"instance": "/requests/request-example-1",
"code": "internal_error",
"requestId": "request-example-1"
}Example 503 response
{
"type": "urn:elta:problem:dependency-unavailable",
"title": "Service unavailable",
"status": 503,
"detail": "A required dependency is unavailable.",
"instance": "/requests/request-example-1",
"code": "dependency_unavailable",
"requestId": "request-example-1"
}Errors
Failures use application/problem+json (RFC 9457) with a stable code and a requestId. Key on code; field errors list a path.
| Status | Codes |
|---|---|
| 400 | invalid_request |
| 401 | unauthenticated |
| 403 | forbidden |
| 404 | not_found |
| 409 | idempotency_conflictidempotency_pendingversion_conflict |
| 413 | payload_too_large |
| 415 | unsupported_media_type |
| 429 | rate_limited |
| 500 | internal_error |
| 503 | dependency_unavailable |
Schemas
JSON Schema 2020-12, exactly as published in the OpenAPI. Clients should ignore unknown response fields and tolerate new enum values.
Certificate
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"holderPersonId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"holderName": {
"type": "string",
"minLength": 1
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"standard": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
{
"type": "null"
}
]
},
"issuingBody": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"identifier": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"issuedAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through9999"
},
{
"type": "null"
}
]
},
"validUntil": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through9999"
},
{
"type": "null"
}
]
},
"archivedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"active",
"expired",
"archived"
]
},
"version": {
"type": "string",
"pattern": "^cert-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "certificate UUID, positive signed-bigint revision; opaque to callers"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"holderPersonId",
"holderName",
"name",
"standard",
"issuingBody",
"identifier",
"issuedAt",
"validUntil",
"archivedAt",
"status",
"version",
"createdAt",
"updatedAt"
],
"additionalProperties": false,
"x-version-target": "version belongs to this id",
"x-certificate-calendar": "Europe/Oslo; archived takes precedence, validUntil before today is expired"
}CertificateVersion
{
"type": "string",
"pattern": "^cert-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "certificate UUID, positive signed-bigint revision; opaque to callers"
}CertificatePath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"certificateId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId",
"certificateId"
],
"additionalProperties": false
}CertificateQuery
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"view": {
"default": "mine",
"type": "string",
"enum": [
"mine",
"all",
"archived"
]
},
"search": {
"type": "string",
"x-normalization": "trim",
"x-normalized-maxLength": 200,
"x-length-unit": "Unicode code points"
}
},
"additionalProperties": false
}UpdateCertificate
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"standard": {
"type": [
"string",
"null"
]
},
"issuingBody": {
"type": "string"
},
"identifier": {
"type": "string"
},
"issuedAt": {
"type": [
"string",
"null"
]
},
"validUntil": {
"type": [
"string",
"null"
]
},
"expectedVersion": {
"type": "string",
"pattern": "^cert-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "certificate UUID, positive signed-bigint revision; opaque to callers"
}
},
"required": [
"name",
"issuingBody",
"identifier",
"expectedVersion"
],
"additionalProperties": false,
"x-normalization": "NFKC, whitespace collapse and trim; optional empty dates/text become null",
"x-normalized-length-unit": "UTF-16 code units",
"x-normalized-field-limits": {
"name": 200,
"standard": 200,
"issuingBody": 200,
"identifier": 120
},
"x-date-order": "validUntil >= issuedAt; YYYY-MM-DD years0001..9999"
}CertificateLifecycleCommand
{
"type": "object",
"properties": {
"expectedVersion": {
"type": "string",
"pattern": "^cert-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "certificate UUID, positive signed-bigint revision; opaque to callers"
}
},
"required": [
"expectedVersion"
],
"additionalProperties": false
}CertificateResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"holderPersonId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"holderName": {
"type": "string",
"minLength": 1
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"standard": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
{
"type": "null"
}
]
},
"issuingBody": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"identifier": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"issuedAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through9999"
},
{
"type": "null"
}
]
},
"validUntil": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through9999"
},
{
"type": "null"
}
]
},
"archivedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"active",
"expired",
"archived"
]
},
"version": {
"type": "string",
"pattern": "^cert-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "certificate UUID, positive signed-bigint revision; opaque to callers"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"holderPersonId",
"holderName",
"name",
"standard",
"issuingBody",
"identifier",
"issuedAt",
"validUntil",
"archivedAt",
"status",
"version",
"createdAt",
"updatedAt"
],
"additionalProperties": false,
"x-version-target": "version belongs to this id",
"x-certificate-calendar": "Europe/Oslo; archived takes precedence, validUntil before today is expired"
}
},
"required": [
"data"
],
"additionalProperties": false
}CertificateRemovalResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"version": {
"type": "string",
"pattern": "^cert-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "certificate UUID, positive signed-bigint revision; opaque to callers"
}
},
"required": [
"id",
"deleted",
"deletedAt",
"version"
],
"additionalProperties": false,
"x-version-target": "version belongs to this id"
}
},
"required": [
"data"
],
"additionalProperties": false
}CertificateListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"holderPersonId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"holderName": {
"type": "string",
"minLength": 1
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"standard": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
{
"type": "null"
}
]
},
"issuingBody": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"identifier": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"issuedAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through9999"
},
{
"type": "null"
}
]
},
"validUntil": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through9999"
},
{
"type": "null"
}
]
},
"archivedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"active",
"expired",
"archived"
]
},
"version": {
"type": "string",
"pattern": "^cert-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "certificate UUID, positive signed-bigint revision; opaque to callers"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"holderPersonId",
"holderName",
"name",
"standard",
"issuingBody",
"identifier",
"issuedAt",
"validUntil",
"archivedAt",
"status",
"version",
"createdAt",
"updatedAt"
],
"additionalProperties": false,
"x-version-target": "version belongs to this id",
"x-certificate-calendar": "Europe/Oslo; archived takes precedence, validUntil before today is expired"
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
}CertificateSyncResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"holderPersonId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"holderName": {
"type": "string",
"minLength": 1
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"standard": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
{
"type": "null"
}
]
},
"issuingBody": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"identifier": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"issuedAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through9999"
},
{
"type": "null"
}
]
},
"validUntil": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through9999"
},
{
"type": "null"
}
]
},
"archivedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"active",
"expired",
"archived"
]
},
"version": {
"type": "string",
"pattern": "^cert-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "certificate UUID, positive signed-bigint revision; opaque to callers"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"holderPersonId",
"holderName",
"name",
"standard",
"issuingBody",
"identifier",
"issuedAt",
"validUntil",
"archivedAt",
"status",
"version",
"createdAt",
"updatedAt"
],
"additionalProperties": false,
"x-version-target": "version belongs to this id",
"x-certificate-calendar": "Europe/Oslo; archived takes precedence, validUntil before today is expired"
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"version": {
"type": "string",
"pattern": "^cert-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "certificate UUID, positive signed-bigint revision; opaque to callers"
}
},
"required": [
"id",
"deleted",
"deletedAt",
"version"
],
"additionalProperties": false,
"x-version-target": "version belongs to this id"
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}ServedCertificateQuery
{
"anyOf": [
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"view": {
"default": "mine",
"type": "string",
"enum": [
"mine",
"all",
"archived"
]
},
"search": {
"type": "string",
"x-normalization": "trim",
"x-normalized-maxLength": 200,
"x-length-unit": "Unicode code points"
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"changedSince": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"includeDeleted": {
"type": "boolean"
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"changedSince"
],
"additionalProperties": false
}
]
}ServedCertificateListResponse
{
"anyOf": [
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"holderPersonId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"holderName": {
"type": "string",
"minLength": 1
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"standard": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
{
"type": "null"
}
]
},
"issuingBody": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"identifier": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"issuedAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through9999"
},
{
"type": "null"
}
]
},
"validUntil": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through9999"
},
{
"type": "null"
}
]
},
"archivedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"active",
"expired",
"archived"
]
},
"version": {
"type": "string",
"pattern": "^cert-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "certificate UUID, positive signed-bigint revision; opaque to callers"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"holderPersonId",
"holderName",
"name",
"standard",
"issuingBody",
"identifier",
"issuedAt",
"validUntil",
"archivedAt",
"status",
"version",
"createdAt",
"updatedAt"
],
"additionalProperties": false,
"x-version-target": "version belongs to this id",
"x-certificate-calendar": "Europe/Oslo; archived takes precedence, validUntil before today is expired"
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
},
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"holderPersonId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"holderName": {
"type": "string",
"minLength": 1
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"standard": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
{
"type": "null"
}
]
},
"issuingBody": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"identifier": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"issuedAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through9999"
},
{
"type": "null"
}
]
},
"validUntil": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through9999"
},
{
"type": "null"
}
]
},
"archivedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"active",
"expired",
"archived"
]
},
"version": {
"type": "string",
"pattern": "^cert-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "certificate UUID, positive signed-bigint revision; opaque to callers"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"holderPersonId",
"holderName",
"name",
"standard",
"issuingBody",
"identifier",
"issuedAt",
"validUntil",
"archivedAt",
"status",
"version",
"createdAt",
"updatedAt"
],
"additionalProperties": false,
"x-version-target": "version belongs to this id",
"x-certificate-calendar": "Europe/Oslo; archived takes precedence, validUntil before today is expired"
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"version": {
"type": "string",
"pattern": "^cert-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "certificate UUID, positive signed-bigint revision; opaque to callers"
}
},
"required": [
"id",
"deleted",
"deletedAt",
"version"
],
"additionalProperties": false,
"x-version-target": "version belongs to this id"
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}
]
}InspectionTool
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"manufacturer": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"model": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"serialNumber": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 120
},
{
"type": "null"
}
]
},
"lastCalibrationAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through 9999"
},
{
"type": "null"
}
]
},
"nextCalibrationAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through 9999"
},
{
"type": "null"
}
]
},
"nextCalibrationIsManual": {
"type": "boolean"
},
"calibrationStatus": {
"type": "string",
"enum": [
"current",
"past_due",
"not_set"
]
},
"version": {
"type": "string",
"pattern": "^tool-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "tool UUID, positive signed-bigint revision; opaque to callers"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"name",
"manufacturer",
"model",
"serialNumber",
"lastCalibrationAt",
"nextCalibrationAt",
"nextCalibrationIsManual",
"calibrationStatus",
"version",
"createdAt",
"updatedAt"
],
"additionalProperties": false,
"x-version-target": "version belongs to this id",
"x-calibration-calendar": "Europe/Oslo; next calibration before today is past_due"
}ToolVersion
{
"type": "string",
"pattern": "^tool-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "tool UUID, positive signed-bigint revision; opaque to callers"
}InspectionToolPath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"toolId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId",
"toolId"
],
"additionalProperties": false
}InspectionToolQuery
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"search": {
"type": "string",
"x-normalized-maxLength": 200,
"x-length-unit": "Unicode code points",
"x-normalization": "trim before validation"
}
},
"additionalProperties": false
}CreateInspectionTool
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"manufacturer": {
"type": "string"
},
"model": {
"type": "string"
},
"serialNumber": {
"type": [
"string",
"null"
]
},
"lastCalibrationAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through 9999"
},
{
"type": "null"
}
]
},
"nextCalibrationAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through 9999"
},
{
"type": "null"
}
]
},
"nextCalibrationIsManual": {
"type": "boolean"
}
},
"required": [
"name",
"manufacturer",
"model"
],
"additionalProperties": false,
"x-normalization": "shared web metadata: trim, NFKC, collapse whitespace; blank serial to null; missing dates to null and manual flag to false",
"x-field-limits": "name/manufacturer/model: max200 code points before normalization, max200 UTF-16 units after normalization; serial: max120 normalized UTF-16 units",
"x-date-order": "nextCalibrationAt is not before lastCalibrationAt; null dates allowed"
}UpdateInspectionTool
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"manufacturer": {
"type": "string"
},
"model": {
"type": "string"
},
"serialNumber": {
"type": [
"string",
"null"
]
},
"lastCalibrationAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through 9999"
},
{
"type": "null"
}
]
},
"nextCalibrationAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through 9999"
},
{
"type": "null"
}
]
},
"nextCalibrationIsManual": {
"type": "boolean"
},
"expectedVersion": {
"type": "string",
"pattern": "^tool-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "tool UUID, positive signed-bigint revision; opaque to callers"
}
},
"required": [
"name",
"manufacturer",
"model",
"expectedVersion"
],
"additionalProperties": false,
"x-normalization": "shared web metadata: trim, NFKC, collapse whitespace; blank serial to null; missing dates to null and manual flag to false",
"x-field-limits": "name/manufacturer/model: max200 code points before normalization, max200 UTF-16 units after normalization; serial: max120 normalized UTF-16 units",
"x-date-order": "nextCalibrationAt is not before lastCalibrationAt; null dates allowed"
}InspectionToolResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"manufacturer": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"model": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"serialNumber": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 120
},
{
"type": "null"
}
]
},
"lastCalibrationAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through 9999"
},
{
"type": "null"
}
]
},
"nextCalibrationAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through 9999"
},
{
"type": "null"
}
]
},
"nextCalibrationIsManual": {
"type": "boolean"
},
"calibrationStatus": {
"type": "string",
"enum": [
"current",
"past_due",
"not_set"
]
},
"version": {
"type": "string",
"pattern": "^tool-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "tool UUID, positive signed-bigint revision; opaque to callers"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"name",
"manufacturer",
"model",
"serialNumber",
"lastCalibrationAt",
"nextCalibrationAt",
"nextCalibrationIsManual",
"calibrationStatus",
"version",
"createdAt",
"updatedAt"
],
"additionalProperties": false,
"x-version-target": "version belongs to this id",
"x-calibration-calendar": "Europe/Oslo; next calibration before today is past_due"
},
"serialWarning": {
"anyOf": [
{
"type": "object",
"properties": {
"normalizedSerialNumber": {
"type": "string",
"minLength": 1,
"maxLength": 240
},
"totalMatches": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"matches": {
"maxItems": 5,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"manufacturer": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"model": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
}
},
"required": [
"id",
"name",
"manufacturer",
"model"
],
"additionalProperties": false
}
}
},
"required": [
"normalizedSerialNumber",
"totalMatches",
"matches"
],
"additionalProperties": false,
"x-validation": "positive total and bounded unique matches; concurrent deletion can leave zero matches; advisory only"
},
{
"type": "null"
}
]
}
},
"required": [
"data",
"serialWarning"
],
"additionalProperties": false
}InspectionToolRemovalResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"version": {
"type": "string",
"pattern": "^tool-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "tool UUID, positive signed-bigint revision; opaque to callers"
}
},
"required": [
"id",
"deleted",
"deletedAt",
"version"
],
"additionalProperties": false,
"x-version-target": "version belongs to this id"
}
},
"required": [
"data"
],
"additionalProperties": false
}InspectionToolListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"manufacturer": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"model": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"serialNumber": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 120
},
{
"type": "null"
}
]
},
"lastCalibrationAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through 9999"
},
{
"type": "null"
}
]
},
"nextCalibrationAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through 9999"
},
{
"type": "null"
}
]
},
"nextCalibrationIsManual": {
"type": "boolean"
},
"calibrationStatus": {
"type": "string",
"enum": [
"current",
"past_due",
"not_set"
]
},
"version": {
"type": "string",
"pattern": "^tool-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "tool UUID, positive signed-bigint revision; opaque to callers"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"name",
"manufacturer",
"model",
"serialNumber",
"lastCalibrationAt",
"nextCalibrationAt",
"nextCalibrationIsManual",
"calibrationStatus",
"version",
"createdAt",
"updatedAt"
],
"additionalProperties": false,
"x-version-target": "version belongs to this id",
"x-calibration-calendar": "Europe/Oslo; next calibration before today is past_due"
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
}InspectionToolSyncResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"manufacturer": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"model": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"serialNumber": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 120
},
{
"type": "null"
}
]
},
"lastCalibrationAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through 9999"
},
{
"type": "null"
}
]
},
"nextCalibrationAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through 9999"
},
{
"type": "null"
}
]
},
"nextCalibrationIsManual": {
"type": "boolean"
},
"calibrationStatus": {
"type": "string",
"enum": [
"current",
"past_due",
"not_set"
]
},
"version": {
"type": "string",
"pattern": "^tool-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "tool UUID, positive signed-bigint revision; opaque to callers"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"name",
"manufacturer",
"model",
"serialNumber",
"lastCalibrationAt",
"nextCalibrationAt",
"nextCalibrationIsManual",
"calibrationStatus",
"version",
"createdAt",
"updatedAt"
],
"additionalProperties": false,
"x-version-target": "version belongs to this id",
"x-calibration-calendar": "Europe/Oslo; next calibration before today is past_due"
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"version": {
"type": "string",
"pattern": "^tool-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "tool UUID, positive signed-bigint revision; opaque to callers"
}
},
"required": [
"id",
"deleted",
"deletedAt",
"version"
],
"additionalProperties": false,
"x-version-target": "version belongs to this id"
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}ServedInspectionToolQuery
{
"anyOf": [
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"search": {
"type": "string",
"x-normalized-maxLength": 200,
"x-length-unit": "Unicode code points",
"x-normalization": "trim before validation"
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"changedSince": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"includeDeleted": {
"type": "boolean"
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"changedSince"
],
"additionalProperties": false
}
]
}ServedInspectionToolListResponse
{
"anyOf": [
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"manufacturer": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"model": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"serialNumber": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 120
},
{
"type": "null"
}
]
},
"lastCalibrationAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through 9999"
},
{
"type": "null"
}
]
},
"nextCalibrationAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through 9999"
},
{
"type": "null"
}
]
},
"nextCalibrationIsManual": {
"type": "boolean"
},
"calibrationStatus": {
"type": "string",
"enum": [
"current",
"past_due",
"not_set"
]
},
"version": {
"type": "string",
"pattern": "^tool-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "tool UUID, positive signed-bigint revision; opaque to callers"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"name",
"manufacturer",
"model",
"serialNumber",
"lastCalibrationAt",
"nextCalibrationAt",
"nextCalibrationIsManual",
"calibrationStatus",
"version",
"createdAt",
"updatedAt"
],
"additionalProperties": false,
"x-version-target": "version belongs to this id",
"x-calibration-calendar": "Europe/Oslo; next calibration before today is past_due"
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
},
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"manufacturer": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"model": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000\\uD800-\\uDFFF]*$"
},
"serialNumber": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 120
},
{
"type": "null"
}
]
},
"lastCalibrationAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through 9999"
},
{
"type": "null"
}
]
},
"nextCalibrationAt": {
"anyOf": [
{
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"x-date-year-range": "0001 through 9999"
},
{
"type": "null"
}
]
},
"nextCalibrationIsManual": {
"type": "boolean"
},
"calibrationStatus": {
"type": "string",
"enum": [
"current",
"past_due",
"not_set"
]
},
"version": {
"type": "string",
"pattern": "^tool-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "tool UUID, positive signed-bigint revision; opaque to callers"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"name",
"manufacturer",
"model",
"serialNumber",
"lastCalibrationAt",
"nextCalibrationAt",
"nextCalibrationIsManual",
"calibrationStatus",
"version",
"createdAt",
"updatedAt"
],
"additionalProperties": false,
"x-version-target": "version belongs to this id",
"x-calibration-calendar": "Europe/Oslo; next calibration before today is past_due"
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"version": {
"type": "string",
"pattern": "^tool-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"x-version-target": "tool UUID, positive signed-bigint revision; opaque to callers"
}
},
"required": [
"id",
"deleted",
"deletedAt",
"version"
],
"additionalProperties": false,
"x-version-target": "version belongs to this id"
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}
]
}Report
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"inspectorPersonId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"reportTemplateVersionId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"reportType": {
"anyOf": [
{
"type": "string",
"enum": [
"nek_405_2_3",
"reclamation"
]
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"x-length-unit": "Unicode code points",
"x-no-nul-or-lone-surrogate": true
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"id",
"propertyId",
"inspectorPersonId",
"reportTemplateVersionId",
"reportType",
"name",
"createdAt",
"updatedAt"
],
"additionalProperties": false
}ReportPdf
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"reportId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"revisionNumber": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"versionLabel": {
"anyOf": [
{
"type": "string",
"minLength": 3,
"maxLength": 11
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"preparing",
"queued",
"rendering",
"succeeded",
"failed"
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"capturedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
]
},
"downloadable": {
"type": "boolean"
}
},
"required": [
"id",
"reportId",
"revisionNumber",
"versionLabel",
"status",
"createdAt",
"updatedAt",
"capturedAt",
"downloadable"
],
"additionalProperties": false,
"x-consistency-rules": [
"versionLabel is null with no revision; otherwise v followed by revision padded to at least two digits",
"downloadable requires succeeded status and a positive revision"
]
}ReportPath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"reportId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId",
"reportId"
],
"additionalProperties": false
}ReportPdfPath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"reportId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"generationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId",
"reportId",
"generationId"
],
"additionalProperties": false
}ReportQuery
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"search": {
"type": "string",
"x-normalized-maxLength": 120,
"x-length-unit": "Unicode code points",
"x-normalization": "trim before validation"
}
},
"additionalProperties": false
}ReportPdfQuery
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"additionalProperties": false
}ReportListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"inspectorPersonId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"reportTemplateVersionId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"reportType": {
"anyOf": [
{
"type": "string",
"enum": [
"nek_405_2_3",
"reclamation"
]
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"x-length-unit": "Unicode code points",
"x-no-nul-or-lone-surrogate": true
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"id",
"propertyId",
"inspectorPersonId",
"reportTemplateVersionId",
"reportType",
"name",
"createdAt",
"updatedAt"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
}ReportPdfListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"reportId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"revisionNumber": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"versionLabel": {
"anyOf": [
{
"type": "string",
"minLength": 3,
"maxLength": 11
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"preparing",
"queued",
"rendering",
"succeeded",
"failed"
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"capturedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
]
},
"downloadable": {
"type": "boolean"
}
},
"required": [
"id",
"reportId",
"revisionNumber",
"versionLabel",
"status",
"createdAt",
"updatedAt",
"capturedAt",
"downloadable"
],
"additionalProperties": false,
"x-consistency-rules": [
"versionLabel is null with no revision; otherwise v followed by revision padded to at least two digits",
"downloadable requires succeeded status and a positive revision"
]
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
}ReportSyncResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"inspectorPersonId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"reportTemplateVersionId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"reportType": {
"anyOf": [
{
"type": "string",
"enum": [
"nek_405_2_3",
"reclamation"
]
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"x-length-unit": "Unicode code points",
"x-no-nul-or-lone-surrogate": true
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"id",
"propertyId",
"inspectorPersonId",
"reportTemplateVersionId",
"reportType",
"name",
"createdAt",
"updatedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"id",
"propertyId",
"deleted",
"deletedAt"
],
"additionalProperties": false
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}ServedReportQuery
{
"anyOf": [
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"search": {
"type": "string",
"x-normalized-maxLength": 120,
"x-length-unit": "Unicode code points",
"x-normalization": "trim before validation"
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"changedSince": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"includeDeleted": {
"type": "boolean"
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"changedSince"
],
"additionalProperties": false
}
]
}ServedReportListResponse
{
"anyOf": [
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"inspectorPersonId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"reportTemplateVersionId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"reportType": {
"anyOf": [
{
"type": "string",
"enum": [
"nek_405_2_3",
"reclamation"
]
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"x-length-unit": "Unicode code points",
"x-no-nul-or-lone-surrogate": true
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"id",
"propertyId",
"inspectorPersonId",
"reportTemplateVersionId",
"reportType",
"name",
"createdAt",
"updatedAt"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
},
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"inspectorPersonId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"reportTemplateVersionId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"reportType": {
"anyOf": [
{
"type": "string",
"enum": [
"nek_405_2_3",
"reclamation"
]
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"x-length-unit": "Unicode code points",
"x-no-nul-or-lone-surrogate": true
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"id",
"propertyId",
"inspectorPersonId",
"reportTemplateVersionId",
"reportType",
"name",
"createdAt",
"updatedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"id",
"propertyId",
"deleted",
"deletedAt"
],
"additionalProperties": false
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}
]
}UpdatePropertyDocumentMetadata
{
"type": "object",
"properties": {
"filename": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"pattern": "^[^\\u0000-\\u001f\\u007f/\\\\]+$",
"x-length-unit": "UTF-16 code units",
"x-normalization": "trim before validation"
},
"documentType": {
"type": "string",
"enum": [
"sales_prospectus",
"appraisal_report",
"declaration_of_conformity",
"previous_electrical_inspection_report",
"electrical_documentation",
"floor_plan",
"other"
]
},
"customTypeName": {
"description": "For other documents, a trimmed non-blank name of at most 100 Unicode characters. Omission retains the current valid name on updates; predefined types clear it.",
"type": [
"string",
"null"
]
},
"expectedVersion": {
"type": "string",
"pattern": "^document-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"filename",
"documentType",
"expectedVersion"
],
"additionalProperties": false,
"x-custom-document-type-name": "other: optional on update; when supplied, trim and require 1–100 Unicode code points; omission retains current valid name. Predefined types discard names."
}DocumentResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"filename": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"documentType": {
"type": "string",
"enum": [
"sales_prospectus",
"appraisal_report",
"declaration_of_conformity",
"previous_electrical_inspection_report",
"electrical_documentation",
"floor_plan",
"other"
]
},
"customTypeName": {
"type": [
"string",
"null"
]
},
"pageCount": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"sizeBytes": {
"type": "integer",
"minimum": 1,
"maximum": 104857600
},
"mimeType": {
"type": "string",
"enum": [
"application/pdf",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"image/jpeg",
"image/png"
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^document-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"propertyId",
"filename",
"documentType",
"pageCount",
"sizeBytes",
"mimeType",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}DocumentRemovalResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^document-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"propertyId",
"deleted",
"deletedAt",
"version"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}Document
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"filename": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"documentType": {
"type": "string",
"enum": [
"sales_prospectus",
"appraisal_report",
"declaration_of_conformity",
"previous_electrical_inspection_report",
"electrical_documentation",
"floor_plan",
"other"
]
},
"customTypeName": {
"type": [
"string",
"null"
]
},
"pageCount": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"sizeBytes": {
"type": "integer",
"minimum": 1,
"maximum": 104857600
},
"mimeType": {
"type": "string",
"enum": [
"application/pdf",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"image/jpeg",
"image/png"
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^document-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"propertyId",
"filename",
"documentType",
"pageCount",
"sizeBytes",
"mimeType",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
}DocumentVersion
{
"type": "string",
"pattern": "^document-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}DocumentPath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId",
"propertyId",
"documentId"
],
"additionalProperties": false
}DocumentQuery
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"documentType": {
"type": "string",
"enum": [
"sales_prospectus",
"appraisal_report",
"declaration_of_conformity",
"previous_electrical_inspection_report",
"electrical_documentation",
"floor_plan",
"other"
]
},
"search": {
"type": "string",
"x-normalized-maxLength": 120,
"x-length-unit": "Unicode code points",
"x-normalization": "trim before validation"
}
},
"additionalProperties": false
}DocumentListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"filename": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"documentType": {
"type": "string",
"enum": [
"sales_prospectus",
"appraisal_report",
"declaration_of_conformity",
"previous_electrical_inspection_report",
"electrical_documentation",
"floor_plan",
"other"
]
},
"customTypeName": {
"type": [
"string",
"null"
]
},
"pageCount": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"sizeBytes": {
"type": "integer",
"minimum": 1,
"maximum": 104857600
},
"mimeType": {
"type": "string",
"enum": [
"application/pdf",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"image/jpeg",
"image/png"
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^document-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"propertyId",
"filename",
"documentType",
"pageCount",
"sizeBytes",
"mimeType",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
}DocumentSyncResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"filename": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"documentType": {
"type": "string",
"enum": [
"sales_prospectus",
"appraisal_report",
"declaration_of_conformity",
"previous_electrical_inspection_report",
"electrical_documentation",
"floor_plan",
"other"
]
},
"customTypeName": {
"type": [
"string",
"null"
]
},
"pageCount": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"sizeBytes": {
"type": "integer",
"minimum": 1,
"maximum": 104857600
},
"mimeType": {
"type": "string",
"enum": [
"application/pdf",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"image/jpeg",
"image/png"
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^document-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"propertyId",
"filename",
"documentType",
"pageCount",
"sizeBytes",
"mimeType",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"id",
"propertyId",
"deleted",
"deletedAt"
],
"additionalProperties": false
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}ServedDocumentQuery
{
"anyOf": [
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"documentType": {
"type": "string",
"enum": [
"sales_prospectus",
"appraisal_report",
"declaration_of_conformity",
"previous_electrical_inspection_report",
"electrical_documentation",
"floor_plan",
"other"
]
},
"search": {
"type": "string",
"x-normalized-maxLength": 120,
"x-length-unit": "Unicode code points",
"x-normalization": "trim before validation"
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"changedSince": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"includeDeleted": {
"type": "boolean"
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"changedSince"
],
"additionalProperties": false
}
]
}ServedDocumentListResponse
{
"anyOf": [
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"filename": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"documentType": {
"type": "string",
"enum": [
"sales_prospectus",
"appraisal_report",
"declaration_of_conformity",
"previous_electrical_inspection_report",
"electrical_documentation",
"floor_plan",
"other"
]
},
"customTypeName": {
"type": [
"string",
"null"
]
},
"pageCount": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"sizeBytes": {
"type": "integer",
"minimum": 1,
"maximum": 104857600
},
"mimeType": {
"type": "string",
"enum": [
"application/pdf",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"image/jpeg",
"image/png"
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^document-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"propertyId",
"filename",
"documentType",
"pageCount",
"sizeBytes",
"mimeType",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
},
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"filename": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"documentType": {
"type": "string",
"enum": [
"sales_prospectus",
"appraisal_report",
"declaration_of_conformity",
"previous_electrical_inspection_report",
"electrical_documentation",
"floor_plan",
"other"
]
},
"customTypeName": {
"type": [
"string",
"null"
]
},
"pageCount": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 2147483647
},
{
"type": "null"
}
]
},
"sizeBytes": {
"type": "integer",
"minimum": 1,
"maximum": 104857600
},
"mimeType": {
"type": "string",
"enum": [
"application/pdf",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"image/jpeg",
"image/png"
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^document-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"propertyId",
"filename",
"documentType",
"pageCount",
"sizeBytes",
"mimeType",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"id",
"propertyId",
"deleted",
"deletedAt"
],
"additionalProperties": false
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}
]
}CreateInspectionObservation
{
"type": "object",
"properties": {
"optionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"placementId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"controlPoint": {
"type": "string",
"x-normalization": "trim before validation",
"x-normalized-maxLength": 500,
"x-no-nul": true,
"x-unicode-scalar-values-only": true
},
"title": {
"type": "string",
"x-normalization": "trim before validation",
"x-normalized-maxLength": 200,
"x-no-nul": true,
"x-unicode-scalar-values-only": true
},
"description": {
"type": "string",
"x-normalization": "trim before validation",
"x-normalized-maxLength": 10000,
"x-no-nul": true,
"x-unicode-scalar-values-only": true
},
"tgGrade": {
"type": "string",
"enum": [
"TG0",
"TG1",
"TG2",
"TG3",
"TG-IU"
]
},
"extensionValues": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
}
},
{
"type": "null"
}
],
"x-validation": "finite scalar values with no NUL or lone surrogate; must match the locked observation option schema"
},
"expectedVersion": {
"type": "string",
"pattern": "^answer-v1\\.[0-9a-f-]{36}\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"optionId",
"placementId",
"controlPoint",
"title",
"description",
"tgGrade",
"extensionValues",
"expectedVersion"
],
"additionalProperties": false
}LinkInspectionObservations
{
"type": "object",
"properties": {
"optionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"observationIds": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"uniqueItems": true,
"x-validation": "UUID case aliases count as duplicates",
"x-normalization": "sort canonical UUID values"
},
"expectedVersion": {
"type": "string",
"pattern": "^answer-v1\\.[0-9a-f-]{36}\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"optionId",
"observationIds",
"expectedVersion"
],
"additionalProperties": false
}CompletePropertyInspection
{
"type": "object",
"properties": {
"expectedVersion": {
"type": "string",
"pattern": "^inspection-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"expectedVersion"
],
"additionalProperties": false
}InspectionObservationPath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"inspectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"questionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId",
"propertyId",
"inspectionId",
"questionId",
"observationId"
],
"additionalProperties": false
}InspectionObservationCreatedResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"answer": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "answer"
},
"questionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"optionId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"text": {
"type": [
"string",
"null"
]
},
"comment": {
"type": [
"string",
"null"
]
},
"version": {
"type": "string",
"pattern": "^answer-v1\\.[0-9a-f-]{36}\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
},
"inspectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"inspectionVersion": {
"type": "string",
"pattern": "^inspection-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"kind",
"questionId",
"optionId",
"text",
"comment",
"version",
"inspectionId",
"inspectionVersion"
],
"additionalProperties": false
},
"observation": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"placementId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"sequenceYear": {
"type": "integer",
"minimum": 2000,
"maximum": 9999
},
"sequenceNumber": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"placementId",
"sequenceYear",
"sequenceNumber"
],
"additionalProperties": false
},
"link": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"answerOptionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"id",
"answerOptionId",
"observationId"
],
"additionalProperties": false
}
},
"required": [
"answer",
"observation",
"link"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}InspectionObservationsLinkedResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"answer": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "answer"
},
"questionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"optionId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"text": {
"type": [
"string",
"null"
]
},
"comment": {
"type": [
"string",
"null"
]
},
"version": {
"type": "string",
"pattern": "^answer-v1\\.[0-9a-f-]{36}\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
},
"inspectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"inspectionVersion": {
"type": "string",
"pattern": "^inspection-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"kind",
"questionId",
"optionId",
"text",
"comment",
"version",
"inspectionId",
"inspectionVersion"
],
"additionalProperties": false
},
"links": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"answerOptionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"id",
"answerOptionId",
"observationId"
],
"additionalProperties": false
}
}
},
"required": [
"answer",
"links"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}InspectionObservationUnlinkedResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"answer": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "answer"
},
"questionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"optionId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"text": {
"type": [
"string",
"null"
]
},
"comment": {
"type": [
"string",
"null"
]
},
"version": {
"type": "string",
"pattern": "^answer-v1\\.[0-9a-f-]{36}\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
},
"inspectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"inspectionVersion": {
"type": "string",
"pattern": "^inspection-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"kind",
"questionId",
"optionId",
"text",
"comment",
"version",
"inspectionId",
"inspectionVersion"
],
"additionalProperties": false
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"unlinked": {
"type": "boolean",
"const": true
}
},
"required": [
"answer",
"observationId",
"unlinked"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}InspectionCompletionResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"inspection": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"controlNumber": {
"type": "string",
"pattern": "^INSP-\\d{2}\\.\\d{3,}$"
},
"status": {
"type": "string",
"enum": [
"started",
"completed",
"action_required"
]
},
"inspectorRef": {
"anyOf": [
{
"type": "string",
"pattern": "^inspector-v1\\.[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"checklist": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"versionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"versionId",
"version"
],
"additionalProperties": false
},
"answers": {
"type": "object",
"properties": {
"answered": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"answered",
"total"
],
"additionalProperties": false
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^inspection-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"propertyId",
"controlNumber",
"status",
"inspectorRef",
"checklist",
"answers",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
},
"completion": {
"type": "object",
"properties": {
"outcome": {
"type": "string",
"enum": [
"completed",
"validation_failed"
]
},
"issues": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"questionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"code": {
"type": "string",
"enum": [
"unanswered",
"invalid"
]
},
"path": {
"type": "array",
"prefixItems": [
{
"type": "string",
"const": "checklist"
},
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
],
"items": false,
"minItems": 2,
"maxItems": 2
}
},
"required": [
"questionId",
"code",
"path"
],
"additionalProperties": false
}
},
"issueCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"outcome",
"issues",
"issueCount",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"inspection",
"completion"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}SetInspectionAnswer
{
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "option"
},
"optionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedVersion": {
"type": "string",
"pattern": "^answer-v1\\.[0-9a-f-]{36}\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"kind",
"optionId",
"expectedVersion"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "text"
},
"text": {
"x-normalized-maxLength": 10000,
"x-normalization": "shared checklist boundary whitespace normalization; blank becomes null; interior whitespace preserved",
"x-length-unit": "Unicode code points",
"x-no-nul": true,
"x-unicode-scalar-values-only": true,
"type": [
"string",
"null"
]
},
"expectedVersion": {
"type": "string",
"pattern": "^answer-v1\\.[0-9a-f-]{36}\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"kind",
"text",
"expectedVersion"
],
"additionalProperties": false
}
]
}SetInspectionAnswerComment
{
"type": "object",
"properties": {
"comment": {
"x-normalized-maxLength": 10000,
"x-normalization": "shared checklist boundary whitespace normalization; blank becomes null; interior whitespace preserved",
"x-length-unit": "Unicode code points",
"x-no-nul": true,
"x-unicode-scalar-values-only": true,
"type": [
"string",
"null"
]
},
"expectedVersion": {
"type": "string",
"pattern": "^answer-v1\\.[0-9a-f-]{36}\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"comment",
"expectedVersion"
],
"additionalProperties": false
}InspectionQuestionPath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"inspectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"questionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId",
"propertyId",
"inspectionId",
"questionId"
],
"additionalProperties": false
}InspectionAnswerResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "answer"
},
"questionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"optionId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"text": {
"type": [
"string",
"null"
]
},
"comment": {
"type": [
"string",
"null"
]
},
"version": {
"type": "string",
"pattern": "^answer-v1\\.[0-9a-f-]{36}\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
},
"inspectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"inspectionVersion": {
"type": "string",
"pattern": "^inspection-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"kind",
"questionId",
"optionId",
"text",
"comment",
"version",
"inspectionId",
"inspectionVersion"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}CreateInspection
{
"type": "object",
"properties": {
"inspectorRef": {
"type": "string",
"pattern": "^inspector-v1\\.[a-f0-9]{64}$"
},
"checklistVersionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"inspectorRef",
"checklistVersionId"
],
"additionalProperties": false
}InspectionCreateOptionsResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"inspectors": {
"maxItems": 1,
"type": "array",
"items": {
"type": "object",
"properties": {
"inspectorRef": {
"type": "string",
"pattern": "^inspector-v1\\.[a-f0-9]{64}$"
}
},
"required": [
"inspectorRef"
],
"additionalProperties": false
}
},
"checklists": {
"maxItems": 2,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"versionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"name": {
"type": "string",
"minLength": 1
}
},
"required": [
"id",
"versionId",
"version",
"name"
],
"additionalProperties": false
}
}
},
"required": [
"inspectors",
"checklists"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}InspectionRemovalResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^inspection-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"propertyId",
"deleted",
"deletedAt",
"version"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}Inspection
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"controlNumber": {
"type": "string",
"pattern": "^INSP-\\d{2}\\.\\d{3,}$"
},
"status": {
"type": "string",
"enum": [
"started",
"completed",
"action_required"
]
},
"inspectorRef": {
"anyOf": [
{
"type": "string",
"pattern": "^inspector-v1\\.[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"checklist": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"versionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"versionId",
"version"
],
"additionalProperties": false
},
"answers": {
"type": "object",
"properties": {
"answered": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"answered",
"total"
],
"additionalProperties": false
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^inspection-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"propertyId",
"controlNumber",
"status",
"inspectorRef",
"checklist",
"answers",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
}InspectionPath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"inspectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId",
"propertyId",
"inspectionId"
],
"additionalProperties": false
}InspectionQuery
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"status": {
"type": "string",
"enum": [
"started",
"completed",
"action_required"
]
}
},
"additionalProperties": false
}ServedInspectionQuery
{
"anyOf": [
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"status": {
"type": "string",
"enum": [
"started",
"completed",
"action_required"
]
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"changedSince": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"includeDeleted": {
"type": "boolean"
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"changedSince"
],
"additionalProperties": false
}
]
}InspectionListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"controlNumber": {
"type": "string",
"pattern": "^INSP-\\d{2}\\.\\d{3,}$"
},
"status": {
"type": "string",
"enum": [
"started",
"completed",
"action_required"
]
},
"inspectorRef": {
"anyOf": [
{
"type": "string",
"pattern": "^inspector-v1\\.[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"checklist": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"versionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"versionId",
"version"
],
"additionalProperties": false
},
"answers": {
"type": "object",
"properties": {
"answered": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"answered",
"total"
],
"additionalProperties": false
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^inspection-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"propertyId",
"controlNumber",
"status",
"inspectorRef",
"checklist",
"answers",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
}ServedInspectionListResponse
{
"anyOf": [
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"controlNumber": {
"type": "string",
"pattern": "^INSP-\\d{2}\\.\\d{3,}$"
},
"status": {
"type": "string",
"enum": [
"started",
"completed",
"action_required"
]
},
"inspectorRef": {
"anyOf": [
{
"type": "string",
"pattern": "^inspector-v1\\.[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"checklist": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"versionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"versionId",
"version"
],
"additionalProperties": false
},
"answers": {
"type": "object",
"properties": {
"answered": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"answered",
"total"
],
"additionalProperties": false
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^inspection-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"propertyId",
"controlNumber",
"status",
"inspectorRef",
"checklist",
"answers",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
},
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"controlNumber": {
"type": "string",
"pattern": "^INSP-\\d{2}\\.\\d{3,}$"
},
"status": {
"type": "string",
"enum": [
"started",
"completed",
"action_required"
]
},
"inspectorRef": {
"anyOf": [
{
"type": "string",
"pattern": "^inspector-v1\\.[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"checklist": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"versionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"versionId",
"version"
],
"additionalProperties": false
},
"answers": {
"type": "object",
"properties": {
"answered": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"answered",
"total"
],
"additionalProperties": false
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^inspection-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"propertyId",
"controlNumber",
"status",
"inspectorRef",
"checklist",
"answers",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"id",
"propertyId",
"deleted",
"deletedAt"
],
"additionalProperties": false
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}
]
}InspectionSyncResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"controlNumber": {
"type": "string",
"pattern": "^INSP-\\d{2}\\.\\d{3,}$"
},
"status": {
"type": "string",
"enum": [
"started",
"completed",
"action_required"
]
},
"inspectorRef": {
"anyOf": [
{
"type": "string",
"pattern": "^inspector-v1\\.[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"checklist": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"versionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"versionId",
"version"
],
"additionalProperties": false
},
"answers": {
"type": "object",
"properties": {
"answered": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"answered",
"total"
],
"additionalProperties": false
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^inspection-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"propertyId",
"controlNumber",
"status",
"inspectorRef",
"checklist",
"answers",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"id",
"propertyId",
"deleted",
"deletedAt"
],
"additionalProperties": false
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}InspectionResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"controlNumber": {
"type": "string",
"pattern": "^INSP-\\d{2}\\.\\d{3,}$"
},
"status": {
"type": "string",
"enum": [
"started",
"completed",
"action_required"
]
},
"inspectorRef": {
"anyOf": [
{
"type": "string",
"pattern": "^inspector-v1\\.[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"checklist": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"versionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"versionId",
"version"
],
"additionalProperties": false
},
"answers": {
"type": "object",
"properties": {
"answered": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"answered",
"total"
],
"additionalProperties": false
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^inspection-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"propertyId",
"controlNumber",
"status",
"inspectorRef",
"checklist",
"answers",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}InspectionCreationResponse
{
"type": "object",
"properties": {
"data": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"controlNumber": {
"type": "string",
"pattern": "^INSP-\\d{2}\\.\\d{3,}$"
},
"status": {
"type": "string",
"enum": [
"started",
"completed",
"action_required"
]
},
"inspectorRef": {
"anyOf": [
{
"type": "string",
"pattern": "^inspector-v1\\.[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"checklist": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"versionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"versionId",
"version"
],
"additionalProperties": false
},
"answers": {
"type": "object",
"properties": {
"answered": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"answered",
"total"
],
"additionalProperties": false
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^inspection-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"propertyId",
"controlNumber",
"status",
"inspectorRef",
"checklist",
"answers",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"status": {
"type": "string",
"enum": [
"started",
"completed",
"action_required"
]
},
"inspectorRef": {
"anyOf": [
{
"type": "string",
"pattern": "^inspector-v1\\.[a-f0-9]{64}$"
},
{
"type": "null"
}
]
},
"checklist": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"versionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"versionId",
"version"
],
"additionalProperties": false
},
"answers": {
"type": "object",
"properties": {
"answered": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"answered",
"total"
],
"additionalProperties": false
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^inspection-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
},
"name": {
"type": "string",
"minLength": 1
}
},
"required": [
"id",
"propertyId",
"status",
"inspectorRef",
"checklist",
"answers",
"createdAt",
"updatedAt",
"version",
"name"
],
"additionalProperties": false
}
]
}
},
"required": [
"data"
],
"additionalProperties": false
}InspectionChecklistQuery
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"additionalProperties": false
}InspectionChecklistResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "section"
},
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"key": {
"type": "string"
},
"label": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"kind",
"id",
"key",
"label",
"description",
"position"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "question"
},
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"sectionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"key": {
"type": "string"
},
"question": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"answerMode": {
"type": "string",
"enum": [
"options",
"text"
]
},
"required": {
"type": "boolean"
},
"commentLabel": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind",
"id",
"sectionId",
"key",
"question",
"description",
"position",
"answerMode",
"required",
"commentLabel"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "option"
},
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"questionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"key": {
"type": "string"
},
"label": {
"type": "string"
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"answerType": {
"type": "string",
"enum": [
"simple",
"observation"
]
},
"defaultDescription": {
"type": [
"string",
"null"
]
},
"defaultControlPoint": {
"type": [
"string",
"null"
]
},
"defaultTgGrade": {
"anyOf": [
{
"type": "string",
"enum": [
"TG0",
"TG1",
"TG2",
"TG3",
"TG-IU"
]
},
{
"type": "null"
}
]
}
},
"required": [
"kind",
"id",
"questionId",
"key",
"label",
"position",
"answerType",
"defaultDescription",
"defaultControlPoint",
"defaultTgGrade"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "extensionGroup"
},
"optionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"key": {
"type": "string"
},
"label": {
"type": "string"
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"kind",
"optionId",
"key",
"label",
"position"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "extensionField"
},
"optionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"groupKey": {
"type": "string"
},
"key": {
"type": "string"
},
"label": {
"type": "string"
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"fieldType": {
"type": "string",
"enum": [
"string",
"number",
"select",
"multiselect"
]
},
"required": {
"type": "boolean"
},
"unit": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind",
"optionId",
"groupKey",
"key",
"label",
"position",
"fieldType",
"required",
"unit"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "extensionOption"
},
"optionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"fieldKey": {
"type": "string"
},
"value": {
"type": "string"
},
"label": {
"type": "string"
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"kind",
"optionId",
"fieldKey",
"value",
"label",
"position"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "answer"
},
"questionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"optionId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"text": {
"type": [
"string",
"null"
]
},
"comment": {
"type": [
"string",
"null"
]
},
"version": {
"type": "string",
"pattern": "^answer-v1\\.[0-9a-f-]{36}\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"kind",
"questionId",
"optionId",
"text",
"comment",
"version"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "observationLink"
},
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"questionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"answerOptionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"kind",
"id",
"questionId",
"answerOptionId",
"observationId"
],
"additionalProperties": false
}
]
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
},
"version": {
"type": "string",
"pattern": "^inspection-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
},
"checklistVersionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"data",
"meta",
"version",
"checklistVersionId"
],
"additionalProperties": false
}PropertyRole
{
"type": "string",
"enum": [
"owner",
"buyer",
"seller",
"broker",
"insurer",
"property_manager",
"collaborator"
]
}PropertyRoleAssignment
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"role": {
"type": "string",
"enum": [
"owner",
"buyer",
"seller",
"broker",
"insurer",
"property_manager",
"collaborator"
]
},
"personId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"actingForCompanyId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"role",
"personId",
"actingForCompanyId"
],
"additionalProperties": false
}PropertyRoleCatalogue
{
"minItems": 7,
"maxItems": 7,
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"owner",
"buyer",
"seller",
"broker",
"insurer",
"property_manager",
"collaborator"
]
},
"grantsPropertyAccess": {
"type": "boolean"
}
},
"required": [
"role",
"grantsPropertyAccess"
],
"additionalProperties": false
}
}PropertyRolesVersion
{
"type": "string",
"pattern": "^roles-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"description": "Opaque version of the complete property role set. Bind to the addressed property; compare under the mutation lock."
}PropertyRolePath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"assignmentId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId",
"propertyId",
"assignmentId"
],
"additionalProperties": false
}PropertyRoleQuery
{
"type": "object",
"properties": {},
"additionalProperties": false
}ServedPropertyRoleQuery
{
"anyOf": [
{
"type": "object",
"properties": {},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"changedSince": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"includeDeleted": {
"type": "boolean"
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"changedSince"
],
"additionalProperties": false
}
]
}PropertyRoleSetResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 7,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"role": {
"type": "string",
"enum": [
"owner",
"buyer",
"seller",
"broker",
"insurer",
"property_manager",
"collaborator"
]
},
"personId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"actingForCompanyId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"role",
"personId",
"actingForCompanyId"
],
"additionalProperties": false
}
},
"roles": {
"minItems": 7,
"maxItems": 7,
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"owner",
"buyer",
"seller",
"broker",
"insurer",
"property_manager",
"collaborator"
]
},
"grantsPropertyAccess": {
"type": "boolean"
}
},
"required": [
"role",
"grantsPropertyAccess"
],
"additionalProperties": false
}
},
"version": {
"type": "string",
"pattern": "^roles-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"description": "Opaque version of the complete property role set. Bind to the addressed property; compare under the mutation lock."
}
},
"required": [
"data",
"roles",
"version"
],
"additionalProperties": false
}PropertyRoleSyncResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"role": {
"type": "string",
"enum": [
"owner",
"buyer",
"seller",
"broker",
"insurer",
"property_manager",
"collaborator"
]
},
"personId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"actingForCompanyId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"role",
"personId",
"actingForCompanyId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"deleted",
"deletedAt"
],
"additionalProperties": false
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
},
"roles": {
"minItems": 7,
"maxItems": 7,
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"owner",
"buyer",
"seller",
"broker",
"insurer",
"property_manager",
"collaborator"
]
},
"grantsPropertyAccess": {
"type": "boolean"
}
},
"required": [
"role",
"grantsPropertyAccess"
],
"additionalProperties": false
}
}
},
"required": [
"data",
"meta",
"roles"
],
"additionalProperties": false
}ServedPropertyRoleResponse
{
"anyOf": [
{
"type": "object",
"properties": {
"data": {
"maxItems": 7,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"role": {
"type": "string",
"enum": [
"owner",
"buyer",
"seller",
"broker",
"insurer",
"property_manager",
"collaborator"
]
},
"personId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"actingForCompanyId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"role",
"personId",
"actingForCompanyId"
],
"additionalProperties": false
}
},
"roles": {
"minItems": 7,
"maxItems": 7,
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"owner",
"buyer",
"seller",
"broker",
"insurer",
"property_manager",
"collaborator"
]
},
"grantsPropertyAccess": {
"type": "boolean"
}
},
"required": [
"role",
"grantsPropertyAccess"
],
"additionalProperties": false
}
},
"version": {
"type": "string",
"pattern": "^roles-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"description": "Opaque version of the complete property role set. Bind to the addressed property; compare under the mutation lock."
}
},
"required": [
"data",
"roles",
"version"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"role": {
"type": "string",
"enum": [
"owner",
"buyer",
"seller",
"broker",
"insurer",
"property_manager",
"collaborator"
]
},
"personId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"actingForCompanyId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"role",
"personId",
"actingForCompanyId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"deleted",
"deletedAt"
],
"additionalProperties": false
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
},
"roles": {
"minItems": 7,
"maxItems": 7,
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"owner",
"buyer",
"seller",
"broker",
"insurer",
"property_manager",
"collaborator"
]
},
"grantsPropertyAccess": {
"type": "boolean"
}
},
"required": [
"role",
"grantsPropertyAccess"
],
"additionalProperties": false
}
}
},
"required": [
"data",
"meta",
"roles"
],
"additionalProperties": false
}
]
}PropertyRoleWrite
{
"type": "object",
"properties": {
"role": {
"type": "string",
"enum": [
"owner",
"buyer",
"seller",
"broker",
"insurer",
"property_manager",
"collaborator"
]
},
"personId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"actingForCompanyId": {
"default": null,
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"expectedVersion": {
"type": "string",
"pattern": "^roles-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"description": "Opaque version of the complete property role set. Bind to the addressed property; compare under the mutation lock."
}
},
"required": [
"role",
"personId",
"expectedVersion"
],
"additionalProperties": false
}PropertyRoleRemovalQuery
{
"type": "object",
"properties": {
"expectedVersion": {
"type": "string",
"pattern": "^roles-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"description": "Opaque version of the complete property role set. Bind to the addressed property; compare under the mutation lock."
}
},
"required": [
"expectedVersion"
],
"additionalProperties": false
}PropertyRoleResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"role": {
"type": "string",
"enum": [
"owner",
"buyer",
"seller",
"broker",
"insurer",
"property_manager",
"collaborator"
]
},
"personId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"actingForCompanyId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"role",
"personId",
"actingForCompanyId"
],
"additionalProperties": false
},
"version": {
"type": "string",
"pattern": "^roles-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"description": "Opaque version of the complete property role set. Bind to the addressed property; compare under the mutation lock."
}
},
"required": [
"data",
"version"
],
"additionalProperties": false
}PropertyRoleRemovalResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"deleted",
"deletedAt"
],
"additionalProperties": false
},
"version": {
"type": "string",
"pattern": "^roles-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$",
"description": "Opaque version of the complete property role set. Bind to the addressed property; compare under the mutation lock."
}
},
"required": [
"data",
"version"
],
"additionalProperties": false
}PropertyRoleTombstone
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"deleted",
"deletedAt"
],
"additionalProperties": false
}PersonPath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"personId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId",
"personId"
],
"additionalProperties": false
}CompanyPath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"companyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId",
"companyId"
],
"additionalProperties": false
}PersonContactQuery
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"search": {
"type": "string",
"x-normalization": "trim before matching",
"x-normalized-maxLength": 300,
"x-length-unit": "Unicode code points"
},
"companyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"sortBy": {
"default": "updatedAt",
"type": "string",
"enum": [
"fullName",
"email",
"createdAt",
"updatedAt"
]
},
"sortDirection": {
"default": "desc",
"type": "string",
"enum": [
"asc",
"desc"
]
}
},
"additionalProperties": false
}CompanyContactQuery
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"search": {
"type": "string",
"x-normalization": "trim before matching",
"x-normalized-maxLength": 300,
"x-length-unit": "Unicode code points"
},
"sortDirection": {
"default": "desc",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"sortBy": {
"default": "updatedAt",
"type": "string",
"enum": [
"name",
"orgNumber",
"sector",
"createdAt",
"updatedAt"
]
}
},
"additionalProperties": false
}ServedPersonContactQuery
{
"anyOf": [
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"search": {
"type": "string",
"x-normalization": "trim before matching",
"x-normalized-maxLength": 300,
"x-length-unit": "Unicode code points"
},
"companyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"sortBy": {
"default": "updatedAt",
"type": "string",
"enum": [
"fullName",
"email",
"createdAt",
"updatedAt"
]
},
"sortDirection": {
"default": "desc",
"type": "string",
"enum": [
"asc",
"desc"
]
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"changedSince": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"includeDeleted": {
"type": "boolean"
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"changedSince"
],
"additionalProperties": false
}
]
}ServedCompanyContactQuery
{
"anyOf": [
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 1000000
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"search": {
"type": "string",
"x-normalization": "trim before matching",
"x-normalized-maxLength": 300,
"x-length-unit": "Unicode code points"
},
"sortDirection": {
"default": "desc",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"sortBy": {
"default": "updatedAt",
"type": "string",
"enum": [
"name",
"orgNumber",
"sector",
"createdAt",
"updatedAt"
]
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"changedSince": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"includeDeleted": {
"type": "boolean"
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"changedSince"
],
"additionalProperties": false
}
]
}CreatePerson
{
"type": "object",
"properties": {
"fullName": {
"type": "string"
},
"email": {
"type": [
"string",
"null"
]
},
"phone": {
"type": [
"string",
"null"
]
},
"companyIds": {
"default": [],
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"uniqueItems": true,
"x-uuid-uniqueness": "case-insensitive canonical UUIDs"
}
},
"required": [
"fullName"
],
"additionalProperties": false,
"x-normalization": "Shared web contact normalization: trim scalars, empty optional text to null, lowercase email, remove organization-number whitespace, canonical UUIDs; max 300 normalized code points and no duplicate links.",
"x-length-unit": "Unicode code points"
}CreateCompany
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"orgNumber": {
"type": [
"string",
"null"
]
},
"sector": {
"type": [
"string",
"null"
]
},
"personIds": {
"default": [],
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"uniqueItems": true,
"x-uuid-uniqueness": "case-insensitive canonical UUIDs"
}
},
"required": [
"name"
],
"additionalProperties": false,
"x-normalization": "Shared web contact normalization: trim scalars, empty optional text to null, lowercase email, remove organization-number whitespace, canonical UUIDs; max 300 normalized code points and no duplicate links.",
"x-length-unit": "Unicode code points"
}UpdatePerson
{
"type": "object",
"properties": {
"fullName": {
"type": "string"
},
"email": {
"type": [
"string",
"null"
]
},
"phone": {
"type": [
"string",
"null"
]
},
"companyIds": {
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"uniqueItems": true,
"x-uuid-uniqueness": "case-insensitive canonical UUIDs"
},
"expectedVersion": {
"type": "string",
"pattern": "^person-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
},
"confirmPropertyActorCleanup": {
"type": "boolean"
}
},
"required": [
"fullName",
"companyIds",
"expectedVersion"
],
"additionalProperties": false,
"x-normalization": "Shared web contact normalization: trim scalars, empty optional text to null, lowercase email, remove organization-number whitespace, canonical UUIDs; max 300 normalized code points and no duplicate links.",
"x-length-unit": "Unicode code points"
}UpdateCompany
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"orgNumber": {
"type": [
"string",
"null"
]
},
"sector": {
"type": [
"string",
"null"
]
},
"personIds": {
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"uniqueItems": true,
"x-uuid-uniqueness": "case-insensitive canonical UUIDs"
},
"expectedVersion": {
"type": "string",
"pattern": "^company-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
},
"confirmPropertyActorCleanup": {
"type": "boolean"
}
},
"required": [
"name",
"personIds",
"expectedVersion"
],
"additionalProperties": false,
"x-normalization": "Shared web contact normalization: trim scalars, empty optional text to null, lowercase email, remove organization-number whitespace, canonical UUIDs; max 300 normalized code points and no duplicate links.",
"x-length-unit": "Unicode code points"
}PersonRemovalQuery
{
"type": "object",
"properties": {
"expectedVersion": {
"type": "string",
"pattern": "^person-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
},
"confirmPropertyActorCleanup": {
"type": "boolean"
}
},
"required": [
"expectedVersion"
],
"additionalProperties": false
}CompanyRemovalQuery
{
"type": "object",
"properties": {
"expectedVersion": {
"type": "string",
"pattern": "^company-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
},
"confirmPropertyActorCleanup": {
"type": "boolean"
}
},
"required": [
"expectedVersion"
],
"additionalProperties": false
}PersonResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"fullName": {
"type": "string",
"minLength": 1
},
"email": {
"type": [
"string",
"null"
]
},
"phone": {
"type": [
"string",
"null"
]
},
"isMemberBacked": {
"type": "boolean"
},
"companies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"minLength": 1
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"name",
"position"
],
"additionalProperties": false
}
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^person-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"fullName",
"email",
"phone",
"isMemberBacked",
"companies",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}CompanyResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"minLength": 1
},
"orgNumber": {
"type": [
"string",
"null"
]
},
"sector": {
"type": [
"string",
"null"
]
},
"isSelf": {
"type": "boolean"
},
"persons": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"fullName": {
"type": "string",
"minLength": 1
}
},
"required": [
"id",
"fullName"
],
"additionalProperties": false
}
},
"activePersonCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^company-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"name",
"orgNumber",
"sector",
"isSelf",
"persons",
"activePersonCount",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}PersonListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"fullName": {
"type": "string",
"minLength": 1
},
"email": {
"type": [
"string",
"null"
]
},
"phone": {
"type": [
"string",
"null"
]
},
"isMemberBacked": {
"type": "boolean"
},
"companies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"minLength": 1
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"name",
"position"
],
"additionalProperties": false
}
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^person-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"fullName",
"email",
"phone",
"isMemberBacked",
"companies",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
}CompanyListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"minLength": 1
},
"orgNumber": {
"type": [
"string",
"null"
]
},
"sector": {
"type": [
"string",
"null"
]
},
"isSelf": {
"type": "boolean"
},
"persons": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"fullName": {
"type": "string",
"minLength": 1
}
},
"required": [
"id",
"fullName"
],
"additionalProperties": false
}
},
"activePersonCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^company-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"name",
"orgNumber",
"sector",
"isSelf",
"persons",
"activePersonCount",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
}PersonRemovalResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^person-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"deleted",
"deletedAt",
"version"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}CompanyRemovalResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^company-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"deleted",
"deletedAt",
"version"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}ServedPersonListResponse
{
"anyOf": [
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"fullName": {
"type": "string",
"minLength": 1
},
"email": {
"type": [
"string",
"null"
]
},
"phone": {
"type": [
"string",
"null"
]
},
"isMemberBacked": {
"type": "boolean"
},
"companies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"minLength": 1
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"name",
"position"
],
"additionalProperties": false
}
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^person-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"fullName",
"email",
"phone",
"isMemberBacked",
"companies",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
},
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"fullName": {
"type": "string",
"minLength": 1
},
"email": {
"type": [
"string",
"null"
]
},
"phone": {
"type": [
"string",
"null"
]
},
"isMemberBacked": {
"type": "boolean"
},
"companies": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"minLength": 1
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"name",
"position"
],
"additionalProperties": false
}
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^person-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"fullName",
"email",
"phone",
"isMemberBacked",
"companies",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^person-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"deleted",
"deletedAt",
"version"
],
"additionalProperties": false
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}
]
}ServedCompanyListResponse
{
"anyOf": [
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"minLength": 1
},
"orgNumber": {
"type": [
"string",
"null"
]
},
"sector": {
"type": [
"string",
"null"
]
},
"isSelf": {
"type": "boolean"
},
"persons": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"fullName": {
"type": "string",
"minLength": 1
}
},
"required": [
"id",
"fullName"
],
"additionalProperties": false
}
},
"activePersonCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^company-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"name",
"orgNumber",
"sector",
"isSelf",
"persons",
"activePersonCount",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
},
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"minLength": 1
},
"orgNumber": {
"type": [
"string",
"null"
]
},
"sector": {
"type": [
"string",
"null"
]
},
"isSelf": {
"type": "boolean"
},
"persons": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"fullName": {
"type": "string",
"minLength": 1
}
},
"required": [
"id",
"fullName"
],
"additionalProperties": false
}
},
"activePersonCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^company-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"name",
"orgNumber",
"sector",
"isSelf",
"persons",
"activePersonCount",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"version": {
"type": "string",
"pattern": "^company-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"id",
"deleted",
"deletedAt",
"version"
],
"additionalProperties": false
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}
]
}PropertyCover
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"width": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Full rendition width, estimated from the master; may differ by one pixel due to image-library rounding."
},
"height": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Full rendition height, estimated from the master; may differ by one pixel due to image-library rounding."
},
"mimeType": {
"type": "string",
"const": "image/webp"
},
"uploadedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"id",
"propertyId",
"width",
"height",
"mimeType",
"uploadedAt"
],
"additionalProperties": false
}PropertyCoverResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"width": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Full rendition width, estimated from the master; may differ by one pixel due to image-library rounding."
},
"height": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "Full rendition height, estimated from the master; may differ by one pixel due to image-library rounding."
},
"mimeType": {
"type": "string",
"const": "image/webp"
},
"uploadedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"id",
"propertyId",
"width",
"height",
"mimeType",
"uploadedAt"
],
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"propertyVersion": {
"type": "string",
"pattern": "^prop-v1\\.[0-9a-f-]{36}\\.(0|[1-9][0-9]{0,9})$"
}
},
"required": [
"propertyVersion"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false
}PropertyCoverDeletionResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"imageId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
}
},
"required": [
"propertyId",
"imageId",
"deleted",
"deletedAt"
],
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"propertyVersion": {
"type": "string",
"pattern": "^prop-v1\\.[0-9a-f-]{36}\\.(0|[1-9][0-9]{0,9})$"
}
},
"required": [
"propertyVersion"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false
}FindingPhotoPath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"photoId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId",
"propertyId",
"observationId",
"photoId"
],
"additionalProperties": false
}FindingPhotoCaptionCommand
{
"type": "object",
"properties": {
"expectedVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"caption": {
"anyOf": [
{
"type": "string",
"x-normalization": "trim; empty becomes null",
"x-normalized-maxLength": 2000,
"x-length-unit": "Unicode code points"
},
{
"type": "null"
}
]
}
},
"required": [
"expectedVersion",
"caption"
],
"additionalProperties": false
}FindingPhotoOrderCommand
{
"type": "object",
"properties": {
"expectedVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"orderedPhotoIds": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"x-order": "Complete unique set of active finding photos, UUID case-insensitive."
}
},
"required": [
"expectedVersion",
"orderedPhotoIds"
],
"additionalProperties": false
}FindingPhotoCaptionResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"type": "string",
"const": "finding"
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"caption": {
"anyOf": [
{
"type": "string",
"maxLength": 2000,
"x-length-unit": "Unicode code points"
},
{
"type": "null"
}
]
},
"width": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"height": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"mimeType": {
"type": "string",
"enum": [
"image/jpeg",
"image/png",
"image/webp",
"image/heic"
]
},
"sizeBytes": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 10485760
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"completionId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"kind",
"position",
"caption",
"width",
"height",
"mimeType",
"sizeBytes",
"createdAt",
"completionId"
],
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"observationVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
}
},
"required": [
"observationVersion"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false
}FindingPhotoOrderResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"type": "string",
"const": "finding"
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"caption": {
"anyOf": [
{
"type": "string",
"maxLength": 2000,
"x-length-unit": "Unicode code points"
},
{
"type": "null"
}
]
},
"width": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"height": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"mimeType": {
"type": "string",
"enum": [
"image/jpeg",
"image/png",
"image/webp",
"image/heic"
]
},
"sizeBytes": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 10485760
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"completionId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"kind",
"position",
"caption",
"width",
"height",
"mimeType",
"sizeBytes",
"createdAt",
"completionId"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"observationVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
}
},
"required": [
"observationVersion"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false
}FindingPhotoDeletionResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"observationId",
"deleted",
"deletedAt"
],
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"observationVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
}
},
"required": [
"observationVersion"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false
}PhotoUploadBatchPath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"batchId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId",
"batchId"
],
"additionalProperties": false
}StartPhotoUploadBatch
{
"type": "object",
"properties": {
"files": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"target": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"finding",
"remediation"
]
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"kind",
"propertyId",
"observationId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "propertyCover"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedVersion": {
"type": "string"
}
},
"required": [
"kind",
"propertyId",
"expectedVersion"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "certificateCreate"
},
"personId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"metadata": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"standard": {
"type": [
"string",
"null"
]
},
"issuingBody": {
"type": "string"
},
"identifier": {
"type": "string"
},
"issuedAt": {
"type": [
"string",
"null"
]
},
"validUntil": {
"type": [
"string",
"null"
]
}
},
"required": [
"name",
"issuingBody",
"identifier"
],
"additionalProperties": false
}
},
"required": [
"kind",
"metadata"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "certificateCover"
},
"certificateId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expectedVersion": {
"type": "string",
"pattern": "^cert-v1\\.[0-9a-f-]{36}\\.[1-9][0-9]{0,18}$"
}
},
"required": [
"kind",
"certificateId",
"expectedVersion"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "propertyDocument"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"documentType": {
"type": "string",
"enum": [
"sales_prospectus",
"appraisal_report",
"declaration_of_conformity",
"previous_electrical_inspection_report",
"electrical_documentation",
"floor_plan",
"other"
]
},
"customTypeName": {
"type": [
"string",
"null"
]
}
},
"required": [
"kind",
"propertyId",
"documentType"
],
"additionalProperties": false
}
]
},
"filename": {
"type": "string",
"minLength": 1
},
"mimeType": {
"type": "string",
"enum": [
"image/jpeg",
"image/png",
"image/webp",
"image/heic",
"application/pdf",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
]
},
"sizeBytes": {
"type": "integer",
"minimum": 1,
"maximum": 104857600
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"required": [
"target",
"filename",
"mimeType",
"sizeBytes"
],
"additionalProperties": false,
"x-custom-document-type-name": "propertyDocument other uploads require customTypeName: trim, 1–100 Unicode code points. Predefined types discard names.",
"allOf": [
{
"if": {
"properties": {
"target": {
"properties": {
"kind": {
"enum": [
"certificateCreate",
"certificateCover"
]
}
}
}
}
},
"then": {
"properties": {
"mimeType": {
"enum": [
"image/jpeg",
"image/png",
"image/webp"
]
},
"sizeBytes": {
"maximum": 20971520
},
"filename": {
"pattern": "^[^\\u0000-\\u001f\\u007f/\\\\]{1,255}$",
"maxLength": 255
}
},
"x-certificate-metadata": "NFKC and whitespace normalization; normalized UTF-16 bounds name/standard/issuingBody200,identifier120; real YYYY-MM-DD dates years0001..9999; validUntil>=issuedAt",
"x-certificate-version": "certificateCover expectedVersion belongs to certificateId and revision <=9223372036854775807"
}
},
{
"if": {
"properties": {
"target": {
"properties": {
"kind": {
"enum": [
"finding",
"propertyCover"
]
}
}
}
}
},
"then": {
"properties": {
"mimeType": {
"enum": [
"image/jpeg",
"image/png",
"image/webp"
]
},
"sizeBytes": {
"maximum": 10485760
},
"filename": {
"pattern": "^[^\\u0000-\\u001f\\u007f/\\\\]{1,255}$",
"maxLength": 255
}
}
}
},
{
"if": {
"properties": {
"target": {
"properties": {
"kind": {
"const": "remediation"
}
}
}
}
},
"then": {
"properties": {
"mimeType": {
"enum": [
"image/jpeg",
"image/png",
"image/webp",
"image/heic"
]
},
"sizeBytes": {
"maximum": 10485760
},
"filename": {
"pattern": "^[^\\u0000-\\u001f\\u007f/\\\\]{1,255}$",
"maxLength": 255
}
}
}
},
{
"if": {
"properties": {
"target": {
"properties": {
"kind": {
"const": "propertyDocument"
}
}
}
}
},
"then": {
"properties": {
"mimeType": {
"enum": [
"application/pdf",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"image/jpeg",
"image/png"
]
},
"sizeBytes": {
"maximum": 104857600
},
"filename": {
"x-length-unit": "UTF-16 code units",
"x-normalization": "trim before validation",
"x-normalized-maxLength": 255,
"x-basename-only": true,
"x-filename-matches-mime": true
}
}
}
}
]
}
}
},
"required": [
"files"
],
"additionalProperties": false,
"x-cover-preconditions": "One cover per property; expectedVersion must identify that property and a nonnegative int32 revision."
}CompletePhotoUploadBatch
{
"type": "object",
"properties": {},
"additionalProperties": false
}PhotoUploadBatchStarted
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expiresAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"files": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"upload": {
"type": "object",
"properties": {
"uploadUrl": {
"type": "string",
"format": "uri"
},
"resumableUrl": {
"type": "string",
"format": "uri"
},
"uploadToken": {
"type": "string",
"minLength": 1,
"maxLength": 8192
},
"bucket": {
"type": "string",
"enum": [
"image_upload_staging",
"property_documents"
]
},
"objectName": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"chunkSizeBytes": {
"type": "number",
"const": 6291456
}
},
"required": [
"uploadUrl",
"resumableUrl",
"uploadToken",
"bucket",
"objectName",
"chunkSizeBytes"
],
"additionalProperties": false
},
"problem": {
"type": "null"
}
},
"required": [
"id",
"upload",
"problem"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"upload": {
"type": "null"
},
"problem": {
"type": "string",
"enum": [
"dependency_unavailable",
"expired",
"already_uploaded"
]
}
},
"required": [
"id",
"upload",
"problem"
],
"additionalProperties": false
}
]
}
}
},
"required": [
"id",
"expiresAt",
"files"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}PhotoUploadBatchAccepted
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"id"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}PhotoUploadBatchStatus
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"expiresAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
},
"files": {
"minItems": 1,
"maxItems": 50,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"status": {
"type": "string",
"enum": [
"pending",
"processing"
]
}
},
"required": [
"id",
"status"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"status": {
"type": "string",
"const": "ready"
},
"resourceId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"id",
"status",
"resourceId"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"status": {
"type": "string",
"const": "failed"
},
"problem": {
"type": "string",
"enum": [
"staged_object_missing",
"size_mismatch",
"checksum_mismatch",
"mime_mismatch",
"processing_failed",
"promotion_failed",
"authority_lost",
"expired",
"photo_limit",
"staged_object_changed",
"attempts_exhausted",
"version_conflict",
"duplicate"
]
}
},
"required": [
"id",
"status",
"problem"
],
"additionalProperties": false
}
]
}
}
},
"required": [
"id",
"expiresAt",
"files"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}ObservationPhotoContentPath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"photoId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId",
"propertyId",
"observationId",
"photoId"
],
"additionalProperties": false
}ObservationPhotoContentQuery
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"finding",
"remediation"
]
}
},
"required": [
"kind"
],
"additionalProperties": false
}ObservationStatusHistory
{
"type": "object",
"properties": {
"sequence": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"eventType": {
"type": "string",
"enum": [
"created",
"status_changed"
]
},
"previousStatus": {
"anyOf": [
{
"type": "string",
"enum": [
"open",
"in_progress",
"resolved"
]
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"open",
"in_progress",
"resolved"
]
},
"occurredAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"completionId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"required": [
"sequence",
"eventType",
"previousStatus",
"status",
"occurredAt",
"completionId"
],
"additionalProperties": false
}ObservationStatusHistoryQuery
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"additionalProperties": false
}ObservationStatusHistoryListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"sequence": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"eventType": {
"type": "string",
"enum": [
"created",
"status_changed"
]
},
"previousStatus": {
"anyOf": [
{
"type": "string",
"enum": [
"open",
"in_progress",
"resolved"
]
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"open",
"in_progress",
"resolved"
]
},
"occurredAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
"completionId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"required": [
"sequence",
"eventType",
"previousStatus",
"status",
"occurredAt",
"completionId"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
},
"legacy": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore",
"legacy"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false
}ObservationSuggestionQuery
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"title",
"controlPoint"
]
},
"query": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[^\\u0000]*$",
"x-normalization": "trim and collapse whitespace",
"x-length-unit": "Unicode code points"
}
},
"required": [
"kind",
"query"
],
"additionalProperties": false
}ObservationSuggestion
{
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "title"
},
"entryId": {
"type": "string",
"pattern": "^[0-9]{4}$"
},
"shortCode": {
"type": "string",
"pattern": "\\S"
},
"category": {
"type": "string",
"pattern": "\\S"
},
"option": {
"type": "string",
"pattern": "\\S"
},
"description": {
"type": "string",
"maxLength": 10000,
"x-length-unit": "Unicode code points"
},
"missingDescription": {
"type": "boolean"
}
},
"required": [
"kind",
"entryId",
"shortCode",
"category",
"option",
"description",
"missingDescription"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "controlPoint"
},
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"x-length-unit": "Unicode code points"
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"kind",
"id",
"name",
"position"
],
"additionalProperties": false
}
]
}ObservationSuggestionListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 20,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "title"
},
"entryId": {
"type": "string",
"pattern": "^[0-9]{4}$"
},
"shortCode": {
"type": "string",
"pattern": "\\S"
},
"category": {
"type": "string",
"pattern": "\\S"
},
"option": {
"type": "string",
"pattern": "\\S"
},
"description": {
"type": "string",
"maxLength": 10000,
"x-length-unit": "Unicode code points"
},
"missingDescription": {
"type": "boolean"
}
},
"required": [
"kind",
"entryId",
"shortCode",
"category",
"option",
"description",
"missingDescription"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"const": "controlPoint"
},
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"x-length-unit": "Unicode code points"
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"kind",
"id",
"name",
"position"
],
"additionalProperties": false
}
]
}
},
"meta": {
"type": "object",
"properties": {
"hasMore": {
"type": "boolean"
}
},
"required": [
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false
}RemediationCost
{
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "unpriced"
},
"netOre": {
"type": "null"
},
"vatBasisPoints": {
"type": "null"
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"currency": {
"type": "string",
"const": "NOK"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"vatOre": {
"type": "null"
},
"grossOre": {
"type": "null"
}
},
"required": [
"type",
"netOre",
"vatBasisPoints",
"observationId",
"currency",
"version",
"vatOre",
"grossOre"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"fixed",
"estimate",
"rough_estimate",
"standard"
]
},
"netOre": {
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
"vatBasisPoints": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"currency": {
"type": "string",
"const": "NOK"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"vatOre": {
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
"grossOre": {
"type": "integer",
"minimum": 0,
"maximum": 199999999998
}
},
"required": [
"type",
"netOre",
"vatBasisPoints",
"observationId",
"currency",
"version",
"vatOre",
"grossOre"
],
"additionalProperties": false
}
]
}ReplaceRemediationCost
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"unpriced",
"fixed",
"estimate",
"rough_estimate",
"standard"
]
},
"netOre": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
{
"type": "null"
}
]
},
"vatBasisPoints": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 10000
},
{
"type": "null"
}
]
},
"expectedVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
}
},
"required": [
"type",
"netOre",
"vatBasisPoints",
"expectedVersion"
],
"additionalProperties": false,
"oneOf": [
{
"properties": {
"type": {
"const": "unpriced"
},
"netOre": {
"type": "null"
},
"vatBasisPoints": {
"type": "null"
}
}
},
{
"properties": {
"type": {
"enum": [
"fixed",
"estimate",
"rough_estimate",
"standard"
]
},
"netOre": {
"type": "integer"
},
"vatBasisPoints": {
"type": "integer"
}
}
}
]
}RemediationCostQuery
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"additionalProperties": false
}ServedRemediationCostQuery
{
"anyOf": [
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"changedSince": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"includeDeleted": {
"type": "boolean"
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"changedSince"
],
"additionalProperties": false
}
]
}RemediationCostResponse
{
"type": "object",
"properties": {
"data": {
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "unpriced"
},
"netOre": {
"type": "null"
},
"vatBasisPoints": {
"type": "null"
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"currency": {
"type": "string",
"const": "NOK"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"vatOre": {
"type": "null"
},
"grossOre": {
"type": "null"
}
},
"required": [
"type",
"netOre",
"vatBasisPoints",
"observationId",
"currency",
"version",
"vatOre",
"grossOre"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"fixed",
"estimate",
"rough_estimate",
"standard"
]
},
"netOre": {
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
"vatBasisPoints": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"currency": {
"type": "string",
"const": "NOK"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"vatOre": {
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
"grossOre": {
"type": "integer",
"minimum": 0,
"maximum": 199999999998
}
},
"required": [
"type",
"netOre",
"vatBasisPoints",
"observationId",
"currency",
"version",
"vatOre",
"grossOre"
],
"additionalProperties": false
}
]
}
},
"required": [
"data"
],
"additionalProperties": false
}RemediationCostListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "unpriced"
},
"netOre": {
"type": "null"
},
"vatBasisPoints": {
"type": "null"
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"currency": {
"type": "string",
"const": "NOK"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"vatOre": {
"type": "null"
},
"grossOre": {
"type": "null"
}
},
"required": [
"type",
"netOre",
"vatBasisPoints",
"observationId",
"currency",
"version",
"vatOre",
"grossOre"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"fixed",
"estimate",
"rough_estimate",
"standard"
]
},
"netOre": {
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
"vatBasisPoints": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"currency": {
"type": "string",
"const": "NOK"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"vatOre": {
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
"grossOre": {
"type": "integer",
"minimum": 0,
"maximum": 199999999998
}
},
"required": [
"type",
"netOre",
"vatBasisPoints",
"observationId",
"currency",
"version",
"vatOre",
"grossOre"
],
"additionalProperties": false
}
]
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
}RemediationCostSyncListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "unpriced"
},
"netOre": {
"type": "null"
},
"vatBasisPoints": {
"type": "null"
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"currency": {
"type": "string",
"const": "NOK"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"vatOre": {
"type": "null"
},
"grossOre": {
"type": "null"
}
},
"required": [
"type",
"netOre",
"vatBasisPoints",
"observationId",
"currency",
"version",
"vatOre",
"grossOre"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"fixed",
"estimate",
"rough_estimate",
"standard"
]
},
"netOre": {
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
"vatBasisPoints": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"currency": {
"type": "string",
"const": "NOK"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"vatOre": {
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
"grossOre": {
"type": "integer",
"minimum": 0,
"maximum": 199999999998
}
},
"required": [
"type",
"netOre",
"vatBasisPoints",
"observationId",
"currency",
"version",
"vatOre",
"grossOre"
],
"additionalProperties": false
}
]
},
{
"type": "object",
"properties": {
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"observationId",
"deleted",
"deletedAt"
],
"additionalProperties": false
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}ServedRemediationCostListResponse
{
"anyOf": [
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "unpriced"
},
"netOre": {
"type": "null"
},
"vatBasisPoints": {
"type": "null"
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"currency": {
"type": "string",
"const": "NOK"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"vatOre": {
"type": "null"
},
"grossOre": {
"type": "null"
}
},
"required": [
"type",
"netOre",
"vatBasisPoints",
"observationId",
"currency",
"version",
"vatOre",
"grossOre"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"fixed",
"estimate",
"rough_estimate",
"standard"
]
},
"netOre": {
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
"vatBasisPoints": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"currency": {
"type": "string",
"const": "NOK"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"vatOre": {
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
"grossOre": {
"type": "integer",
"minimum": 0,
"maximum": 199999999998
}
},
"required": [
"type",
"netOre",
"vatBasisPoints",
"observationId",
"currency",
"version",
"vatOre",
"grossOre"
],
"additionalProperties": false
}
]
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
},
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "unpriced"
},
"netOre": {
"type": "null"
},
"vatBasisPoints": {
"type": "null"
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"currency": {
"type": "string",
"const": "NOK"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"vatOre": {
"type": "null"
},
"grossOre": {
"type": "null"
}
},
"required": [
"type",
"netOre",
"vatBasisPoints",
"observationId",
"currency",
"version",
"vatOre",
"grossOre"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"fixed",
"estimate",
"rough_estimate",
"standard"
]
},
"netOre": {
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
"vatBasisPoints": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"currency": {
"type": "string",
"const": "NOK"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"vatOre": {
"type": "integer",
"minimum": 0,
"maximum": 99999999999
},
"grossOre": {
"type": "integer",
"minimum": 0,
"maximum": 199999999998
}
},
"required": [
"type",
"netOre",
"vatBasisPoints",
"observationId",
"currency",
"version",
"vatOre",
"grossOre"
],
"additionalProperties": false
}
]
},
{
"type": "object",
"properties": {
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"observationId",
"deleted",
"deletedAt"
],
"additionalProperties": false
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}
]
}PlacementTemplate
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"structure": {
"type": "object",
"properties": {
"nodes": {
"minItems": 1,
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 0,
"type": "array",
"items": {
"not": {}
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"nodes"
],
"additionalProperties": false,
"x-template-tree-invariants": "At most 500 nodes total, 200 siblings and depth 4; unique sibling names and positions; ascending positions; single nodes have no children."
},
"isStandard": {
"type": "boolean"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned template version, bound to this template."
}
},
"required": [
"id",
"name",
"propertyType",
"structure",
"isStandard",
"version"
],
"additionalProperties": false
}PlacementTemplateStructure
{
"type": "object",
"properties": {
"nodes": {
"minItems": 1,
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 0,
"type": "array",
"items": {
"not": {}
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"nodes"
],
"additionalProperties": false,
"x-template-tree-invariants": "At most 500 nodes total, 200 siblings and depth 4; unique sibling names and positions; ascending positions; single nodes have no children."
}PlacementTemplateVersion
{
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned template version, bound to this template."
}PlacementTemplatePath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"templateId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId",
"templateId"
],
"additionalProperties": false
}PlacementTemplateQuery
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"search": {
"type": "string",
"allOf": [
{
"pattern": "\\S"
},
{
"pattern": "^[^\\u0000]*$"
}
],
"x-normalization": "trim before validation",
"maxLength": 200,
"x-length-unit": "Unicode code points"
}
},
"additionalProperties": false
}CreatePlacementTemplate
{
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"structure": {
"type": "object",
"properties": {
"nodes": {
"minItems": 1,
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 0,
"type": "array",
"items": {
"not": {}
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"nodes"
],
"additionalProperties": false,
"x-template-tree-invariants": "At most 500 nodes total, 200 siblings and depth 4; unique sibling names and positions; ascending positions; single nodes have no children."
}
},
"required": [
"name",
"propertyType",
"structure"
],
"additionalProperties": false
}UpdatePlacementTemplate
{
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"structure": {
"type": "object",
"properties": {
"nodes": {
"minItems": 1,
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 0,
"type": "array",
"items": {
"not": {}
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"nodes"
],
"additionalProperties": false,
"x-template-tree-invariants": "At most 500 nodes total, 200 siblings and depth 4; unique sibling names and positions; ascending positions; single nodes have no children."
},
"expectedVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned template version, bound to this template."
}
},
"required": [
"expectedVersion"
],
"additionalProperties": false,
"minProperties": 2,
"x-non-empty-patch": "expectedVersion plus at least one template field"
}DuplicatePlacementTemplate
{
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
}
},
"required": [
"name"
],
"additionalProperties": false
}SavePlacementTemplateFromProperty
{
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
}
},
"required": [
"name"
],
"additionalProperties": false
}PlacementTemplateResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"structure": {
"type": "object",
"properties": {
"nodes": {
"minItems": 1,
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 0,
"type": "array",
"items": {
"not": {}
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"nodes"
],
"additionalProperties": false,
"x-template-tree-invariants": "At most 500 nodes total, 200 siblings and depth 4; unique sibling names and positions; ascending positions; single nodes have no children."
},
"isStandard": {
"type": "boolean"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned template version, bound to this template."
}
},
"required": [
"id",
"name",
"propertyType",
"structure",
"isStandard",
"version"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}PlacementTemplateRemovalResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned template version, bound to this template."
}
},
"required": [
"id",
"deleted",
"deletedAt",
"version"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}PlacementTemplateListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"structure": {
"type": "object",
"properties": {
"nodes": {
"minItems": 1,
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 0,
"type": "array",
"items": {
"not": {}
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"nodes"
],
"additionalProperties": false,
"x-template-tree-invariants": "At most 500 nodes total, 200 siblings and depth 4; unique sibling names and positions; ascending positions; single nodes have no children."
},
"isStandard": {
"type": "boolean"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned template version, bound to this template."
}
},
"required": [
"id",
"name",
"propertyType",
"structure",
"isStandard",
"version"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
}ServedPlacementTemplateQuery
{
"anyOf": [
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"search": {
"type": "string",
"allOf": [
{
"pattern": "\\S"
},
{
"pattern": "^[^\\u0000]*$"
}
],
"x-normalization": "trim before validation",
"maxLength": 200,
"x-length-unit": "Unicode code points"
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"changedSince": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"includeDeleted": {
"type": "boolean"
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"changedSince"
],
"additionalProperties": false
}
]
}ServedPlacementTemplateListResponse
{
"anyOf": [
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"structure": {
"type": "object",
"properties": {
"nodes": {
"minItems": 1,
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 0,
"type": "array",
"items": {
"not": {}
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"nodes"
],
"additionalProperties": false,
"x-template-tree-invariants": "At most 500 nodes total, 200 siblings and depth 4; unique sibling names and positions; ascending positions; single nodes have no children."
},
"isStandard": {
"type": "boolean"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned template version, bound to this template."
}
},
"required": [
"id",
"name",
"propertyType",
"structure",
"isStandard",
"version"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
},
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"structure": {
"type": "object",
"properties": {
"nodes": {
"minItems": 1,
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 0,
"type": "array",
"items": {
"not": {}
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"nodes"
],
"additionalProperties": false,
"x-template-tree-invariants": "At most 500 nodes total, 200 siblings and depth 4; unique sibling names and positions; ascending positions; single nodes have no children."
},
"isStandard": {
"type": "boolean"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned template version, bound to this template."
}
},
"required": [
"id",
"name",
"propertyType",
"structure",
"isStandard",
"version"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned template version, bound to this template."
}
},
"required": [
"id",
"deleted",
"deletedAt",
"version"
],
"additionalProperties": false
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}
]
}PlacementTemplateSyncListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"structure": {
"type": "object",
"properties": {
"nodes": {
"minItems": 1,
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"type": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"children": {
"maxItems": 0,
"type": "array",
"items": {
"not": {}
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"name",
"type",
"position"
],
"additionalProperties": false
}
}
},
"required": [
"nodes"
],
"additionalProperties": false,
"x-template-tree-invariants": "At most 500 nodes total, 200 siblings and depth 4; unique sibling names and positions; ascending positions; single nodes have no children."
},
"isStandard": {
"type": "boolean"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned template version, bound to this template."
}
},
"required": [
"id",
"name",
"propertyType",
"structure",
"isStandard",
"version"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned template version, bound to this template."
}
},
"required": [
"id",
"deleted",
"deletedAt",
"version"
],
"additionalProperties": false
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}PlacementTemplateTombstone
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned template version, bound to this template."
}
},
"required": [
"id",
"deleted",
"deletedAt",
"version"
],
"additionalProperties": false
}PlacementPath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"placementId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId",
"propertyId",
"placementId"
],
"additionalProperties": false
}CreatePlacement
{
"type": "object",
"properties": {
"expectedVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned placement set version, bound to the property."
},
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"placementType": {
"type": "string",
"enum": [
"single",
"group"
]
},
"parentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
}
},
"required": [
"expectedVersion",
"name",
"placementType"
],
"additionalProperties": false
}UpdatePlacement
{
"type": "object",
"properties": {
"expectedVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned placement set version, bound to the property."
},
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
}
},
"required": [
"expectedVersion"
],
"additionalProperties": false,
"minProperties": 2,
"x-non-empty-patch": "expectedVersion plus name or installationYear"
}MovePlacement
{
"type": "object",
"properties": {
"expectedVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned placement set version, bound to the property."
},
"parentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
}
},
"required": [
"expectedVersion",
"parentId",
"position"
],
"additionalProperties": false
}ReorderPlacements
{
"type": "object",
"properties": {
"expectedVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned placement set version, bound to the property."
},
"parentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"orderedPlacementIds": {
"minItems": 1,
"maxItems": 200,
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
}
},
"required": [
"expectedVersion",
"orderedPlacementIds"
],
"additionalProperties": false,
"x-complete-sibling-permutation": true
}PlacementResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"parentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"placementType": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"isActive": {
"type": "boolean",
"description": "Non-deleted placement; creation additionally requires an active single placement."
}
},
"required": [
"id",
"propertyId",
"parentId",
"name",
"placementType",
"position",
"installationYear",
"isActive"
],
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"placementSetVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned placement set version, bound to the property."
}
},
"required": [
"placementSetVersion"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false
}PlacementOrderResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 200,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"parentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"placementType": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"isActive": {
"type": "boolean",
"description": "Non-deleted placement; creation additionally requires an active single placement."
}
},
"required": [
"id",
"propertyId",
"parentId",
"name",
"placementType",
"position",
"installationYear",
"isActive"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"placementSetVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned placement set version, bound to the property."
}
},
"required": [
"placementSetVersion"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false
}PlacementRemovalResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"propertyId",
"deleted",
"deletedAt"
],
"additionalProperties": false
},
"meta": {
"type": "object",
"properties": {
"placementSetVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned placement set version, bound to the property."
}
},
"required": [
"placementSetVersion"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false
}PlacementTombstone
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"propertyId",
"deleted",
"deletedAt"
],
"additionalProperties": false
}PlacementSetVersion
{
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned placement set version, bound to the property."
}ServedPlacementQuery
{
"anyOf": [
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"changedSince": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"includeDeleted": {
"type": "boolean"
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"changedSince"
],
"additionalProperties": false
}
]
}ServedPlacementListResponse
{
"anyOf": [
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"parentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"placementType": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"isActive": {
"type": "boolean",
"description": "Non-deleted placement; creation additionally requires an active single placement."
}
},
"required": [
"id",
"propertyId",
"parentId",
"name",
"placementType",
"position",
"installationYear",
"isActive"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
},
"placementSetVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned placement set version, bound to the property."
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore",
"placementSetVersion"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
},
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"parentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"placementType": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"isActive": {
"type": "boolean",
"description": "Non-deleted placement; creation additionally requires an active single placement."
}
},
"required": [
"id",
"propertyId",
"parentId",
"name",
"placementType",
"position",
"installationYear",
"isActive"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"propertyId",
"deleted",
"deletedAt"
],
"additionalProperties": false
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"placementSetVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned placement set version, bound to the property."
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}
]
}AssignedProperty
{
"type": "object",
"properties": {
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned property version, bound to this property. Always present in fresh responses; older retained bodies may omit it."
},
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"address": {
"type": "object",
"properties": {
"streetAddress": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"postalCode": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"city": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
}
},
"required": [
"streetAddress",
"postalCode",
"city"
],
"additionalProperties": false
},
"cadastral": {
"anyOf": [
{
"type": "object",
"properties": {
"gnr": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"bnr": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"municipality": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
}
},
"required": [
"gnr",
"bnr",
"municipality"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"registryApartment": {
"description": "Stored registry apartment, always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "object",
"properties": {
"addressReference": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"number": {
"type": "string",
"pattern": "^[^ \\u0000-\\u001f\\u007f](?:[^\\u0000-\\u001f\\u007f]{0,30}[^ \\u0000-\\u001f\\u007f])?$"
}
},
"required": [
"addressReference",
"number"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"status": {
"type": "string",
"enum": [
"active",
"archived"
]
},
"constructionYear": {
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"permissions": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"accountId",
"address",
"cadastral",
"propertyType",
"status",
"constructionYear",
"createdAt",
"updatedAt",
"permissions"
],
"additionalProperties": false
}AssignedPropertyResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned property version, bound to this property. Always present in fresh responses; older retained bodies may omit it."
},
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"address": {
"type": "object",
"properties": {
"streetAddress": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"postalCode": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"city": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
}
},
"required": [
"streetAddress",
"postalCode",
"city"
],
"additionalProperties": false
},
"cadastral": {
"anyOf": [
{
"type": "object",
"properties": {
"gnr": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"bnr": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"municipality": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
}
},
"required": [
"gnr",
"bnr",
"municipality"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"registryApartment": {
"description": "Stored registry apartment, always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "object",
"properties": {
"addressReference": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"number": {
"type": "string",
"pattern": "^[^ \\u0000-\\u001f\\u007f](?:[^\\u0000-\\u001f\\u007f]{0,30}[^ \\u0000-\\u001f\\u007f])?$"
}
},
"required": [
"addressReference",
"number"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"status": {
"type": "string",
"enum": [
"active",
"archived"
]
},
"constructionYear": {
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"permissions": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"accountId",
"address",
"cadastral",
"propertyType",
"status",
"constructionYear",
"createdAt",
"updatedAt",
"permissions"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}AssignedPropertyListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned property version, bound to this property. Always present in fresh responses; older retained bodies may omit it."
},
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"address": {
"type": "object",
"properties": {
"streetAddress": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"postalCode": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"city": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
}
},
"required": [
"streetAddress",
"postalCode",
"city"
],
"additionalProperties": false
},
"cadastral": {
"anyOf": [
{
"type": "object",
"properties": {
"gnr": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"bnr": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"municipality": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
}
},
"required": [
"gnr",
"bnr",
"municipality"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"registryApartment": {
"description": "Stored registry apartment, always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "object",
"properties": {
"addressReference": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"number": {
"type": "string",
"pattern": "^[^ \\u0000-\\u001f\\u007f](?:[^\\u0000-\\u001f\\u007f]{0,30}[^ \\u0000-\\u001f\\u007f])?$"
}
},
"required": [
"addressReference",
"number"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"status": {
"type": "string",
"enum": [
"active",
"archived"
]
},
"constructionYear": {
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"permissions": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"id",
"accountId",
"address",
"cadastral",
"propertyType",
"status",
"constructionYear",
"createdAt",
"updatedAt",
"permissions"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
}Property
{
"type": "object",
"properties": {
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned property version, bound to this property. Always present in fresh responses; older retained bodies may omit it."
},
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"address": {
"type": "object",
"properties": {
"streetAddress": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"postalCode": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"city": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
}
},
"required": [
"streetAddress",
"postalCode",
"city"
],
"additionalProperties": false
},
"cadastral": {
"anyOf": [
{
"type": "object",
"properties": {
"gnr": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"bnr": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"municipality": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"municipalityCode": {
"description": "Always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}$"
},
{
"type": "null"
}
]
},
"fnr": {
"description": "Always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"snr": {
"description": "Always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
}
},
"required": [
"gnr",
"bnr",
"municipality"
],
"additionalProperties": false,
"not": {
"properties": {
"gnr": {
"type": "null"
},
"bnr": {
"type": "null"
},
"municipality": {
"type": "null"
},
"municipalityCode": {
"type": "null"
},
"fnr": {
"type": "null"
},
"snr": {
"type": "null"
}
}
}
},
{
"type": "null"
}
]
},
"registryAddress": {
"description": "Stored registry snapshot, always present in fresh responses; optional for retained older bodies. Caller-provided context, not proof of authenticity.",
"anyOf": [
{
"type": "object",
"properties": {
"addressKind": {
"anyOf": [
{
"type": "string",
"enum": [
"street",
"cadastral"
]
},
{
"type": "null"
}
]
},
"reference": {
"type": "string",
"allOf": [
{
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"pattern": "^[\\s\\S]{1,100}$"
}
]
},
"streetAddress": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"postalCode": {
"type": "string",
"pattern": "^\\d{4}$"
},
"city": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"municipality": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"municipalityCode": {
"type": "string",
"pattern": "^\\d{4}$"
},
"cadastralGnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralBnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralFnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralSnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"streetName": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"type": "null"
}
]
},
"houseNumber": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"houseLetter": {
"anyOf": [
{
"type": "string",
"pattern": "^[\\s\\S]{0,8}$"
},
{
"type": "null"
}
]
},
"addressCode": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"addressSupplement": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"type": "null"
}
]
},
"position": {
"anyOf": [
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"crs": {
"type": "string",
"const": "EPSG:4258"
}
},
"required": [
"latitude",
"longitude",
"crs"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"source": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"allOf": [
{
"pattern": "\\S"
},
{
"pattern": "^[\\s\\S]{1,60}$"
}
]
},
"retrievedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"anyOf": [
{
"type": "string",
"maxLength": 40,
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d))|(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?)$"
},
{
"type": "null"
}
]
}
},
"required": [
"provider",
"retrievedAt",
"updatedAt"
],
"additionalProperties": false
}
},
"required": [
"addressKind",
"reference",
"streetAddress",
"postalCode",
"city",
"municipality",
"municipalityCode",
"cadastralGnr",
"cadastralBnr",
"cadastralFnr",
"cadastralSnr",
"streetName",
"houseNumber",
"houseLetter",
"addressCode",
"addressSupplement",
"position",
"source"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"registryApartment": {
"description": "Stored registry apartment, always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "object",
"properties": {
"addressReference": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"number": {
"type": "string",
"pattern": "^[^ \\u0000-\\u001f\\u007f](?:[^\\u0000-\\u001f\\u007f]{0,30}[^ \\u0000-\\u001f\\u007f])?$"
}
},
"required": [
"addressReference",
"number"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"status": {
"type": "string",
"enum": [
"active",
"archived"
]
},
"constructionYear": {
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"accountId",
"address",
"cadastral",
"propertyType",
"status",
"constructionYear",
"createdAt",
"updatedAt"
],
"additionalProperties": false
}AccountObservationQuery
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"status": {
"type": "string",
"enum": [
"open",
"in_progress",
"resolved"
]
},
"tgGrade": {
"type": "string",
"enum": [
"TG0",
"TG1",
"TG2",
"TG3",
"TG-IU"
]
},
"sortBy": {
"default": "createdAt",
"type": "string",
"enum": [
"createdAt",
"updatedAt"
]
},
"sortDirection": {
"default": "desc",
"type": "string",
"enum": [
"asc",
"desc"
]
}
},
"additionalProperties": false
}ServedAccountObservationQuery
{
"anyOf": [
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"status": {
"type": "string",
"enum": [
"open",
"in_progress",
"resolved"
]
},
"tgGrade": {
"type": "string",
"enum": [
"TG0",
"TG1",
"TG2",
"TG3",
"TG-IU"
]
},
"sortBy": {
"default": "createdAt",
"type": "string",
"enum": [
"createdAt",
"updatedAt"
]
},
"sortDirection": {
"default": "desc",
"type": "string",
"enum": [
"asc",
"desc"
]
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"changedSince": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"includeDeleted": {
"type": "boolean"
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"changedSince"
],
"additionalProperties": false
}
]
}ServedPropertyQuery
{
"anyOf": [
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"search": {
"type": "string",
"allOf": [
{
"pattern": "\\S"
},
{
"pattern": "^[^\\u0000]*$"
}
],
"x-normalization": "trim before validation",
"maxLength": 200,
"x-length-unit": "Unicode code points"
},
"status": {
"default": "active",
"type": "string",
"enum": [
"active",
"archived"
]
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"sortBy": {
"default": "updatedAt",
"type": "string",
"enum": [
"address",
"propertyType",
"constructionYear",
"createdAt",
"updatedAt"
]
},
"sortDirection": {
"default": "desc",
"type": "string",
"enum": [
"asc",
"desc"
]
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"changedSince": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"includeDeleted": {
"type": "boolean"
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"changedSince"
],
"additionalProperties": false
}
]
}ServedObservationQuery
{
"anyOf": [
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"status": {
"type": "string",
"enum": [
"open",
"in_progress",
"resolved"
]
},
"tgGrade": {
"type": "string",
"enum": [
"TG0",
"TG1",
"TG2",
"TG3",
"TG-IU"
]
},
"placementId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"sortBy": {
"default": "createdAt",
"type": "string",
"const": "createdAt"
},
"sortDirection": {
"default": "desc",
"type": "string",
"enum": [
"asc",
"desc"
]
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"changedSince": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
},
"includeDeleted": {
"type": "boolean"
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"changedSince"
],
"additionalProperties": false
}
]
}PropertyTombstone
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"deleted",
"deletedAt"
],
"additionalProperties": false
}ObservationTombstone
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
}
},
"required": [
"id",
"deleted",
"deletedAt",
"propertyId",
"version"
],
"additionalProperties": false
}ObservationRemovalResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
}
},
"required": [
"id",
"deleted",
"deletedAt",
"propertyId",
"version"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}SyncMeta
{
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}PropertySyncListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned property version, bound to this property. Always present in fresh responses; older retained bodies may omit it."
},
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"address": {
"type": "object",
"properties": {
"streetAddress": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"postalCode": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"city": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
}
},
"required": [
"streetAddress",
"postalCode",
"city"
],
"additionalProperties": false
},
"cadastral": {
"anyOf": [
{
"type": "object",
"properties": {
"gnr": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"bnr": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"municipality": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"municipalityCode": {
"description": "Always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}$"
},
{
"type": "null"
}
]
},
"fnr": {
"description": "Always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"snr": {
"description": "Always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
}
},
"required": [
"gnr",
"bnr",
"municipality"
],
"additionalProperties": false,
"not": {
"properties": {
"gnr": {
"type": "null"
},
"bnr": {
"type": "null"
},
"municipality": {
"type": "null"
},
"municipalityCode": {
"type": "null"
},
"fnr": {
"type": "null"
},
"snr": {
"type": "null"
}
}
}
},
{
"type": "null"
}
]
},
"registryAddress": {
"description": "Stored registry snapshot, always present in fresh responses; optional for retained older bodies. Caller-provided context, not proof of authenticity.",
"anyOf": [
{
"type": "object",
"properties": {
"addressKind": {
"anyOf": [
{
"type": "string",
"enum": [
"street",
"cadastral"
]
},
{
"type": "null"
}
]
},
"reference": {
"type": "string",
"allOf": [
{
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"pattern": "^[\\s\\S]{1,100}$"
}
]
},
"streetAddress": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"postalCode": {
"type": "string",
"pattern": "^\\d{4}$"
},
"city": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"municipality": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"municipalityCode": {
"type": "string",
"pattern": "^\\d{4}$"
},
"cadastralGnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralBnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralFnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralSnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"streetName": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"type": "null"
}
]
},
"houseNumber": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"houseLetter": {
"anyOf": [
{
"type": "string",
"pattern": "^[\\s\\S]{0,8}$"
},
{
"type": "null"
}
]
},
"addressCode": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"addressSupplement": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"type": "null"
}
]
},
"position": {
"anyOf": [
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"crs": {
"type": "string",
"const": "EPSG:4258"
}
},
"required": [
"latitude",
"longitude",
"crs"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"source": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"allOf": [
{
"pattern": "\\S"
},
{
"pattern": "^[\\s\\S]{1,60}$"
}
]
},
"retrievedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"anyOf": [
{
"type": "string",
"maxLength": 40,
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d))|(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?)$"
},
{
"type": "null"
}
]
}
},
"required": [
"provider",
"retrievedAt",
"updatedAt"
],
"additionalProperties": false
}
},
"required": [
"addressKind",
"reference",
"streetAddress",
"postalCode",
"city",
"municipality",
"municipalityCode",
"cadastralGnr",
"cadastralBnr",
"cadastralFnr",
"cadastralSnr",
"streetName",
"houseNumber",
"houseLetter",
"addressCode",
"addressSupplement",
"position",
"source"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"registryApartment": {
"description": "Stored registry apartment, always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "object",
"properties": {
"addressReference": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"number": {
"type": "string",
"pattern": "^[^ \\u0000-\\u001f\\u007f](?:[^\\u0000-\\u001f\\u007f]{0,30}[^ \\u0000-\\u001f\\u007f])?$"
}
},
"required": [
"addressReference",
"number"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"status": {
"type": "string",
"enum": [
"active",
"archived"
]
},
"constructionYear": {
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"accountId",
"address",
"cadastral",
"propertyType",
"status",
"constructionYear",
"createdAt",
"updatedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"deleted",
"deletedAt"
],
"additionalProperties": false
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}ObservationSyncListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"placementId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"number": {
"type": "string",
"maxLength": 19,
"pattern": "^[0-9]{2}[.](?!0{4}$)(?:[0-9]{4}|[1-9][0-9]{4,14}|[1-8][0-9]{15}|900[0-6][0-9]{12}|9007[0-0][0-9]{11}|90071[0-8][0-9]{10}|900719[0-8][0-9]{9}|9007199[0-1][0-9]{8}|90071992[0-4][0-9]{7}|900719925[0-3][0-9]{6}|9007199254[0-6][0-9]{5}|90071992547[0-3][0-9]{4}|9007199254740[0-8][0-9]{2}|90071992547409[0-8][0-9]{1}|900719925474099[0-0][0-9]{0}|9007199254740991)$",
"description": "Formatted organization/year observation number; sequence is a positive safe integer no greater than 9007199254740991, for example 26.0001."
},
"controlPoint": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "\\S",
"x-length-unit": "Unicode code points",
"x-normalized-control-point": "NFKC, trim, collapse whitespace, lowercase; normalized value must contain 1 through 500 Unicode code points"
},
"title": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200,
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
{
"type": "null"
}
],
"description": "Short finding title. Null only for legacy findings created before titles were required; clients display \"-\" instead."
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 10000,
"pattern": "\\S",
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
"tgGrade": {
"type": "string",
"enum": [
"TG0",
"TG1",
"TG2",
"TG3",
"TG-IU"
]
},
"status": {
"type": "string",
"enum": [
"open",
"in_progress",
"resolved"
]
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
],
"description": "Observation override only; null means inherited, not an effective resolved year."
},
"resolvedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"remediation": {
"type": "object",
"properties": {
"imageRequired": {
"type": "boolean"
},
"commentRequired": {
"type": "boolean"
}
},
"required": [
"imageRequired",
"commentRequired"
],
"additionalProperties": false
}
},
"required": [
"id",
"propertyId",
"placementId",
"number",
"controlPoint",
"title",
"description",
"tgGrade",
"status",
"installationYear",
"resolvedAt",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"status": {
"const": "resolved"
}
}
},
"then": {
"properties": {
"resolvedAt": {
"type": "string"
}
}
},
"else": {
"properties": {
"resolvedAt": {
"type": "null"
}
}
}
}
]
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
}
},
"required": [
"id",
"deleted",
"deletedAt",
"propertyId",
"version"
],
"additionalProperties": false
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}ServedPropertyListResponse
{
"anyOf": [
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned property version, bound to this property. Always present in fresh responses; older retained bodies may omit it."
},
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"address": {
"type": "object",
"properties": {
"streetAddress": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"postalCode": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"city": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
}
},
"required": [
"streetAddress",
"postalCode",
"city"
],
"additionalProperties": false
},
"cadastral": {
"anyOf": [
{
"type": "object",
"properties": {
"gnr": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"bnr": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"municipality": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"municipalityCode": {
"description": "Always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}$"
},
{
"type": "null"
}
]
},
"fnr": {
"description": "Always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"snr": {
"description": "Always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
}
},
"required": [
"gnr",
"bnr",
"municipality"
],
"additionalProperties": false,
"not": {
"properties": {
"gnr": {
"type": "null"
},
"bnr": {
"type": "null"
},
"municipality": {
"type": "null"
},
"municipalityCode": {
"type": "null"
},
"fnr": {
"type": "null"
},
"snr": {
"type": "null"
}
}
}
},
{
"type": "null"
}
]
},
"registryAddress": {
"description": "Stored registry snapshot, always present in fresh responses; optional for retained older bodies. Caller-provided context, not proof of authenticity.",
"anyOf": [
{
"type": "object",
"properties": {
"addressKind": {
"anyOf": [
{
"type": "string",
"enum": [
"street",
"cadastral"
]
},
{
"type": "null"
}
]
},
"reference": {
"type": "string",
"allOf": [
{
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"pattern": "^[\\s\\S]{1,100}$"
}
]
},
"streetAddress": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"postalCode": {
"type": "string",
"pattern": "^\\d{4}$"
},
"city": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"municipality": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"municipalityCode": {
"type": "string",
"pattern": "^\\d{4}$"
},
"cadastralGnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralBnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralFnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralSnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"streetName": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"type": "null"
}
]
},
"houseNumber": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"houseLetter": {
"anyOf": [
{
"type": "string",
"pattern": "^[\\s\\S]{0,8}$"
},
{
"type": "null"
}
]
},
"addressCode": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"addressSupplement": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"type": "null"
}
]
},
"position": {
"anyOf": [
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"crs": {
"type": "string",
"const": "EPSG:4258"
}
},
"required": [
"latitude",
"longitude",
"crs"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"source": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"allOf": [
{
"pattern": "\\S"
},
{
"pattern": "^[\\s\\S]{1,60}$"
}
]
},
"retrievedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"anyOf": [
{
"type": "string",
"maxLength": 40,
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d))|(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?)$"
},
{
"type": "null"
}
]
}
},
"required": [
"provider",
"retrievedAt",
"updatedAt"
],
"additionalProperties": false
}
},
"required": [
"addressKind",
"reference",
"streetAddress",
"postalCode",
"city",
"municipality",
"municipalityCode",
"cadastralGnr",
"cadastralBnr",
"cadastralFnr",
"cadastralSnr",
"streetName",
"houseNumber",
"houseLetter",
"addressCode",
"addressSupplement",
"position",
"source"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"registryApartment": {
"description": "Stored registry apartment, always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "object",
"properties": {
"addressReference": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"number": {
"type": "string",
"pattern": "^[^ \\u0000-\\u001f\\u007f](?:[^\\u0000-\\u001f\\u007f]{0,30}[^ \\u0000-\\u001f\\u007f])?$"
}
},
"required": [
"addressReference",
"number"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"status": {
"type": "string",
"enum": [
"active",
"archived"
]
},
"constructionYear": {
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"accountId",
"address",
"cadastral",
"propertyType",
"status",
"constructionYear",
"createdAt",
"updatedAt"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
},
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned property version, bound to this property. Always present in fresh responses; older retained bodies may omit it."
},
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"address": {
"type": "object",
"properties": {
"streetAddress": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"postalCode": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"city": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
}
},
"required": [
"streetAddress",
"postalCode",
"city"
],
"additionalProperties": false
},
"cadastral": {
"anyOf": [
{
"type": "object",
"properties": {
"gnr": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"bnr": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"municipality": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"municipalityCode": {
"description": "Always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}$"
},
{
"type": "null"
}
]
},
"fnr": {
"description": "Always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"snr": {
"description": "Always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
}
},
"required": [
"gnr",
"bnr",
"municipality"
],
"additionalProperties": false,
"not": {
"properties": {
"gnr": {
"type": "null"
},
"bnr": {
"type": "null"
},
"municipality": {
"type": "null"
},
"municipalityCode": {
"type": "null"
},
"fnr": {
"type": "null"
},
"snr": {
"type": "null"
}
}
}
},
{
"type": "null"
}
]
},
"registryAddress": {
"description": "Stored registry snapshot, always present in fresh responses; optional for retained older bodies. Caller-provided context, not proof of authenticity.",
"anyOf": [
{
"type": "object",
"properties": {
"addressKind": {
"anyOf": [
{
"type": "string",
"enum": [
"street",
"cadastral"
]
},
{
"type": "null"
}
]
},
"reference": {
"type": "string",
"allOf": [
{
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"pattern": "^[\\s\\S]{1,100}$"
}
]
},
"streetAddress": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"postalCode": {
"type": "string",
"pattern": "^\\d{4}$"
},
"city": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"municipality": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"municipalityCode": {
"type": "string",
"pattern": "^\\d{4}$"
},
"cadastralGnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralBnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralFnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralSnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"streetName": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"type": "null"
}
]
},
"houseNumber": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"houseLetter": {
"anyOf": [
{
"type": "string",
"pattern": "^[\\s\\S]{0,8}$"
},
{
"type": "null"
}
]
},
"addressCode": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"addressSupplement": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"type": "null"
}
]
},
"position": {
"anyOf": [
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"crs": {
"type": "string",
"const": "EPSG:4258"
}
},
"required": [
"latitude",
"longitude",
"crs"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"source": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"allOf": [
{
"pattern": "\\S"
},
{
"pattern": "^[\\s\\S]{1,60}$"
}
]
},
"retrievedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"anyOf": [
{
"type": "string",
"maxLength": 40,
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d))|(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?)$"
},
{
"type": "null"
}
]
}
},
"required": [
"provider",
"retrievedAt",
"updatedAt"
],
"additionalProperties": false
}
},
"required": [
"addressKind",
"reference",
"streetAddress",
"postalCode",
"city",
"municipality",
"municipalityCode",
"cadastralGnr",
"cadastralBnr",
"cadastralFnr",
"cadastralSnr",
"streetName",
"houseNumber",
"houseLetter",
"addressCode",
"addressSupplement",
"position",
"source"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"registryApartment": {
"description": "Stored registry apartment, always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "object",
"properties": {
"addressReference": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"number": {
"type": "string",
"pattern": "^[^ \\u0000-\\u001f\\u007f](?:[^\\u0000-\\u001f\\u007f]{0,30}[^ \\u0000-\\u001f\\u007f])?$"
}
},
"required": [
"addressReference",
"number"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"status": {
"type": "string",
"enum": [
"active",
"archived"
]
},
"constructionYear": {
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"accountId",
"address",
"cadastral",
"propertyType",
"status",
"constructionYear",
"createdAt",
"updatedAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"deleted",
"deletedAt"
],
"additionalProperties": false
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}
]
}ServedObservationListResponse
{
"anyOf": [
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"placementId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"number": {
"type": "string",
"maxLength": 19,
"pattern": "^[0-9]{2}[.](?!0{4}$)(?:[0-9]{4}|[1-9][0-9]{4,14}|[1-8][0-9]{15}|900[0-6][0-9]{12}|9007[0-0][0-9]{11}|90071[0-8][0-9]{10}|900719[0-8][0-9]{9}|9007199[0-1][0-9]{8}|90071992[0-4][0-9]{7}|900719925[0-3][0-9]{6}|9007199254[0-6][0-9]{5}|90071992547[0-3][0-9]{4}|9007199254740[0-8][0-9]{2}|90071992547409[0-8][0-9]{1}|900719925474099[0-0][0-9]{0}|9007199254740991)$",
"description": "Formatted organization/year observation number; sequence is a positive safe integer no greater than 9007199254740991, for example 26.0001."
},
"controlPoint": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "\\S",
"x-length-unit": "Unicode code points",
"x-normalized-control-point": "NFKC, trim, collapse whitespace, lowercase; normalized value must contain 1 through 500 Unicode code points"
},
"title": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200,
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
{
"type": "null"
}
],
"description": "Short finding title. Null only for legacy findings created before titles were required; clients display \"-\" instead."
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 10000,
"pattern": "\\S",
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
"tgGrade": {
"type": "string",
"enum": [
"TG0",
"TG1",
"TG2",
"TG3",
"TG-IU"
]
},
"status": {
"type": "string",
"enum": [
"open",
"in_progress",
"resolved"
]
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
],
"description": "Observation override only; null means inherited, not an effective resolved year."
},
"resolvedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"remediation": {
"type": "object",
"properties": {
"imageRequired": {
"type": "boolean"
},
"commentRequired": {
"type": "boolean"
}
},
"required": [
"imageRequired",
"commentRequired"
],
"additionalProperties": false
}
},
"required": [
"id",
"propertyId",
"placementId",
"number",
"controlPoint",
"title",
"description",
"tgGrade",
"status",
"installationYear",
"resolvedAt",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"status": {
"const": "resolved"
}
}
},
"then": {
"properties": {
"resolvedAt": {
"type": "string"
}
}
},
"else": {
"properties": {
"resolvedAt": {
"type": "null"
}
}
}
}
]
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
},
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"placementId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"number": {
"type": "string",
"maxLength": 19,
"pattern": "^[0-9]{2}[.](?!0{4}$)(?:[0-9]{4}|[1-9][0-9]{4,14}|[1-8][0-9]{15}|900[0-6][0-9]{12}|9007[0-0][0-9]{11}|90071[0-8][0-9]{10}|900719[0-8][0-9]{9}|9007199[0-1][0-9]{8}|90071992[0-4][0-9]{7}|900719925[0-3][0-9]{6}|9007199254[0-6][0-9]{5}|90071992547[0-3][0-9]{4}|9007199254740[0-8][0-9]{2}|90071992547409[0-8][0-9]{1}|900719925474099[0-0][0-9]{0}|9007199254740991)$",
"description": "Formatted organization/year observation number; sequence is a positive safe integer no greater than 9007199254740991, for example 26.0001."
},
"controlPoint": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "\\S",
"x-length-unit": "Unicode code points",
"x-normalized-control-point": "NFKC, trim, collapse whitespace, lowercase; normalized value must contain 1 through 500 Unicode code points"
},
"title": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200,
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
{
"type": "null"
}
],
"description": "Short finding title. Null only for legacy findings created before titles were required; clients display \"-\" instead."
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 10000,
"pattern": "\\S",
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
"tgGrade": {
"type": "string",
"enum": [
"TG0",
"TG1",
"TG2",
"TG3",
"TG-IU"
]
},
"status": {
"type": "string",
"enum": [
"open",
"in_progress",
"resolved"
]
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
],
"description": "Observation override only; null means inherited, not an effective resolved year."
},
"resolvedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"remediation": {
"type": "object",
"properties": {
"imageRequired": {
"type": "boolean"
},
"commentRequired": {
"type": "boolean"
}
},
"required": [
"imageRequired",
"commentRequired"
],
"additionalProperties": false
}
},
"required": [
"id",
"propertyId",
"placementId",
"number",
"controlPoint",
"title",
"description",
"tgGrade",
"status",
"installationYear",
"resolvedAt",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"status": {
"const": "resolved"
}
}
},
"then": {
"properties": {
"resolvedAt": {
"type": "string"
}
}
},
"else": {
"properties": {
"resolvedAt": {
"type": "null"
}
}
}
}
]
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"deleted": {
"type": "boolean",
"const": true
},
"deletedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
}
},
"required": [
"id",
"deleted",
"deletedAt",
"propertyId",
"version"
],
"additionalProperties": false
}
]
}
},
"meta": {
"anyOf": [
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": true
},
"nextCursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"nextCursor"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean",
"const": false
},
"syncCheckpoint": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^[A-Za-z0-9_.-]+$"
}
},
"required": [
"pageSize",
"hasMore",
"syncCheckpoint"
],
"additionalProperties": false
}
]
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-sync-page-invariants": "data.length <= meta.pageSize; hasMore requires a full page and nextCursor; final page alone carries syncCheckpoint"
}
]
}Placement
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"parentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"placementType": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"isActive": {
"type": "boolean",
"description": "Non-deleted placement; creation additionally requires an active single placement."
}
},
"required": [
"id",
"propertyId",
"parentId",
"name",
"placementType",
"position",
"installationYear",
"isActive"
],
"additionalProperties": false
}Observation
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"placementId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"number": {
"type": "string",
"maxLength": 19,
"pattern": "^[0-9]{2}[.](?!0{4}$)(?:[0-9]{4}|[1-9][0-9]{4,14}|[1-8][0-9]{15}|900[0-6][0-9]{12}|9007[0-0][0-9]{11}|90071[0-8][0-9]{10}|900719[0-8][0-9]{9}|9007199[0-1][0-9]{8}|90071992[0-4][0-9]{7}|900719925[0-3][0-9]{6}|9007199254[0-6][0-9]{5}|90071992547[0-3][0-9]{4}|9007199254740[0-8][0-9]{2}|90071992547409[0-8][0-9]{1}|900719925474099[0-0][0-9]{0}|9007199254740991)$",
"description": "Formatted organization/year observation number; sequence is a positive safe integer no greater than 9007199254740991, for example 26.0001."
},
"controlPoint": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "\\S",
"x-length-unit": "Unicode code points",
"x-normalized-control-point": "NFKC, trim, collapse whitespace, lowercase; normalized value must contain 1 through 500 Unicode code points"
},
"title": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200,
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
{
"type": "null"
}
],
"description": "Short finding title. Null only for legacy findings created before titles were required; clients display \"-\" instead."
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 10000,
"pattern": "\\S",
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
"tgGrade": {
"type": "string",
"enum": [
"TG0",
"TG1",
"TG2",
"TG3",
"TG-IU"
]
},
"status": {
"type": "string",
"enum": [
"open",
"in_progress",
"resolved"
]
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
],
"description": "Observation override only; null means inherited, not an effective resolved year."
},
"resolvedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
}
},
"required": [
"id",
"propertyId",
"placementId",
"number",
"controlPoint",
"title",
"description",
"tgGrade",
"status",
"installationYear",
"resolvedAt",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"status": {
"const": "resolved"
}
}
},
"then": {
"properties": {
"resolvedAt": {
"type": "string"
}
}
},
"else": {
"properties": {
"resolvedAt": {
"type": "null"
}
}
}
}
]
}CreateProperty
{
"type": "object",
"properties": {
"address": {
"type": "object",
"properties": {
"streetAddress": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"postalCode": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"city": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
}
},
"required": [
"streetAddress",
"postalCode",
"city"
],
"additionalProperties": false
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"constructionYear": {
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
"placementTemplateId": {
"description": "Create-only template selection, requiring slice B and the live templates.read permission. Omit it for an empty placement tree; null is invalid. Disabled selection returns 503, a property-type mismatch 400, and a missing, deleted or foreign template 404.",
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"cadastral": {
"anyOf": [
{
"type": "object",
"properties": {
"gnr": {
"anyOf": [
{
"type": "string",
"x-normalization": "trim; blank cadastral strings become null in shared creation validation"
},
{
"type": "null"
}
]
},
"bnr": {
"anyOf": [
{
"type": "string",
"x-normalization": "trim; blank cadastral strings become null in shared creation validation"
},
{
"type": "null"
}
]
},
"municipality": {
"anyOf": [
{
"type": "string",
"x-normalization": "trim; blank cadastral strings become null in shared creation validation"
},
{
"type": "null"
}
]
},
"municipalityCode": {
"anyOf": [
{
"type": "string",
"pattern": "^(?:\\d{4})?$",
"x-normalization": "trim; blank cadastral strings become null in shared creation validation"
},
{
"type": "null"
}
]
},
"fnr": {
"anyOf": [
{
"type": "string",
"pattern": "^(?:\\d{1,12})?$",
"x-normalization": "trim; blank cadastral strings become null in shared creation validation"
},
{
"type": "null"
}
]
},
"snr": {
"anyOf": [
{
"type": "string",
"pattern": "^(?:\\d{1,12})?$",
"x-normalization": "trim; blank cadastral strings become null in shared creation validation"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"registryAddress": {
"anyOf": [
{
"type": "object",
"properties": {
"addressKind": {
"anyOf": [
{
"type": "string",
"enum": [
"street",
"cadastral"
]
},
{
"type": "null"
}
]
},
"reference": {
"type": "string",
"allOf": [
{
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"pattern": "^[\\s\\S]{1,100}$"
}
]
},
"streetAddress": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"postalCode": {
"type": "string",
"pattern": "^\\d{4}$"
},
"city": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"municipality": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"municipalityCode": {
"type": "string",
"pattern": "^\\d{4}$"
},
"cadastralGnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralBnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralFnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralSnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"streetName": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"type": "null"
}
]
},
"houseNumber": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"houseLetter": {
"anyOf": [
{
"type": "string",
"pattern": "^[\\s\\S]{0,8}$"
},
{
"type": "null"
}
]
},
"addressCode": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"addressSupplement": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"type": "null"
}
]
},
"position": {
"anyOf": [
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"crs": {
"type": "string",
"const": "EPSG:4258"
}
},
"required": [
"latitude",
"longitude",
"crs"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"source": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"allOf": [
{
"pattern": "\\S"
},
{
"pattern": "^[\\s\\S]{1,60}$"
}
]
},
"retrievedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"anyOf": [
{
"type": "string",
"maxLength": 40,
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d))|(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?)$"
},
{
"type": "null"
}
]
}
},
"required": [
"provider",
"retrievedAt",
"updatedAt"
],
"additionalProperties": false
}
},
"required": [
"addressKind",
"reference",
"streetAddress",
"postalCode",
"city",
"municipality",
"municipalityCode",
"cadastralGnr",
"cadastralBnr",
"cadastralFnr",
"cadastralSnr",
"streetName",
"houseNumber",
"houseLetter",
"addressCode",
"addressSupplement",
"position",
"source"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"registryApartment": {
"anyOf": [
{
"type": "object",
"properties": {
"addressReference": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"number": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[^\\u0000-\\u001f\\u007f]+$",
"x-normalization": "trim before validation"
}
},
"required": [
"addressReference",
"number"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"address",
"propertyType",
"constructionYear"
],
"additionalProperties": false,
"description": "A non-null registryApartment requires a non-null registryAddress with a matching reference. The apartment must be validated for that address at creation: an invalid selection returns 400 invalid_request; an unavailable or unconfigured apartment validation dependency returns 503 dependency_unavailable. Refusal creates no property."
}UpdateProperty
{
"type": "object",
"properties": {
"address": {
"type": "object",
"properties": {
"streetAddress": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"postalCode": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"city": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
}
},
"required": [
"streetAddress",
"postalCode",
"city"
],
"additionalProperties": false
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"constructionYear": {
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
"cadastral": {
"anyOf": [
{
"type": "object",
"properties": {
"gnr": {
"anyOf": [
{
"type": "string",
"x-normalization": "trim; blank cadastral strings become null in shared creation validation"
},
{
"type": "null"
}
]
},
"bnr": {
"anyOf": [
{
"type": "string",
"x-normalization": "trim; blank cadastral strings become null in shared creation validation"
},
{
"type": "null"
}
]
},
"municipality": {
"anyOf": [
{
"type": "string",
"x-normalization": "trim; blank cadastral strings become null in shared creation validation"
},
{
"type": "null"
}
]
},
"municipalityCode": {
"anyOf": [
{
"type": "string",
"pattern": "^(?:\\d{4})?$",
"x-normalization": "trim; blank cadastral strings become null in shared creation validation"
},
{
"type": "null"
}
]
},
"fnr": {
"anyOf": [
{
"type": "string",
"pattern": "^(?:\\d{1,12})?$",
"x-normalization": "trim; blank cadastral strings become null in shared creation validation"
},
{
"type": "null"
}
]
},
"snr": {
"anyOf": [
{
"type": "string",
"pattern": "^(?:\\d{1,12})?$",
"x-normalization": "trim; blank cadastral strings become null in shared creation validation"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"registryAddress": {
"anyOf": [
{
"type": "object",
"properties": {
"addressKind": {
"anyOf": [
{
"type": "string",
"enum": [
"street",
"cadastral"
]
},
{
"type": "null"
}
]
},
"reference": {
"type": "string",
"allOf": [
{
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"pattern": "^[\\s\\S]{1,100}$"
}
]
},
"streetAddress": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"postalCode": {
"type": "string",
"pattern": "^\\d{4}$"
},
"city": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"municipality": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"municipalityCode": {
"type": "string",
"pattern": "^\\d{4}$"
},
"cadastralGnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralBnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralFnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralSnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"streetName": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"type": "null"
}
]
},
"houseNumber": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"houseLetter": {
"anyOf": [
{
"type": "string",
"pattern": "^[\\s\\S]{0,8}$"
},
{
"type": "null"
}
]
},
"addressCode": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"addressSupplement": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"type": "null"
}
]
},
"position": {
"anyOf": [
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"crs": {
"type": "string",
"const": "EPSG:4258"
}
},
"required": [
"latitude",
"longitude",
"crs"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"source": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"allOf": [
{
"pattern": "\\S"
},
{
"pattern": "^[\\s\\S]{1,60}$"
}
]
},
"retrievedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"anyOf": [
{
"type": "string",
"maxLength": 40,
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d))|(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?)$"
},
{
"type": "null"
}
]
}
},
"required": [
"provider",
"retrievedAt",
"updatedAt"
],
"additionalProperties": false
}
},
"required": [
"addressKind",
"reference",
"streetAddress",
"postalCode",
"city",
"municipality",
"municipalityCode",
"cadastralGnr",
"cadastralBnr",
"cadastralFnr",
"cadastralSnr",
"streetName",
"houseNumber",
"houseLetter",
"addressCode",
"addressSupplement",
"position",
"source"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"registryApartment": {
"anyOf": [
{
"type": "object",
"properties": {
"addressReference": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"number": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"pattern": "^[^\\u0000-\\u001f\\u007f]+$",
"x-normalization": "trim before validation"
}
},
"required": [
"addressReference",
"number"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"expectedVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned property version, bound to this property. Always present in fresh responses; older retained bodies may omit it."
}
},
"required": [
"expectedVersion"
],
"additionalProperties": false,
"minProperties": 2,
"x-non-empty-patch": "expectedVersion plus at least one creatable field; supplied composite values replace, cadastral null clears all six parts"
}UpdatePropertyStatus
{
"type": "object",
"properties": {
"expectedVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned property version, bound to this property. Always present in fresh responses; older retained bodies may omit it."
},
"status": {
"type": "string",
"enum": [
"active",
"archived"
]
}
},
"required": [
"expectedVersion",
"status"
],
"additionalProperties": false
}CreateObservation
{
"type": "object",
"properties": {
"placementId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"controlPoint": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "\\S",
"x-length-unit": "Unicode code points",
"x-normalized-control-point": "NFKC, trim, collapse whitespace, lowercase; normalized value must contain 1 through 500 Unicode code points"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 10000,
"pattern": "\\S",
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
"tgGrade": {
"type": "string",
"enum": [
"TG0",
"TG1",
"TG2",
"TG3",
"TG-IU"
]
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
}
},
"required": [
"placementId",
"controlPoint",
"title",
"description",
"tgGrade"
],
"additionalProperties": false
}UpdateObservationStatus
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"open",
"in_progress",
"resolved"
]
},
"expectedVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"comment": {
"description": "Completion evidence comment; current inspector requirements apply.",
"type": "string",
"maxLength": 10000
},
"imageIds": {
"description": "Finalized fix-image IDs staged for this observation; original finding images are never accepted.",
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"uniqueItems": true,
"x-uuid-uniqueness": "case-insensitive canonical UUIDs"
}
},
"required": [
"status",
"expectedVersion"
],
"additionalProperties": false
}UpdateObservationEvidence
{
"type": "object",
"properties": {
"expectedVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"comment": {
"type": "string",
"maxLength": 10000
},
"imageIds": {
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"uniqueItems": true,
"x-uuid-uniqueness": "case-insensitive canonical UUIDs"
}
},
"required": [
"expectedVersion",
"comment",
"imageIds"
],
"additionalProperties": false
}UpdateObservationEvidenceRequirement
{
"type": "object",
"properties": {
"expectedVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"kind": {
"type": "string",
"enum": [
"image",
"comment"
]
},
"required": {
"type": "boolean"
}
},
"required": [
"expectedVersion",
"kind",
"required"
],
"additionalProperties": false
}ObservationCompletion
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"fixedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"comment": {
"type": "string",
"maxLength": 10000
},
"imageIds": {
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"uniqueItems": true,
"x-uuid-uniqueness": "case-insensitive canonical UUIDs"
}
},
"required": [
"id",
"fixedAt",
"comment",
"imageIds"
],
"additionalProperties": false
}ObservationCompletionResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"fixedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"comment": {
"type": "string",
"maxLength": 10000
},
"imageIds": {
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"uniqueItems": true,
"x-uuid-uniqueness": "case-insensitive canonical UUIDs"
}
},
"required": [
"id",
"fixedAt",
"comment",
"imageIds"
],
"additionalProperties": false
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
}
},
"required": [
"data",
"version"
],
"additionalProperties": false
}ObservationCompletionListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"fixedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"comment": {
"type": "string",
"maxLength": 10000
},
"imageIds": {
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"uniqueItems": true,
"x-uuid-uniqueness": "case-insensitive canonical UUIDs"
}
},
"required": [
"id",
"fixedAt",
"comment",
"imageIds"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
}
},
"required": [
"data",
"meta",
"version"
],
"additionalProperties": false
}ObservationCompletionQuery
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"additionalProperties": false
}ObservationCompletionPath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"completionId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId",
"propertyId",
"observationId",
"completionId"
],
"additionalProperties": false
}UpdateObservation
{
"type": "object",
"properties": {
"expectedVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"placementId": {
"description": "An active single placement of the same property.",
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"controlPoint": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "\\S",
"x-length-unit": "Unicode code points",
"x-normalized-control-point": "NFKC, trim, collapse whitespace, lowercase; normalized value must contain 1 through 500 Unicode code points"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 10000,
"pattern": "\\S",
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
"tgGrade": {
"type": "string",
"enum": [
"TG0",
"TG1",
"TG2",
"TG3",
"TG-IU"
]
},
"installationYear": {
"description": "Null clears the observation override to inherited.",
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
}
},
"required": [
"expectedVersion"
],
"additionalProperties": false,
"minProperties": 2,
"x-non-empty-patch": "expectedVersion plus at least one correctable field; omitted fields are unchanged"
}PropertyResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned property version, bound to this property. Always present in fresh responses; older retained bodies may omit it."
},
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"address": {
"type": "object",
"properties": {
"streetAddress": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"postalCode": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"city": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
}
},
"required": [
"streetAddress",
"postalCode",
"city"
],
"additionalProperties": false
},
"cadastral": {
"anyOf": [
{
"type": "object",
"properties": {
"gnr": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"bnr": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"municipality": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"municipalityCode": {
"description": "Always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}$"
},
{
"type": "null"
}
]
},
"fnr": {
"description": "Always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"snr": {
"description": "Always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
}
},
"required": [
"gnr",
"bnr",
"municipality"
],
"additionalProperties": false,
"not": {
"properties": {
"gnr": {
"type": "null"
},
"bnr": {
"type": "null"
},
"municipality": {
"type": "null"
},
"municipalityCode": {
"type": "null"
},
"fnr": {
"type": "null"
},
"snr": {
"type": "null"
}
}
}
},
{
"type": "null"
}
]
},
"registryAddress": {
"description": "Stored registry snapshot, always present in fresh responses; optional for retained older bodies. Caller-provided context, not proof of authenticity.",
"anyOf": [
{
"type": "object",
"properties": {
"addressKind": {
"anyOf": [
{
"type": "string",
"enum": [
"street",
"cadastral"
]
},
{
"type": "null"
}
]
},
"reference": {
"type": "string",
"allOf": [
{
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"pattern": "^[\\s\\S]{1,100}$"
}
]
},
"streetAddress": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"postalCode": {
"type": "string",
"pattern": "^\\d{4}$"
},
"city": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"municipality": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"municipalityCode": {
"type": "string",
"pattern": "^\\d{4}$"
},
"cadastralGnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralBnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralFnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralSnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"streetName": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"type": "null"
}
]
},
"houseNumber": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"houseLetter": {
"anyOf": [
{
"type": "string",
"pattern": "^[\\s\\S]{0,8}$"
},
{
"type": "null"
}
]
},
"addressCode": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"addressSupplement": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"type": "null"
}
]
},
"position": {
"anyOf": [
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"crs": {
"type": "string",
"const": "EPSG:4258"
}
},
"required": [
"latitude",
"longitude",
"crs"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"source": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"allOf": [
{
"pattern": "\\S"
},
{
"pattern": "^[\\s\\S]{1,60}$"
}
]
},
"retrievedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"anyOf": [
{
"type": "string",
"maxLength": 40,
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d))|(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?)$"
},
{
"type": "null"
}
]
}
},
"required": [
"provider",
"retrievedAt",
"updatedAt"
],
"additionalProperties": false
}
},
"required": [
"addressKind",
"reference",
"streetAddress",
"postalCode",
"city",
"municipality",
"municipalityCode",
"cadastralGnr",
"cadastralBnr",
"cadastralFnr",
"cadastralSnr",
"streetName",
"houseNumber",
"houseLetter",
"addressCode",
"addressSupplement",
"position",
"source"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"registryApartment": {
"description": "Stored registry apartment, always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "object",
"properties": {
"addressReference": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"number": {
"type": "string",
"pattern": "^[^ \\u0000-\\u001f\\u007f](?:[^\\u0000-\\u001f\\u007f]{0,30}[^ \\u0000-\\u001f\\u007f])?$"
}
},
"required": [
"addressReference",
"number"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"status": {
"type": "string",
"enum": [
"active",
"archived"
]
},
"constructionYear": {
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"accountId",
"address",
"cadastral",
"propertyType",
"status",
"constructionYear",
"createdAt",
"updatedAt"
],
"additionalProperties": false
}
},
"required": [
"data"
],
"additionalProperties": false
}PropertyListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned property version, bound to this property. Always present in fresh responses; older retained bodies may omit it."
},
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"address": {
"type": "object",
"properties": {
"streetAddress": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"postalCode": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
"city": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
}
},
"required": [
"streetAddress",
"postalCode",
"city"
],
"additionalProperties": false
},
"cadastral": {
"anyOf": [
{
"type": "object",
"properties": {
"gnr": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"bnr": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"municipality": {
"anyOf": [
{
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation"
},
{
"type": "null"
}
]
},
"municipalityCode": {
"description": "Always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "string",
"pattern": "^\\d{4}$"
},
{
"type": "null"
}
]
},
"fnr": {
"description": "Always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"snr": {
"description": "Always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
}
},
"required": [
"gnr",
"bnr",
"municipality"
],
"additionalProperties": false,
"not": {
"properties": {
"gnr": {
"type": "null"
},
"bnr": {
"type": "null"
},
"municipality": {
"type": "null"
},
"municipalityCode": {
"type": "null"
},
"fnr": {
"type": "null"
},
"snr": {
"type": "null"
}
}
}
},
{
"type": "null"
}
]
},
"registryAddress": {
"description": "Stored registry snapshot, always present in fresh responses; optional for retained older bodies. Caller-provided context, not proof of authenticity.",
"anyOf": [
{
"type": "object",
"properties": {
"addressKind": {
"anyOf": [
{
"type": "string",
"enum": [
"street",
"cadastral"
]
},
{
"type": "null"
}
]
},
"reference": {
"type": "string",
"allOf": [
{
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"pattern": "^[\\s\\S]{1,100}$"
}
]
},
"streetAddress": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"postalCode": {
"type": "string",
"pattern": "^\\d{4}$"
},
"city": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"municipality": {
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
"municipalityCode": {
"type": "string",
"pattern": "^\\d{4}$"
},
"cadastralGnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralBnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralFnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"cadastralSnr": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"streetName": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"type": "null"
}
]
},
"houseNumber": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"houseLetter": {
"anyOf": [
{
"type": "string",
"pattern": "^[\\s\\S]{0,8}$"
},
{
"type": "null"
}
]
},
"addressCode": {
"anyOf": [
{
"type": "string",
"pattern": "^\\d{1,12}$"
},
{
"type": "null"
}
]
},
"addressSupplement": {
"anyOf": [
{
"type": "string",
"pattern": "^\\s*\\S(?:[\\s\\S]{0,198}\\S)?\\s*$"
},
{
"type": "null"
}
]
},
"position": {
"anyOf": [
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"crs": {
"type": "string",
"const": "EPSG:4258"
}
},
"required": [
"latitude",
"longitude",
"crs"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"source": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"allOf": [
{
"pattern": "\\S"
},
{
"pattern": "^[\\s\\S]{1,60}$"
}
]
},
"retrievedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"anyOf": [
{
"type": "string",
"maxLength": 40,
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d))|(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?)$"
},
{
"type": "null"
}
]
}
},
"required": [
"provider",
"retrievedAt",
"updatedAt"
],
"additionalProperties": false
}
},
"required": [
"addressKind",
"reference",
"streetAddress",
"postalCode",
"city",
"municipality",
"municipalityCode",
"cadastralGnr",
"cadastralBnr",
"cadastralFnr",
"cadastralSnr",
"streetName",
"houseNumber",
"houseLetter",
"addressCode",
"addressSupplement",
"position",
"source"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"registryApartment": {
"description": "Stored registry apartment, always present in fresh responses; optional for retained older bodies.",
"anyOf": [
{
"type": "object",
"properties": {
"addressReference": {
"type": "string",
"pattern": "^\\d{1,20}$"
},
"number": {
"type": "string",
"pattern": "^[^ \\u0000-\\u001f\\u007f](?:[^\\u0000-\\u001f\\u007f]{0,30}[^ \\u0000-\\u001f\\u007f])?$"
}
},
"required": [
"addressReference",
"number"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"status": {
"type": "string",
"enum": [
"active",
"archived"
]
},
"constructionYear": {
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
}
},
"required": [
"id",
"accountId",
"address",
"cadastral",
"propertyType",
"status",
"constructionYear",
"createdAt",
"updatedAt"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
}PlacementListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"parentId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
},
"name": {
"type": "string",
"pattern": "\\S",
"x-normalization": "trim before validation",
"maxLength": 120,
"x-length-unit": "Unicode code points"
},
"placementType": {
"type": "string",
"enum": [
"single",
"group"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
]
},
"isActive": {
"type": "boolean",
"description": "Non-deleted placement; creation additionally requires an active single placement."
}
},
"required": [
"id",
"propertyId",
"parentId",
"name",
"placementType",
"position",
"installationYear",
"isActive"
],
"additionalProperties": false
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
},
"placementSetVersion": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned placement set version, bound to the property."
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore",
"placementSetVersion"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
}ObservationResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"placementId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"number": {
"type": "string",
"maxLength": 19,
"pattern": "^[0-9]{2}[.](?!0{4}$)(?:[0-9]{4}|[1-9][0-9]{4,14}|[1-8][0-9]{15}|900[0-6][0-9]{12}|9007[0-0][0-9]{11}|90071[0-8][0-9]{10}|900719[0-8][0-9]{9}|9007199[0-1][0-9]{8}|90071992[0-4][0-9]{7}|900719925[0-3][0-9]{6}|9007199254[0-6][0-9]{5}|90071992547[0-3][0-9]{4}|9007199254740[0-8][0-9]{2}|90071992547409[0-8][0-9]{1}|900719925474099[0-0][0-9]{0}|9007199254740991)$",
"description": "Formatted organization/year observation number; sequence is a positive safe integer no greater than 9007199254740991, for example 26.0001."
},
"controlPoint": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "\\S",
"x-length-unit": "Unicode code points",
"x-normalized-control-point": "NFKC, trim, collapse whitespace, lowercase; normalized value must contain 1 through 500 Unicode code points"
},
"title": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200,
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
{
"type": "null"
}
],
"description": "Short finding title. Null only for legacy findings created before titles were required; clients display \"-\" instead."
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 10000,
"pattern": "\\S",
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
"tgGrade": {
"type": "string",
"enum": [
"TG0",
"TG1",
"TG2",
"TG3",
"TG-IU"
]
},
"status": {
"type": "string",
"enum": [
"open",
"in_progress",
"resolved"
]
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
],
"description": "Observation override only; null means inherited, not an effective resolved year."
},
"resolvedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
}
},
"required": [
"id",
"propertyId",
"placementId",
"number",
"controlPoint",
"title",
"description",
"tgGrade",
"status",
"installationYear",
"resolvedAt",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"status": {
"const": "resolved"
}
}
},
"then": {
"properties": {
"resolvedAt": {
"type": "string"
}
}
},
"else": {
"properties": {
"resolvedAt": {
"type": "null"
}
}
}
}
]
}
},
"required": [
"data"
],
"additionalProperties": false
}ObservationDetailResponse
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"placementId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"number": {
"type": "string",
"maxLength": 19,
"pattern": "^[0-9]{2}[.](?!0{4}$)(?:[0-9]{4}|[1-9][0-9]{4,14}|[1-8][0-9]{15}|900[0-6][0-9]{12}|9007[0-0][0-9]{11}|90071[0-8][0-9]{10}|900719[0-8][0-9]{9}|9007199[0-1][0-9]{8}|90071992[0-4][0-9]{7}|900719925[0-3][0-9]{6}|9007199254[0-6][0-9]{5}|90071992547[0-3][0-9]{4}|9007199254740[0-8][0-9]{2}|90071992547409[0-8][0-9]{1}|900719925474099[0-0][0-9]{0}|9007199254740991)$",
"description": "Formatted organization/year observation number; sequence is a positive safe integer no greater than 9007199254740991, for example 26.0001."
},
"controlPoint": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "\\S",
"x-length-unit": "Unicode code points",
"x-normalized-control-point": "NFKC, trim, collapse whitespace, lowercase; normalized value must contain 1 through 500 Unicode code points"
},
"title": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200,
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
{
"type": "null"
}
],
"description": "Short finding title. Null only for legacy findings created before titles were required; clients display \"-\" instead."
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 10000,
"pattern": "\\S",
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
"tgGrade": {
"type": "string",
"enum": [
"TG0",
"TG1",
"TG2",
"TG3",
"TG-IU"
]
},
"status": {
"type": "string",
"enum": [
"open",
"in_progress",
"resolved"
]
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
],
"description": "Observation override only; null means inherited, not an effective resolved year."
},
"resolvedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"remediation": {
"type": "object",
"properties": {
"imageRequired": {
"type": "boolean"
},
"commentRequired": {
"type": "boolean"
},
"latestCompletion": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"comment": {
"type": "string",
"maxLength": 10000
},
"imageIds": {
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"uniqueItems": true,
"x-uuid-uniqueness": "case-insensitive canonical UUIDs"
}
},
"required": [
"id",
"comment",
"imageIds"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"imageRequired",
"commentRequired",
"latestCompletion"
],
"additionalProperties": false
}
},
"required": [
"id",
"propertyId",
"placementId",
"number",
"controlPoint",
"title",
"description",
"tgGrade",
"status",
"installationYear",
"resolvedAt",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"status": {
"const": "resolved"
}
}
},
"then": {
"properties": {
"resolvedAt": {
"type": "string"
}
}
},
"else": {
"properties": {
"resolvedAt": {
"type": "null"
}
}
}
}
]
}
},
"required": [
"data"
],
"additionalProperties": false
}ObservationSummary
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"placementId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"number": {
"type": "string",
"maxLength": 19,
"pattern": "^[0-9]{2}[.](?!0{4}$)(?:[0-9]{4}|[1-9][0-9]{4,14}|[1-8][0-9]{15}|900[0-6][0-9]{12}|9007[0-0][0-9]{11}|90071[0-8][0-9]{10}|900719[0-8][0-9]{9}|9007199[0-1][0-9]{8}|90071992[0-4][0-9]{7}|900719925[0-3][0-9]{6}|9007199254[0-6][0-9]{5}|90071992547[0-3][0-9]{4}|9007199254740[0-8][0-9]{2}|90071992547409[0-8][0-9]{1}|900719925474099[0-0][0-9]{0}|9007199254740991)$",
"description": "Formatted organization/year observation number; sequence is a positive safe integer no greater than 9007199254740991, for example 26.0001."
},
"controlPoint": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "\\S",
"x-length-unit": "Unicode code points",
"x-normalized-control-point": "NFKC, trim, collapse whitespace, lowercase; normalized value must contain 1 through 500 Unicode code points"
},
"title": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200,
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
{
"type": "null"
}
],
"description": "Short finding title. Null only for legacy findings created before titles were required; clients display \"-\" instead."
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 10000,
"pattern": "\\S",
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
"tgGrade": {
"type": "string",
"enum": [
"TG0",
"TG1",
"TG2",
"TG3",
"TG-IU"
]
},
"status": {
"type": "string",
"enum": [
"open",
"in_progress",
"resolved"
]
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
],
"description": "Observation override only; null means inherited, not an effective resolved year."
},
"resolvedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"remediation": {
"type": "object",
"properties": {
"imageRequired": {
"type": "boolean"
},
"commentRequired": {
"type": "boolean"
}
},
"required": [
"imageRequired",
"commentRequired"
],
"additionalProperties": false
}
},
"required": [
"id",
"propertyId",
"placementId",
"number",
"controlPoint",
"title",
"description",
"tgGrade",
"status",
"installationYear",
"resolvedAt",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"status": {
"const": "resolved"
}
}
},
"then": {
"properties": {
"resolvedAt": {
"type": "string"
}
}
},
"else": {
"properties": {
"resolvedAt": {
"type": "null"
}
}
}
}
]
}ObservationDetail
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"placementId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"number": {
"type": "string",
"maxLength": 19,
"pattern": "^[0-9]{2}[.](?!0{4}$)(?:[0-9]{4}|[1-9][0-9]{4,14}|[1-8][0-9]{15}|900[0-6][0-9]{12}|9007[0-0][0-9]{11}|90071[0-8][0-9]{10}|900719[0-8][0-9]{9}|9007199[0-1][0-9]{8}|90071992[0-4][0-9]{7}|900719925[0-3][0-9]{6}|9007199254[0-6][0-9]{5}|90071992547[0-3][0-9]{4}|9007199254740[0-8][0-9]{2}|90071992547409[0-8][0-9]{1}|900719925474099[0-0][0-9]{0}|9007199254740991)$",
"description": "Formatted organization/year observation number; sequence is a positive safe integer no greater than 9007199254740991, for example 26.0001."
},
"controlPoint": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "\\S",
"x-length-unit": "Unicode code points",
"x-normalized-control-point": "NFKC, trim, collapse whitespace, lowercase; normalized value must contain 1 through 500 Unicode code points"
},
"title": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200,
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
{
"type": "null"
}
],
"description": "Short finding title. Null only for legacy findings created before titles were required; clients display \"-\" instead."
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 10000,
"pattern": "\\S",
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
"tgGrade": {
"type": "string",
"enum": [
"TG0",
"TG1",
"TG2",
"TG3",
"TG-IU"
]
},
"status": {
"type": "string",
"enum": [
"open",
"in_progress",
"resolved"
]
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
],
"description": "Observation override only; null means inherited, not an effective resolved year."
},
"resolvedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"remediation": {
"type": "object",
"properties": {
"imageRequired": {
"type": "boolean"
},
"commentRequired": {
"type": "boolean"
},
"latestCompletion": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"comment": {
"type": "string",
"maxLength": 10000
},
"imageIds": {
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"uniqueItems": true,
"x-uuid-uniqueness": "case-insensitive canonical UUIDs"
}
},
"required": [
"id",
"comment",
"imageIds"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"imageRequired",
"commentRequired",
"latestCompletion"
],
"additionalProperties": false
}
},
"required": [
"id",
"propertyId",
"placementId",
"number",
"controlPoint",
"title",
"description",
"tgGrade",
"status",
"installationYear",
"resolvedAt",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"status": {
"const": "resolved"
}
}
},
"then": {
"properties": {
"resolvedAt": {
"type": "string"
}
}
},
"else": {
"properties": {
"resolvedAt": {
"type": "null"
}
}
}
}
]
}ObservationListResponse
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"placementId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"number": {
"type": "string",
"maxLength": 19,
"pattern": "^[0-9]{2}[.](?!0{4}$)(?:[0-9]{4}|[1-9][0-9]{4,14}|[1-8][0-9]{15}|900[0-6][0-9]{12}|9007[0-0][0-9]{11}|90071[0-8][0-9]{10}|900719[0-8][0-9]{9}|9007199[0-1][0-9]{8}|90071992[0-4][0-9]{7}|900719925[0-3][0-9]{6}|9007199254[0-6][0-9]{5}|90071992547[0-3][0-9]{4}|9007199254740[0-8][0-9]{2}|90071992547409[0-8][0-9]{1}|900719925474099[0-0][0-9]{0}|9007199254740991)$",
"description": "Formatted organization/year observation number; sequence is a positive safe integer no greater than 9007199254740991, for example 26.0001."
},
"controlPoint": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "\\S",
"x-length-unit": "Unicode code points",
"x-normalized-control-point": "NFKC, trim, collapse whitespace, lowercase; normalized value must contain 1 through 500 Unicode code points"
},
"title": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200,
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
{
"type": "null"
}
],
"description": "Short finding title. Null only for legacy findings created before titles were required; clients display \"-\" instead."
},
"description": {
"type": "string",
"minLength": 1,
"maxLength": 10000,
"pattern": "\\S",
"x-normalization": "trim before validation",
"x-length-unit": "Unicode code points"
},
"tgGrade": {
"type": "string",
"enum": [
"TG0",
"TG1",
"TG2",
"TG3",
"TG-IU"
]
},
"status": {
"type": "string",
"enum": [
"open",
"in_progress",
"resolved"
]
},
"installationYear": {
"anyOf": [
{
"type": "integer",
"minimum": 1700,
"maximum": 9007199254740991,
"description": "Year from 1700 through the current UTC calendar year plus one.",
"x-maximum-year": "current UTC year + 1"
},
{
"type": "null"
}
],
"description": "Observation override only; null means inherited, not an effective resolved year."
},
"resolvedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"updatedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 256,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque server-owned resource version. Never infer its structure from timestamps."
},
"remediation": {
"type": "object",
"properties": {
"imageRequired": {
"type": "boolean"
},
"commentRequired": {
"type": "boolean"
}
},
"required": [
"imageRequired",
"commentRequired"
],
"additionalProperties": false
}
},
"required": [
"id",
"propertyId",
"placementId",
"number",
"controlPoint",
"title",
"description",
"tgGrade",
"status",
"installationYear",
"resolvedAt",
"createdAt",
"updatedAt",
"version"
],
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"status": {
"const": "resolved"
}
}
},
"then": {
"properties": {
"resolvedAt": {
"type": "string"
}
}
},
"else": {
"properties": {
"resolvedAt": {
"type": "null"
}
}
}
}
]
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
}ObservationPhoto
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"type": "string",
"enum": [
"finding",
"remediation"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"caption": {
"anyOf": [
{
"type": "string",
"maxLength": 2000,
"x-length-unit": "Unicode code points"
},
{
"type": "null"
}
]
},
"width": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"height": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"mimeType": {
"type": "string",
"enum": [
"image/jpeg",
"image/png",
"image/webp",
"image/heic"
]
},
"sizeBytes": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 10485760
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"completionId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"kind",
"position",
"caption",
"width",
"height",
"mimeType",
"sizeBytes",
"createdAt",
"completionId"
],
"additionalProperties": false,
"x-photo-invariants": "Finding completionId is null; remediation has a completionId, dimensions, image/webp MIME and null caption."
}ObservationPhotoPage
{
"type": "object",
"properties": {
"data": {
"maxItems": 100,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"kind": {
"type": "string",
"enum": [
"finding",
"remediation"
]
},
"position": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"caption": {
"anyOf": [
{
"type": "string",
"maxLength": 2000,
"x-length-unit": "Unicode code points"
},
{
"type": "null"
}
]
},
"width": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"height": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"mimeType": {
"type": "string",
"enum": [
"image/jpeg",
"image/png",
"image/webp",
"image/heic"
]
},
"sizeBytes": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 10485760
},
"createdAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
"description": "UTC ISO 8601 timestamp ending in Z. Adapters convert database +00:00 offsets before validation."
},
"completionId": {
"anyOf": [
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"kind",
"position",
"caption",
"width",
"height",
"mimeType",
"sizeBytes",
"createdAt",
"completionId"
],
"additionalProperties": false,
"x-photo-invariants": "Finding completionId is null; remediation has a completionId, dimensions, image/webp MIME and null caption."
}
},
"meta": {
"type": "object",
"properties": {
"pageIndex": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"hasMore": {
"type": "boolean"
}
},
"required": [
"pageIndex",
"pageSize",
"hasMore"
],
"additionalProperties": false
}
},
"required": [
"data",
"meta"
],
"additionalProperties": false,
"x-page-invariants": "data.length <= meta.pageSize; short or empty pages require hasMore=false; retain requested pageIndex"
}ObservationPhotoQuery
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"additionalProperties": false
}Problem
{
"type": "object",
"properties": {
"type": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string",
"pattern": "\\S"
},
"status": {
"anyOf": [
{
"type": "number",
"const": 400
},
{
"type": "number",
"const": 401
},
{
"type": "number",
"const": 403
},
{
"type": "number",
"const": 404
},
{
"type": "number",
"const": 409
},
{
"type": "number",
"const": 413
},
{
"type": "number",
"const": 415
},
{
"type": "number",
"const": 429
},
{
"type": "number",
"const": 500
},
{
"type": "number",
"const": 503
}
]
},
"detail": {
"type": "string",
"pattern": "\\S",
"description": "Safe public explanation; excludes SQL, stacks, credentials and private paths."
},
"instance": {
"type": "string",
"pattern": "^\\/[^?#\\s]*$",
"description": "Non-sensitive request occurrence identifier; no raw request URL or query."
},
"code": {
"type": "string",
"enum": [
"invalid_request",
"unauthenticated",
"forbidden",
"not_found",
"version_conflict",
"idempotency_conflict",
"idempotency_pending",
"payload_too_large",
"unsupported_media_type",
"rate_limited",
"internal_error",
"dependency_unavailable"
]
},
"requestId": {
"type": "string",
"pattern": "\\S"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
]
}
},
"code": {
"type": "string",
"pattern": "\\S"
},
"message": {
"type": "string",
"pattern": "\\S"
}
},
"required": [
"path",
"code",
"message"
],
"additionalProperties": false
}
}
},
"required": [
"type",
"title",
"status",
"detail",
"instance",
"code",
"requestId"
],
"additionalProperties": false,
"x-status-by-code": {
"invalid_request": 400,
"unauthenticated": 401,
"forbidden": 403,
"not_found": 404,
"version_conflict": 409,
"idempotency_conflict": 409,
"idempotency_pending": 409,
"payload_too_large": 413,
"unsupported_media_type": 415,
"rate_limited": 429,
"internal_error": 500,
"dependency_unavailable": 503
}
}WriteHeaders
{
"type": "object",
"properties": {
"Idempotency-Key": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"pattern": "^[\\x21-\\x7e]+$",
"description": "Opaque caller-generated retry key; retained completed outcomes for at least 24 hours."
}
},
"required": [
"Idempotency-Key"
],
"additionalProperties": false
}AccountPath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId"
],
"additionalProperties": false
}PropertyPath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId",
"propertyId"
],
"additionalProperties": false
}ObservationPath
{
"type": "object",
"properties": {
"accountId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"propertyId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"observationId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
}
},
"required": [
"accountId",
"propertyId",
"observationId"
],
"additionalProperties": false
}PropertyQuery
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"search": {
"type": "string",
"allOf": [
{
"pattern": "\\S"
},
{
"pattern": "^[^\\u0000]*$"
}
],
"x-normalization": "trim before validation",
"maxLength": 200,
"x-length-unit": "Unicode code points"
},
"status": {
"default": "active",
"type": "string",
"enum": [
"active",
"archived"
]
},
"propertyType": {
"type": "string",
"enum": [
"detached",
"apartment",
"townhouse",
"semi_detached",
"cabin",
"commercial",
"other"
]
},
"sortBy": {
"default": "updatedAt",
"type": "string",
"enum": [
"address",
"propertyType",
"constructionYear",
"createdAt",
"updatedAt"
]
},
"sortDirection": {
"default": "desc",
"type": "string",
"enum": [
"asc",
"desc"
]
}
},
"additionalProperties": false
}PlacementQuery
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"additionalProperties": false
}ObservationQuery
{
"type": "object",
"properties": {
"pageIndex": {
"default": 0,
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pageSize": {
"default": 25,
"type": "integer",
"minimum": 1,
"maximum": 100
},
"status": {
"type": "string",
"enum": [
"open",
"in_progress",
"resolved"
]
},
"tgGrade": {
"type": "string",
"enum": [
"TG0",
"TG1",
"TG2",
"TG3",
"TG-IU"
]
},
"placementId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"sortBy": {
"default": "createdAt",
"type": "string",
"const": "createdAt"
},
"sortDirection": {
"default": "desc",
"type": "string",
"enum": [
"asc",
"desc"
]
}
},
"additionalProperties": false
}