Skip to content

Requiring one of two properties #98

@sfolsom

Description

@sfolsom

I've tried to find in the DCTap specification if there's a way to capture that one of two properties/values is required, but I haven't found an obvious path forward.

Our use case is that in BIBFRAME you can signal that something is a monograph/text using one of two properties (rdf:type or bf:content), and when making a shape for monographs, we want to say one or the other needs to be present. (Similar to sh:or, https://www.w3.org/TR/shacl/#OrConstraintComponent)

Is this possible currently in DCTap? My hunch is that it might be too much to ask of a tab format, or not provisioned for yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions