Skip to content

how to express creator roles and display order of the data #572

@beaudet

Description

@beaudet

This is part of a production activity.

How can I best convey the data for the role and displayOrder listed below? Wrangling the JSON generation code to convey the ordering via the natural ordering within the JSON seems unlikely to cause that ordering to be retained if the data is manipulated in various ways, so I'd prefer to be explicit about it. It's certainly tied to the "view" but I it's also expressive of a desired curatorial ordering so it should be present in more than just the order of the array in which it appears I think. Also, in the context of object creation, the creator is always listed with a roleType of "artist" in our particular data, but there are numerous sub-roles under "artist", e.g. painter, sculpture, etc. and those roles are specific to the intersection of the created object and the creator, not a general professional capacity the artist has.

Is there a way to express either or both of these in the data without having to resort to a custom property container like custom_metadata?

    "carried_out_by": [
        {
            "id": "https://id.nga.gov/1c36bc84-1afa-4a6d-972a-f9b437e94bd4",
            "type": "Actor",
            "_label": "Arbo, Aurelia",
            "custom_metadata": {
                "roleType": "artist",
                "role": "artist",
                "displayOrder": 1
            }
        }
    ],

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs-neededDecision has taken place, needs to be documentedmodelThe issue relates to the linked open data model

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions