Skip to content

allow plural in type #300

@lueck

Description

@lueck

For type properties throughout the LOD schema of the specs, plural should be allowed.

E.g., the specs require the type of a resource object returned by the collection endpoint to be of "@type": "Resource". Good! This tells us, that the object is a dts:Resource.

Now, consider, that this same object is not only a dts:Resource but also a frbr:Manifestation or a lrm:F5 in terms of FRBR or LRM. Thus, we want:

"@type": [ "Resource", "lrm:F5" ]

Allowing plural for the type is especially important after allowing nested metadata objects in #280, which was essential for providing useful RDF data through the endpoints.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DTS SchemeProperties and vocabulary tied to DTS

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions