greenpill-dev-guild / impact-reef

Making it easier to evaluate public good projects with quality endorsements.
https://impactreef.app
5 stars 0 forks source link

Evaluation Attestation Schemas #33

Closed Oba-One closed 1 month ago

Oba-One commented 5 months ago

Done State

Technical Requirements

Resources

bitbeckers commented 3 months ago

Changed this schema a little bit to the following schema:

  {
    "name": "Project evaluation",
    "description": "Rate a project based on a set of metrics",
    "values": [
      {
        "type": "bytes32",
        "name": "projectUID"
      },
      {
        "type": "bytes32[]",
        "name": "metricUIDs"
      },
      {
        "type": "string",
        "name": "description"
      },
      {
        "type": "uint8",
        "name": "stars"
      }
    ],
    "parsed": "bytes32 projectUID, bytes32[] metricUIDs, string description, uint8 stars",
    "UID": "0xe623eafcf84d0a4d721f9531be103e5123cc61b60179b8577cca08316785d2c1"
  },

The reason for this, is that the requirement looked like we want a user to collect a bunch of metric, or attestations, and based on that relate a star score. It might need some tweaks, but I thik this schema definition could be improved.