code.gitea.io/gitea@v1.19.3/modules/migration/schemas/milestone.json (about) 1 { 2 "title": "Milestone", 3 "description": "Milestone associated to a repository within a forge.", 4 5 "type": "array", 6 "items": { 7 "type": "object", 8 "additionalProperties": false, 9 "properties": { 10 "title": { 11 "description": "Short description.", 12 "type": "string" 13 }, 14 "description": { 15 "description": "Long, multiline, description.", 16 "type": "string" 17 }, 18 "deadline": { 19 "description": "Deadline after which the milestone is overdue.", 20 "type": "string", 21 "format": "date-time" 22 }, 23 "created": { 24 "description": "Creation time.", 25 "type": "string", 26 "format": "date-time" 27 }, 28 "updated": { 29 "description": "Last update time.", 30 "type": "string", 31 "format": "date-time" 32 }, 33 "closed": { 34 "description": "The last time 'state' changed to 'closed'.", 35 "anyOf": [ 36 { 37 "type": "string", 38 "format": "date-time" 39 }, 40 { 41 "type": "null" 42 } 43 ] 44 }, 45 "state": { 46 "description": "A 'closed' issue will not see any activity in the future, otherwise it is 'open'.", 47 "enum": [ 48 "closed", 49 "open" 50 ] 51 } 52 }, 53 "required": [ 54 "title", 55 "description", 56 "deadline", 57 "created", 58 "updated", 59 "closed", 60 "state" 61 ] 62 }, 63 64 "$schema": "http://json-schema.org/draft-04/schema#", 65 "$id": "http://example.com/milestone.json", 66 "$$target": "milestone.json" 67 }