Field-Viewer API

Event catalogue

Every domain event Field-Viewer records when a change is committed.

Each event travels in a CloudEvents 1.0 envelope. type names the event, dataversion versions its data payload, and operationid, actor and correlationid tie it to the request that caused it. Payloads carry ids and changed facts, never secrets or e-mail addresses. Consumers must not assume events arrive in order.

Envelope

{
  "type": "object",
  "properties": {
    "specversion": {
      "type": "string",
      "const": "1.0"
    },
    "id": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "dataversion": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "source": {
      "type": "string"
    },
    "time": {
      "type": "string"
    },
    "subject": {
      "type": "string"
    },
    "organizationid": {
      "type": "string"
    },
    "projectid": {
      "type": "string"
    },
    "aggregaterevision": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "actor": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "user",
            "workstation",
            "apiToken",
            "oauth",
            "service"
          ]
        },
        "id": {
          "type": "string"
        },
        "clientId": {
          "type": "string"
        }
      },
      "required": [
        "type",
        "id"
      ],
      "additionalProperties": false
    },
    "operationid": {
      "type": "string"
    },
    "surface": {
      "type": "string",
      "enum": [
        "rest",
        "mcp",
        "web",
        "service"
      ]
    },
    "correlationid": {
      "type": "string"
    },
    "datacontenttype": {
      "type": "string",
      "const": "application/json"
    },
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  },
  "required": [
    "specversion",
    "id",
    "type",
    "dataversion",
    "source",
    "time",
    "subject",
    "organizationid",
    "aggregaterevision",
    "actor",
    "operationid",
    "surface",
    "correlationid",
    "datacontenttype",
    "data"
  ],
  "additionalProperties": false
}

Events

TypeData versionEmitted by
annotation.created1createAnnotation
annotation.deleted1deleteAnnotation
annotation.updated1updateAnnotation
apiToken.created1createApiToken
apiToken.revoked1revokeApiToken
apiToken.rotated1rotateApiToken
apiToken.updated1updateApiToken
auditLogExport.requested1requestAuditLogExport
betaAccessCode.created1createBetaAccessCode
betaAccessCode.redeemed1redeemBetaAccessCode
betaAccessCode.revoked1revokeBetaAccessCode
billing.cancellationScheduled1cancelSubscription
billing.checkoutStarted1createCheckoutSession
billing.discountGranted1grantOrganizationDiscount
billing.paymentFailed1—
billing.paymentRecovered1—
billing.portalOpened1createBillingPortalSession
billing.priceChangeCanceled1cancelScheduledPriceChanges
billing.priceChangeScheduled1applyPriceToSubscriptions
billing.reconciled1—
billing.subscriptionEnded1—
billing.subscriptionStarted1—
billing.trialStarted1createTrial
demoProject.provisioned1—
document.archived1archiveDocument
document.created1addTryoutDrawings, createDocument, createTryout
document.deleted1deleteDocument
document.restored1restoreDocument
document.unpublished1unpublishDocument
document.updated1updateDocument
document.version.cancelled1cancelDocumentVersionUpload
document.version.created1addTryoutDrawings, createDocumentVersion, createTryout
document.version.failed1—
document.version.published1publishDocumentVersion
document.version.ready1—
document.version.updated1setDocumentVersionPageScale, updateDocumentVersion
document.version.uploaded1completeDocumentVersionUpload
feedback.created1createFeedback
invitation.accepted1acceptInvitation, acceptMyInvitation
invitation.created1createInvitation
invitation.resent1resendInvitation
invitation.revoked1revokeInvitation
joinLink.created1createJoinLink
layerSet.reset1reprocessLayerSet
layerSet.updated1updateLayerSet
layerTemplate.applied1applyLayerTemplate, deleteLayerTemplate, updateLayerTemplate
layerTemplate.created1createLayerTemplate
layerTemplate.deleted1deleteLayerTemplate
layerTemplate.updated1updateLayerTemplate
link.created1acceptLinkDiscoveryRun, createLink, createLinkRuleRun
link.deleted1deleteLink
link.updated1acceptLinkDiscoveryRun, createLinkRuleRun, updateLink
linkDiscoveryRun.accepted1acceptLinkDiscoveryRun
linkDiscoveryRun.completed1createLinkDiscoveryRun
linkImport.completed1createLinkImport
linkImport.created1createLinkImport
linkRule.created1acceptLinkDiscoveryRun, createLinkRule
linkRule.deleted1deleteLinkRule
linkRule.updated1updateLinkRule
linkRuleRun.completed1acceptLinkDiscoveryRun, createLinkRuleRun
member.joined1acceptInvitation, acceptMyInvitation, claimTryout, createOrganization, createTryout
member.left1leaveOrganization
member.removed1claimTryout, deleteMyAccount, removeMember, removeProjectMember
member.roleChanged1transferOwnership, updateMemberRole
model.created1createProject, createProjectRevision, createTryout, provisionSampleProject
model.unpublished1unpublishModel
model.version.archived1archiveModelVersion
model.version.cancelled1cancelModelVersionUpload
model.version.created1createProjectRevision, createTryout, provisionSampleProject
model.version.deleted1deleteModelVersion
model.version.failed1—
model.version.processingRequested1reprocessModelVersion, reprocessModelVersionAsSupport
model.version.published1provisionSampleProject, publishProjectRevision, setCurrentProjectRevision
model.version.ready1—
model.version.reprocessed1—
model.version.restored1restoreModelVersion
model.version.updated1updateModelVersion
model.version.uploaded1completeModelVersionUpload
oauthGrant.created1approveOAuthAuthorizationRequest
oauthGrant.revoked1deleteMyAccount, revokeMyOAuthGrant, revokeOAuthGrant
organization.created1createOrganization, createTryout
organization.deletionCancelled1cancelOrganizationDeletion
organization.deletionRequested1deleteTryout, requestOrganizationDeletion
organization.entitlements.updated1claimTryout, convertTryout, createTrial, updateOrganizationEntitlements
organization.legalAccepted1acceptLegalDocuments, claimTryout, convertTryout, createOrganization
organization.ownershipTransferred1claimTryout, transferOwnership
organization.reactivated1reactivateOrganization
organization.supportAccessChanged1setOrganizationSupportAccess
organization.suspended1suspendOrganization
organization.updated1claimTryout, convertTryout, updateOrganization
platform.featureFlag.updated1updatePlatformFlag
platform.runtime.updated1updatePlatformRuntime
pricing.changed1grantOrganizationDiscount, revokeOrganizationDiscount, updatePlanPrice, updatePricingSettings
project.access.changed1setProjectAccessMode
project.archived1archiveProject
project.created1createProject, createTryout, provisionSampleProject
project.deleted1deleteProject
project.member.added1acceptInvitation, acceptMyInvitation, addProjectMember, createWorkstation, updateWorkstation
project.member.removed1deleteWorkstation, removeProjectMember, updateWorkstation
project.restored1restoreProject
project.updated1updateProject
sampleProject.provisioned1provisionSampleProject
savedView.created1createSavedView
savedView.deleted1deleteSavedView
savedView.updated1updateSavedView, updateSharedViewOrder
supportAccess.approved1approveSupportAccessRequest
supportAccess.ended1endSupportAccess
supportAccess.refused1denySupportAccessRequest
supportAccess.requested1requestSupportAccess
supportAccess.started1startSupportAccess
surveyResponse.created1createSurveyResponse
tryout.claimed1claimTryout
tryout.converted1claimTryout, convertTryout
tryout.created1createTryout
tryout.expired1—
tryout.researchConsentChanged1updateTryout
user.dataExportReady1requestMyDataExport
user.dataExportRequested1requestMyDataExport
user.deleted1deleteMyAccount
user.emailChanged1refreshMySecurityState
user.emailChangeRequested1requestEmailChange
user.mfaEnrolled1refreshMySecurityState
user.mfaUnenrolled1refreshMySecurityState
user.profileUpdated1updateMe
user.sessionsRevoked1revokeMySessions
user.signedInWithCode1verifyEmailSignInCode
user.signInMethodChanged1refreshMySecurityState
workstation.created1createWorkstation
workstation.deleted1deleteWorkstation
workstation.paired1claimWorkstationPairing
workstation.pairingCodeCreated1createWorkstationPairingCode
workstation.presetAssigned1assignWorkstationPreset
workstation.revoked1revokeWorkstation
workstation.updated1updateWorkstation

Payloads

annotation.created

Data version 1.

Emitted by createAnnotation (POST /v1/organizations/{organizationId}/projects/{projectId}/annotations).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ann_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ann identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "subtype": {
      "type": "string",
      "enum": [
        "measurement"
      ]
    },
    "kind": {
      "type": "string",
      "enum": [
        "distance",
        "edgeLength",
        "angle",
        "areaFace",
        "perpendicularPointFace",
        "perpendicularFaceFace",
        "areaPolygon",
        "overallDimensions"
      ]
    },
    "visibility": {
      "type": "string",
      "enum": [
        "personal",
        "shared"
      ]
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "subtype",
    "kind",
    "visibility"
  ],
  "additionalProperties": false
}

annotation.deleted

Data version 1.

Emitted by deleteAnnotation (DELETE /v1/organizations/{organizationId}/projects/{projectId}/annotations/{annotationId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ann_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ann identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "subtype": {
      "type": "string",
      "enum": [
        "measurement"
      ]
    },
    "byCreator": {
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "subtype",
    "byCreator"
  ],
  "additionalProperties": false
}

annotation.updated

Data version 1.

Emitted by updateAnnotation (PATCH /v1/organizations/{organizationId}/projects/{projectId}/annotations/{annotationId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ann_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ann identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "changedFields": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "label",
          "visibility",
          "needsCheck"
        ]
      }
    },
    "visibility": {
      "type": "string",
      "enum": [
        "personal",
        "shared"
      ]
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "changedFields",
    "visibility",
    "revision"
  ],
  "additionalProperties": false
}

apiToken.created

Data version 1.

Emitted by createApiToken (POST /v1/organizations/{organizationId}/api-tokens).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^tok_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A tok identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "name": {
      "type": "string",
      "minLength": 1
    },
    "tokenPrefix": {
      "type": "string",
      "minLength": 1
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "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))$"
    }
  },
  "required": [
    "id",
    "organizationId",
    "name",
    "tokenPrefix",
    "scopes",
    "expiresAt"
  ],
  "additionalProperties": false
}

apiToken.revoked

Data version 1.

Emitted by revokeApiToken (POST /v1/organizations/{organizationId}/api-tokens/{apiTokenId}/revoke).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^tok_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A tok identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "id",
    "organizationId"
  ],
  "additionalProperties": false
}

apiToken.rotated

Data version 1.

Emitted by rotateApiToken (POST /v1/organizations/{organizationId}/api-tokens/{apiTokenId}/rotate).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^tok_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A tok identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "tokenPrefix": {
      "type": "string",
      "minLength": 1
    },
    "previousSecretGraceUntil": {
      "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",
    "organizationId",
    "tokenPrefix",
    "previousSecretGraceUntil"
  ],
  "additionalProperties": false
}

apiToken.updated

Data version 1.

Emitted by updateApiToken (PATCH /v1/organizations/{organizationId}/api-tokens/{apiTokenId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^tok_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A tok identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "name": {
      "type": "string",
      "minLength": 1
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    }
  },
  "required": [
    "id",
    "organizationId",
    "name",
    "scopes"
  ],
  "additionalProperties": false
}

auditLogExport.requested

Data version 1.

Emitted by requestAuditLogExport (POST /v1/organizations/{organizationId}/audit-log-exports).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^alx_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A alx identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "id",
    "organizationId"
  ],
  "additionalProperties": false
}

betaAccessCode.created

Data version 1.

Emitted by createBetaAccessCode (POST /v1/platform/beta-access-codes).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^bac_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A bac identifier (TypeID, conventions C5)."
    },
    "maxRedemptions": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "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))$"
    }
  },
  "required": [
    "id",
    "maxRedemptions",
    "expiresAt"
  ],
  "additionalProperties": false
}

betaAccessCode.redeemed

Data version 1.

Emitted by redeemBetaAccessCode (POST /v1/users/me/beta-access:redeem).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^bac_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A bac identifier (TypeID, conventions C5)."
    },
    "uid": {
      "type": "string",
      "pattern": "^usr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A usr identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "id",
    "uid"
  ],
  "additionalProperties": false
}

betaAccessCode.revoked

Data version 1.

Emitted by revokeBetaAccessCode (POST /v1/platform/beta-access-codes/{id}/revoke).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^bac_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A bac identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}

billing.cancellationScheduled

Data version 1.

Emitted by cancelSubscription (POST /v1/organizations/{organizationId}/billing/subscription/cancel).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "status": {
      "type": "string",
      "enum": [
        "none",
        "trialing",
        "active",
        "past_due",
        "canceled"
      ]
    },
    "planId": {
      "type": "string",
      "enum": [
        "beta",
        "free",
        "team",
        "enterprise",
        "internal",
        "tryout"
      ]
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "status",
    "revision"
  ],
  "additionalProperties": false
}

billing.checkoutStarted

Data version 1.

Emitted by createCheckoutSession (POST /v1/organizations/{organizationId}/billing/checkout).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "interval": {
      "type": "string",
      "enum": [
        "month",
        "year"
      ]
    },
    "priceRevision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "interval",
    "priceRevision"
  ],
  "additionalProperties": false
}

billing.discountGranted

Data version 1.

Emitted by grantOrganizationDiscount (POST /v1/platform/organizations/{organizationId}/billing/discount).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "discountId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "discount": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "const": "percent"
            },
            "value": {
              "type": "number",
              "exclusiveMinimum": 0,
              "maximum": 100
            }
          },
          "required": [
            "type",
            "value"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "const": "amount_off"
            },
            "cents": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          },
          "required": [
            "type",
            "cents"
          ],
          "additionalProperties": false
        }
      ]
    },
    "duration": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "months": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            }
          },
          "required": [
            "months"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "forever": {
              "type": "boolean",
              "const": true
            }
          },
          "required": [
            "forever"
          ],
          "additionalProperties": false
        }
      ]
    },
    "appliedToSubscription": {
      "type": "boolean"
    },
    "note": {
      "type": "string",
      "maxLength": 500
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "discountId",
    "name",
    "discount",
    "duration",
    "appliedToSubscription",
    "revision"
  ],
  "additionalProperties": false
}

billing.paymentFailed

Data version 1.

Emitted by the platform itself, not by a public operation.

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "status": {
      "type": "string",
      "enum": [
        "none",
        "trialing",
        "active",
        "past_due",
        "canceled"
      ]
    },
    "planId": {
      "type": "string",
      "enum": [
        "beta",
        "free",
        "team",
        "enterprise",
        "internal",
        "tryout"
      ]
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "graceUntil": {
      "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",
    "status",
    "revision"
  ],
  "additionalProperties": false
}

billing.paymentRecovered

Data version 1.

Emitted by the platform itself, not by a public operation.

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "status": {
      "type": "string",
      "enum": [
        "none",
        "trialing",
        "active",
        "past_due",
        "canceled"
      ]
    },
    "planId": {
      "type": "string",
      "enum": [
        "beta",
        "free",
        "team",
        "enterprise",
        "internal",
        "tryout"
      ]
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "status",
    "revision"
  ],
  "additionalProperties": false
}

billing.portalOpened

Data version 1.

Emitted by createBillingPortalSession (POST /v1/organizations/{organizationId}/billing/portal).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "flow": {
      "type": "string",
      "enum": [
        "payment_method_update",
        "subscription_cancel",
        "subscription_update"
      ]
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}

billing.priceChangeCanceled

Data version 1.

Emitted by cancelScheduledPriceChanges (POST /v1/platform/pricing/price-changes/cancel).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "amountCents": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "effectiveAt": {
      "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))$"
    },
    "note": {
      "type": "string",
      "maxLength": 500
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "amountCents",
    "effectiveAt",
    "revision"
  ],
  "additionalProperties": false
}

billing.priceChangeScheduled

Data version 1.

Emitted by applyPriceToSubscriptions (POST /v1/platform/pricing/prices/{planId}/apply-to-subscriptions).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "planId": {
      "type": "string",
      "enum": [
        "free",
        "team",
        "enterprise",
        "internal",
        "tryout"
      ]
    },
    "interval": {
      "type": "string",
      "enum": [
        "month",
        "year"
      ]
    },
    "beforeCents": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "afterCents": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "effectiveAt": {
      "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))$"
    },
    "note": {
      "type": "string",
      "maxLength": 500
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "discountKept": {
      "type": "boolean"
    },
    "indexPercent": {
      "type": "number"
    }
  },
  "required": [
    "id",
    "planId",
    "interval",
    "beforeCents",
    "afterCents",
    "effectiveAt",
    "revision",
    "discountKept"
  ],
  "additionalProperties": false
}

billing.reconciled

Data version 1.

Emitted by the platform itself, not by a public operation.

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "status": {
      "type": "string",
      "enum": [
        "none",
        "trialing",
        "active",
        "past_due",
        "canceled"
      ]
    },
    "planId": {
      "type": "string",
      "enum": [
        "beta",
        "free",
        "team",
        "enterprise",
        "internal",
        "tryout"
      ]
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "changed": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "status",
          "provider",
          "interval",
          "collection",
          "cancelAtPeriodEnd",
          "currentPeriodEnd",
          "discount",
          "paymentMethod",
          "customerId",
          "subscriptionId",
          "priceId",
          "planId"
        ]
      }
    }
  },
  "required": [
    "id",
    "status",
    "revision",
    "changed"
  ],
  "additionalProperties": false
}

billing.subscriptionEnded

Data version 1.

Emitted by the platform itself, not by a public operation.

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "status": {
      "type": "string",
      "enum": [
        "none",
        "trialing",
        "active",
        "past_due",
        "canceled"
      ]
    },
    "planId": {
      "type": "string",
      "enum": [
        "beta",
        "free",
        "team",
        "enterprise",
        "internal",
        "tryout"
      ]
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "reason": {
      "type": "string",
      "enum": [
        "canceled",
        "trial_expired",
        "grace_expired"
      ]
    }
  },
  "required": [
    "id",
    "status",
    "revision",
    "reason"
  ],
  "additionalProperties": false
}

billing.subscriptionStarted

Data version 1.

Emitted by the platform itself, not by a public operation.

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "status": {
      "type": "string",
      "enum": [
        "none",
        "trialing",
        "active",
        "past_due",
        "canceled"
      ]
    },
    "planId": {
      "type": "string",
      "enum": [
        "beta",
        "free",
        "team",
        "enterprise",
        "internal",
        "tryout"
      ]
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "fromTrial": {
      "type": "boolean",
      "const": true
    },
    "trialKind": {
      "type": "string",
      "enum": [
        "standard",
        "beta"
      ]
    }
  },
  "required": [
    "id",
    "status",
    "revision"
  ],
  "additionalProperties": false
}

billing.trialStarted

Data version 1.

Emitted by createTrial (POST /v1/organizations/{organizationId}/billing/trial).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "status": {
      "type": "string",
      "enum": [
        "none",
        "trialing",
        "active",
        "past_due",
        "canceled"
      ]
    },
    "planId": {
      "type": "string",
      "enum": [
        "beta",
        "free",
        "team",
        "enterprise",
        "internal",
        "tryout"
      ]
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "trialEndsAt": {
      "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))$"
    },
    "reason": {
      "type": "string",
      "enum": [
        "standard",
        "beta"
      ]
    }
  },
  "required": [
    "id",
    "status",
    "revision",
    "trialEndsAt"
  ],
  "additionalProperties": false
}

demoProject.provisioned

Data version 1.

Emitted by the platform itself, not by a public operation.

{
  "type": "object",
  "properties": {
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "modelId": {
      "type": "string",
      "pattern": "^mdl_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A mdl identifier (TypeID, conventions C5)."
    },
    "versionId": {
      "type": "string",
      "pattern": "^ver_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ver identifier (TypeID, conventions C5)."
    },
    "slug": {
      "type": "string",
      "enum": [
        "landhuis_hulstveld",
        "landhuis_hulstveld_hsb",
        "woning_lindehof",
        "villa_berkenhaag",
        "hal_noorderkempen",
        "paneelset_werkplaats"
      ]
    },
    "sourceProjectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "documentCount": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "organizationId",
    "projectId",
    "modelId",
    "versionId",
    "slug",
    "sourceProjectId",
    "documentCount"
  ],
  "additionalProperties": false
}

document.archived

Data version 1.

Emitted by archiveDocument (POST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/archive).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^doc_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A doc identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "revision"
  ],
  "additionalProperties": false
}

document.created

Data version 1.

Emitted by addTryoutDrawings (POST /v1/organizations/{organizationId}/tryout/drawings), createDocument (POST /v1/organizations/{organizationId}/projects/{projectId}/documents), createTryout (POST /v1/tryouts).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^doc_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A doc identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId"
  ],
  "additionalProperties": false
}

document.deleted

Data version 1.

Emitted by deleteDocument (DELETE /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^doc_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A doc identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "purgeAfter": {
      "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))$"
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "purgeAfter",
    "revision"
  ],
  "additionalProperties": false
}

document.restored

Data version 1.

Emitted by restoreDocument (POST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/restore).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^doc_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A doc identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "from": {
      "type": "string",
      "enum": [
        "archived",
        "deleted"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "archived"
      ]
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "from",
    "status",
    "revision"
  ],
  "additionalProperties": false
}

document.unpublished

Data version 1.

Emitted by unpublishDocument (POST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/unpublish).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^doc_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A doc identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "previousVersionId": {
      "type": "string",
      "pattern": "^dvr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A dvr identifier (TypeID, conventions C5)."
    },
    "kind": {
      "type": "string",
      "const": "unpublish"
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "previousVersionId",
    "kind"
  ],
  "additionalProperties": false
}

document.updated

Data version 1.

Emitted by updateDocument (PATCH /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^doc_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A doc identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "changes": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "title"
        ]
      }
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "changes",
    "revision"
  ],
  "additionalProperties": false
}

document.version.cancelled

Data version 1.

Emitted by cancelDocumentVersionUpload (POST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions/{versionId}/cancel).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^dvr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A dvr identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "documentId": {
      "type": "string",
      "pattern": "^doc_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A doc identifier (TypeID, conventions C5)."
    },
    "reason": {
      "type": "string",
      "enum": [
        "user"
      ]
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "documentId",
    "reason"
  ],
  "additionalProperties": false
}

document.version.created

Data version 1.

Emitted by addTryoutDrawings (POST /v1/organizations/{organizationId}/tryout/drawings), createDocumentVersion (POST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions), createTryout (POST /v1/tryouts).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^dvr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A dvr identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "documentId": {
      "type": "string",
      "pattern": "^doc_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A doc identifier (TypeID, conventions C5)."
    },
    "versionNumber": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "sizeBytes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1073741824,
      "description": "Declared file size in bytes (BR-3). Above the organisation's limit (beta: 100 MB, hard ceiling 300 MB) the call returns 403 entitlement.limit_reached."
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "documentId",
    "versionNumber"
  ],
  "additionalProperties": false
}

document.version.failed

Data version 1.

Emitted by the platform itself, not by a public operation.

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^dvr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A dvr identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "documentId": {
      "type": "string",
      "pattern": "^doc_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A doc identifier (TypeID, conventions C5)."
    },
    "failureCode": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "documentId",
    "failureCode"
  ],
  "additionalProperties": false
}

document.version.published

Data version 1.

Emitted by publishDocumentVersion (POST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions/{versionId}/publish).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^dvr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A dvr identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "documentId": {
      "type": "string",
      "pattern": "^doc_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A doc identifier (TypeID, conventions C5)."
    },
    "previousVersionId": {
      "type": "string",
      "pattern": "^dvr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A dvr identifier (TypeID, conventions C5)."
    },
    "kind": {
      "type": "string",
      "enum": [
        "publish",
        "rollback"
      ]
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "documentId",
    "kind"
  ],
  "additionalProperties": false
}

document.version.ready

Data version 1.

Emitted by the platform itself, not by a public operation.

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^dvr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A dvr identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "documentId": {
      "type": "string",
      "pattern": "^doc_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A doc identifier (TypeID, conventions C5)."
    },
    "pageCount": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "documentId",
    "pageCount"
  ],
  "additionalProperties": false
}

document.version.updated

Data version 1.

Emitted by setDocumentVersionPageScale (PATCH /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions/{versionId}/pages/{pageNumber}/scale), updateDocumentVersion (PATCH /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions/{versionId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^dvr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A dvr identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "documentId": {
      "type": "string",
      "pattern": "^doc_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A doc identifier (TypeID, conventions C5)."
    },
    "pageNumbers": {
      "type": "array",
      "items": {
        "type": "integer",
        "exclusiveMinimum": 0,
        "maximum": 9007199254740991
      }
    },
    "unitsOverride": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "mm",
            "cm",
            "m",
            "in",
            "ft"
          ],
          "description": "The drawing's units, set by a publisher because the file declares none: mm, cm, m, in or ft."
        },
        {
          "type": "null"
        }
      ]
    },
    "defaultLayersOff": {
      "maxItems": 256,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 255
      },
      "description": "The layers off by default for everyone who opens this drawing, by name (at most 256); [] is every layer on. A person's own choice on their device still wins."
    },
    "pageScale": {
      "type": "object",
      "properties": {
        "pageNumber": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "factor": {
          "anyOf": [
            {
              "type": "number",
              "exclusiveMinimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "source": {
          "type": "string",
          "enum": [
            "calibration",
            "label"
          ]
        }
      },
      "required": [
        "pageNumber",
        "factor"
      ],
      "additionalProperties": false
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "documentId",
    "pageNumbers",
    "revision"
  ],
  "additionalProperties": false
}

document.version.uploaded

Data version 1.

Emitted by completeDocumentVersionUpload (POST /v1/organizations/{organizationId}/projects/{projectId}/documents/{documentId}/versions/{versionId}/complete).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^dvr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A dvr identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "documentId": {
      "type": "string",
      "pattern": "^doc_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A doc identifier (TypeID, conventions C5)."
    },
    "sizeBytes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1073741824,
      "description": "Declared file size in bytes (BR-3). Above the organisation's limit (beta: 100 MB, hard ceiling 300 MB) the call returns 403 entitlement.limit_reached."
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "documentId",
    "sizeBytes"
  ],
  "additionalProperties": false
}

feedback.created

Data version 1.

Emitted by createFeedback (POST /v1/organizations/{organizationId}/feedback).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^fbk_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A fbk identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "category": {
      "type": "string",
      "enum": [
        "problem",
        "support"
      ]
    },
    "hasScreenshot": {
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "organizationId",
    "hasScreenshot"
  ],
  "additionalProperties": false
}

invitation.accepted

Data version 1.

Emitted by acceptInvitation (POST /v1/invitations/accept), acceptMyInvitation (POST /v1/users/me/invitations/{invitationId}/accept).

{
  "type": "object",
  "properties": {
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "id": {
      "type": "string",
      "pattern": "^inv_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A inv identifier (TypeID, conventions C5)."
    },
    "uid": {
      "type": "string",
      "minLength": 1
    },
    "role": {
      "type": "string",
      "enum": [
        "admin",
        "publisher",
        "member",
        "guest"
      ]
    },
    "mismatchedEmail": {
      "type": "boolean"
    }
  },
  "required": [
    "organizationId",
    "id",
    "uid",
    "role",
    "mismatchedEmail"
  ],
  "additionalProperties": false
}

invitation.created

Data version 1.

Emitted by createInvitation (POST /v1/organizations/{organizationId}/invitations).

{
  "type": "object",
  "properties": {
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "id": {
      "type": "string",
      "pattern": "^inv_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A inv identifier (TypeID, conventions C5)."
    },
    "role": {
      "type": "string",
      "enum": [
        "admin",
        "publisher",
        "member",
        "guest"
      ]
    }
  },
  "required": [
    "organizationId",
    "id",
    "role"
  ],
  "additionalProperties": false
}

invitation.resent

Data version 1.

Emitted by resendInvitation (POST /v1/organizations/{organizationId}/invitations/{id}/resend).

{
  "type": "object",
  "properties": {
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "id": {
      "type": "string",
      "pattern": "^inv_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A inv identifier (TypeID, conventions C5)."
    },
    "resendCount": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "organizationId",
    "id",
    "resendCount"
  ],
  "additionalProperties": false
}

invitation.revoked

Data version 1.

Emitted by revokeInvitation (POST /v1/organizations/{organizationId}/invitations/{id}/revoke).

{
  "type": "object",
  "properties": {
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "id": {
      "type": "string",
      "pattern": "^inv_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A inv identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "organizationId",
    "id"
  ],
  "additionalProperties": false
}

layerSet.reset

Data version 1.

Emitted by reprocessLayerSet (POST /v1/organizations/{organizationId}/projects/{projectId}/layer-sets/{layerSetId}/reprocess).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^lys_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A lys identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId"
  ],
  "additionalProperties": false
}

layerSet.updated

Data version 1.

Emitted by updateLayerSet (PATCH /v1/organizations/{organizationId}/projects/{projectId}/layer-sets/{layerSetId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^lys_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A lys identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId"
  ],
  "additionalProperties": false
}

layerTemplate.applied

Data version 1.

Emitted by applyLayerTemplate (POST /v1/organizations/{organizationId}/layer-templates/{templateId}/apply), deleteLayerTemplate (DELETE /v1/organizations/{organizationId}/layer-templates/{templateId}), updateLayerTemplate (PATCH /v1/organizations/{organizationId}/layer-templates/{templateId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ltp_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ltp identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "trigger": {
      "type": "string",
      "enum": [
        "apply",
        "update",
        "delete"
      ]
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "trigger"
  ],
  "additionalProperties": false
}

layerTemplate.created

Data version 1.

Emitted by createLayerTemplate (POST /v1/organizations/{organizationId}/layer-templates).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ltp_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ltp identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "id",
    "organizationId"
  ],
  "additionalProperties": false
}

layerTemplate.deleted

Data version 1.

Emitted by deleteLayerTemplate (DELETE /v1/organizations/{organizationId}/layer-templates/{templateId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ltp_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ltp identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "id",
    "organizationId"
  ],
  "additionalProperties": false
}

layerTemplate.updated

Data version 1.

Emitted by updateLayerTemplate (PATCH /v1/organizations/{organizationId}/layer-templates/{templateId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ltp_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ltp identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "id",
    "organizationId"
  ],
  "additionalProperties": false
}

linkDiscoveryRun.accepted

Data version 1.

Emitted by acceptLinkDiscoveryRun (POST /v1/organizations/{organizationId}/projects/{projectId}/link-discovery-runs/{runId}/accept).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ldr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ldr identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "ruleIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^lkr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
        "description": "A lkr identifier (TypeID, conventions C5)."
      }
    },
    "coverage": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "ruleIds",
    "coverage"
  ],
  "additionalProperties": false
}

linkDiscoveryRun.completed

Data version 1.

Emitted by createLinkDiscoveryRun (POST /v1/organizations/{organizationId}/projects/{projectId}/link-discovery-runs).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ldr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ldr identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "status": {
      "type": "string",
      "enum": [
        "done",
        "failed"
      ]
    },
    "trigger": {
      "type": "string",
      "enum": [
        "manual",
        "upload_batch"
      ]
    },
    "evaluatedDocuments": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "strategies": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "topCoverage": {
      "type": "number",
      "minimum": 0,
      "maximum": 1
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "status",
    "trigger",
    "evaluatedDocuments",
    "strategies",
    "topCoverage"
  ],
  "additionalProperties": false
}

linkImport.completed

Data version 1.

Emitted by createLinkImport (POST /v1/organizations/{organizationId}/projects/{projectId}/link-imports).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^lim_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A lim identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "status": {
      "type": "string",
      "enum": [
        "done",
        "failed"
      ]
    },
    "rows": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "created": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "skipped": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "errors": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "failureCode": {
      "type": "string",
      "enum": [
        "csv_too_large",
        "csv_empty",
        "csv_encoding",
        "csv_malformed",
        "csv_missing_column",
        "csv_unknown_column",
        "upload_missing",
        "project_not_active"
      ]
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "status",
    "rows",
    "created",
    "skipped",
    "errors"
  ],
  "additionalProperties": false
}

linkImport.created

Data version 1.

Emitted by createLinkImport (POST /v1/organizations/{organizationId}/projects/{projectId}/link-imports).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^lim_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A lim identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "sizeBytes": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "sizeBytes"
  ],
  "additionalProperties": false
}

linkRule.created

Data version 1.

Emitted by acceptLinkDiscoveryRun (POST /v1/organizations/{organizationId}/projects/{projectId}/link-discovery-runs/{runId}/accept), createLinkRule (POST /v1/organizations/{organizationId}/projects/{projectId}/link-rules).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^lkr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A lkr identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "revision"
  ],
  "additionalProperties": false
}

linkRule.deleted

Data version 1.

Emitted by deleteLinkRule (DELETE /v1/organizations/{organizationId}/projects/{projectId}/link-rules/{ruleId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^lkr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A lkr identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId"
  ],
  "additionalProperties": false
}

linkRule.updated

Data version 1.

Emitted by updateLinkRule (PATCH /v1/organizations/{organizationId}/projects/{projectId}/link-rules/{ruleId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^lkr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A lkr identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "changes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "changes",
    "revision"
  ],
  "additionalProperties": false
}

linkRuleRun.completed

Data version 1.

Emitted by acceptLinkDiscoveryRun (POST /v1/organizations/{organizationId}/projects/{projectId}/link-discovery-runs/{runId}/accept), createLinkRuleRun (POST /v1/organizations/{organizationId}/projects/{projectId}/link-rule-runs).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^lrr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A lrr identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "ruleId": {
      "type": "string",
      "pattern": "^lkr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A lkr identifier (TypeID, conventions C5)."
    },
    "dryRun": {
      "type": "boolean"
    },
    "status": {
      "type": "string",
      "enum": [
        "running",
        "done",
        "failed"
      ]
    },
    "wouldCreate": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "ambiguous": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "created": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "updated": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "ruleId",
    "dryRun",
    "status",
    "wouldCreate",
    "ambiguous"
  ],
  "additionalProperties": false
}

member.joined

Data version 1.

Emitted by acceptInvitation (POST /v1/invitations/accept), acceptMyInvitation (POST /v1/users/me/invitations/{invitationId}/accept), claimTryout (POST /v1/tryouts/claim), createOrganization (POST /v1/organizations), createTryout (POST /v1/tryouts).

{
  "type": "object",
  "properties": {
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "uid": {
      "type": "string",
      "minLength": 1
    },
    "role": {
      "type": "string",
      "enum": [
        "owner",
        "admin",
        "publisher",
        "member",
        "guest"
      ]
    }
  },
  "required": [
    "organizationId",
    "uid",
    "role"
  ],
  "additionalProperties": false
}

member.left

Data version 1.

Emitted by leaveOrganization (DELETE /v1/organizations/{organizationId}/members/me).

{
  "type": "object",
  "properties": {
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "uid": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "organizationId",
    "uid"
  ],
  "additionalProperties": false
}

member.removed

Data version 1.

Emitted by claimTryout (POST /v1/tryouts/claim), deleteMyAccount (DELETE /v1/me), removeMember (DELETE /v1/organizations/{organizationId}/members/{uid}), removeProjectMember (DELETE /v1/organizations/{organizationId}/projects/{projectId}/members/{uid}).

{
  "type": "object",
  "properties": {
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "uid": {
      "type": "string",
      "minLength": 1
    },
    "actingUid": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "organizationId",
    "uid",
    "actingUid"
  ],
  "additionalProperties": false
}

member.roleChanged

Data version 1.

Emitted by transferOwnership (POST /v1/organizations/{organizationId}/ownership-transfers), updateMemberRole (PATCH /v1/organizations/{organizationId}/members/{uid}).

{
  "type": "object",
  "properties": {
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "uid": {
      "type": "string",
      "minLength": 1
    },
    "previousRole": {
      "type": "string",
      "enum": [
        "owner",
        "admin",
        "publisher",
        "member",
        "guest"
      ]
    },
    "role": {
      "type": "string",
      "enum": [
        "owner",
        "admin",
        "publisher",
        "member",
        "guest"
      ]
    }
  },
  "required": [
    "organizationId",
    "uid",
    "previousRole",
    "role"
  ],
  "additionalProperties": false
}

model.created

Data version 1.

Emitted by createProject (POST /v1/organizations/{organizationId}/projects), createProjectRevision (POST /v1/organizations/{organizationId}/projects/{projectId}/revisions), createTryout (POST /v1/tryouts), provisionSampleProject (POST /v1/organizations/{organizationId}/sample-project).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^mdl_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A mdl identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80,
      "description": "Model display name (1-80 chars after trimming, BR-8)."
    },
    "discipline": {
      "type": "string",
      "enum": [
        "architecture",
        "structure",
        "mep",
        "other"
      ]
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "name",
    "discipline"
  ],
  "additionalProperties": false
}

model.unpublished

Data version 1.

Emitted by unpublishModel (POST /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/unpublish).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^mdl_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A mdl identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "previousVersionId": {
      "type": "string",
      "pattern": "^ver_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ver identifier (TypeID, conventions C5)."
    },
    "kind": {
      "type": "string",
      "const": "unpublish"
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "previousVersionId",
    "kind"
  ],
  "additionalProperties": false
}

model.version.archived

Data version 1.

Emitted by archiveModelVersion (POST /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}/archive).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ver_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ver identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "modelId": {
      "type": "string",
      "pattern": "^mdl_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A mdl identifier (TypeID, conventions C5)."
    },
    "projectRevisionNumber": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "modelId",
    "revision"
  ],
  "additionalProperties": false
}

model.version.cancelled

Data version 1.

Emitted by cancelModelVersionUpload (POST /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}/cancel).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ver_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ver identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "modelId": {
      "type": "string",
      "pattern": "^mdl_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A mdl identifier (TypeID, conventions C5)."
    },
    "projectRevisionNumber": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "reason": {
      "type": "string",
      "enum": [
        "user",
        "expired"
      ]
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "modelId",
    "reason"
  ],
  "additionalProperties": false
}

model.version.created

Data version 1.

Emitted by createProjectRevision (POST /v1/organizations/{organizationId}/projects/{projectId}/revisions), createTryout (POST /v1/tryouts), provisionSampleProject (POST /v1/organizations/{organizationId}/sample-project).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ver_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ver identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "modelId": {
      "type": "string",
      "pattern": "^mdl_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A mdl identifier (TypeID, conventions C5)."
    },
    "projectRevisionNumber": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "versionNumber": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "sizeBytes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1073741824,
      "description": "Declared file size in bytes (BR-24)."
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "modelId",
    "versionNumber"
  ],
  "additionalProperties": false
}

model.version.deleted

Data version 1.

Emitted by deleteModelVersion (DELETE /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ver_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ver identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "modelId": {
      "type": "string",
      "pattern": "^mdl_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A mdl identifier (TypeID, conventions C5)."
    },
    "projectRevisionNumber": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "versionNumber": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "objectsRemovedAfter": {
      "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",
    "organizationId",
    "projectId",
    "modelId",
    "versionNumber",
    "objectsRemovedAfter"
  ],
  "additionalProperties": false
}

model.version.failed

Data version 1.

Emitted by the platform itself, not by a public operation.

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ver_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ver identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "modelId": {
      "type": "string",
      "pattern": "^mdl_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A mdl identifier (TypeID, conventions C5)."
    },
    "failureCode": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "modelId",
    "failureCode"
  ],
  "additionalProperties": false
}

model.version.processingRequested

Data version 1.

Emitted by reprocessModelVersion (POST /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}/reprocess), reprocessModelVersionAsSupport (POST /v1/platform/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}/reprocess-as-support).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ver_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ver identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "modelId": {
      "type": "string",
      "pattern": "^mdl_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A mdl identifier (TypeID, conventions C5)."
    },
    "projectRevisionNumber": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "attempt": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "reason": {
      "type": "string",
      "enum": [
        "retry",
        "pipeline_upgrade"
      ]
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "modelId",
    "attempt"
  ],
  "additionalProperties": false
}

model.version.published

Data version 1.

Emitted by provisionSampleProject (POST /v1/organizations/{organizationId}/sample-project), publishProjectRevision (POST /v1/organizations/{organizationId}/projects/{projectId}/revisions/{number}/publish), setCurrentProjectRevision (POST /v1/organizations/{organizationId}/projects/{projectId}/revisions/{number}/make-current).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ver_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ver identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "modelId": {
      "type": "string",
      "pattern": "^mdl_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A mdl identifier (TypeID, conventions C5)."
    },
    "projectRevisionNumber": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "previousVersionId": {
      "type": "string",
      "pattern": "^ver_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ver identifier (TypeID, conventions C5)."
    },
    "note": {
      "type": "string",
      "maxLength": 500
    },
    "kind": {
      "type": "string",
      "enum": [
        "publish",
        "rollback"
      ]
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "modelId",
    "kind"
  ],
  "additionalProperties": false
}

model.version.ready

Data version 1.

Emitted by the platform itself, not by a public operation.

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ver_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ver identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "modelId": {
      "type": "string",
      "pattern": "^mdl_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A mdl identifier (TypeID, conventions C5)."
    },
    "projectRevisionNumber": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "modelId"
  ],
  "additionalProperties": false
}

model.version.reprocessed

Data version 1.

Emitted by the platform itself, not by a public operation.

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ver_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ver identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "modelId": {
      "type": "string",
      "pattern": "^mdl_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A mdl identifier (TypeID, conventions C5)."
    },
    "projectRevisionNumber": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "pipelineVersion": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "modelId",
    "pipelineVersion"
  ],
  "additionalProperties": false
}

model.version.restored

Data version 1.

Emitted by restoreModelVersion (POST /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}/restore).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ver_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ver identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "modelId": {
      "type": "string",
      "pattern": "^mdl_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A mdl identifier (TypeID, conventions C5)."
    },
    "projectRevisionNumber": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "modelId",
    "revision"
  ],
  "additionalProperties": false
}

model.version.updated

Data version 1.

Emitted by updateModelVersion (PATCH /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ver_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ver identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "modelId": {
      "type": "string",
      "pattern": "^mdl_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A mdl identifier (TypeID, conventions C5)."
    },
    "projectRevisionNumber": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "changed": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "label",
          "notes"
        ]
      }
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "modelId",
    "changed",
    "revision"
  ],
  "additionalProperties": false
}

model.version.uploaded

Data version 1.

Emitted by completeModelVersionUpload (POST /v1/organizations/{organizationId}/projects/{projectId}/models/{modelId}/versions/{versionId}/complete).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^ver_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ver identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "modelId": {
      "type": "string",
      "pattern": "^mdl_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A mdl identifier (TypeID, conventions C5)."
    },
    "projectRevisionNumber": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "sizeBytes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1073741824,
      "description": "Declared file size in bytes (BR-24)."
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "modelId",
    "sizeBytes"
  ],
  "additionalProperties": false
}

oauthGrant.created

Data version 1.

Emitted by approveOAuthAuthorizationRequest (POST /v1/oauth/authorization-requests/{requestId}/approve).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^grt_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A grt identifier (TypeID, conventions C5)."
    },
    "uid": {
      "type": "string",
      "pattern": "^usr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A usr identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "clientId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512
    },
    "clientHost": {
      "type": "string",
      "minLength": 1
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    }
  },
  "required": [
    "id",
    "uid",
    "organizationId",
    "clientId",
    "clientHost",
    "scopes"
  ],
  "additionalProperties": false
}

oauthGrant.revoked

Data version 1.

Emitted by deleteMyAccount (DELETE /v1/me), revokeMyOAuthGrant (POST /v1/me/oauth-grants/{grantId}/revoke), revokeOAuthGrant (POST /v1/organizations/{organizationId}/oauth-grants/{grantId}/revoke).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^grt_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A grt identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "reason": {
      "type": "string",
      "enum": [
        "user_revoked",
        "reuse_detected",
        "member_removed"
      ]
    }
  },
  "required": [
    "id",
    "organizationId",
    "reason"
  ],
  "additionalProperties": false
}

organization.created

Data version 1.

Emitted by createOrganization (POST /v1/organizations), createTryout (POST /v1/tryouts).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "name": {
      "type": "string",
      "minLength": 2,
      "maxLength": 80,
      "description": "Organisation display name (2-80 chars after trimming, BR-10)."
    },
    "defaultLocale": {
      "type": "string",
      "enum": [
        "nl",
        "en",
        "fr"
      ]
    },
    "kind": {
      "type": "string",
      "const": "tryout"
    }
  },
  "required": [
    "id",
    "name",
    "defaultLocale"
  ],
  "additionalProperties": false
}

organization.deletionCancelled

Data version 1.

Emitted by cancelOrganizationDeletion (DELETE /v1/organizations/{organizationId}/deletion).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "cancelledBy": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "id",
    "cancelledBy"
  ],
  "additionalProperties": false
}

organization.deletionRequested

Data version 1.

Emitted by deleteTryout (POST /v1/organizations/{organizationId}/tryout/deletion), requestOrganizationDeletion (POST /v1/organizations/{organizationId}/deletion).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "requestedBy": {
      "type": "string",
      "minLength": 1
    },
    "purgeAfter": {
      "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",
    "requestedBy",
    "purgeAfter"
  ],
  "additionalProperties": false
}

organization.entitlements.updated

Data version 1.

Emitted by claimTryout (POST /v1/tryouts/claim), convertTryout (POST /v1/organizations/{organizationId}/tryout/convert), createTrial (POST /v1/organizations/{organizationId}/billing/trial), updateOrganizationEntitlements (PATCH /v1/platform/organizations/{organizationId}/entitlements).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "planId": {
      "type": "string",
      "enum": [
        "beta",
        "free",
        "team",
        "enterprise",
        "internal",
        "tryout"
      ]
    },
    "previousPlanId": {
      "type": "string",
      "enum": [
        "beta",
        "free",
        "team",
        "enterprise",
        "internal",
        "tryout"
      ]
    },
    "changed": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "planId",
          "cohort",
          "overrides",
          "planSource"
        ]
      }
    },
    "planSource": {
      "type": "string",
      "enum": [
        "default",
        "billing",
        "platform",
        "migration"
      ]
    },
    "overrides": {
      "type": "object",
      "properties": {
        "limits": {
          "type": "object",
          "properties": {
            "seats": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "guests": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "workstations": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "projects": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "storageBytes": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "maxModelFileBytes": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1073741824,
              "description": "Largest single model file, in bytes, for direct upload and URL import. Never above 1 GiB (BR-10)."
            },
            "maxModelsPerProject": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "processingMinutesPerMonth": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "apiTokens": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "maxDocumentFileBytes": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991,
              "description": "Largest single drawing file (PDF, DXF, DWG), in bytes. The format's own ceiling still applies on top."
            },
            "maxDocumentsPerProject": {
              "description": "Most drawings (documents) in one project. Absent: no limit.",
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          },
          "additionalProperties": false
        },
        "features": {
          "type": "object",
          "properties": {
            "autoDimensions": {
              "type": "boolean"
            },
            "workstationMode": {
              "type": "boolean"
            },
            "auditLogExport": {
              "type": "boolean",
              "description": "Whether the activity log can be exported as CSV (`requestAuditLogExport`)."
            },
            "sso": {
              "type": "boolean",
              "description": "Reserved for single sign-on. Not in use yet."
            }
          },
          "additionalProperties": false
        },
        "reason": {
          "type": "string",
          "minLength": 1
        },
        "appliedAt": {
          "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))$"
        },
        "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))$"
        }
      },
      "required": [
        "reason",
        "appliedAt"
      ],
      "additionalProperties": false
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "planId",
    "previousPlanId",
    "changed",
    "revision"
  ],
  "additionalProperties": false
}

organization.legalAccepted

Data version 1.

Emitted by acceptLegalDocuments (POST /v1/organizations/{organizationId}/legal-acceptances), claimTryout (POST /v1/tryouts/claim), convertTryout (POST /v1/organizations/{organizationId}/tryout/convert), createOrganization (POST /v1/organizations).

{
  "type": "object",
  "properties": {
    "termsVersion": {
      "type": "string",
      "pattern": "^\\d{1,3}\\.\\d{1,3}$",
      "description": "A legal document version, `<major>.<minor>` (e.g. 0.1)."
    },
    "privacyVersion": {
      "type": "string",
      "pattern": "^\\d{1,3}\\.\\d{1,3}$",
      "description": "A legal document version, `<major>.<minor>` (e.g. 0.1)."
    },
    "dpaVersion": {
      "type": "string",
      "pattern": "^\\d{1,3}\\.\\d{1,3}$",
      "description": "A legal document version, `<major>.<minor>` (e.g. 0.1)."
    },
    "subprocessorsVersion": {
      "type": "string",
      "pattern": "^\\d{1,3}\\.\\d{1,3}$",
      "description": "A legal document version, `<major>.<minor>` (e.g. 0.1)."
    },
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "reacceptance": {
      "type": "boolean"
    }
  },
  "required": [
    "termsVersion",
    "privacyVersion",
    "dpaVersion",
    "subprocessorsVersion",
    "id",
    "reacceptance"
  ],
  "additionalProperties": false
}

organization.ownershipTransferred

Data version 1.

Emitted by claimTryout (POST /v1/tryouts/claim), transferOwnership (POST /v1/organizations/{organizationId}/ownership-transfers).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "previousOwnerUid": {
      "type": "string",
      "minLength": 1
    },
    "newOwnerUid": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "id",
    "previousOwnerUid",
    "newOwnerUid"
  ],
  "additionalProperties": false
}

organization.reactivated

Data version 1.

Emitted by reactivateOrganization (POST /v1/platform/organizations/{organizationId}/reactivate).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "reason": {
      "type": "string",
      "minLength": 1
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "revision"
  ],
  "additionalProperties": false
}

organization.supportAccessChanged

Data version 1.

Emitted by setOrganizationSupportAccess (PATCH /v1/organizations/{organizationId}/support-access-setting).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "supportAccess": {
      "type": "string",
      "enum": [
        "allowed",
        "ask"
      ]
    }
  },
  "required": [
    "id",
    "supportAccess"
  ],
  "additionalProperties": false
}

organization.suspended

Data version 1.

Emitted by suspendOrganization (POST /v1/platform/organizations/{organizationId}/suspend).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "reason": {
      "type": "string",
      "minLength": 1
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "reason",
    "revision"
  ],
  "additionalProperties": false
}

organization.updated

Data version 1.

Emitted by claimTryout (POST /v1/tryouts/claim), convertTryout (POST /v1/organizations/{organizationId}/tryout/convert), updateOrganization (PATCH /v1/organizations/{organizationId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "changedFields": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "name",
          "defaultLocale",
          "logo",
          "analyticsMode",
          "cadProducerDetailTags"
        ]
      }
    },
    "kindChanged": {
      "type": "boolean",
      "const": true
    }
  },
  "required": [
    "id",
    "changedFields"
  ],
  "additionalProperties": false
}

platform.featureFlag.updated

Data version 1.

Emitted by updatePlatformFlag (PATCH /v1/platform/flags/{flag}).

{
  "type": "object",
  "properties": {
    "key": {
      "type": "string"
    },
    "environment": {
      "type": "string"
    },
    "templates": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "client",
          "server"
        ]
      }
    },
    "group": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "cohort"
            },
            "cohort": {
              "type": "string",
              "pattern": "^[a-z0-9][a-z0-9_-]{0,39}$",
              "description": "The cohort tag, e.g. `wave1`."
            }
          },
          "required": [
            "kind",
            "cohort"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "plan"
            },
            "planId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 40,
              "description": "The plan id the condition matches (`planId` signal)."
            }
          },
          "required": [
            "kind",
            "planId"
          ],
          "additionalProperties": false
        }
      ],
      "description": "A rollout group: the organisations with this `cohort`, or on this plan (`planId`)."
    },
    "before": {
      "type": "object",
      "properties": {
        "client": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "server": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "after": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "reason": {
      "type": "string"
    }
  },
  "required": [
    "key",
    "environment",
    "templates",
    "before",
    "after",
    "reason"
  ],
  "additionalProperties": false
}

platform.runtime.updated

Data version 1.

Emitted by updatePlatformRuntime (PATCH /v1/platform/runtime).

{
  "type": "object",
  "properties": {
    "tryoutsPaused": {
      "type": "boolean"
    }
  },
  "required": [
    "tryoutsPaused"
  ],
  "additionalProperties": false
}

pricing.changed

Data version 1.

Emitted by grantOrganizationDiscount (POST /v1/platform/organizations/{organizationId}/billing/discount), revokeOrganizationDiscount (POST /v1/platform/organizations/{organizationId}/billing/discount/revoke), updatePlanPrice (PATCH /v1/platform/pricing/prices/{planId}), updatePricingSettings (PATCH /v1/platform/pricing/settings).

{
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "price",
        "discount",
        "settings"
      ]
    },
    "planId": {
      "type": "string",
      "enum": [
        "free",
        "team",
        "enterprise",
        "internal",
        "tryout"
      ]
    },
    "discountId": {
      "type": "string"
    },
    "organizationId": {
      "type": "string"
    },
    "before": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "monthlyCents": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "yearlyCents": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          },
          "required": [
            "monthlyCents",
            "yearlyCents"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "gaAt": {
              "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"
                }
              ]
            },
            "marginalCostCents": {
              "anyOf": [
                {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "additionalProperties": false
        }
      ]
    },
    "after": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "monthlyCents": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "yearlyCents": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            }
          },
          "required": [
            "monthlyCents",
            "yearlyCents"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "gaAt": {
              "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"
                }
              ]
            },
            "marginalCostCents": {
              "anyOf": [
                {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "additionalProperties": false
        }
      ]
    },
    "note": {
      "type": "string",
      "maxLength": 500
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "kind",
    "revision"
  ],
  "additionalProperties": false
}

project.access.changed

Data version 1.

Emitted by setProjectAccessMode (PATCH /v1/organizations/{organizationId}/projects/{projectId}/access).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "access": {
      "type": "string",
      "enum": [
        "org",
        "restricted"
      ]
    },
    "impactCount": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "access",
    "impactCount"
  ],
  "additionalProperties": false
}

project.archived

Data version 1.

Emitted by archiveProject (POST /v1/organizations/{organizationId}/projects/{projectId}/archive).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "revision"
  ],
  "additionalProperties": false
}

project.created

Data version 1.

Emitted by createProject (POST /v1/organizations/{organizationId}/projects), createTryout (POST /v1/tryouts), provisionSampleProject (POST /v1/organizations/{organizationId}/sample-project).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80,
      "description": "Project display name (1-80 chars after trimming, BR-2)."
    },
    "access": {
      "type": "string",
      "enum": [
        "org",
        "restricted"
      ]
    }
  },
  "required": [
    "id",
    "organizationId",
    "name",
    "access"
  ],
  "additionalProperties": false
}

project.deleted

Data version 1.

Emitted by deleteProject (DELETE /v1/organizations/{organizationId}/projects/{projectId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "purgeAfter": {
      "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))$"
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "purgeAfter",
    "revision"
  ],
  "additionalProperties": false
}

project.member.added

Data version 1.

Emitted by acceptInvitation (POST /v1/invitations/accept), acceptMyInvitation (POST /v1/users/me/invitations/{invitationId}/accept), addProjectMember (POST /v1/organizations/{organizationId}/projects/{projectId}/members), createWorkstation (POST /v1/organizations/{organizationId}/workstations), updateWorkstation (PATCH /v1/organizations/{organizationId}/workstations/{workstationId}).

{
  "type": "object",
  "properties": {
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "uid": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "organizationId",
    "projectId",
    "uid"
  ],
  "additionalProperties": false
}

project.member.removed

Data version 1.

Emitted by deleteWorkstation (DELETE /v1/organizations/{organizationId}/workstations/{workstationId}), removeProjectMember (DELETE /v1/organizations/{organizationId}/projects/{projectId}/members/{uid}), updateWorkstation (PATCH /v1/organizations/{organizationId}/workstations/{workstationId}).

{
  "type": "object",
  "properties": {
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "uid": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "organizationId",
    "projectId",
    "uid"
  ],
  "additionalProperties": false
}

project.restored

Data version 1.

Emitted by restoreProject (POST /v1/organizations/{organizationId}/projects/{projectId}/restore).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "from": {
      "type": "string",
      "enum": [
        "archived",
        "deleted"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "archived"
      ]
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "from",
    "status",
    "revision"
  ],
  "additionalProperties": false
}

project.updated

Data version 1.

Emitted by updateProject (PATCH /v1/organizations/{organizationId}/projects/{projectId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80,
      "description": "Project display name (1-80 chars after trimming, BR-2)."
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "name",
    "revision"
  ],
  "additionalProperties": false
}

sampleProject.provisioned

Data version 1.

Emitted by provisionSampleProject (POST /v1/organizations/{organizationId}/sample-project).

{
  "type": "object",
  "properties": {
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "modelId": {
      "type": "string",
      "pattern": "^mdl_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A mdl identifier (TypeID, conventions C5)."
    },
    "versionId": {
      "type": "string",
      "pattern": "^ver_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ver identifier (TypeID, conventions C5)."
    },
    "sourceVersionId": {
      "type": "string",
      "pattern": "^ver_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ver identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "organizationId",
    "projectId",
    "modelId",
    "versionId",
    "sourceVersionId"
  ],
  "additionalProperties": false
}

savedView.created

Data version 1.

Emitted by createSavedView (POST /v1/organizations/{organizationId}/projects/{projectId}/views).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^vw_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A vw identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "scope": {
      "type": "string",
      "enum": [
        "personal",
        "shared"
      ]
    },
    "hasThumbnail": {
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "scope",
    "hasThumbnail"
  ],
  "additionalProperties": false
}

savedView.deleted

Data version 1.

Emitted by deleteSavedView (DELETE /v1/organizations/{organizationId}/projects/{projectId}/views/{viewId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^vw_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A vw identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "scope": {
      "type": "string",
      "enum": [
        "personal",
        "shared"
      ]
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "scope"
  ],
  "additionalProperties": false
}

savedView.updated

Data version 1.

Emitted by updateSavedView (PATCH /v1/organizations/{organizationId}/projects/{projectId}/views/{viewId}), updateSharedViewOrder (PATCH /v1/organizations/{organizationId}/projects/{projectId}/shared-view-order).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^vw_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A vw identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "scope": {
      "type": "string",
      "enum": [
        "personal",
        "shared"
      ]
    },
    "changedFields": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "name",
          "description",
          "scope",
          "isProjectDefault",
          "order"
        ]
      }
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "organizationId",
    "projectId",
    "scope",
    "changedFields",
    "revision"
  ],
  "additionalProperties": false
}

supportAccess.approved

Data version 1.

Emitted by approveSupportAccessRequest (POST /v1/organizations/{organizationId}/support-access-requests/{uid}/approve).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "uid": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "id",
    "uid"
  ],
  "additionalProperties": false
}

supportAccess.ended

Data version 1.

Emitted by endSupportAccess (DELETE /v1/platform/organizations/{organizationId}/support-access).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "endedAt": {
      "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",
    "endedAt"
  ],
  "additionalProperties": false
}

supportAccess.refused

Data version 1.

Emitted by denySupportAccessRequest (POST /v1/organizations/{organizationId}/support-access-requests/{uid}/deny).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "uid": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "id",
    "uid"
  ],
  "additionalProperties": false
}

supportAccess.requested

Data version 1.

Emitted by requestSupportAccess (POST /v1/platform/organizations/{organizationId}/support-access-requests).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "uid": {
      "type": "string",
      "minLength": 1
    },
    "reason": {
      "type": "string"
    },
    "durationMinutes": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "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))$"
    }
  },
  "required": [
    "id",
    "uid",
    "reason",
    "durationMinutes",
    "expiresAt"
  ],
  "additionalProperties": false
}

supportAccess.started

Data version 1.

Emitted by startSupportAccess (POST /v1/platform/organizations/{organizationId}/support-access).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "reason": {
      "type": "string"
    },
    "durationMinutes": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "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))$"
    }
  },
  "required": [
    "id",
    "reason",
    "durationMinutes",
    "expiresAt"
  ],
  "additionalProperties": false
}

surveyResponse.created

Data version 1.

Emitted by createSurveyResponse (POST /v1/organizations/{organizationId}/survey-responses).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "wave": {
      "type": "string",
      "pattern": "^m[0-9]{1,2}$",
      "description": "The survey wave: a milestone, lower case (m3, m4)."
    },
    "kind": {
      "type": "string",
      "enum": [
        "sus",
        "nps"
      ]
    },
    "answers": {
      "minItems": 10,
      "maxItems": 10,
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 1,
        "maximum": 5
      },
      "description": "The ten SUS answers in questionnaire order, each 1 (strongly disagree) to 5 (strongly agree)."
    },
    "score": {
      "type": "integer",
      "minimum": 0,
      "maximum": 10,
      "description": "How likely the person is to recommend the app, 0-10."
    }
  },
  "required": [
    "id",
    "organizationId",
    "wave",
    "kind"
  ],
  "additionalProperties": false
}

tryout.claimed

Data version 1.

Emitted by claimTryout (POST /v1/tryouts/claim).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}

tryout.converted

Data version 1.

Emitted by claimTryout (POST /v1/tryouts/claim), convertTryout (POST /v1/organizations/{organizationId}/tryout/convert).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}

tryout.created

Data version 1.

Emitted by createTryout (POST /v1/tryouts).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "projectId": {
      "type": "string",
      "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A prj identifier (TypeID, conventions C5)."
    },
    "modelId": {
      "type": "string",
      "pattern": "^mdl_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A mdl identifier (TypeID, conventions C5)."
    },
    "versionId": {
      "type": "string",
      "pattern": "^ver_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A ver identifier (TypeID, conventions C5)."
    },
    "documentIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^doc_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
        "description": "A doc identifier (TypeID, conventions C5)."
      }
    },
    "page": {
      "type": "string",
      "enum": [
        "site_try",
        "direct",
        "mail"
      ]
    }
  },
  "required": [
    "id",
    "projectId",
    "modelId",
    "page"
  ],
  "additionalProperties": false
}

tryout.expired

Data version 1.

Emitted by the platform itself, not by a public operation.

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}

tryout.researchConsentChanged

Data version 1.

Emitted by updateTryout (PATCH /v1/organizations/{organizationId}/tryout).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "status": {
      "type": "string",
      "enum": [
        "not_asked",
        "declined",
        "consented",
        "withdrawn"
      ]
    }
  },
  "required": [
    "id",
    "status"
  ],
  "additionalProperties": false
}

user.dataExportReady

Data version 1.

Emitted by requestMyDataExport (POST /v1/me/exports).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^usr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A usr identifier (TypeID, conventions C5)."
    },
    "exportId": {
      "type": "string",
      "pattern": "^dex_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A dex identifier (TypeID, conventions C5)."
    },
    "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))$"
    }
  },
  "required": [
    "id",
    "exportId",
    "expiresAt"
  ],
  "additionalProperties": false
}

user.dataExportRequested

Data version 1.

Emitted by requestMyDataExport (POST /v1/me/exports).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^usr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A usr identifier (TypeID, conventions C5)."
    },
    "exportId": {
      "type": "string",
      "pattern": "^dex_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A dex identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "id",
    "exportId"
  ],
  "additionalProperties": false
}

user.deleted

Data version 1.

Emitted by deleteMyAccount (DELETE /v1/me).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^usr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A usr identifier (TypeID, conventions C5)."
    },
    "organizationIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
        "description": "A org identifier (TypeID, conventions C5)."
      }
    }
  },
  "required": [
    "id",
    "organizationIds"
  ],
  "additionalProperties": false
}

user.emailChanged

Data version 1.

Emitted by refreshMySecurityState (POST /v1/me/security/refresh).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^usr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A usr identifier (TypeID, conventions C5)."
    },
    "organizationIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
        "description": "A org identifier (TypeID, conventions C5)."
      }
    }
  },
  "required": [
    "id",
    "organizationIds"
  ],
  "additionalProperties": false
}

user.emailChangeRequested

Data version 1.

Emitted by requestEmailChange (POST /v1/me/email-change).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^usr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A usr identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}

user.mfaEnrolled

Data version 1.

Emitted by refreshMySecurityState (POST /v1/me/security/refresh).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^usr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A usr identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}

user.mfaUnenrolled

Data version 1.

Emitted by refreshMySecurityState (POST /v1/me/security/refresh).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^usr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A usr identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}

user.profileUpdated

Data version 1.

Emitted by updateMe (PATCH /v1/me).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^usr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A usr identifier (TypeID, conventions C5)."
    },
    "displayName": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80,
      "description": "Display name shown in the UI (1-80 chars, §5.4)."
    },
    "locale": {
      "type": "string",
      "enum": [
        "nl",
        "en",
        "fr"
      ]
    },
    "revision": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "id",
    "displayName",
    "locale",
    "revision"
  ],
  "additionalProperties": false
}

user.sessionsRevoked

Data version 1.

Emitted by revokeMySessions (POST /v1/me/sessions/revoke).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^usr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A usr identifier (TypeID, conventions C5)."
    },
    "sessionsValidAfter": {
      "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))$"
    },
    "organizationIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
        "description": "A org identifier (TypeID, conventions C5)."
      }
    }
  },
  "required": [
    "id",
    "sessionsValidAfter",
    "organizationIds"
  ],
  "additionalProperties": false
}

user.signedInWithCode

Data version 1.

Emitted by verifyEmailSignInCode (POST /v1/auth/email-sign-in/verify).

{
  "type": "object",
  "properties": {
    "uid": {
      "type": "string",
      "pattern": "^usr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A usr identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}

user.signInMethodChanged

Data version 1.

Emitted by refreshMySecurityState (POST /v1/me/security/refresh).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^usr_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A usr identifier (TypeID, conventions C5)."
    },
    "providers": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "id",
    "providers"
  ],
  "additionalProperties": false
}

workstation.created

Data version 1.

Emitted by createWorkstation (POST /v1/organizations/{organizationId}/workstations).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^wks_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A wks identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "name": {
      "type": "string",
      "minLength": 1
    },
    "projectIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
        "description": "A prj identifier (TypeID, conventions C5)."
      }
    }
  },
  "required": [
    "id",
    "organizationId",
    "name",
    "projectIds"
  ],
  "additionalProperties": false
}

workstation.deleted

Data version 1.

Emitted by deleteWorkstation (DELETE /v1/organizations/{organizationId}/workstations/{workstationId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^wks_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A wks identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "name": {
      "type": "string",
      "minLength": 1
    }
  },
  "required": [
    "id",
    "organizationId",
    "name"
  ],
  "additionalProperties": false
}

workstation.paired

Data version 1.

Emitted by claimWorkstationPairing (POST /v1/workstation-pairings/claim).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^wks_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A wks identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "pairedAt": {
      "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))$"
    },
    "replacedPreviousDevice": {
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "organizationId",
    "pairedAt",
    "replacedPreviousDevice"
  ],
  "additionalProperties": false
}

workstation.pairingCodeCreated

Data version 1.

Emitted by createWorkstationPairingCode (POST /v1/organizations/{organizationId}/workstations/{workstationId}/pairing-codes).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^wks_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A wks identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "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))$"
    }
  },
  "required": [
    "id",
    "organizationId",
    "expiresAt"
  ],
  "additionalProperties": false
}

workstation.presetAssigned

Data version 1.

Emitted by assignWorkstationPreset (PATCH /v1/organizations/{organizationId}/workstations/{workstationId}/preset).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^wks_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A wks identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "mode": {
      "type": "string",
      "enum": [
        "fixed",
        "crew"
      ]
    },
    "projectIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
        "description": "A prj identifier (TypeID, conventions C5)."
      }
    },
    "viewId": {
      "type": "string",
      "pattern": "^vw_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A vw identifier (TypeID, conventions C5)."
    }
  },
  "required": [
    "id",
    "organizationId",
    "mode",
    "projectIds"
  ],
  "additionalProperties": false
}

workstation.revoked

Data version 1.

Emitted by revokeWorkstation (POST /v1/organizations/{organizationId}/workstations/{workstationId}/revoke).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^wks_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A wks identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "revokedAt": {
      "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",
    "organizationId",
    "revokedAt"
  ],
  "additionalProperties": false
}

workstation.updated

Data version 1.

Emitted by updateWorkstation (PATCH /v1/organizations/{organizationId}/workstations/{workstationId}).

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^wks_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A wks identifier (TypeID, conventions C5)."
    },
    "organizationId": {
      "type": "string",
      "pattern": "^org_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
      "description": "A org identifier (TypeID, conventions C5)."
    },
    "name": {
      "type": "string",
      "minLength": 1
    },
    "projectIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^prj_[01234567][0123456789abcdefghjkmnpqrstvwxyz]{25}$",
        "description": "A prj identifier (TypeID, conventions C5)."
      }
    }
  },
  "required": [
    "id",
    "organizationId",
    "name",
    "projectIds"
  ],
  "additionalProperties": false
}