ssbc / private-group-spec

GNU Lesser General Public License v3.0
13 stars 2 forks source link

Adapt schemas to epochs and member exclusion #30

Closed Powersource closed 1 year ago

Powersource commented 1 year ago

For https://github.com/ssbc/ssb-tribes2/issues/73 and https://github.com/ssbc/ssb-tribes2/issues/68

Powersource commented 1 year ago

Just ran into this

the fuck. so this apparently doesn't seem to work (we use it in some schema)

recps: {
  type: 'array',
  item: { $ref: '#/definitions/groupId' },
  minItems: 1,
  maxItems: 1
},

but this seems to work (which we also use in some places

recps: {
  type: 'array',
  items: [{ $ref: '#/definitions/groupId' }],
  minItems: 1,
  maxItems: 1
},
Powersource commented 1 year ago

published v6 now