- 'RsaSignature2017': 'https://w3id.org/security#RsaSignature2017',
- 'Hashtag': 'as:Hashtag',
- 'uuid': 'http://schema.org/identifier',
- 'category': 'http://schema.org/category',
- 'licence': 'http://schema.org/license',
- 'nsfw': 'as:sensitive',
- 'language': 'http://schema.org/inLanguage',
- 'views': 'http://schema.org/Number',
- 'size': 'http://schema.org/Number',
- 'commentsEnabled': 'http://schema.org/Boolean'
+ RsaSignature2017: 'https://w3id.org/security#RsaSignature2017',
+ pt: 'https://joinpeertube.org/ns',
+ schema: 'http://schema.org#',
+ Hashtag: 'as:Hashtag',
+ uuid: 'schema:identifier',
+ category: 'schema:category',
+ licence: 'schema:license',
+ subtitleLanguage: 'schema:subtitleLanguage',
+ sensitive: 'as:sensitive',
+ language: 'schema:inLanguage',
+ views: 'schema:Number',
+ stats: 'schema:Number',
+ size: 'schema:Number',
+ fps: 'schema:Number',
+ commentsEnabled: 'schema:Boolean',
+ waitTranscoding: 'schema:Boolean',
+ expires: 'schema:expires',
+ support: 'schema:Text',
+ CacheFile: 'pt:CacheFile'
+ },
+ {
+ likes: {
+ '@id': 'as:likes',
+ '@type': '@id'
+ },
+ dislikes: {
+ '@id': 'as:dislikes',
+ '@type': '@id'
+ },
+ shares: {
+ '@id': 'as:shares',
+ '@type': '@id'
+ },
+ comments: {
+ '@id': 'as:comments',
+ '@type': '@id'
+ }