FileMetadataTemplate
¶
A FileMetadataTemplate
allows users to attach user-defined metadata to any UFile
data class FileMetadataTemplate(
val namespaceId: String,
val title: String,
val version: String,
val schema: JsonObject,
val inheritable: Boolean,
val requireApproval: Boolean,
val description: String,
val changeLog: String,
val namespaceType: FileMetadataTemplateNamespaceType,
val uiSchema: JsonObject?,
val namespaceName: String?,
val createdAt: Long?,
)
Properties
namespaceId
: String
The ID of the namespace that this template belongs to
String
title
: String
The title of this template. It does not have to be unique.
String
version
: String
Version identifier for this version. It must be unique within a single template group.
String
schema
: JsonObject
JSON-Schema for this document
JsonObject
inheritable
: Boolean
Makes this template inheritable by descendants of the file that the template is attached to
Boolean
requireApproval
: Boolean
If `true` then a user with `ADMINISTRATOR` rights must approve all changes to metadata
Boolean
description
: String
Description of this template. Markdown is supported.
String
changeLog
: String
A description of the change since last version. Markdown is supported.
String
namespaceType
: FileMetadataTemplateNamespaceType
FileMetadataTemplateNamespaceType
uiSchema
: JsonObject?
JsonObject?
namespaceName
: String?
String?
createdAt
: Long?
Long?