Commit 0ce16622 authored by Carina Antunes's avatar Carina Antunes
Browse files

Revert "Update indico jsonschemas and mappings"

This reverts commit c3f822c1
parent c3f822c1
{
"title": "Indico Attachments schema v1.0.0",
"id": "http://<host:port>/schemas/indico/attachments_v1.0.0.json",
"$schema": "http://<host:port>/schemas/indico/attachments_v1.0.0.json",
"id": "http://localhost:5000/schemas/indico/attachments_v1.0.0.json",
"$schema": "http://localhost:5000/schemas/indico/attachments_v1.0.0.json",
"type": "object",
"properties": {
"_access": {
"type": "object",
"properties": {
"owner": {
"owner":{
"type": "array",
"items": {
"type": "string"
}
},
"read": {
"read":{
"type": "array",
"items": {
"type": "string"
}
},
"update": {
"update":{
"type": "array",
"items": {
"type": "string"
}
},
"delete": {
"delete":{
"type": "array",
"items": {
"type": "string"
......@@ -33,52 +33,46 @@
}
}
},
"_data": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Attachments id."
},
"category_path": {
"type": "array",
"items": {
"type": "string"
},
"description": "Attachments category path (ordered array)."
},
"event_id": {
"type": "integer",
"description": "Event id."
},
"contribution_id": {
"type": "integer",
"description": "Contribution id.",
"required": false
},
"subcontribution_id": {
"type": "integer",
"description": "Event id.",
"required": false
},
"filename": {
"type": "string",
"description": "Attachments filename."
},
"content": {
"type": "string",
"description": "Attachments content."
},
"url": {
"type": "string",
"description": "Full path Attachment URL"
}
}
"id": {
"type": "string",
"description": "Attachments id."
},
"category_path": {
"type": "array",
"items": {
"type": "string"
},
"description": "Attachments category path (ordered array)."
},
"event_id": {
"type": "string",
"description": "Event id."
},
"contribution_id": {
"type": "string",
"description": "Contribution id.",
"required": false
},
"subcontribution_id": {
"type": "string",
"description": "Event id.",
"required": false
},
"creation_date": {
"type": "string",
"description": "Attachments creation date."
},
"filename": {
"type": "string",
"description": "Attachments filename."
},
"content": {
"type": "string",
"description": "Attachments content."
},
"custom_pid": {
"type": "string"
},
"$schema": {
"type": "string"
}
......
{
"title": "Indico Contributions schema v1.0.0",
"id": "http://<host:port>/schemas/indico/contributions_v1.0.0.json",
"$schema": "http://<host:port>/schemas/indico/contributions_v1.0.0.json",
"id": "http://localhost:5000/schemas/indico/contributions_v1.0.0.json",
"$schema": "http://localhost:5000/schemas/indico/contributions_v1.0.0.json",
"type": "object",
"properties": {
"_access": {
"type": "object",
"properties": {
"owner": {
"owner":{
"type": "array",
"items": {
"type": "string"
}
},
"read": {
"read":{
"type": "array",
"items": {
"type": "string"
}
},
"update": {
"update":{
"type": "array",
"items": {
"type": "string"
}
},
"delete": {
"delete":{
"type": "array",
"items": {
"type": "string"
......@@ -33,48 +33,24 @@
}
}
},
"_data": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Contributions id."
},
"category_path": {
"type": "array",
"items": {
"type": "string"
},
"description": "Contributions category path (ordered array)."
},
"event_id": {
"type": "integer",
"description": "Event id."
},
"location": {
"type": "string",
"description": "Contributions location."
},
"title": {
"type": "string",
"description": "Contributions title."
},
"description": {
"type": "string",
"description": "Contributions description."
},
"list_of_persons": {
"type": "array",
"items": {
"type": "string"
},
"description": "Contributions person's name, affiliation."
},
"url": {
"type": "string",
"description": "Full path Contribution URL"
}
}
"id": {
"type": "string",
"description": "Contributions id."
},
"category_path": {
"type": "array",
"items": {
"type": "string"
},
"description": "Contributions category path (ordered array)."
},
"event_id": {
"type": "string",
"description": "Event id."
},
"creation_date": {
"type": "string",
"description": "Contributions creation date."
},
"start_date": {
"type": "string",
......@@ -84,6 +60,44 @@
"type": "string",
"description": "Contributions end date."
},
"location": {
"type": "string",
"description": "Contributions location."
},
"title": {
"type": "string",
"description": "Contributions title."
},
"description": {
"type": "string",
"description": "Contributions description."
},
"list_of_persons": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Contributions person's name."
},
"affiliation": {
"type": "string",
"description": "Contributions person's affiliation."
},
"role": {
"type": "array",
"items": {
"type": "string"
},
"description": "Contributions person's role(s)."
}
}
}
},
"custom_pid": {
"type": "string"
},
"$schema": {
"type": "string"
}
......
{
"title": "Indico Event schema v1.0.0",
"id": "http://<host:port>/schemas/indico/events_v1.0.0.json",
"$schema": "http://<host:port>/schemas/indico/events_v1.0.0.json",
"id": "http://localhost:5000/schemas/indico/events_v1.0.0.json",
"$schema": "http://localhost:5000/schemas/indico/events_v1.0.0.json",
"type": "object",
"properties": {
"_access": {
"type": "object",
"properties": {
"owner": {
"owner":{
"type": "array",
"items": {
"type": "string"
}
},
"read": {
"read":{
"type": "array",
"items": {
"type": "string"
}
},
"update": {
"update":{
"type": "array",
"items": {
"type": "string"
}
},
"delete": {
"delete":{
"type": "array",
"items": {
"type": "string"
......@@ -33,48 +33,20 @@
}
}
},
"_data": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Event id."
},
"category_path": {
"type": "array",
"items": {
"type": "string"
},
"description": "Event category path (ordered array)."
},
"event_type": {
"type": "string",
"description": "Event type."
},
"location": {
"type": "string",
"description": "Event location."
},
"title": {
"type": "string",
"description": "Event title."
},
"description": {
"type": "string",
"description": "Event description."
},
"speakers_chairs": {
"type": "array",
"items": {
"type": "string"
},
"description": "Event speaker/chair name, affiliation."
},
"url": {
"type": "string",
"description": "Full path Event URL"
}
}
"id": {
"type": "string",
"description": "Event id."
},
"category_path": {
"type": "array",
"items": {
"type": "string"
},
"description": "Event category path (ordered array)."
},
"event_type": {
"type": "string",
"description": "Event type."
},
"creation_date": {
"type": "string",
......@@ -88,6 +60,37 @@
"type": "string",
"description": "Event end date."
},
"location": {
"type": "string",
"description": "Event location."
},
"title": {
"type": "string",
"description": "Event title."
},
"description": {
"type": "string",
"description": "Event description."
},
"speakers_chairs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Event speaker/chair name."
},
"affiliation": {
"type": "string",
"description": "Event speaker/chair affiliation."
}
}
}
},
"custom_pid": {
"type": "string"
},
"$schema": {
"type": "string"
}
......
{
"title": "Indico Notes schema v1.0.0",
"id": "http://<host:port>/schemas/indico/notes_v1.0.0.json",
"$schema": "http://<host:port>/schemas/indico/notes_v1.0.0.json",
"id": "http://localhost:5000/schemas/indico/notes_v1.0.0.json",
"$schema": "http://localhost:5000/schemas/indico/notes_v1.0.0.json",
"type": "object",
"properties": {
"_access": {
"type": "object",
"properties": {
"owner": {
"owner":{
"type": "array",
"items": {
"type": "string"
}
},
"read": {
"read":{
"type": "array",
"items": {
"type": "string"
}
},
"update": {
"update":{
"type": "array",
"items": {
"type": "string"
}
},
"delete": {
"delete":{
"type": "array",
"items": {
"type": "string"
......@@ -33,53 +33,42 @@
}
}
},
"_data": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Notes id."
},
"category_path": {
"type": "array",
"items": {
"type": "string"
},
"description": "Notes category path (ordered array)."
},
"event_id": {
"type": "integer",
"description": "Notes id."
},
"contribution_id": {
"type": "integer",
"description": "Notes id.",
"required": false
},
"subcontribution_id": {
"type": "integer",
"description": "Notes id.",
"required": false
},
"session_id": {
"type": "integer",
"description": "Notes id.",
"required": false
},
"content": {
"type": "string",
"description": "Attachments content."
},
"url": {
"type": "string",
"description": "Full path Note URL"
}
}
"id": {
"type": "string",
"description": "Notes id."
},
"category_path": {
"type": "array",
"items": {
"type": "string"
},
"description": "Notes category path (ordered array)."
},
"event_id": {
"type": "string",
"description": "Notes id."
},
"contribution_id": {
"type": "string",
"description": "Notes id.",
"required": false
},
"subcontribution_id": {
"type": "string",
"description": "Notes id.",
"required": false
},
"creation_date": {
"type": "string",
"description": "Attachments creation date."
},
"content": {
"type": "string",
"description": "Attachments content."
},
"custom_pid": {
"type": "string"
},
"$schema": {
"type": "string"
}
......
{
"title": "Indico Subontributions schema v1.0.0",
"id": "http://<host:port>/schemas/indico/subcontributions_v1.0.0.json",
"$schema": "http://<host:port>/schemas/indico/subcontributions_v1.0.0.json",
"id": "http://localhost:5000/schemas/indico/subcontributions_v1.0.0.json",
"$schema": "http://localhost:5000/schemas/indico/subcontributions_v1.0.0.json",
"type": "object",
"properties": {
"_access": {
"type": "object",
"properties": {
"owner": {
"owner":{
"type": "array",
"items": {
"type": "string"
}
},
"read": {
"read":{
"type": "array",
"items": {
"type": "string"
}
},
"update": {
"update":{
"type": "array",
"items": {
"type": "string"
}
},
"delete": {
"delete":{
"type": "array",