ModelRelationDefinitionV2: UnionCodec<[ExactCodec<TypeCodec<{ type: LiteralCodec<"account"> }>>, ExactCodec<TypeCodec<{ model: UnionCodec<[RefinementCodec<TrivialCodec<string>, string>, TrivialCodec<null>]>; 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 if provided