dev.knotless.createOrgRepo

lexicons.knotless.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "account": {
      "description": "An account, by DID.",
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "did"
      ],
      "type": "object"
    },
    "main": {
      "description": "Makes the repository as `knotless create` does: public unless asked for private, naming the runners given or those the gateway's appview offers, with no branches until the first push.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "defaultBranch": {
              "description": "The branch its HEAD names, without refs/heads/: main when absent.",
              "maxLength": 255,
              "type": "string"
            },
            "description": {
              "description": "What the repository is, shown under its name.",
              "maxGraphemes": 300,
              "maxLength": 3000,
              "type": "string"
            },
            "name": {
              "description": "The repository's name, its record key.",
              "maxLength": 100,
              "type": "string"
            },
            "org": {
              "description": "The organization.",
              "format": "did",
              "type": "string"
            },
            "private": {
              "description": "Whether to make it private: a space of its own on the organization's PDS, which only its members read. Public when absent.",
              "type": "boolean"
            },
            "runners": {
              "description": "The accounts that run its workflows: those the gateway's appview offers when absent.",
              "items": {
                "ref": "#account",
                "type": "ref"
              },
              "maxLength": 20,
              "type": "array"
            }
          },
          "required": [
            "org",
            "name"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "members": {
              "description": "The members of the organization who may push to it: on a public one, those anyone may see.",
              "items": {
                "ref": "#account",
                "type": "ref"
              },
              "type": "array"
            },
            "runners": {
              "description": "Its runners: a private one's can read it.",
              "items": {
                "ref": "#account",
                "type": "ref"
              },
              "type": "array"
            },
            "uninvited": {
              "description": "Why a private one's runners were not told of it, when they were not.",
              "maxLength": 3000,
              "type": "string"
            }
          },
          "required": [
            "runners",
            "members"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Creates a repository in an organization's account, through the gateway the organization delegated writes to, which makes it as the organization, as `knotless create` does. The caller must be an admin of it who joined. Requires a service token from the caller's PDS, audience the gateway's DID, for this method.",
  "id": "dev.knotless.createOrgRepo",
  "lexicon": 1
}

Validate Record

Validate a record against dev.knotless.createOrgRepo

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:yqsg7znbbhfmj3a2nrpnaerk
CID
bafyreihnqz2ubvfqbxtltvm2swgfbzn7j3kmq57kfz5lw6morp43j5zsqy
Indexed At
2026-10-29 17:01 UTC
AT-URI
at://did:plc:yqsg7znbbhfmj3a2nrpnaerk/com.atproto.lexicon.schema/dev.knotless.createOrgRepo

Similar Lexicons

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

  • Creates a repository in the account logged in to this appview's pages.

  • Create a new repository

  • That an account is an organization on knotless.

  • A git repository hosted in this account: in its public repo, or, for a private repository, in a dev.knotless.space space keyed by the name.

  • Takes the caller into an organization that invited them, once they keep a dev.knotless.orgAcceptance record naming it, through the gateway the organization delegated writes to: names them in its public record when their…

Lexicon Garden

@