DraftRevision
- createdType: Timestamp
_at requiredA moment, in UTC, written as
YYYY-MM-DDTHH:MM:SS. It carries no offset and no fraction of a second, so a client that reads it as local time is wrong by whatever its own offset is. - revisionType: stringFormat: uuid
_id required - createdType: stringFormat: uuid
_by - saveType: SaveStateenum
_state The outcome of the last write to the draft.
IS_PRESAVEDis a stored diagram with no violations,HAS_ERRORSa stored diagram that broke at least one rule,IS_VALIDATEDa draft deployed for testing andIS_PUBLISHEDone that has been published.HAS_ERRORSis the one that matters: while the draft is in it, the bot cannot be published.valuesIS_PRESAVEDHAS_ERRORSIS_VALIDATEDIS_PUBLISHED