Category:OSWe5aa96bffb1c4d95be7fbd46142ad203: Difference between revisions

Update package: OSW Core
([bot edit] Copied from wiki-dev.open-semantic-lab.org)
Tag: Metadata slot edit
(Update package: OSW Core)
Tag: Manual revert
 
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 37: Line 29:
             "actionees": {
             "actionees": {
                 "@id": "Property:HasActionee",
                 "@id": "Property:HasActionee",
                "@type": "@id"
            },
            "projects": {
                "@id": "Property:HasProject",
                 "@type": "@id"
                 "@type": "@id"
             },
             },
Line 47: Line 35:
                 "@type": "@id"
                 "@type": "@id"
             },
             },
             "start_date_time": {
             "start_date_time": "Property:HasStartDateAndTime",
                "@id": "Property:HasStartDate",
             "end_date_time": "Property:HasEndDateAndTime",
                "@type": "xsd:dateTime"
            },
             "end_date_time": {
                "@id": "Property:HasEndDate",
                "@type": "xsd:dateTime"
            },
             "subprocesses": {
             "subprocesses": {
                 "@id": "Property:HasPart",
                 "@id": "Property:HasPart",
Line 61: Line 43:
         }
         }
     ],
     ],
    "type": "object",
     "allOf": [
     "allOf": [
         {
         {
Line 67: Line 50:
     ],
     ],
     "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 102: Line 63:
             },
             },
             "format": "autocomplete",
             "format": "autocomplete",
             "range": "Category:OSW44deaa5b806d41a2a88594f562b110e9"
             "options": {
                "autocomplete": {
                    "category": "Category:OSW44deaa5b806d41a2a88594f562b110e9"
                }
            }
         },
         },
         "actionees": {
         "actionees": {
Line 117: Line 82:
                 },
                 },
                 "format": "autocomplete",
                 "format": "autocomplete",
                 "range": "Category:OSW44deaa5b806d41a2a88594f562b110e9"
                 "options": {
                    "autocomplete": {
                        "category": "Category:OSW44deaa5b806d41a2a88594f562b110e9"
                    }
                }
             }
             }
         },
         },
Line 126: Line 95:
                 "de": "Startzeitpunkt"
                 "de": "Startzeitpunkt"
             },
             },
             "format": "datetime",
             "format": "date",
             "$comment": "Note: To hide the time, you can set {\"options\": {\"flatpickr\": {\"dateFormat\": \"Z\", \"altInput\": true, \"altFormat\": \"Y-m-d\"}}}"
             "options": {
                "flatpicker": {}
            }
         },
         },
         "end_date_time": {
         "end_date_time": {
Line 135: Line 106:
                 "de": "Endzeitpunkt"
                 "de": "Endzeitpunkt"
             },
             },
             "format": "datetime"
             "format": "date",
        },
             "options": {
        "location": {
                 "flatpicker": {}
             "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 199: Line 153:
                 },
                 },
                 "format": "autocomplete",
                 "format": "autocomplete",
                 "range": "Category:OSWe427aafafbac4262955b9f690a83405d"
                 "options": {
                    "autocomplete": {
                        "category": "Category:OSWe427aafafbac4262955b9f690a83405d"
                    }
                }
             },
             },
             "options": {
             "options": {
Line 223: Line 181:
                 },
                 },
                 "format": "autocomplete",
                 "format": "autocomplete",
                 "range": "Category:Entity"
                 "options": {
                    "autocomplete": {
                        "category": "Category:Entity"
                    }
                }
             },
             },
             "options": {
             "options": {
Line 247: Line 209:
                 },
                 },
                 "format": "autocomplete",
                 "format": "autocomplete",
                 "range": "Category:Entity"
                 "options": {
            },
                    "autocomplete": {
            "options": {
                        "category": "Category:Entity"
                "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 287: Line 227:
             "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."
     }
     }
}
}