Skip to content

Schema: repository_identity

Admitted repository identity — stable across provider renames. ``provider`` namespaces the forge (closed set; github today). ``repository_id`` is the provider-canonical stable repository id (e.g. the numeric GitHub repository id) — the admitted-repo *generation* that vets this id against the team's installation is server-owned (saas#1814). ``display_slug`` is the mutable ``owner/name`` presentation: a rename changes it, never the id (LW-02).

A shared building block of the event model.

Generated from src/spec_kitty_events/schemas/repository_identity.schema.json by scripts/schema_pages.py; never hand-edit (C-001).

Family

Listed on the Shared event-model types hub.

Diagram

RepositoryIdentityStructure of the JSON Schema RepositoryIdentity.$idspec-kitty-events/repository_identity$schemahttps://json-schema.org/draft/2020-12/schemaadditionalProperties☐ falsedescriptionAdmitted repository identity — stable across provider renames. ``provider`` namespaces the forge (closed set; github today). ``repository_id`` is the provider-canonical stable repository id (e.g. the numeric GitHub repository id) — the admitted-repo *generation* that vets this id against the team's installation is server-owned (saas#1814). ``display_slug`` is the mutable ``owner/name`` presentation: a rename changes it, never the id (LW-02).properties   required   titleRepositoryIdentitytypeobjectdisplay_slug   provider   repository_id   anyOf   default␀titleDisplay Slug      maxLength240minLength1pattern^[A-Za-z0-9][A-Za-z0-9._@+/-]{0,239}$typestringtypenullconstgithubtitleProvidertypestringmaxLength64minLength1pattern^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$titleRepository Idtypestringproviderrepository_id
Structure of the JSON Schema RepositoryIdentity.

Properties

  • display_slug (string | null)
  • provider (const: "github", required)
  • repository_id (string, required)

Source

Schema file: schemas/repository_identity.schema.json