Git Repository Schema
repo_update.schema.json#/properties/update/properties/target_repos/patternProperties/^.*$/properties/repo_data
All information about a git repository instance. Can be used to create a new object.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | repo-update.schema.json* |
repo_data Type
object
(Git Repository)
repo_data Properties
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
library_dir | string |
Required | cannot be null | Repository Handlers Input |
name | string |
Required | cannot be null | Repository Handlers Input |
urls | array |
Required | cannot be null | Repository Handlers Input |
custom | object |
Optional | cannot be null | Repository Handlers Input |
default_branch | string |
Optional | cannot be null | Repository Handlers Input |
library_dir
library_dir
-
is required
-
Type:
string
(Library's Root Directory) -
cannot be null
-
defined in: Repository Handlers Input
library_dir Type
string
(Library's Root Directory)
name
Repository's name, in namespace/repo_name format
name
-
is required
-
Type:
string
(Name) -
cannot be null
-
defined in: Repository Handlers Input
name Type
string
(Name)
urls
A list of repository's urls
urls
-
is required
-
Type:
string[]
-
cannot be null
-
defined in: Repository Handlers Input
urls Type
string[]
urls Constraints
minimum number of items: the minimum number of items for this array is: 1
unique items: all items in this array must be unique. Duplicates are not allowed.
custom
Any additional information about the repository. Not used by the framework.
custom
-
is optional
-
Type:
object
(Custom) -
cannot be null
-
defined in: Repository Handlers Input
custom Type
object
(Custom)
default_branch
Name of the default branch, e.g. master or main
default_branch
-
is optional
-
Type:
string
(Default Branch) -
cannot be null
-
defined in: Repository Handlers Input
default_branch Type
string
(Default Branch)