Skip to content

Commit

Permalink
add more uischemata
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Tilsch committed Jul 25, 2023
1 parent 8a3bac9 commit e7830ec
Show file tree
Hide file tree
Showing 4 changed files with 336 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/uischema/Exhibition.uischema.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
{
"type": "Control",
"label": "Kathegorie",
"label": "Kategorie",
"scope": "#/properties/exhibitionCategory"
}
]
Expand Down Expand Up @@ -185,7 +185,7 @@
},
{
"type": "Group",
"label": "Autoritative Daten",
"label": "autoritative Normdaten",
"elements": [
{
"type": "HorizontalLayout",
Expand Down
168 changes: 168 additions & 0 deletions public/uischema/ExhibitionExponat.uischema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
{
"type": "VerticalLayout",
"elements": [
{
"type": "Group",
"label": "Allgemeine Daten zum Werk",
"elements": [
{
"type": "HorizontalLayout",
"elements": [
{
"type": "Control",
"label": "Titel des Werkes",
"scope": "#/properties/title"
},
{
"type": "Control",
"label": "Varianten des Titels",
"scope": "#/properties/titleVariants"
}
]
},
{
"type": "Control",
"scope": "#/properties/description",
"label": "Kurzbeschreibung",
"options": {
"multi": true
}
},
{
"type": "Control",
"scope": "#/properties/exponatGenres"
},
{
"type": "HorizontalLayout",
"elements": [
{
"type": "Control",
"scope": "#/properties/url"
},
{
"type": "Control",
"scope": "#/properties/externalId"
}
]
}
]
},
{
"type": "Group",
"label": "Zeitlicher Rahmen",
"elements": [
{
"type": "HorizontalLayout",
"elements": [
{
"type": "Group",
"label": "Beginn",
"elements": [
{
"type": "Control",
"label": "Genauigkeit",
"scope": "#/properties/fromType"
},
{
"type": "Control",
"label": "",
"scope": "#/properties/fromDate"
}
]
},
{
"type": "Group",
"label": "Ende",
"elements": [
{
"type": "Control",
"label": "Genauigkeit",
"scope": "#/properties/toType"
},
{
"type": "Control",
"label": "",
"scope": "#/properties/toDate"
}
]
}
]
}
]
},
{
"type": "Group",
"label": "Mit dem Werk im Zusammenhang stehende Personen und Institutionen",
"elements": [
{
"type": "Control",
"label": "Künstler",
"scope": "#/properties/relatedPersons",
"options": {
"elementLabelProp": "name",
"detail": "GENERATED"
}
},
{
"type": "Control",
"label": "Institutionen",
"scope": "#/properties/relatedCorporations",
"options": {
"elementLabelProp": "name",
"detail": "GENERATED"
}
}
]
},
{
"type": "Group",
"label": "autoritative Normdaten",
"elements": [
{
"type": "HorizontalLayout",
"elements": [
{
"type": "Control",
"label": "Authorität",
"scope": "#/properties/authority"
},
{
"type": "Control",
"label": "URI",
"scope": "#/properties/idAuthority"
},
{
"type": "Control",
"label": "Letztes Normenupdate",
"scope": "#/properties/lastNormUpdate"
}
]
}
]
},
{
"type": "Control",
"scope": "#/properties/signature"
},
{
"type": "Control",
"scope": "#/properties/resources"
},
{
"type": "Control",
"scope": "#/properties/@type"
},
{
"type": "Control",
"scope": "#/properties/@id"
},
{
"type": "Control",
"scope": "#/properties/exponatsandpersons"
},
{
"type": "Control",
"scope": "#/properties/exponatsandcorporations"
}
]
}
21 changes: 21 additions & 0 deletions public/uischema/InvolvedPerson.uischema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"type": "VerticalLayout",
"elements": [
{
"type": "Control",
"scope": "#/properties/role"
},
{
"type": "Control",
"scope": "#/properties/person"
},
{
"type": "Control",
"scope": "#/properties/@type"
},
{
"type": "Control",
"scope": "#/properties/@id"
}
]
}
145 changes: 145 additions & 0 deletions public/uischema/Person.uischema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
{
"type": "VerticalLayout",
"elements": [
{
"type": "Group",
"label": "Allgemeine Daten der Person",
"elements": [
{
"type": "HorizontalLayout",
"elements": [
{
"type": "Control",
"label": "Name",
"scope": "#/properties/name"
},
{
"type": "Control",
"label": "Namensvarianten",
"scope": "#/properties/nameVariants"
}
]
},
{
"type": "HorizontalLayout",
"elements": [
{
"type": "Control",
"label": "Geschlecht",
"scope": "#/properties/gender"
},
{
"type": "Control",
"label": "Berufe",
"scope": "#/properties/profession"
}
]
},
{
"type": "Control",
"label": "Kurzbeschreibung",
"scope": "#/properties/description",
"options": {
"multi": true
}
},
{
"type": "HorizontalLayout",
"elements": [
{
"type": "VerticalLayout",
"elements": [
{
"type": "Control",
"label": "Geburtstag",
"scope": "#/properties/birthDate"
},
{
"type": "Control",
"label": "verstorben",
"scope": "#/properties/personDeceased"
}
]
},
{
"type": "Control",
"label": "Sterbedatum",
"scope": "#/properties/deathDate",
"rule": {
"effect": "SHOW",
"condition": {
"scope": "#/properties/personDeceased",
"schema": {
"const": true
}
}
}
}
]
}
]
},
{
"type": "Group",
"label": "autoritative Normdaten",
"elements": [
{
"type": "HorizontalLayout",
"elements": [
{
"type": "Control",
"label": "Authorität",
"scope": "#/properties/authority"
},
{
"type": "Control",
"label": "URI",
"scope": "#/properties/idAuthority"
},
{
"type": "Control",
"label": "Letztes Normenupdate",
"scope": "#/properties/lastNormUpdate"
}
]
}
]
},
{
"type": "Group",
"label": "Biographische Daten",
"elements": [
{
"type": "Control",
"label": "Mitgliedschaften",
"scope": "#/properties/memberOfCorp"
},
{
"type": "Control",
"label": "Arbeitsorte",
"scope": "#/properties/workplace"
}
]
},
{
"type": "Control",
"scope": "#/properties/exponatsandpersons"
},
{
"type": "Control",
"scope": "#/properties/involvedperson"
},
{
"type": "Control",
"scope": "#/properties/externalId"
},
{
"type": "Control",
"scope": "#/properties/@type"
},
{
"type": "Control",
"scope": "#/properties/@id"
}
]
}

0 comments on commit e7830ec

Please sign in to comment.