63 lines
1.4 KiB
JSON
63 lines
1.4 KiB
JSON
|
{
|
||
|
"title": "Milestone",
|
||
|
"description": "Milestone relative to a project, for the purpose of grouping objects due to a given date (issues, etc.).",
|
||
|
|
||
|
"type": "object",
|
||
|
"additionalProperties": false,
|
||
|
"properties": {
|
||
|
"index": {
|
||
|
"description": "Unique identifier.",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"title": {
|
||
|
"description": "Short description.",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"description": {
|
||
|
"description": "Long description.",
|
||
|
"type": "string"
|
||
|
},
|
||
|
"deadline": {
|
||
|
"description": "Deadline after which the milestone is overdue.",
|
||
|
"type": "string",
|
||
|
"format": "date-time"
|
||
|
},
|
||
|
"created": {
|
||
|
"description": "Creation time.",
|
||
|
"type": "string",
|
||
|
"format": "date-time"
|
||
|
},
|
||
|
"updated": {
|
||
|
"description": "Last update time.",
|
||
|
"type": "string",
|
||
|
"format": "date-time"
|
||
|
},
|
||
|
"closed": {
|
||
|
"description": "The last time 'state' changed to 'closed'.",
|
||
|
"type": "string",
|
||
|
"format": "date-time"
|
||
|
},
|
||
|
"state": {
|
||
|
"description": "A 'closed' milestone will not see any activity in the future, otherwise it is 'open'.",
|
||
|
"enum": [
|
||
|
"closed",
|
||
|
"open"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"required": [
|
||
|
"index",
|
||
|
"title",
|
||
|
"description",
|
||
|
"deadline",
|
||
|
"created",
|
||
|
"updated",
|
||
|
"closed",
|
||
|
"state"
|
||
|
],
|
||
|
|
||
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
||
|
"$id": "https://code.forgejo.org/f3/f3-schemas/src/branch/main/milestone.json",
|
||
|
"$$target": "milestone.json"
|
||
|
}
|