CI
https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/ci.json |
|||
The Continuous Integration supported by the project. The configuration files are found in the repository itself, under a path that depends on the CI system. |
|||
type |
object |
||
properties |
|||
|
The type of continuous integration |
||
anyOf |
enum |
Apache Gump, Azure DevOps Server, Bamboo, Buddy, Buildbot, BuildMaster, CircleCI, Drone, Forgejo Actions, Gitea Actions, GitHub Actions, GitLab, GoCD, Jenkins, OpenMake, Semaphore, TeamCity, tekton, Travis CI, Vexor, Woodpecker CI |
|
type |
null |
||
additionalProperties |
False |
Comment
https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/comment.json |
|||
Comment associated to a commentable object (i.e. issue, review, etc.). Forge users add a comment to an object to create a non-threaded conversation. |
|||
type |
object |
||
properties |
|||
|
Unique identifier of the comment. |
||
type |
string |
||
|
Unique identifier of the comment author. |
||
type |
string |
||
|
Creation time. |
||
type |
string |
||
format |
date-time |
||
|
Last update time. |
||
type |
string |
||
format |
date-time |
||
|
Markdown content of the comment. |
||
type |
string |
||
|
List of reactions. |
||
anyOf |
type |
array |
|
items |
|||
type |
null |
||
additionalProperties |
False |
Identities
https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/identities.json |
|||
Pairs of unique object identifiers (i.e. index in a comment). The first element is the identifier stored in the F3 format, the second element is the identifier allocated by the forge after the object was inserted in a given forge. |
|||
type |
object |
||
properties |
|||
|
type |
array |
|
items |
type |
string |
|
additionalProperties |
False |
Issue
https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/issue.json |
||||
An issue within an issue tracking system, relative to a project. |
||||
type |
object |
|||
properties |
||||
|
Unique identifier of the issue. |
|||
type |
string |
|||
|
Reference to the user who authored the issue. |
|||
type |
string |
|||
|
Short description displayed as the title. |
|||
type |
string |
|||
|
Description of the issue. |
|||
type |
string |
|||
|
Optional reference (branch) associated with the issue in the project repository. |
|||
type |
string |
|||
|
Unique identifier of the milestone. |
|||
type |
string |
|||
|
An issue is ‘closed’ when it is resolved, ‘open’ otherwise. Issues that do not relate to a topic that needs to be resolved, such as an open conversation, may never be closed. |
|||
enum |
closed, open |
|||
|
A locked issue can only be modified by privileged users. It is commonly used for moderation purposes when comments associated with the issue are too heated. |
|||
type |
boolean |
|||
|
Creation time. |
|||
type |
string |
|||
format |
date-time |
|||
|
Last update time. |
|||
type |
string |
|||
format |
date-time |
|||
|
The last time ‘state’ changed to ‘closed’. |
|||
anyOf |
type |
string |
||
format |
date-time |
|||
type |
null |
|||
|
Due date. |
|||
anyOf |
type |
string |
||
format |
date |
|||
type |
null |
|||
|
List of labels. |
|||
anyOf |
type |
array |
||
items |
type |
string |
||
type |
null |
|||
|
List of reactions. |
|||
anyOf |
type |
array |
||
items |
||||
type |
null |
|||
|
List of assignees. |
|||
anyOf |
type |
array |
||
items |
Name of a user assigned to the issue. |
|||
type |
string |
|||
type |
null |
|||
additionalProperties |
False |
Label
https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/label.json |
||
Label associated to an issue. |
||
type |
object |
|
properties |
||
|
Unique identifier. |
|
type |
string |
|
|
Name of the label, unique within the repository. |
|
type |
string |
|
|
Color code of the label in RGB notation ‘xxx’ or ‘xxxxxx’. |
|
type |
string |
|
|
Long description. |
|
type |
string |
|
|
There can only be one label with the prefix found before the first slash (/). |
|
type |
boolean |
|
additionalProperties |
False |
Milestone
https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/milestone.json |
|||
Milestone relative to a project, for the purpose of grouping objects due to a given date (issues, etc.). |
|||
type |
object |
||
properties |
|||
|
Unique identifier. |
||
type |
string |
||
|
Short description. |
||
type |
string |
||
|
Long description. |
||
type |
string |
||
|
Deadline after which the milestone is overdue. |
||
type |
string |
||
format |
date-time |
||
|
Creation time. |
||
type |
string |
||
format |
date-time |
||
|
Last update time. |
||
type |
string |
||
format |
date-time |
||
|
The last time ‘state’ changed to ‘closed’. |
||
anyOf |
type |
string |
|
format |
date-time |
||
type |
null |
||
|
A ‘closed’ milestone will not see any activity in the future, otherwise it is ‘open’. |
||
enum |
closed, open |
||
additionalProperties |
False |
Object
https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/object.json |
||
Meta information and reference to an opaque content such as an image. The unique identifier is the SHA-256 of the content of the object. |
||
type |
object |
|
properties |
||
|
Unique identifier. |
|
type |
string |
|
|
Mime type of the object. |
|
type |
string |
|
|
Human readable file name. |
|
type |
string |
|
|
Description. |
|
type |
string |
|
additionalProperties |
False |
Organization
https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/organization.json |
||
A forge organization. |
||
type |
object |
|
properties |
||
|
Unique identifier of the organization. |
|
type |
string |
|
|
Unique name of the organization. |
|
type |
string |
|
|
Readable name of the organization. |
|
type |
string |
|
additionalProperties |
False |
Project
https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/project.json |
|||
A software project contains a code repository, an issue tracker, etc. |
|||
type |
object |
||
properties |
|||
|
Unique identifier of the project. |
||
type |
string |
||
|
Name of the project, relative to the owner. |
||
type |
string |
||
|
True if the visibility of the project is not public. |
||
type |
boolean |
||
|
True if it is a mirror of a project residing on another forge. |
||
type |
boolean |
||
|
Long description of the project. |
||
type |
string |
||
|
Name of the default branch in the code repository. |
||
type |
string |
||
|
type |
array |
|
items |
|||
|
Unique identifier of the project from which this one was forked. |
||
anyOf |
type |
string |
|
type |
null |
||
|
type |
array |
|
items |
|||
|
True if archived and read only. |
||
type |
boolean |
||
|
Time of archival. |
||
type |
string |
||
format |
date-time |
||
|
Creation time. |
||
type |
string |
||
format |
date-time |
||
|
Last update time. |
||
type |
string |
||
format |
date-time |
||
|
URL associated with the project, for instance the project home page. |
||
type |
string |
||
|
Number of stars. |
||
type |
number |
||
|
True if CI is enabled. |
||
type |
boolean |
||
|
True if the issue tracker is enabled. |
||
type |
boolean |
||
|
True if the software packages are enabled. |
||
type |
boolean |
||
|
True if the kanban is enabled. |
||
type |
boolean |
||
|
True if pull requests are enabled. |
||
type |
boolean |
||
|
True if releases are enabled. |
||
type |
boolean |
||
|
True if the wiki is enabled. |
||
type |
boolean |
||
additionalProperties |
False |
Pull request
https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/pullrequest.json |
||||
A pull requests to merge a commit from a ‘head’ that may be another branch in the same repository or a branch in a forked repository. |
||||
type |
object |
|||
properties |
||||
|
Unique identifier of the pull request. |
|||
type |
string |
|||
|
Unique identifier of the user who authored the pull request. |
|||
type |
string |
|||
|
Short description displayed as the title. |
|||
type |
string |
|||
|
Long description. |
|||
type |
string |
|||
|
Name of the milestone. |
|||
type |
string |
|||
|
A ‘closed’ pull request will not see any activity in the future, otherwise it is ‘open’. |
|||
enum |
closed, open |
|||
|
A locked pull request can only be modified by privileged users. |
|||
type |
boolean |
|||
|
Creation time. |
|||
type |
string |
|||
format |
date-time |
|||
|
Last update time. |
|||
type |
string |
|||
format |
date-time |
|||
|
The last time ‘state’ changed to ‘closed’. |
|||
anyOf |
type |
string |
||
format |
date-time |
|||
type |
null |
|||
|
List of labels. |
|||
anyOf |
type |
array |
||
items |
type |
string |
||
type |
null |
|||
|
List of reactions. |
|||
anyOf |
type |
array |
||
items |
||||
type |
null |
|||
|
List of assignees. |
|||
anyOf |
type |
array |
||
items |
Name of a user assigned to the issue. |
|||
type |
string |
|||
type |
null |
|||
|
URL from which the patch of the pull request can be retrieved. |
|||
type |
string |
|||
|
True if the pull request was merged. |
|||
type |
boolean |
|||
|
The time when the pull request was merged. |
|||
anyOf |
type |
string |
||
format |
date-time |
|||
type |
null |
|||
|
The SHA of the merge commit. |
|||
anyOf |
type |
string |
||
type |
null |
|||
|
The changes proposed in the pull request. |
|||
anyOf |
type |
object |
||
type |
null |
|||
|
The branch where the pull request changes in the head are to be merged. |
|||
anyOf |
type |
object |
||
type |
null |
|||
|
Unique identifier of the user who merged the pull request. |
|||
type |
string |
|||
|
Due date. |
|||
anyOf |
type |
string |
||
format |
date |
|||
type |
null |
|||
|
True when the author of the pull request allows pushing new commits to its branch. |
|||
type |
boolean |
|||
additionalProperties |
False |
Pull request reference to a commit
https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/pullrequestbranch.json |
||
The location of a commit and the repository where it can be found. |
||
type |
object |
|
properties |
||
|
Repository reference of the commit (branch, tag, etc.). |
|
type |
string |
|
|
SHA of the commit. |
|
type |
string |
|
|
Name of the project that contains the repository. |
|
type |
string |
|
|
Name of the user or organization that contains the project. |
|
type |
string |
|
additionalProperties |
False |
Reaction
https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/reaction.json |
||
Reaction associated to a comment that is displayed as a single emoji. |
||
type |
object |
|
properties |
||
|
Unique identifier of the reaction. |
|
type |
string |
|
|
Unique identifier of the user who authored the reaction. |
|
type |
string |
|
|
Representation of the reaction. The rendering of the reaction depends on the forge displaying it. |
|
type |
string |
|
additionalProperties |
False |
Release
https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/release.json |
|||
A release is associated with a tag in a repository and consists of a set of files (release assets). |
|||
type |
object |
||
properties |
|||
|
Unique identifier of the release. |
||
type |
string |
||
|
Tag name of the release. |
||
type |
string |
||
|
Specifies the commitish value that determines where the tag is created from. Can be any branch or commit SHA. Unused if the tag already exists. |
||
type |
string |
||
|
The name of the release. |
||
type |
string |
||
|
Text describing the contents of the release, usually the release notes. |
||
type |
string |
||
|
True if the release is a draft. |
||
type |
boolean |
||
|
True if the release is a pre-release. |
||
type |
boolean |
||
|
Unique identifier of the user who authored the release. |
||
type |
string |
||
|
Name of the user who authored the release. |
||
type |
string |
||
|
Email of the user who authored the release. |
||
type |
string |
||
|
List of assets associated with the release. |
||
anyOf |
type |
array |
|
items |
|||
type |
null |
||
|
Creation time. |
||
type |
string |
||
format |
date-time |
||
|
Publication time. |
||
type |
string |
||
format |
date-time |
||
additionalProperties |
False |
Release asset
https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/releaseasset.json |
||
A file associated with a release. The content of the file is opaque. |
||
type |
object |
|
properties |
||
|
Unique identifier of the release asset. |
|
type |
string |
|
|
The name of the release asset. |
|
type |
string |
|
|
The content type of the release asset (application/zip, etc.). |
|
type |
string |
|
|
Size in bytes of the release asset. |
|
type |
number |
|
|
The number of times the release asset was downloaded. |
|
type |
number |
|
|
The URL from which the release asset can be downloaded. |
|
type |
string |
|
|
Creation time. |
|
type |
string |
|
format |
date-time |
|
|
Last update time. |
|
type |
string |
|
format |
date-time |
|
|
SHA256 of the cnotent of the asset. |
|
type |
string |
|
additionalProperties |
False |
Repository
https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/repository.json |
|||
VCS repository relative to a project. The actual content of the repository is found in the sibling ‘repository’ directory. |
|||
type |
object |
||
properties |
|||
|
Suffix to add to the clone URL of the project to access the repository. |
||
type |
string |
||
|
The type of the repository, defaults to ‘git’ |
||
anyOf |
enum |
git, hg, bazaar, darcs, fossil, svn |
|
type |
null |
||
additionalProperties |
False |
Review
https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/release.json |
|||
A set of review comments on a pull/merge request. |
|||
type |
object |
||
properties |
|||
|
Unique identifier of the review. |
||
type |
string |
||
|
Unique identifer of review author. |
||
type |
string |
||
|
True if a positive review counts to reach the required threshold. |
||
anyOf |
type |
boolean |
|
type |
null |
||
|
SHA of the commit targeted by the review. |
||
type |
string |
||
|
Cover message of the review. |
||
type |
string |
||
|
Creation time. |
||
type |
string |
||
format |
date-time |
||
|
State of the review. |
||
enum |
PENDING, APPROVED, CHANGES_REQUESTED, COMMENTED |
||
|
True if the review was dismissed. |
||
anyOf |
type |
boolean |
|
type |
null |
||
|
True if the review is stale because the pull request content changed after it was published. |
||
anyOf |
type |
boolean |
|
type |
null |
||
additionalProperties |
False |
Review comment
https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/reviewcomment.json |
|||
A comment in the context of a review. |
|||
type |
object |
||
properties |
|||
|
Unique identifier of the review comment. |
||
type |
string |
||
|
Unique identifier of the review comment replied to. |
||
type |
string |
||
|
The text of the review comment. |
||
type |
string |
||
|
The relative path to the file that necessitates a comment. |
||
type |
string |
||
|
The hunk being commented on, which is the same as the patch only in a different format. |
||
type |
string |
||
|
Equals the number of lines down from the first ‘@@’ hunk header in the file you want to add a comment. The line just below the ‘@@’ line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. |
||
type |
number |
||
|
The line number of the comment in the tree_path. |
||
type |
number |
||
|
The SHA of the commit needing a comment. Not using the latest commit SHA may render your comment outdated if a subsequent commit modifies the line you specify as the position. |
||
type |
string |
||
|
Unique identifier of the user who authored the comment. |
||
type |
string |
||
|
List of reactions. |
||
anyOf |
type |
array |
|
items |
|||
type |
null |
||
|
Creation time. |
||
type |
string |
||
format |
date-time |
||
|
Last update time. |
||
type |
string |
||
format |
date-time |
||
|
Unique identifier of the user who resolved the comment. |
||
type |
string |
||
additionalProperties |
False |
Topic
https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/topic.json |
||
A category associated with a project. There can be multiple topics/categories for a given project. |
||
type |
object |
|
properties |
||
|
Unique identifier. |
|
type |
string |
|
|
The name of the category the project belongs to. |
|
type |
string |
|
additionalProperties |
False |
User
https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/user.json |
||
A forge user. |
||
type |
object |
|
properties |
||
|
Unique identifier of the user. |
|
type |
string |
|
|
User readable name of the user. |
|
type |
string |
|
|
Mail of the user. |
|
type |
string |
|
|
Unique name of the user. |
|
type |
string |
|
|
Password of the user. |
|
type |
string |
|
|
True if the user has administrative permissions on the forge. |
|
type |
boolean |
|
additionalProperties |
False |