11const schema = {
2- "id" : " Thing .json" ,
3- "title" : " Thing " ,
4- "format" : " http://schema.org/Thing " ,
5- "media" : {"type" : " application/json;profile=http://schema.org/Thing " },
2+ "id" : " SoftwareSourceCode .json" ,
3+ "title" : " SoftwareSourceCode " ,
4+ "format" : " http://schema.org/SoftwareSourceCode " ,
5+ "media" : {"type" : " application/json;profile=http://schema.org/SoftwareSourceCode " },
66 "type" : " object" ,
77 "properties" : {
8- "additionalType" : {
9- "type" : " array" ,
10- "items" : {
11- "type" : " string" ,
12- "format" : " uri" ,
13- "links" : [{
14- "rel" : " http://schema.org/additionalType" ,
15- "href" : " {+$}" ,
16- "linkSource" : 2
17- }]
18- }
19- },
20- "alternateName" : {
21- "type" : " array" ,
22- "items" : {"$ref" : " #/definitions/alternateName" }
23- },
24- "description" : {
25- "type" : " array" ,
26- "items" : {"$ref" : " #/definitions/description" }
27- },
28- "image" : {
29- "type" : " array" ,
30- "items" : {
31- "type" : " string" ,
32- "format" : " uri" ,
33- "links" : [{
34- "rel" : " http://schema.org/image" ,
35- "href" : " {+$}" ,
36- "linkSource" : 2
37- }]
38- }
8+
9+ "name" : {"type" : " string" , "description" : " Name of the software" },
10+ "codeRepository" : {
11+ "type" : " string" ,
12+ "format" : " uri"
3913 },
40- "name" : {"$ref" : " #/definitions/name" },
14+ "programmingLanguage" : {"type" : " string" },
15+ "license" : {"type" : " string" },
16+
4117 "sameAs" : {
42- "type" : " array" ,
43- "items" : {
4418 "type" : " string" ,
45- "format" : " uri" ,
46- "links" : [{
47- "rel" : " http://schema.org/sameAs" ,
48- "href" : " {+$}" ,
49- "linkSource" : 2
50- }]
51- }
19+ "format" : " uri"
5220 },
5321 "url" : {
5422 "type" : " string" ,
5523 "format" : " uri"
56- }
57- },
58- "links" : [{
59- "rel" : " self" ,
60- "href" : " {+url}"
61- }],
62- "definitions" : {
63- "array" : {
64- "type" : " array" ,
65- "items" : {"$ref" : " #" }
66- },
67- "possibleRef" : {
68- "oneOf" : [
69- {"$ref" : " #" },
70- {
71- "type" : " string" ,
72- "format" : " uri" ,
73- "links" : [{
74- "rel" : " full" ,
75- "href" : " {+$}"
76- }]
77- }
78- ]
79- },
80- "possibleRefArray" : {
81- "oneOf" : [
82- {
83- "type" : " string" ,
84- "format" : " uri" ,
85- "links" : [{
86- "rel" : " full" ,
87- "href" : " {+$}"
88- }]
89- },
90- {
91- "type" : " array" ,
92- "items" : {"$ref" : " #/definitions/possibleRef" }
93- }
94- ]
95- },
96- "alternateName" : {
97- "title" : " Alternate Name" ,
98- "description" : " An alias for the item." ,
99- "type" : " string"
100- },
101- "description" : {
24+ },
25+ "description" : {
10226 "title" : " Description" ,
10327 "description" : " A short description of the item." ,
10428 "type" : " string"
105- },
106- "name" : {
107- "title" : " Name" ,
108- "description" : " The name of the item." ,
109- "type" : " string"
11029 }
11130 }
112- }
31+ };
0 commit comments