{ "$schema": "https://json-schema.org/draft/2019-09/schema", "title": "Joystream KPI schema", "type": "object", "properties": { "overviewSection": { "type": "object", "properties": { "title": {"type": "string"}, "kpisNumber": {"type": "string"}, "councilElectedInRound": {"type": "number"}, "councilMembers": {"type": "number"}, "termLength": { "type": "object", "properties": { "termLength": {"type": "string"}, "startBlock": {"type": "number"}, "endBlock": {"type": "number"}, "startDate": {"type": "string", "format": "date"}, "endDate": {"type": "string", "format": "date"} }, "termSummariesForumThread": {"type": "string"}, "deadlineToSubmitSummary": { "type": "object", "properties": { "block": {"type": "number"}, "deadlineDaye": {"type": "string", "format": "date"} } } } } }, "sections": { "type": "array", "items": { "type": "object", "properties": { "sectionTitle": {"type": "string"}, "sectionDescription": {"type": "string"}, "kpis": { "type": "array", "items": { "type": "object", "properties": { "kpiTitle": {"type": "string"}, "reward": { "type": "object", "properties": { "rewardLine": {"type": "string"}, "rewardDescription": {"type": "string"} } }, "rewardStructure": {"type": "string"}, "gradingProcess": {"type": "string"}, "active": { "type": "object", "properties": { "active": {"type": "string"}, "block": {"type": "number"}, "activeDate": {"type": "string", "format": "date"} } }, "purpose": {"type": "string"}, "scopeOfWork": { "type": "array", "items": { "type": "object", "properties": { "task": {"type": "string"} } } }, "rewardDistribution": {"type": "string"}, "note": {"type": "string"}, "grading": {"type": "string"}, "reporting": {"type": "string"}, "weighting": { "type": "array", "items": { "type": "object", "properties": { "weight": {"type": "string"} } } } } } } } } } } }