dev.gitosphere.repository.prepareIssueMutation

gitosphere-lex.bsky.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "createIntent": {
      "properties": {
        "bodyDocument": {
          "maxLength": 262144,
          "type": "bytes"
        },
        "bodyDocumentFormat": {
          "knownValues": [
            "gsp-xml-zip-v1"
          ],
          "type": "string"
        },
        "operation": {
          "enum": [
            "create"
          ],
          "type": "string"
        },
        "title": {
          "maxLength": 2560,
          "type": "string"
        }
      },
      "required": [
        "operation",
        "title",
        "bodyDocument",
        "bodyDocumentFormat"
      ],
      "type": "object"
    },
    "editIntent": {
      "properties": {
        "bodyDocument": {
          "maxLength": 262144,
          "type": "bytes"
        },
        "bodyDocumentFormat": {
          "knownValues": [
            "gsp-xml-zip-v1"
          ],
          "type": "string"
        },
        "number": {
          "minimum": 1,
          "type": "integer"
        },
        "operation": {
          "enum": [
            "edit"
          ],
          "type": "string"
        },
        "title": {
          "maxLength": 2560,
          "type": "string"
        }
      },
      "required": [
        "operation",
        "number",
        "title",
        "bodyDocument",
        "bodyDocumentFormat"
      ],
      "type": "object"
    },
    "editTitleIntent": {
      "properties": {
        "number": {
          "minimum": 1,
          "type": "integer"
        },
        "operation": {
          "enum": [
            "edit"
          ],
          "type": "string"
        },
        "title": {
          "maxLength": 2560,
          "type": "string"
        }
      },
      "required": [
        "operation",
        "number",
        "title"
      ],
      "type": "object"
    },
    "main": {
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "ValidationFailed"
        },
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "AccessDenied"
        },
        {
          "name": "RepositoryMismatch"
        },
        {
          "name": "RecordNotFound"
        },
        {
          "name": "Conflict"
        },
        {
          "name": "IdempotencyConflict"
        },
        {
          "name": "DependencyUnavailable"
        },
        {
          "name": "InternalServerError"
        },
        {
          "description": "An invitation is required to use this service.",
          "name": "InvitationRequired"
        },
        {
          "description": "Service access for this DID is suspended.",
          "name": "AccountSuspended"
        },
        {
          "description": "An administrator has paused new requests for this target.",
          "name": "ServicePaused"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "baseRevision": {
              "type": "string"
            },
            "dryRun": {
              "type": "boolean"
            },
            "idempotencyKey": {
              "ref": "dev.gitosphere.defs#idempotencyKey",
              "type": "ref"
            },
            "intent": {
              "closed": true,
              "refs": [
                "#createIntent",
                "#editIntent",
                "#editTitleIntent",
                "#stateIntent",
                "#relationIntent"
              ],
              "type": "union"
            },
            "realmId": {
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            },
            "repositoryId": {
              "maxLength": 36,
              "minLength": 36,
              "type": "string"
            }
          },
          "required": [
            "realmId",
            "repositoryId",
            "idempotencyKey",
            "intent"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "accepted": {
              "type": "boolean"
            },
            "record": {
              "ref": "dev.gitosphere.repository.issueMutation",
              "type": "ref"
            },
            "recordKey": {
              "type": "string"
            },
            "replayed": {
              "type": "boolean"
            }
          },
          "required": [
            "replayed",
            "accepted"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    },
    "relationIntent": {
      "properties": {
        "number": {
          "minimum": 1,
          "type": "integer"
        },
        "operation": {
          "enum": [
            "relation"
          ],
          "type": "string"
        },
        "relation": {
          "type": "string"
        },
        "relationRevision": {
          "type": "string"
        },
        "target": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "operation",
        "number",
        "target",
        "relation",
        "relationRevision"
      ],
      "type": "object"
    },
    "stateIntent": {
      "properties": {
        "number": {
          "minimum": 1,
          "type": "integer"
        },
        "operation": {
          "enum": [
            "state"
          ],
          "type": "string"
        },
        "state": {
          "enum": [
            "open",
            "closed"
          ],
          "type": "string"
        }
      },
      "required": [
        "operation",
        "number",
        "state"
      ],
      "type": "object"
    }
  },
  "description": "Manages authorization, acceptance, and migration of Issue changes.",
  "id": "dev.gitosphere.repository.prepareIssueMutation",
  "lexicon": 1
}

Validate Record

Validate a record against dev.gitosphere.repository.prepareIssueMutation

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:iz47txlteeb2ojtp5ygiqet6
CID
bafyreiemqmf46oowtdkxei4bvai555wpc4e324idavhhnubnad35nlfofu
Indexed At
2026-10-01 01:11 UTC
AT-URI
at://did:plc:iz47txlteeb2ojtp5ygiqet6/com.atproto.lexicon.schema/dev.gitosphere.repository.prepareIssueMutation

Version History (3 versions)

Referenced Schemas (2)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@