'uuid': 'http://schema.org/identifier',
'category': 'http://schema.org/category',
'licence': 'http://schema.org/license',
- 'nsfw': 'as:sensitive',
+ 'sensitive': 'as:sensitive',
'language': 'http://schema.org/inLanguage',
'views': 'http://schema.org/Number',
'size': 'http://schema.org/Number',
(!video.licence || isRemoteIdentifierValid(video.licence)) &&
(!video.language || isRemoteIdentifierValid(video.language)) &&
isVideoViewsValid(video.views) &&
- isBooleanValid(video.nsfw) &&
+ isBooleanValid(video.sensitive) &&
isBooleanValid(video.commentsEnabled) &&
isDateValid(video.published) &&
isDateValid(video.updated) &&
licence,
language,
description,
- nsfw: videoObject.nsfw,
+ nsfw: videoObject.sensitive,
commentsEnabled: videoObject.commentsEnabled,
channelId: videoChannel.id,
duration: parseInt(duration, 10),
licence,
language,
views: this.views,
- nsfw: this.nsfw,
+ sensitive: this.nsfw,
commentsEnabled: this.commentsEnabled,
published: this.createdAt.toISOString(),
updated: this.updatedAt.toISOString(),
licence: ActivityIdentifierObject
language: ActivityIdentifierObject
views: number
- nsfw: boolean
+ sensitive: boolean
commentsEnabled: boolean
published: string
updated: string