subcontributions_v1.0.0.json 2.06 KB
Newer Older
1
2
{
  "title": "Indico Subontributions schema v1.0.0",
3
4
  "id": "http://<host:port>/schemas/indico/subcontributions_v1.0.0.json",
  "$schema": "http://<host:port>/schemas/indico/subcontributions_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
    "_data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "Subcontributions id."
        },
        "category_path": {
          "type": "array",
          "items": {
            "type": "string"
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
          "description": "Subcontributions category path (ordered array)."
        },
        "event_id": {
          "type": "integer",
          "description": "Event id."
        },
        "contribution_id": {
          "type": "integer",
          "description": "Contribution id."
        },
        "location": {
          "type": "string",
          "description": "Subcontributions location."
        },
        "title": {
          "type": "string",
          "description": "Subcontributions title."
        },
        "description": {
          "type": "string",
          "description": "Subcontributions description."
        },
        "list_of_persons": {
          "type": "array",
          "items": {
            "type": "string"
74
          },
75
76
77
78
79
          "description": "Subcontributions person's name, affiliation."
        },
        "url": {
          "type": "string",
          "description": "Full path Subcontributions URL"
80
81
82
83
84
85
86
        }
      }
    },
    "$schema": {
      "type": "string"
    }
  }
Carina Antunes's avatar
Carina Antunes committed
87
}