-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathmetadata.schema.json
More file actions
112 lines (112 loc) · 2.88 KB
/
metadata.schema.json
File metadata and controls
112 lines (112 loc) · 2.88 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the language, tool, etc being described by this metadata."
},
"description": {
"type": "string",
"description": "A brief description of the language, tool, etc being described by this metadata."
},
"emoji": {
"description": "A Unicode emoji glyph to represent the entity, if applicable. If there is no suitable (Unicode) emoji, omit this field. Consumers may choose to ignore this field, or replace it with a custom image.",
"type": "string"
},
"domains": {
"type": "array",
"items": {
"type": "string",
"enum": [
"Web Development",
"Data Science",
"Mobile Development",
"Game Development",
"Systems Programming",
"Scripting",
"General Purpose",
"DevOps"
]
},
"description": "The domain(s) that the entity is commonly used in, or best suited for."
},
"category": {
"oneOf": [
{
"$ref": "#/$defs/CategoryLanguage"
},
{
"$ref": "#/$defs/CategoryPlatform"
},
{
"$ref": "#/$defs/CategoryTool"
}
]
}
},
"required": [
"name",
"description",
"domains",
"category"
],
"additionalProperties": false,
"$defs": {
"CategoryLanguage": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "Language"
},
"paradigms": {
"type": "array",
"items": {
"type": "string",
"enum": [
"Object-Oriented Programming",
"Functional Programming",
"Procedural Programming",
"Logic Programming"
]
},
"description": "The programming paradigms that this language focuses on, e.g. 'Object-Oriented Programming', 'Functional Programming', 'Procedural Programming', etc."
}
},
"required": [
"type",
"paradigms"
],
"additionalProperties": false
},
"CategoryPlatform": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "Platform"
}
},
"required": [
"type"
],
"additionalProperties": false,
"description": "A platform used to learn programming, which may teach a variety of languages and concepts."
},
"CategoryTool": {
"type": "object",
"properties": {
"type": {
"type": "string",
"const": "Tool"
}
},
"required": [
"type"
],
"additionalProperties": false
}
},
"$comment": "// Generated by index.ts - DO NOT EDIT THIS FILE DIRECTLY"
}