gitlab-org--gitlab-foss/spec/fixtures/api/schemas/public_api/v4/license.json

31 lines
827 B
JSON
Raw Normal View History

2018-10-02 19:00:38 -04:00
{
"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
}