Variable: W3CAnnotationBodySchema
@ghentcdh/annotated-text / W3CAnnotationBodySchema
Variable: W3CAnnotationBodySchema
const
W3CAnnotationBodySchema:ZodUnion
<[ZodUnion
<[ZodUnion
<[ZodObject
<{textType
:ZodString
;type
:ZodDefault
<ZodEnum
<{AnnotationType
: ...; }>>; },$strip
>,ZodObject
<{format
:ZodDefault
<ZodEnum
<{text
: ...; }>>;language
:ZodOptional
<ZodString
>;source
:ZodOptional
<ZodString
>;type
:ZodDefault
<ZodEnum
<{TextualBody
: ...; }>>;value
:ZodString
; },$strip
>]>,ZodObject
<{purpose
:ZodDefault
<ZodEnum
<{tagging
:"tagging"
; }>>;type
:ZodDefault
<ZodEnum
<{TextualBody
:"TextualBody"
; }>>;value
:ZodOptional
<ZodString
>; },$strip
>]>,ZodObject
<{id
:ZodOptional
<ZodString
>;purpose
:ZodDefault
<ZodEnum
<{describing
:"describing"
; }>>;source
:ZodOptional
<ZodString
>;type
:ZodDefault
<ZodEnum
<{SpecificResource
:"SpecificResource"
; }>>;value
:ZodAny
; },$strip
>]>
Defined in: libs/core/src/lib/adapter/annotation/w3c/model/w3c-annotation.model.ts:41