contributions_v1.0.0.json 2.11 KB
Newer Older
1
2
{
  "title": "Indico Contributions schema v1.0.0",
3
4
  "id": "http://<host:port>/schemas/indico/contributions_v1.0.0.json",
  "$schema": "http://<host:port>/schemas/indico/contributions_v1.0.0.json",
5
6
7
8
9
  "type": "object",
  "properties": {
    "_access": {
      "type": "object",
      "properties": {
10
        "owner": {
11
12
13
14
15
          "type": "array",
          "items": {
            "type": "string"
          }
        },
16
        "read": {
17
18
19
20
21
          "type": "array",
          "items": {
            "type": "string"
          }
        },
22
        "update": {
23
24
25
26
27
          "type": "array",
          "items": {
            "type": "string"
          }
        },
28
        "delete": {
29
30
31
32
33
34
35
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
    "_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"
        }
      }
78
79
80
81
82
83
84
85
86
87
88
89
90
    },
    "start_date": {
      "type": "string",
      "description": "Contributions start date."
    },
    "end_date": {
      "type": "string",
      "description": "Contributions end date."
    },
    "$schema": {
      "type": "string"
    }
  }
Carina Antunes's avatar
Carina Antunes committed
91
}