code.gitea.io/gitea@v1.19.3/modules/migration/schemas/issue.json (about) 1 { 2 "title": "Issue", 3 "description": "Issues associated to a repository within a forge (Gitea, GitLab, etc.).", 4 5 "type": "array", 6 "items": { 7 "type": "object", 8 "additionalProperties": false, 9 "properties": { 10 "number": { 11 "description": "Unique identifier, relative to the repository.", 12 "type": "number" 13 }, 14 "poster_id": { 15 "description": "Unique identifier of the user who authored the issue.", 16 "type": "number" 17 }, 18 "poster_name": { 19 "description": "Name of the user who authored the issue.", 20 "type": "string" 21 }, 22 "poster_email": { 23 "description": "Email of the user who authored the issue.", 24 "type": "string" 25 }, 26 "title": { 27 "description": "Short description displayed as the title.", 28 "type": "string" 29 }, 30 "content": { 31 "description": "Long, multiline, description.", 32 "type": "string" 33 }, 34 "ref": { 35 "description": "Target branch in the repository.", 36 "type": "string" 37 }, 38 "milestone": { 39 "description": "Name of the milestone.", 40 "type": "string" 41 }, 42 "state": { 43 "description": "A 'closed' issue will not see any activity in the future, otherwise it is 'open'.", 44 "enum": [ 45 "closed", 46 "open" 47 ] 48 }, 49 "is_locked": { 50 "description": "A locked issue can only be modified by privileged users.", 51 "type": "boolean" 52 }, 53 "created": { 54 "description": "Creation time.", 55 "type": "string", 56 "format": "date-time" 57 }, 58 "updated": { 59 "description": "Last update time.", 60 "type": "string", 61 "format": "date-time" 62 }, 63 "closed": { 64 "description": "The last time 'state' changed to 'closed'.", 65 "anyOf": [ 66 { 67 "type": "string", 68 "format": "date-time" 69 }, 70 { 71 "type": "null" 72 } 73 ] 74 }, 75 "labels": { 76 "description": "List of labels.", 77 "type": "array", 78 "items": { 79 "$ref": "label.json" 80 } 81 }, 82 "reactions": { 83 "description": "List of reactions.", 84 "type": "array", 85 "items": { 86 "$ref": "reaction.json" 87 } 88 }, 89 "assignees": { 90 "description": "List of assignees.", 91 "type": "array", 92 "items": { 93 "description": "Name of a user assigned to the issue.", 94 "type": "string" 95 } 96 } 97 }, 98 "required": [ 99 "number", 100 "poster_id", 101 "poster_name", 102 "title", 103 "content", 104 "state", 105 "is_locked", 106 "created", 107 "updated" 108 ] 109 }, 110 111 "$schema": "http://json-schema.org/draft-04/schema#", 112 "$id": "http://example.com/issue.json", 113 "$$target": "issue.json" 114 }