Skip to content
Snippets Groups Projects
Commit 8de15dd0 authored by Jonas Müller-Laackman's avatar Jonas Müller-Laackman
Browse files

update: relation type

parent 0275d6c2
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,7 @@
"leaflet.markercluster": "^1.5.3",
"timelines-chart": "^2.11.5",
"unisort": "^1.1.0",
"uuid": "^8.3.2",
"vis-timeline": "^7.5.1",
"vue": "^3.2.13",
"vue-router": "^4.0.15"
......
......@@ -16,6 +16,7 @@
"leaflet.markercluster": "^1.5.3",
"timelines-chart": "^2.11.5",
"unisort": "^1.1.0",
"uuid": "^8.3.2",
"vis-timeline": "^7.5.1",
"vue": "^3.2.13",
"vue-router": "^4.0.15"
......
This diff is collapsed.
......@@ -3,7 +3,7 @@
[![Generic badge](https://img.shields.io/badge/IndexSchema-v0.1.1-blue.svg)](#indexschema)
[![Generic badge](https://img.shields.io/badge/ProjectsSchema-v0.1.5-blue.svg)](#projectsschema)
[![Generic badge](https://img.shields.io/badge/ProjectsSchema-v0.1.6-blue.svg)](#projectsschema)
[![Generic badge](https://img.shields.io/badge/ResourcesSchema-v0.1.0-blue.svg)](#resourcesschema)
# Closing the Gap in Non-Latin Script Data
......
......@@ -164,16 +164,8 @@
}
}
},
"parents": {
"description": "Entities that are superordinated to the project",
"$ref": "#/definitions/relatives"
},
"siblings": {
"description": "Partner projects",
"$ref": "#/definitions/relatives"
},
"children": {
"description": "Subprojects of the project",
"relations": {
"description": "Entities that are related to the project",
"$ref": "#/definitions/relatives"
},
"contacts": {
......@@ -555,6 +547,12 @@
"org_name"
],
"properties": {
"relation_type": {
"type": "string",
"enum": [
"parent", "sibling", "child"
]
},
"type": {
"type": "string",
"const": "organisation"
......@@ -587,6 +585,12 @@
"title"
],
"properties": {
"relation_type": {
"type": "string",
"enum": [
"parent", "sibling", "child"
]
},
"type": {
"type": "string",
"const": "project"
......@@ -616,6 +620,12 @@
},
{
"description": "If the entity is a project with a uuid",
"relation_type": {
"type": "string",
"enum": [
"parent", "sibling", "child"
]
},
"type": "object",
"required": [
"type",
......@@ -637,6 +647,12 @@
},
{
"description": "If the entity is an organisation with a uuid",
"relation_type": {
"type": "string",
"enum": [
"parent", "sibling", "child"
]
},
"type": "object",
"required": [
"type",
......
{
"schema_version": "0.1.5",
"schema_version": "0.1.6",
"record_metadata": {
"uuid": "",
"record_created": "",
......@@ -52,8 +52,9 @@
"rdm": true,
"infrastructure": true
},
"parents": [
"relations": [
{
"relation_type": "parent",
"type": "organisation",
"org_name": {
"text": "",
......@@ -74,11 +75,10 @@
}
}
],
"parents": [],
"siblings": [],
"children": []
"relations": []
},
{
"relation_type": "parent",
"type": "project",
"title": "",
"ref": [
......@@ -97,16 +97,16 @@
}
}
],
"parents": [],
"siblings": [],
"children": []
"relations": []
},
{
"relation_type": "parent",
"type": "project",
"title": "",
"uuid": ""
},
{
"relation_type": "parent",
"type": "organisation",
"org_name": {
"text": "",
......@@ -117,8 +117,6 @@
"uuid": ""
}
],
"children": [],
"siblings": [],
"contacts": [
{
"pers_name": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment