Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion schemas/actors/consortium.schema.tpl.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"actor"
],
"required": [
"fullName"
"fullName",
"memberships"
],
"properties": {
"contactInformation": {
Expand All @@ -24,6 +25,15 @@
],
"_instruction": "Enter the internationalized resource identifier (IRI) to the homepage of this consortium."
},
"memberships": {
"minItems": 2,
"type": "array",
"uniqueItems": true,
"_instruction": "Add all membership records (one per member) for this consortium.",
"_embeddedTypes": [
"core:Membership"
]
},
"shortName": {
"type": "string",
"_instruction": "Enter a short name (or alias) for this consortium that could be used as a shortened display title (e.g., for web services with too little space to display the full name)."
Expand Down
9 changes: 9 additions & 0 deletions schemas/actors/organization.schema.tpl.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@
"jurisdiction"
]
},
"memberships": {
"minItems": 1,
"type": "array",
"uniqueItems": true,
"_instruction": "Add all membership records (one per member) for this organization. Who is considered a qualified member is typically defined in the organization’s membership agreements.",
"_embeddedTypes": [
"core:Membership"
]
},
"name": {
"type": "string",
"_instruction": "Enter the organization’s preferred name for use in international contexts."
Expand Down
28 changes: 28 additions & 0 deletions schemas/miscellaneous/membership.schema.tpl.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"_type": "core:Membership",
"required": [
"member"
],
"properties": {
"endDate": {
"_formats": [
"date"
],
"_instruction": "Enter the end date of this membership, formatted as 'YYYY-MM-DD'.",
"type": "string"
},
"member": {
"_instruction": "Add the actor associated with this membership.",
"_linkedCategories": [
"actor"
]
},
"startDate": {
"_formats": [
"date"
],
"_instruction": "Enter the start date of this membership, formatted as 'YYYY-MM-DD'.",
"type": "string"
}
}
}
Loading