-
Notifications
You must be signed in to change notification settings - Fork 3
/
license-schema.json
97 lines (97 loc) · 2.74 KB
/
license-schema.json
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
31
32
33
34
35
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"$id": "https://github.com/fairfield-programming/openlist/blob/main/license-schema.json",
"$schema": "http://json-schema.org/schema",
"title": "FPA License Schema",
"description": "A featured and verbose schema for describing open-source, source-available, and commercial licenses.",
"type": "object",
"properties": {
"id": {
"type": "string",
"title": "FPA License Identifier"
},
"name": {
"type": "string",
"title": "License Name or Title"
},
"creator": {
"type": [
"string",
"array"
],
"title": "The Author, Creator, Editor, or Publisher of the License"
},
"since": {
"type": [
"null",
"string",
"integer"
],
"title": "Release Date of the License"
},
"description": {
"type": "string",
"title": "Description of the Usage and History of the License"
},
"permissions": {
"type": "array",
"items": {
"type": "string",
"enum": [
"commercial-use",
"distribution",
"modification",
"private-use",
"patent-use"
]
},
"title": "License Permissions"
},
"conditions": {
"type": "array",
"items": {
"type": "string",
"enum": [
"license-notice",
"copyright-notice",
"state-changes",
"disclose-source",
"same-license-library",
"same-license-file",
"same-license",
"network-use-is-distribution"
]
},
"title": "License Conditions"
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"enum": [
"liability",
"warranty",
"trademark-usage"
]
},
"title": "License Limitations"
},
"body": {
"type": [
"string",
"array"
],
"minLength": 4,
"maxLength": 1000000,
"title": "License Body"
},
"type": {
"type": "string",
"enum": [
"open-source",
"source-available",
"commercial"
],
"title": "License Type"
}
}
}