@(metadata: List[models.MetadataDefinition], spaceId: Option[UUID], spaceName: Option[String])(implicit user: Option[models.User]) @import play.api.i18n.Messages @import _root_.util.Formatters._ @main("Metadata Definitions") {
The following metadata terms will be available for this @Messages("space.title")'s @Messages("datasets.title") and files. To add a new term scroll to the bottom of the page.
} case (_, _) => {The following metadata definitions will be available in @Messages("datasets.title")' and files that are not in a @Messages("space.title")', and inherited by new @Messages("spaces.title").
} }| Label | Description | URI | Type | Definitions | Query Parameter | Actions |
|---|---|---|---|---|---|---|
| @((m.json \ "label").asOpt[String].getOrElse("")) | @((m.json \ "description").asOpt[String].getOrElse("")) | @((m.json \ "uri").asOpt[String].getOrElse("")) | @((m.json \ "type").asOpt[String].getOrElse("")) match { case "string" => {String} case "list" => {List} case "listjquery" => {Queryable List} case "scientific_variable" => {Scientific Variable} case "annotation" => {Annotation} case "datetime" => {Date and Time} case "listgeocode" => {Location} case "wkt" => {WKT Location} case _ => {Error: unrecognized type} } | @((m.json \ "definitions_url").asOpt[String].getOrElse("")) | @((m.json \ "query_parameter").asOpt[String].getOrElse("")) | Edit / Delete |