summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/public_api/v4/license.json
blob: 38c8c3e9192714f0b52b207eccd6e6b484531e69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  "type": "object",
  "required": [
    "key",
    "name",
    "nickname",
    "popular",
    "html_url",
    "source_url",
    "description",
    "conditions",
    "permissions",
    "limitations",
    "content"
  ],
  "properties": {
    "key": { "type": "string" },
    "name": { "type": "string" },
    "nickname": { "type": ["null", "string"] },
    "popular": { "type": "boolean" },
    "html_url": { "type": ["null", "string"] },
    "source_url": { "type": ["null", "string"] },
    "description": { "type": ["null", "string"] },
    "conditions": { "type": "array", "items": { "type": "string" } },
    "permissions": { "type": "array", "items": { "type": "string" } },
    "limitations": { "type": "array", "items": { "type": "string" } },
    "content": { "type": "string" }
  },
  "additionalProperties": false
}