Category:OSW553f78cc66194ae1873241207b906c4b: Difference between revisions

add units
(change doi badge color to blue)
Tag: Metadata slot edit
(add units)
Tag: Metadata slot edit
 
(4 intermediate revisions by the same user not shown)
jsondata
Line 13: Line 13:
                 {
                 {
                     "uuid": "547162ea-d81c-447d-b906-438bdbdb7fb5",
                     "uuid": "547162ea-d81c-447d-b906-438bdbdb7fb5",
                     "name": "faceArea",
                     "name": "faceArea [m²]",
                     "type": "number",
                     "type": "number",
                     "default": "0.001"
                     "default": "0.001"
Line 36: Line 36:
                                 {
                                 {
                                     "uuid": "6b86e018-0298-4613-877a-624a363a4110",
                                     "uuid": "6b86e018-0298-4613-877a-624a363a4110",
                                     "name": "thickness",
                                     "name": "thickness [m]",
                                     "type": "number",
                                     "type": "number",
                                     "default": "1.5e-05"
                                     "default": "1.5e-05"
Line 56: Line 56:
                                 {
                                 {
                                     "uuid": "9c4b851f-5953-4023-9c80-80ee65111a23",
                                     "uuid": "9c4b851f-5953-4023-9c80-80ee65111a23",
                                     "name": "thickness",
                                     "name": "thickness [m]",
                                     "type": "number",
                                     "type": "number",
                                     "default": "6.4e-05"
                                     "default": "6.4e-05"
Line 76: Line 76:
                                 {
                                 {
                                     "uuid": "6ac4f320-680e-4939-8b42-eca4796a152b",
                                     "uuid": "6ac4f320-680e-4939-8b42-eca4796a152b",
                                     "name": "thickness",
                                     "name": "thickness [m]",
                                     "type": "number",
                                     "type": "number",
                                     "default": "5.7e-05"
                                     "default": "5.7e-05"
jsonschema
Line 64: Line 64:
                     "type": "number",
                     "type": "number",
                     "default": "0.001",
                     "default": "0.001",
                     "title": "faceArea"
                     "title": "faceArea [m²]"
                 },
                 },
                 "format": {
                 "format": {
Line 80: Line 80:
                                     "type": "number",
                                     "type": "number",
                                     "default": "1.5e-05",
                                     "default": "1.5e-05",
                                     "title": "thickness"
                                     "title": "thickness [m]"
                                 },
                                 },
                                 "uuid": {
                                 "uuid": {
Line 117: Line 117:
                                     "type": "number",
                                     "type": "number",
                                     "default": "6.4e-05",
                                     "default": "6.4e-05",
                                     "title": "thickness"
                                     "title": "thickness [m]"
                                 },
                                 },
                                 "uuid": {
                                 "uuid": {
Line 154: Line 154:
                                     "type": "number",
                                     "type": "number",
                                     "default": "5.7e-05",
                                     "default": "5.7e-05",
                                     "title": "thickness"
                                     "title": "thickness [m]"
                                 },
                                 },
                                 "uuid": {
                                 "uuid": {
Line 357: Line 357:
                 }
                 }
             ]
             ]
        },
        "repository_records": {
            "type": "array",
            "format": "tabs",
            "title": "Repositories",
            "eval_template": [
                {
                    "type": "mustache-wikitext",
                    "mode": "render",
                    "value": "{{#repository_records}}\u003Cspan class='badge badge-primary' style='border-top-right-radius:0;border-bottom-right-radius:0'\u003E{{{repository_name}}}\u003C/span\u003E\u003Cspan class='badge badge-secondary' style='border-top-left-radius:0;border-bottom-left-radius:0'\u003E[{{{record_link}}} \u003Cspan style='color:white'\u003E{{{record_pid}}}\u003C/span\u003E]\u003C/span\u003E{{/repository_records}}"
                }
            ],
            "items": {
                "type": "object",
                "title": "Repository",
                "properties": {
                    "repository_name": {
                        "type": "string",
                        "title": "Repository name"
                    },
                    "record_pid": {
                        "type": "string",
                        "title": "Record ID"
                    },
                    "record_link": {
                        "type": "string",
                        "format": "url",
                        "title": "Record link"
                    }
                }
            }
         },
         },
         "type": {
         "type": {