Guide for naming metadata blocks and fields has been published #2
ardc-shorn
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Outcome of tech chat with SRO, RLE, STO on 2023-03-10.
As discussed, I've written up a guide for normalising the schema documentation and API implementation: https://github.com/au-research/raid-metadata/blob/main/doc/metadata-block-field-naming.md
It has some weirdness we didn't anticipate in the discussion, particularly related to the repercussions of going down the "duplicate block name by prefixing it onto the field name" route.
For the moment, I've said that
dates.startDate
is to be renamed asdate.dateStart
date.dateStartDate
? 🤢contributors.positions.startDate
becomescontributor.contributorPosition.contributorPositionStartDate
contributor.contributorPosition.positionStartDate
, based on modelling the "sub-block" type name asPosition
, instead of its current name ofContributorPosition
.startDate
you don't know what it's for - withcontributorPositionStartDate
, you know exactly what's going onThoughts?
Beta Was this translation helpful? Give feedback.
All reactions