Category:OSWe5aa96bffb1c4d95be7fbd46142ad203: Difference between revisions

[bot edit] Copied from wiki-dev.open-semantic-lab.org
(Update package: OSW Core)
([bot edit] Copied from wiki-dev.open-semantic-lab.org)
Tag: Metadata slot edit
jsondata
Line 27: Line 27:
             "lang": "de"
             "lang": "de"
         }
         }
    ],
    "metaclass": [
        "Category:OSWc11438cd6c814ed1a5a253555ee351b4"
     ]
     ]
}
}
jsonschema
Line 17: Line 17:
             "input": {
             "input": {
                 "@id": "Property:HasInput",
                 "@id": "Property:HasInput",
                "@type": "@id"
            },
            "location": {
                "@id": "Property:HasLocation",
                "@type": "@id"
            },
            "location_name": {
                "@id": "Property:HasLocation",
                 "@type": "@id"
                 "@type": "@id"
             },
             },
Line 29: Line 37:
             "actionees": {
             "actionees": {
                 "@id": "Property:HasActionee",
                 "@id": "Property:HasActionee",
                "@type": "@id"
            },
            "projects": {
                "@id": "Property:HasProject",
                 "@type": "@id"
                 "@type": "@id"
             },
             },
Line 35: Line 47:
                 "@type": "@id"
                 "@type": "@id"
             },
             },
             "start_date_time": "Property:HasStartDateAndTime",
             "start_date_time": {
             "end_date_time": "Property:HasEndDateAndTime",
                "@id": "Property:HasStartDate",
                "@type": "xsd:dateTime"
            },
             "end_date_time": {
                "@id": "Property:HasEndDate",
                "@type": "xsd:dateTime"
            },
             "subprocesses": {
             "subprocesses": {
                 "@id": "Property:HasPart",
                 "@id": "Property:HasPart",
Line 43: Line 61:
         }
         }
     ],
     ],
    "type": "object",
     "allOf": [
     "allOf": [
         {
         {
Line 50: Line 67:
     ],
     ],
     "title": "Process",
     "title": "Process",
    "title*": {
        "en": "Process",
        "de": "Prozess"
    },
    "type": "object",
    "uuid": "5a07d666-c55b-4ffa-89d4-9633c708029d",
    "description": "Members of the Process Category describe the act of changing the state or properties of something",
    "description*": {
        "en": "Members of the Process Category describe the act of changing the state or properties of something",
        "de": "Prozesse beschreiben den Akt des Änderns eines Zustandes oder der Eigenschaften von etwas."
    },
    "defaultProperties": [
        "actionees",
        "start_date_time",
        "tool",
        "projects",
        "input",
        "output"
    ],
    "required": [
        "type"
    ],
     "properties": {
     "properties": {
         "type": {
         "type": {
Line 63: Line 102:
             },
             },
             "format": "autocomplete",
             "format": "autocomplete",
             "options": {
             "range": "Category:OSW44deaa5b806d41a2a88594f562b110e9"
                "autocomplete": {
                    "category": "Category:OSW44deaa5b806d41a2a88594f562b110e9"
                }
            }
         },
         },
         "actionees": {
         "actionees": {
Line 82: Line 117:
                 },
                 },
                 "format": "autocomplete",
                 "format": "autocomplete",
                 "options": {
                 "range": "Category:OSW44deaa5b806d41a2a88594f562b110e9"
                    "autocomplete": {
                        "category": "Category:OSW44deaa5b806d41a2a88594f562b110e9"
                    }
                }
             }
             }
         },
         },
Line 95: Line 126:
                 "de": "Startzeitpunkt"
                 "de": "Startzeitpunkt"
             },
             },
             "format": "date",
             "format": "datetime",
             "options": {
             "$comment": "Note: To hide the time, you can set {\"options\": {\"flatpickr\": {\"dateFormat\": \"Z\", \"altInput\": true, \"altFormat\": \"Y-m-d\"}}}"
                "flatpicker": {}
            }
         },
         },
         "end_date_time": {
         "end_date_time": {
Line 106: Line 135:
                 "de": "Endzeitpunkt"
                 "de": "Endzeitpunkt"
             },
             },
             "format": "date",
             "format": "datetime"
             "options": {
        },
                 "flatpicker": {}
        "location": {
             "type": "string",
            "title": "Location",
            "title*": {
                 "de": "Ort"
            },
            "format": "autocomplete",
            "range": "Category:OSW3d238d05316e45a4ac95a11d7b24e36b"
        },
        "location_name": {
            "type": "string",
            "title": "Location (text)",
            "title*": {
                "de": "Ort (Text)"
            },
            "description": "Its prefered to select or create a location from or in the autocomplete field 'Location'.",
            "description*": {
                "de": "Vorzugsweise sollte ein Ort aus dem Autocomplete-Feld 'Ort' ausgewählt oder erstellt werden."
             }
             }
         },
         },
Line 153: Line 199:
                 },
                 },
                 "format": "autocomplete",
                 "format": "autocomplete",
                 "options": {
                 "range": "Category:OSWe427aafafbac4262955b9f690a83405d"
                    "autocomplete": {
                        "category": "Category:OSWe427aafafbac4262955b9f690a83405d"
                    }
                }
             },
             },
             "options": {
             "options": {
Line 181: Line 223:
                 },
                 },
                 "format": "autocomplete",
                 "format": "autocomplete",
                 "options": {
                 "range": "Category:Entity"
                    "autocomplete": {
                        "category": "Category:Entity"
                    }
                }
             },
             },
             "options": {
             "options": {
Line 209: Line 247:
                 },
                 },
                 "format": "autocomplete",
                 "format": "autocomplete",
                 "options": {
                 "range": "Category:Entity"
                     "autocomplete": {
            },
                         "category": "Category:Entity"
            "options": {
                     }
                "conditional_visible": {
                     "modes": [
                         "query",
                        "default"
                     ]
                 }
                 }
            }
        },
        "projects": {
            "type": "array",
            "format": "table",
            "title": "Project(s)",
            "title*": {
                "de": "Projekt(e)"
            },
            "items": {
                "type": "string",
                "title": "Project",
                "title*": {
                    "de": "Projekt"
                },
                "format": "autocomplete",
                "$comment": "Project",
                "range": "Category:OSWb2d7e6a2eff94c82b7f1f2699d5b0ee3"
             },
             },
             "options": {
             "options": {
Line 227: Line 287:
             "type": "object",
             "type": "object",
             "title": "Parameters"
             "title": "Parameters"
        },
        "_subprocesses": {
            "title": "Subprocesses",
            "type": "array",
            "format": "tabs",
            "items": {
                "$ref": "#"
            }
         }
         }
    },
    "required": [
        "type"
    ],
    "uuid": "5a07d666-c55b-4ffa-89d4-9633c708029d",
    "title*": {
        "en": "Process",
        "de": "Prozess"
    },
    "description": "Members of the Process Category describe the act of changing the state or properties of something",
    "description*": {
        "en": "Members of the Process Category describe the act of changing the state or properties of something",
        "de": "Prozesse beschreiben den Akt des Änderns eines Zustandes oder der Eigenschaften von etwas."
     }
     }
}
}