DraftRevision

  • A 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.

  • The outcome of the last write to the draft. IS_PRESAVED is a stored diagram with no violations, HAS_ERRORS a stored diagram that broke at least one rule, IS_VALIDATED a draft deployed for testing and IS_PUBLISHED one that has been published.

    HAS_ERRORS is the one that matters: while the draft is in it, the bot cannot be published.

    values
    IS_PRESAVEDHAS_ERRORSIS_VALIDATEDIS_PUBLISHED