The large textbox for file description should be divided to separate fields in order to:
- hide unneccesary wikisyntax for the user
- make it possible to turn some of them into dropdowns.
- reuse the same information in different publishing platform's APIs
Here's a first stab at what fields it should be divided into. For external modules with few API parameters, most should be "baked in" to the description field. Bold is mandatory field, italic recommended and no format is optional.
Swedish | English | description (sv) | Description (en) | Notes | Sketchfab API | Thingiverse API |
Titel | Title | en beskrivande titel | a descriptive title | Preferably check for uniqueness and blacklist to not cause errors during upload. If ASCII stl prepopulate with name from the file if available. | name | name |
Beskrivning | Description | beskriv filen | describe the file | description | description | |
Datum | Date | datum filen färdigställdes | date the file was finished | Populate with creation date of file | ||
Källa | Source | Var denna digitala filen kom från – det kan vara egen produktion, en URL eller en annan databas. | ||||
Skapare | Creator | Namnet på den/de som gjorde filen. | Name on person(s) who made the file | Populate with username on Wikimedia Commons. | ||
Avbildar | Depicts | Vad är det här en 3D-modell av? | What is this a 3D model of? | If possible, autocomplete from Wikidata (and allow for free text). | ||
Kategori | Category | lägg till kategorier | add categories | If possible, use hotcat or similar | tags | tags |
Licens | License | licens för filen | license for the file | Chose from dropdown, CC BY 4.0 is default. On Sketchfab there is CC BY 4.0, CC BY-SA 4.0 and CC 0 1.0. On Thingiverse there is CC BY 3.0, CC BY-SA 3.0, and CC 0 1.0. If both Sketchfab and Thingiverse is authorized, make the user aware of there will be different licenses usedfor BY and BY-SA. | license | license |
Sketchfab-kategori | Sketchfab category | Övergripande kategori som används på Sketchfab. | overarching category that is used on Sktechfab. | dropdownlist from https://api.sketchfab.com/v3/categories Only show if the Sketchfab account has been authorised. | categories | |
Thingiverse-kategori | Thingiverse category | Övergripande kategori som används på Thingiverse . | overarching category that is used on Thingiverse . | dropdownlist from GET /categories/ Only show if the Thingiverse account has been authorised. | category | |
Mått | Dimensions | Verkets dimensioner: 1D (längd), 2D (bredd × höjd) eller 3D (bredd × höjd × djup) . | Dimensions of object: 1D (length), 2D (width × heigth) or 3D (width × heigth × depth) . | Three sub-fields for width, length and heigth. If Wikidata was matched on "depicts" get P2043, P2048 och P2049. Fill in {{Size}}-format templates. If Wikidata was matched, but no values, add them on Wikidata. | ||
Institution | Institution | Gallery, museum or collection owning the piece. | If possible, automcomplete from the Institution namespace | |||
Inventarienummer | Accession number | Museets accessionsnummer eller annat inventarie- eller identifikationsnummer. | ||||
Föremålets historia | Object history | Proveniens (föremålets ägandehistorik/härkomst). | ||||
Modelleringsmetod | Modeling method | Sätt som 3D-modellen genererats på | Way the 3D model was generated | If possible, autocomplete from a query on Wikidata | ||
Antal polygoner | Number of polygons | Antal polygoner i modellen | Number of polygons in the model | Could possibly be extracted from file. If so, not editable. | ||
Antal foton | Number of photos | Antal foton som använts för att skapa modellen | Number of photos used to create the model | Only available if photogrammetry has been chosen as Modeling method. | ||
Originalformat | Original format | Ursprungligt format (om filen konverterades innan uppladdning) | Original format (if the file was converted before upload) | |||
Programvara | Software | Programvara som skapat filen | Software that generated the file | |||
Kamera/instrument-modell | Camera/instrument model | Modell på utrustningen som genererade 3D-modellen | Model of hardware used to generate the 3D model | Only available if photogrammetry/laser-scan/Lidar (or other predifined methods) has been chosen as Modeling method. |