From 83ea25f6857b3368d29ea1edcf4e9145e6fd1634 Mon Sep 17 00:00:00 2001 From: David Maus <maus@hab.de> Date: Wed, 16 Jan 2019 12:30:15 +0100 Subject: [PATCH] Allow foaf:Person and foaf:Organization alongside dct:Agent --- public/instance/schema/shared-dc.rnc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/public/instance/schema/shared-dc.rnc b/public/instance/schema/shared-dc.rnc index e01c1f2fe..cd8dc37fd 100644 --- a/public/instance/schema/shared-dc.rnc +++ b/public/instance/schema/shared-dc.rnc @@ -1,7 +1,7 @@ # Wiederverwendbare Definition von Eigenschaften aus Dublin Core Qualified # # Autor: David Maus <maus@hab.de> -# Timestamp: <2019-01-16 12:29:00 maus> +# Timestamp: <2019-01-16 12:29:59 maus> # namespace dct = "http://purl.org/dc/terms/" @@ -45,9 +45,11 @@ property.rightsHolder = } entity.Agent = - element dct:Agent { - model.Entity - } + ( + element dct:Agent { model.Entity } + | element foaf:Person { model.Entity } + | element foaf:Organization { model.Entity } + ) property.label = element skos:prefLabel { -- GitLab