Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Draft] Publish the WIP update of DAOIP-3 #95

Merged
merged 4 commits into from
Oct 8, 2023
Merged

Conversation

frm
Copy link
Collaborator

@frm frm commented Jul 13, 2023

You can find the discussion for these changes here.

This PR still doesn't update the document, it's just a quick way to document the final new format. I'll be updating the document with a breakdown and the reasoning for these changes as soon as I can.

In the meantime, use this PR to consult the final updated format:

{
   "@context":"http://www.daostar.org/schemas",
   "type":"arrayAttestation",
   "issuer":"<Avenue's issuerURI>",
   "member":{
      "type":"ENS",
      "id":"josh.eth"
   },
   "organizations":[
      {
         "expiration":"<ISO-datetime>",
         "attesterURI":"<DAOStar One's membersURI>",
         "name":"DAOstar One",
         "daoURI":"<DAOStar One's daoURI, following EIP-4824>"
      }
   ],
   "contributions":[
      {
         "type":"contribution",
         "referenceURI?":"<URI reference to the tweet on Govrn's platform or IPFS or other storage>",
         "reference?":{
            "version": 2,
            "issuer":"govrn",
            "issuerURI":"<Govrn's URI>",
            "issuerId":123,
            "title":"Took part in a DAOStar Voyager meeting",
            "description":"Meeting happened on 2022-04-12",
            "category": "Meeting/Discussion",
            "proof": "<optional link to a proof>",
            "contributors":[
               "<josh's address>",
               "<mendes's address>",
               "<aaron's address>"
            ],
            "contributorSignatures":[
               "<josh's signature>",
               "<mendes's signature>",
               "<aaron's signature>"
            ],
            "dateOfEngagement":"2022-04-12T17:00:00Z",
            "external":{
               "govrn":{
                  "daoId":1,
                  "bannerUrl":"https://..."
               }
            }
         }
      }
   ],
   "reputation": [
     {
       "issuer": "reputable",
       "issuerUri:": "...",
       "issuerUid": "123",
       "score": 2,
       "proof": "0xe17db83d82cd78305dbcba116964731b85cee7b5f4d1c988b347efbe10f43f39",
       "expiration": "ISO-timestamp",
       "dateOfEngagement": "ISO-timestamp"
     },
   ]
}

@frm frm requested a review from thelastjosh July 13, 2023 15:56
@netlify
Copy link

netlify bot commented Jul 13, 2023

Deploy Preview for whimsical-cuchufli-3a5565 ready!

Name Link
🔨 Latest commit 1c329b8
🔍 Latest deploy log https://app.netlify.com/sites/whimsical-cuchufli-3a5565/deploys/6522d6a8502d1100080570a7
😎 Deploy Preview https://deploy-preview-95--whimsical-cuchufli-3a5565.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Rashmi-278 Rashmi-278 marked this pull request as draft August 30, 2023 13:22
1. interoperated with the verifiable credential specification; added new rationale
3. changed member to subject, memberAttestationsURI to subjectAttestationsURI to make the schema more widely applicable / analogous to verifiable credentials
3. changed issuerURI to just issuer, since issuerURI is effectively "issuer" in the VC specification
4. changed expiration to expirationDate, following the VC specification
5. adjusted the "id" to conform to the VC specification, though we've retained a "type" field in the credentialSubject object
1. changed attestationIssuer field to attestationIssuerURI field; added new schema for attestationIssuerURI
2. changed capitalization of all types to TypeName from typeName to match schema.org examples
4. created a new generic Attestation type, added issuerURI and attestationURI to it
5. added a new schema for attestation types (moved over from regulatory interop), and removed extensions section
2. added a new schema for contributions
3. added apiURI to support OpenAPI interop
4. added a signature section
5. added a use-case for publishing daoURI as an attestation through a service such as EAS
@thelastjosh thelastjosh marked this pull request as ready for review October 8, 2023 16:18
@thelastjosh thelastjosh merged commit 54fb773 into main Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants