File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ This is the root object of the OpenCLI Description.
143143| ------------| :----:| ---------------| -------------|
144144| name | ` string ` | - | The license name |
145145| identifier | ` string ` | - | The [ SPDX] ( https://spdx.org/licenses/ ) license identifier |
146+ | uri | ` string ` | - | The URI for the license. This MUST be in the form of a URI |
146147
147148#### Command Object
148149
Original file line number Diff line number Diff line change 77 "description" : " The .NET CLI" ,
88 "license" : {
99 "name" : " MIT License" ,
10- "identifier" : " MIT"
10+ "identifier" : " MIT" ,
11+ "url" : " https://opensource.org/license/mit"
1112 }
1213 },
1314 "options" : [
5758 ]
5859 }
5960 ]
60- }
61+ }
Original file line number Diff line number Diff line change 351351 "identifier" : {
352352 "type" : " string" ,
353353 "description" : " The SPDX license identifier"
354+ },
355+ "url" : {
356+ "type" : " string" ,
357+ "description" : " The URI for the license. This MUST be in the form of a URI"
354358 }
355359 }
356360 },
375379 "pattern" : " .+\\ @.+\\ ..+"
376380 }
377381 }
378- }
382+ }
Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ title: Examples
1818 "description" : " The .NET CLI" ,
1919 "license" : {
2020 "name" : " MIT License" ,
21- "identifier" : " MIT"
21+ "identifier" : " MIT" ,
22+ "url" : " https://opensource.org/license/mit"
2223 }
2324 },
2425 "options" : [
@@ -69,4 +70,4 @@ title: Examples
6970 }
7071 ]
7172}
72- ```
73+ ```
Original file line number Diff line number Diff line change @@ -83,6 +83,9 @@ model License {
8383
8484 @ doc ("The SPDX license identifier" )
8585 identifier ? : string ;
86+
87+ @ doc ("The URI for the license. This MUST be in the form of a URI" )
88+ url ? : string ;
8689}
8790
8891model Command {
@@ -199,4 +202,4 @@ model Arity {
199202model Metadata {
200203 name : string ;
201204 value ? : unknown ;
202- }
205+ }
You can’t perform that action at this time.
0 commit comments