ai.newnal.illi.artwork.excludeOccurrence

Root/main admin cancels an unsent occurrence before the one-hour lock. No automatic substitute.

Details · procedure
Kindprocedure
Authorityartwork.illi.newnal.ai
Indexed
cid bafyreic6d3rxr56mzdp3ukijyjly22gype6setvs5kpyswq7w2pnjy3nte

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Root/main admin cancels an unsent occurrence before the one-hour lock. No automatic substitute.",
      "errors": [
        {
          "name": "NotMember"
        },
        {
          "name": "HomeNotFound"
        },
        {
          "name": "NotAdmin"
        },
        {
          "name": "ArtworkNotFound"
        },
        {
          "name": "ArtworkChanged"
        },
        {
          "name": "ArtworkLocked"
        },
        {
          "name": "ArtworkCancelled"
        },
        {
          "name": "ArtworkNotEditable"
        },
        {
          "name": "RequestConflict"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "expectedRevision": {
              "minimum": 1,
              "type": "integer"
            },
            "homeId": {
              "format": "tid",
              "type": "string"
            },
            "occurrenceId": {
              "maxLength": 64,
              "type": "string"
            },
            "requestKey": {
              "maxLength": 64,
              "minLength": 1,
              "pattern": "^[A-Za-z0-9._:-]+$",
              "type": "string"
            }
          },
          "required": [
            "homeId",
            "occurrenceId",
            "expectedRevision",
            "requestKey"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "occurrence": {
              "ref": "ai.newnal.illi.artwork.defs#occurrenceView",
              "type": "ref"
            }
          },
          "required": [
            "occurrence"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "ai.newnal.illi.artwork.excludeOccurrence",
  "lexicon": 1
}