ssbc / ssb-schema-definitions

Standardised schema definitions for ssb message types using is-my-json-valid
3 stars 1 forks source link

Update definitions #6

Closed chereseeriepa closed 4 years ago

chereseeriepa commented 4 years ago

Adds reusable schema definitions for:

as well as tests for these.

mixmix commented 4 years ago

Hey @chereseeriepa I did a final refactor on this, mainly to:

  1. pull all the tangle things into single files (everything else in this repo has its own domain-related files)
  2. renamed some schema to tangleRoot + tangleUpdate (more consistent with other scuttlebutt language)
  3. added tests to cover tangleRoot and tangleUpdate to make sure these were reliable to use as stand-alone pieces too!

Here's the diff https://github.com/ssbc/ssb-schema-definitions/pull/6/commits/07a12c859c25fbe21d81a2983f459e8161d1b546

mixmix commented 4 years ago

Great work. Have merged + published as ssb-schema-definitions@2.1.0