LD4P / sinopia_editor

Sinopia Linked Data Editor
https://sinopia.io/
Apache License 2.0
35 stars 10 forks source link

Change template for URI and lookup defaults #3414

Closed justinlittman closed 2 years ago

justinlittman commented 2 years ago

The current approach for modeling URI and lookup defaults was implemented before labels were correctly supported in the Sinopia Editor. As a result, defaults are modeled as a nested resource with separate URI and label properties:

image

It is proposed to change defaults to be a "plain-old" URI: image

Sinopia will continue to load templates with legacy default URIs so the change will transparent for template users. However, when editing the template, the legacy default URIs would be dropped and need to be re-entered by the template author: image

On stage, here are the templates that have URI defaults:

Frick:RT:bf2:ArtistFile:Instance.json
Frick:RT:bf2:ArtistFile:Item.json
Frick:RT:bf2:ArtistFile:Work.json
Frick:RT:bf2:ArtistFileMount:Item.json
Frick:RT:bf2:AuctionCatalog:Instance.json
Frick:RT:bf2:AuctionCatalog:Item.json
Frick:RT:bf2:AuctionCatalog:Work.json
Frick:RT:bf2:HistoricAuctionCatalog:Instance.json
Frick:RT:bf2:HistoricAuctionCatalog:Item.json
Frick:RT:bf2:HistoricAuctionCatalog:Work.json
Frick:RT:bf2:Monograph:Instance.json
Frick:RT:bf2:Monograph:Item.json
Frick:RT:bf2:Monograph:Work.json
Frick:RT:bf2:WebArchive:Item.json
Frick:RT:bf2:WebArchive:Work.json
PMO:bf2:ldwg:AudioWorkWithContributionAndMopSimple.json
Stanford:bf2:AdminMetadata.json
Stanford:bf2:Monograph:Instance.json
Stanford:bf2:Monograph:Work.json
Stanford:pcc:bf2:AdminMetadata.json
Stanford:pcc:bf2:Monograph:Instance.json
Stanford:pcc:bf2:Monograph:Work.json
TAMU:RT:BF2:AdminMetadata.json
TAMU:RT:BF2:Monograph:Instance.json
TAMU:RT:BF2:Monograph:Instance:Un-nested.json
TAMU:RT:BF2:Monograph:Work.json
TAMU:RT:BF2:Monograph:Work:Un-nested.json
TAMU:RT:BF2:Object:Instance:Un-nested.json
TAMU:RT:BF2:Object:Work:Un-nested.json
TAMU:RT:bf2:Monograph:Item:Nested.json
TAMU:RT:bf2:Monograph:Item:Un-nested.json
UAL:resourceTemplate:bf2:Monograph:Instance.json
UAL:resourceTemplate:bf2:Monograph:Instance:Un-Nested.json
UAL:resourceTemplate:bf2:Monograph:Work.json
UAL:resourceTemplate:bf2:Monograph:Work:Un-Nested.json
UAL:resourceTemplate:bf2:Serial:Instance.json
UAL:resourceTemplate:bf2:Serial:Work.json
UChicago:RT:BF2:AdminMetadata.json
UChicago:RT:bf2:Monograph:Instance.json
UChicago:RT:bf2:Monograph:Work.json
UMN:RT:BF2:AdminMetadata.json
UMN:RT:bf2:Monograph:Instance:Un-nested.json
UMN:RT:bf2:Monograph:Item:Un-nested.json
UMN:RT:bf2:RareMat:Instance.json
USER:RT:RDA:Expression:dvdVideo.json
USER_EDITED:RT:RDA:Work:eMap.json
example:template.json
hrc:RT:ARM:BoundWith.json
hrc:RT:bf2:AdminMetadata.json
hrc:RT:bf2:AdminMetadata:Modification.json
hrc:RT:bf2:RareMat:Instance.json
hrc:RT:bf2:RareMat:Item.json
hrc:RT:bf2:RareMat:RefInstance:SCF.json
hrc:RT:bf2:RareMat:Work.json
hrc:RT:bf2:RareMat:Work:Expression.json
ld4p:RT:bf2:2DGraphicMaterial:Instance:Un-nested.json
ld4p:RT:bf2:AdminMetadata.json
ld4p:RT:bf2:AdminMetadata:BFDB.json
ld4p:RT:bf2:Cartographic:Instance.json
ld4p:RT:bf2:Cartographic:Instance:unnested.json
ld4p:RT:bf2:Cartographic:Work.json
ld4p:RT:bf2:Cartographic:Work:unnested.json
ld4p:RT:bf2:FileType.json
ld4p:RT:bf2:MIBluRayDVD:FileType.json
ld4p:RT:bf2:MIBluRayDVD:Instance.json
ld4p:RT:bf2:MIBluRayDVD:Instance:Un-nested.json
ld4p:RT:bf2:MIBluRayDVD:Work.json
ld4p:RT:bf2:MIBluRayDVD:Work:Un-nested.json
ld4p:RT:bf2:Monograph:Instance.json
ld4p:RT:bf2:Monograph:Instance:Un-nested.json
ld4p:RT:bf2:Monograph:Work.json
ld4p:RT:bf2:Monograph:Work:Un-nested.json
ld4p:RT:bf2:MovingImageDVD:FileType.json
ld4p:RT:bf2:Playback.json
ld4p:RT:bf2:PrintPhoto:Instance.json
ld4p:RT:bf2:RareMat:Instance.json
ld4p:RT:bf2:RareMat:RBMS.json
ld4p:RT:bf2:RareMat:Work.json
ld4p:RT:bf2:Serial:Instance.json
ld4p:RT:bf2:Serial:Instance:Un-nested.json
ld4p:RT:bf2:Serial:Work.json
ld4p:RT:bf2:Serial:Work:Un-nested.json
ld4p:RT:bf2:SoundContent.json
ld4p:RT:bf2:TypeRec.json
pcc:bf2:AdminMetadata.json
pcc:bf2:Agent:RWO.json
pcc:bf2:Agent:RWO:PersonCorporate.json
pcc:bf2:AudioRecording:Instance.json
pcc:bf2:AudioRecording:Instance:SingleTemplate.json
pcc:bf2:AudioRecording:Work.json
pcc:bf2:AudioRecording:Work:Simplified.json
pcc:bf2:Monograph:Instance.json
pcc:bf2:Monograph:Work.json
pcc:bf2:Music:Work:Hub.json
pcc:bf2:NotatedMusic:Instance:Simplified.json
pcc:bf2:NotatedMusic:Work.json
pcc:bf2:NotatedMusic:Work:Simplified.json
pcc:bf2:Serial:Instance.json
pcc:bf2:Serial:Work.json
pcc:bf2:pmo:Mop:MediumComponentQualifier.json
pcc:bf2:pmo:Mop:MediumType.json
pmo:bf2:kk:AgentSimplifiedPMO:RWO.json
pmo:bf2:ldwg:AgentEntry.json
pmo:bf2:ldwg:MediumComponentQualifierURI.json
pmo:bf2:ldwg:MediumTypeURI.json
pmo:bf2:ldwg:TitleSelectType.json
stanford:RT:BF2:AdminMetadata.json
test:template:one_field.json
test:template:one_field:again.json
test:urilabel.json
ucd:bf2:AdminMetadata.json
wau:Manifestation:test:stage.json

Should we proceed with this change?

NancyL commented 2 years ago

Yes, I think this is important enough that we should move ahead. Michelle & I can work with the template owners to both warn them and help them fix the templates in question.