Category:OSW0e7fab2262fb4427ad0fa454bc868a0d: Difference between revisions

From Onterface Dataspace
add workflows and repos from battmo modek
(Edited with SimpleBatchUpload)
Tag: Metadata slot edit
(add workflows and repos from battmo modek)
Tag: Metadata slot edit
 
jsonschema
Line 136: Line 136:
                 "Category:OSW0e7fab2262fb4427ad0fa454bc868a0d"
                 "Category:OSW0e7fab2262fb4427ad0fa454bc868a0d"
             ]
             ]
        },
        "workflow_runs": {
            "type": "array",
            "title": "Workflow Runs",
            "propertyOrder": 1010,
            "eval_template": [
                {
                    "type": "mustache-wikitext",
                    "mode": "render",
                    "value": "{{#workflow_runs}} \u003Cdiv class='PrefectStatusBadge' data-config='{\"uuid\":\"{{{uuid}}}\", \"host\": \"workflow.battmo.open-semantic-lab.org\", {{=\u003C% %\u003E=}} \"parent\": \"{{FULLPAGENAME}}\", \"parameters\": {\"request\": {\"model_titles\":  [\"{{FULLPAGENAME}}\"] \u003C%={{ }}=%\u003E } } }'\u003E\u003C/div\u003E {{/workflow_runs}}"
                }
            ],
            "items": {
                "_$ref": "/wiki/Category:OSWb79812225c7849b78e98f2b3b10498b3?action=raw\u0026slot=jsonschema",
                "title": "Workflow Run",
                "required": [
                    "uuid"
                ],
                "properties": {
                    "uuid": {
                        "title": "UUID",
                        "type": "string",
                        "format": "uuid",
                        "options": {
                            "hidden": true
                        }
                    },
                    "name": {
                        "title": "Name",
                        "description": "Technical / Machine compatible name",
                        "description*": {
                            "de": "Technischer / Maschinenkompatibler Name"
                        },
                        "type": "string",
                        "options": {
                            "hidden": true
                        }
                    },
                    "label": {
                        "type": "array",
                        "title": "Labels",
                        "title*": {
                            "de": "Namen"
                        },
                        "description": "Human readable names. You have to assign at least one.",
                        "description*": {
                            "de": "Menschenlesbarer Namen. Du musst mindestens einen vergeben."
                        },
                        "format": "table",
                        "eval_template": [
                            {
                                "type": "mustache-wikitext",
                                "mode": "render",
                                "value": "{{=\u003C% %\u003E=}} {{#switch:{{USERLANGUAGECODE}} \u003C%={{ }}=%\u003E {{#label}} |{{lang}}={{text}} {{/label}} {{=\u003C% %\u003E=}} }}"
                            }
                        ],
                        "items": {
                            "title": "Label",
                            "title*": {
                                "de": "Name"
                            },
                            "eval_template": [
                                {
                                    "type": "wikitext",
                                    "mode": "store",
                                    "value": "{{{text}}}@{{{lang}}}"
                                }
                            ],
                            "$ref": "/wiki/JsonSchema:Label?action=raw"
                        },
                        "minItems": 1
                    },
                    "status": {
                        "type": "string",
                        "format": "autocomplete",
                        "title": "Status",
                        "default": "Item:OSWaa8d29404288446a9f3ec7afa4e2a512",
                        "options": {
                            "autocomplete": {
                                "category": "Category:OSW9725d7a91bab4f1aa68f423e4e9bfcf4"
                            }
                        }
                    },
                    "tool": {
                        "type": "array",
                        "title": "Workflows",
                        "title*": {
                            "de": "Workflows"
                        },
                        "minItems": 1,
                        "maxItems": 1,
                        "items": {
                            "type": "string",
                            "title": "Workflow",
                            "title*": {
                                "de": "Workflow"
                            },
                            "format": "autocomplete",
                            "options": {
                                "autocomplete": {
                                    "category": "Category:OSW22dc1c3790974a1bb7187d7a77f7e767"
                                }
                            }
                        }
                    }
                }
            }
        },
        "doi": {
            "type": "string",
            "title": "DOI",
            "eval_template": [
                {
                    "type": "mustache-wikitext",
                    "mode": "render",
                    "_value": "{{=\u003C% %\u003E=}}[https://doi.org/\u003C%={{ }}=%\u003E{{{doi}}}) {{{doi}}}{{=\u003C% %\u003E=}}]\u003C%={{ }}=%\u003E",
                    "____value": "{{=\u003C% %\u003E=}}[https://sandbox.zenodo.org/record/{{#explode:\u003C%={{ }}=%\u003E{{{doi}}}|zenodo.|1 {{=\u003C% %\u003E=}} }}\u003C%={{ }}=%\u003E {{{doi}}}{{=\u003C% %\u003E=}}]\u003C%={{ }}=%\u003E",
                    "__value": "\u003Cmarkdown\u003E[![DOI](https://sandbox.zenodo.org/badge/DOI/{{{doi}}}.svg)](https://doi.org/{{{doi}}})\u003C/markdown\u003E",
                    "___value": "\u003Cmarkdown\u003E[![DOI](https://sandbox.zenodo.org/badge/DOI/{{{doi}}}.svg)]{{=\u003C% %\u003E=}}(https://sandbox.zenodo.org/record/{{#explode:\u003C%={{ }}=%\u003E{{{doi}}}|zenodo.|1 {{=\u003C% %\u003E=}} }})\u003C/markdown\u003E \u003C%={{ }}=%\u003E",
                    "value": "{{=\u003C% %\u003E=}}\u003Cspan class='badge badge-primary' style='border-top-right-radius:0;border-bottom-right-radius:0'\u003EDOI\u003C/span\u003E\u003Cspan class='badge badge-secondary' style='border-top-left-radius:0;border-bottom-left-radius:0'\u003E[https://sandbox.zenodo.org/record/{{#explode:\u003C%={{ }}=%\u003E{{{doi}}}|zenodo.|1 {{=\u003C% %\u003E=}} }}\u003C%={{ }}=%\u003E \u003Cspan style='color:white'\u003E{{{doi}}}{{=\u003C% %\u003E=}}\u003C/span\u003E]\u003C/span\u003E\u003C%={{ }}=%\u003E"
                }
            ]
        },
        "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"
                    }
                }
            }
         }
         }
     },
     },
Cookies help us deliver our services. By using our services, you agree to our use of cookies.