ContractTraceabilityProvenance
schemaVersionintegerobrigatório
Valores possíveis: [1]
aggregateTypestringobrigatório
Valores possíveis: [CONTRACT]
aggregateIdstringobrigatório
originTypestringobrigatório
Valores possíveis: [REGISTRAR, CLIENT, BACKOFFICE, SYSTEM]
originChannelstringobrigatório
Valores possíveis: [TAG, NUCLEA, CONTROL_PANEL, API_V2, BACKOFFICE_API, WORKER, MIGRATION]
actorTypestringobrigatório
Valores possíveis: [PROVIDER, USER, SERVICE]
actorIdstring
actorRolestring
clientIdstring
tenantIdstring
Canonical tenant associated with an API V2 service actor. Optional for historical provenance and actor types that predate this route-scoped requirement.
companyTaxIdstring
registrarstring
Valores possíveis: [TAG, NUCLEA]
providerEventIdstring
providerObjectIdstring
providerVersionstring
providerSequencestring
orderBasisstring
Valores possíveis: [PROVIDER_SEQUENCE, PROVIDER_VERSION, EFFECTIVE_AT, RECEIVED_AT]
occurredAtstring<date-time>obrigatório
effectiveAtstring<date-time>
receivedAtstring<date-time>obrigatório
appliedAtstring<date-time>
correlationIdstringobrigatório
causationIdstring
commandIdstring
operationIdstring
reasonCodestring
relatedObservationIdsstring[]
Identificadores de observações imutáveis considerados em uma resolução de conflito do backoffice.
Valores possíveis: <= 20
versioninteger<int64>obrigatório
historicalCompletenessstringobrigatório
Valores possíveis: [COMPLETE_FROM_CREATION, FROM_BASELINE]
ContractTraceabilityProvenance
{
"schemaVersion": 1,
"aggregateType": "CONTRACT",
"aggregateId": "string",
"originType": "REGISTRAR",
"originChannel": "TAG",
"actorType": "PROVIDER",
"actorId": "string",
"actorRole": "string",
"clientId": "string",
"tenantId": "string",
"companyTaxId": "string",
"registrar": "TAG",
"providerEventId": "string",
"providerObjectId": "string",
"providerVersion": "string",
"providerSequence": "string",
"orderBasis": "PROVIDER_SEQUENCE",
"occurredAt": "2024-07-29T15:51:28.071Z",
"effectiveAt": "2024-07-29T15:51:28.071Z",
"receivedAt": "2024-07-29T15:51:28.071Z",
"appliedAt": "2024-07-29T15:51:28.071Z",
"correlationId": "string",
"causationId": "string",
"commandId": "string",
"operationId": "string",
"reasonCode": "string",
"relatedObservationIds": [
"string"
],
"version": 0,
"historicalCompleteness": "COMPLETE_FROM_CREATION"
}