ModelRelationDefinition: UnionCodec<[ExactCodec<TypeCodec<{ type: LiteralCodec<"account"> }>>, ExactCodec<TypeCodec<{ model: RefinementCodec<TrivialCodec<string>, string>; type: LiteralCodec<"document"> }>>]> = ...

Identifies types of properties that are supported as relations by the indexing service.

Currently supported types of relation properties:

  • 'account': references a DID property
  • 'document': references a StreamID property with associated 'model' the related document must use