Generate models from structured data in `lark/model`
The data model for authority objects should be managed by metadata staff working on the project. Their avenue for doing this is the specification files in lark/model
. Our internal valkyrie
models should be generated by those files.
This ticket is to take a first pass at this, generating the Concept
and Agent
model directly from the existing specification file to the degree possible.
Acceptance Criteria:
-
Concept
andAgent
's attributes are derived, to the degree possible, from the specification file. -
Gaps or other proposed changes to the specification file are documented for discussion (probably in a new ticket).
The model specification for Concept is at: https://gitlab.com/surfliner/surfliner/blob/master/lark/model/concept.yml
The model specification for Agent is at: https://gitlab.com/surfliner/surfliner/blob/master/lark/model/agent.yml
Edited by tamsin woo