{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "EvidenceReport", "type": "object", "required": [ "evidence", "member", "report_date", "report_period", "wish" ], "properties": { "evidence": { "type": "array", "items": { "$ref": "#/definitions/Evidence" } }, "member": { "$ref": "#/definitions/Member" }, "report_date": { "type": "string" }, "report_period": { "$ref": "#/definitions/ReportPeriod" }, "wish": { "$ref": "#/definitions/Wish_for_PotocRank" } }, "definitions": { "Evidence": { "description": "A specific piece of evidence to help underpin an argument.", "type": "object", "required": [ "category", "tasks", "title" ], "properties": { "category": { "description": "Topic category of the evidence.", "allOf": [ { "$ref": "#/definitions/PotocEvidenceCategory" } ] }, "tasks": { "description": "Tasks that are part of this evidence.", "type": "array", "items": { "$ref": "#/definitions/Tasks" } }, "title": { "description": "Title of this piece of evidence.", "type": "string" } } }, "Member": { "description": "Info about an existing or aspiring member of a collective.", "type": "object", "required": [ "address", "email", "github", "matrix", "name", "rank" ], "properties": { "address": { "description": "On-chain address of the member.\n\nCan be a Substrate, Polkadot or Collectives Address.", "type": "string" }, "email": { "description": "Email address of the member.", "type": "string" }, "github": { "description": "GitHub handle of the member.", "type": "string" }, "matrix": { "description": "Matrix chat handle.", "type": "string" }, "name": { "description": "Legal name or pseudonym of the member.", "type": "string" }, "rank": { "description": "Current rank of the member.", "allOf": [ { "$ref": "#/definitions/PotocRank" } ] } } }, "PotocEvidenceCategory": { "type": "string", "enum": [ "core_tooling", "d_app_tooling" ] }, "PotocRank": { "type": "integer", "enum": [ 0, 1 ] }, "ReportPeriod": { "type": "object", "required": [ "end_date", "start_date" ], "properties": { "end_date": { "description": "Last inclusive date that this report covers.", "type": "string" }, "start_date": { "description": "First inclusive date that this report covers.", "type": "string" } } }, "Tasks": { "description": "A task that was either solely completed by the reporter or in collaboration with others.", "type": "object", "required": [ "links", "title" ], "properties": { "links": { "description": "Links to the completed work.", "type": "array", "items": { "type": "string" } }, "title": { "description": "Title of the task.", "type": "string" } } }, "Wish_for_PotocRank": { "oneOf": [ { "type": "object", "required": [ "intent", "rank" ], "properties": { "intent": { "type": "string", "enum": [ "retain" ] }, "rank": { "$ref": "#/definitions/PotocRank" } } }, { "type": "object", "required": [ "intent", "rank" ], "properties": { "intent": { "type": "string", "enum": [ "promote" ] }, "rank": { "$ref": "#/definitions/PotocRank" } } } ] } } }