Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

Commit 83a2dbc

Browse files
authored
Merge pull request #419 from tdwg/sarah/415-personrole-hasmeasurementorfact
Sarah/415 personrole hasmeasurementorfact
2 parents 9dcca7f + a1f21b4 commit 83a2dbc

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

examples/class-level json examples/person-role-example.json

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"role": "Collection Contact",
2+
"role": "Collection Manager",
33
"startedAtTime": "1984-09-01",
44
"hasPerson":
55
[
@@ -51,5 +51,12 @@
5151
"contactDetailCategory": "email",
5252
"contactDetailValue": "[email protected]"
5353
}
54-
]
54+
],
55+
"hasMeasurementOrFact":
56+
[
57+
{
58+
"measurementType": "FTE person count",
59+
"measurementValue": 0.5
60+
}
61+
]
5562
}

standard/json-schema/person-role.json

+10-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,16 @@
8686
},
8787
"minItems": 1,
8888
"uniqueItems": true
89-
}
89+
},
90+
"hasMeasurementOrFact": {
91+
"description": "This property refers to one or more related instances of the MeasurementOrFact class.",
92+
"type": "array",
93+
"items": {
94+
"$ref": "https://raw.githubusercontent.com/tdwg/cd/master/standard/json-schema/measurement-or-fact.json"
95+
},
96+
"minItems": 1,
97+
"uniqueItems": true
98+
},
9099
},
91100
"required": [
92101
"role"

standard/terms/ltc_standard_terms_draft.csv

+1
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ ltc:,hasIdentifier,Has Identifier,This property refers to one or more related in
158158
ltc:,hasPerson,Has Person,This property refers to one or more related instances of the Person class.,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,PersonRole,No,No,array of ltc:Person,original,08/07/2022,
159159
ltc:,hasReference,Has Reference,This property refers to one or more related instances of the Reference class.,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,PersonRole,No,No,array of ltc:Reference,original,08/07/2022,
160160
ltc:,hasTemporalCoverage,Has Temporal Coverage,This property refers to one or more related instances of the TemporalCoverage class.,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,PersonRole,No,No,array of ltc:TemporalCoverage,original,08/07/2022,
161+
ltc:,hasMeasurementOrFact,Has Measurement Or Fact,This property refers to one or more related instances of the MeasurementOrFact class.,,,,http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,PersonRole,No,No,array of ltc:MeasurementOrFact,proposed,22/09/2022,
161162
ltc:,PersonRole,Person Role,A qualified association between a Person or OrganisationalUnit and an entity such as an ObjectGroup or MeasurementOrFact that enables the relationship to be contextualised with a specific role and time period.,,"This class is aligned with the prov:qualifiedAttribution property (http://www.w3.org/ns/prov#qualifiedAttribution). It should be used instead of the Activity and PersonActivity classes to link a Person or OrganisationalUnit to an entity in situations where an activity is not know or is irrelevant, for example for describing a person's role within an organisation.",,http://www.w3.org/2000/01/rdf-schema#Class,PersonRole,No,Yes,object,original,08/07/2022,
162163
ltc:,endedAtTime,Ended At Time,The date or time when a Person stopped fulfilling the role specified in the role property.,,This property maps to the PROV-O term endedAtTime (http://www.w3.org/ns/prov#endedAtTime) in the Activity class (http://www.w3.org/ns/prov#Activity).,"`1886`, `1984-09`, `2001-10-22`, `1997-07-16T19:20+01:00`, `1997-07-16T19:20:30+01:00`",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,PersonRole,No,No,string,original,08/07/2022,
163164
ltc:,role,Role,"A role played by a Person in the context of an entity such as an ObjectGroup, OrganisationalUnit or RecordLevel.",,This property maps to the PROV-O property hadRole (http://www.w3.org/ns/prov#hadRole).,"`Director`, `Chair`, `Record owner`, `Primary Collection Description record contact`, `Primary collection contact`, `Owner`, `Curator`, `Collection manager`, `Head of department`, `Registrar`",http://www.w3.org/1999/02/22-rdf-syntax-ns#Property,PersonRole,Yes,No,string,original,08/07/2022,

0 commit comments

Comments
 (0)