@decantr/registry 1.0.0-beta.9 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,67 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://decantr.ai/schemas/public-content-summary.v1.json",
4
+ "title": "Decantr Public Content Summary",
5
+ "type": "object",
6
+ "required": [
7
+ "id",
8
+ "slug",
9
+ "namespace",
10
+ "type"
11
+ ],
12
+ "properties": {
13
+ "id": {
14
+ "type": "string"
15
+ },
16
+ "slug": {
17
+ "type": "string"
18
+ },
19
+ "namespace": {
20
+ "type": "string"
21
+ },
22
+ "type": {
23
+ "type": "string"
24
+ },
25
+ "version": {
26
+ "type": "string"
27
+ },
28
+ "name": {
29
+ "type": "string"
30
+ },
31
+ "description": {
32
+ "type": "string"
33
+ },
34
+ "published_at": {
35
+ "type": "string"
36
+ },
37
+ "owner_name": {
38
+ "type": [
39
+ "string",
40
+ "null"
41
+ ]
42
+ },
43
+ "owner_username": {
44
+ "type": [
45
+ "string",
46
+ "null"
47
+ ]
48
+ },
49
+ "thumbnail_url": {
50
+ "type": [
51
+ "string",
52
+ "null"
53
+ ]
54
+ },
55
+ "intelligence": {
56
+ "anyOf": [
57
+ {
58
+ "$ref": "https://decantr.ai/schemas/content-intelligence.v1.json"
59
+ },
60
+ {
61
+ "type": "null"
62
+ }
63
+ ]
64
+ }
65
+ },
66
+ "additionalProperties": false
67
+ }
@@ -0,0 +1,81 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://decantr.ai/schemas/registry-intelligence-summary.v1.json",
4
+ "title": "Decantr Registry Intelligence Summary",
5
+ "type": "object",
6
+ "required": [
7
+ "$schema",
8
+ "generated_at",
9
+ "namespace",
10
+ "totals",
11
+ "by_type"
12
+ ],
13
+ "$defs": {
14
+ "bucket": {
15
+ "type": "object",
16
+ "required": [
17
+ "total_public_items",
18
+ "with_intelligence",
19
+ "recommended",
20
+ "authored",
21
+ "benchmark",
22
+ "hybrid",
23
+ "missing_source",
24
+ "smoke_green",
25
+ "build_green",
26
+ "high_confidence",
27
+ "verified_confidence"
28
+ ],
29
+ "properties": {
30
+ "total_public_items": { "type": "integer", "minimum": 0 },
31
+ "with_intelligence": { "type": "integer", "minimum": 0 },
32
+ "recommended": { "type": "integer", "minimum": 0 },
33
+ "authored": { "type": "integer", "minimum": 0 },
34
+ "benchmark": { "type": "integer", "minimum": 0 },
35
+ "hybrid": { "type": "integer", "minimum": 0 },
36
+ "missing_source": { "type": "integer", "minimum": 0 },
37
+ "smoke_green": { "type": "integer", "minimum": 0 },
38
+ "build_green": { "type": "integer", "minimum": 0 },
39
+ "high_confidence": { "type": "integer", "minimum": 0 },
40
+ "verified_confidence": { "type": "integer", "minimum": 0 }
41
+ },
42
+ "additionalProperties": false
43
+ }
44
+ },
45
+ "properties": {
46
+ "$schema": {
47
+ "const": "https://decantr.ai/schemas/registry-intelligence-summary.v1.json"
48
+ },
49
+ "generated_at": {
50
+ "type": "string"
51
+ },
52
+ "namespace": {
53
+ "type": [
54
+ "string",
55
+ "null"
56
+ ]
57
+ },
58
+ "totals": {
59
+ "$ref": "#/$defs/bucket"
60
+ },
61
+ "by_type": {
62
+ "type": "object",
63
+ "required": [
64
+ "pattern",
65
+ "theme",
66
+ "blueprint",
67
+ "archetype",
68
+ "shell"
69
+ ],
70
+ "properties": {
71
+ "pattern": { "$ref": "#/$defs/bucket" },
72
+ "theme": { "$ref": "#/$defs/bucket" },
73
+ "blueprint": { "$ref": "#/$defs/bucket" },
74
+ "archetype": { "$ref": "#/$defs/bucket" },
75
+ "shell": { "$ref": "#/$defs/bucket" }
76
+ },
77
+ "additionalProperties": false
78
+ }
79
+ },
80
+ "additionalProperties": false
81
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://decantr.ai/schemas/search-response.v1.json",
4
+ "title": "Decantr Public Search Response",
5
+ "type": "object",
6
+ "required": [
7
+ "results",
8
+ "total"
9
+ ],
10
+ "properties": {
11
+ "results": {
12
+ "type": "array",
13
+ "items": {
14
+ "$ref": "https://decantr.ai/schemas/public-content-summary.v1.json"
15
+ }
16
+ },
17
+ "total": {
18
+ "type": "number"
19
+ },
20
+ "limit": {
21
+ "type": "number"
22
+ },
23
+ "offset": {
24
+ "type": "number"
25
+ }
26
+ },
27
+ "additionalProperties": false
28
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://decantr.ai/schemas/shell.v1.json",
4
+ "title": "Decantr Shell",
5
+ "type": "object",
6
+ "required": [
7
+ "$schema",
8
+ "id",
9
+ "name"
10
+ ],
11
+ "properties": {
12
+ "$schema": {
13
+ "const": "https://decantr.ai/schemas/shell.v1.json"
14
+ },
15
+ "id": {
16
+ "$ref": "https://decantr.ai/schemas/common.v1.json#/$defs/nonEmptyString"
17
+ },
18
+ "name": {
19
+ "$ref": "https://decantr.ai/schemas/common.v1.json#/$defs/nonEmptyString"
20
+ },
21
+ "description": {
22
+ "type": "string"
23
+ },
24
+ "root": {
25
+ "type": "string"
26
+ },
27
+ "nav": {
28
+ "type": "string"
29
+ },
30
+ "header": {
31
+ "type": "string"
32
+ },
33
+ "nav_style": {
34
+ "type": "string"
35
+ },
36
+ "dimensions": {
37
+ "type": [
38
+ "object",
39
+ "null"
40
+ ],
41
+ "additionalProperties": true
42
+ },
43
+ "layout": {
44
+ "type": "string"
45
+ },
46
+ "atoms": {
47
+ "type": "string"
48
+ },
49
+ "config": {
50
+ "type": "object",
51
+ "additionalProperties": true
52
+ },
53
+ "configurable": {
54
+ "type": "object",
55
+ "additionalProperties": true
56
+ },
57
+ "guidance": {
58
+ "$ref": "https://decantr.ai/schemas/common.v1.json#/$defs/stringMap"
59
+ },
60
+ "internal_layout": {
61
+ "type": "object",
62
+ "additionalProperties": true
63
+ },
64
+ "code": {
65
+ "$ref": "https://decantr.ai/schemas/common.v1.json#/$defs/codeSpec"
66
+ }
67
+ },
68
+ "additionalProperties": true
69
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://decantr.ai/schemas/showcase-manifest-entry.v1.json",
4
+ "title": "Decantr Showcase Manifest Entry",
5
+ "type": "object",
6
+ "required": [
7
+ "slug",
8
+ "status",
9
+ "classification"
10
+ ],
11
+ "properties": {
12
+ "slug": {
13
+ "$ref": "https://decantr.ai/schemas/common.v1.json#/$defs/nonEmptyString"
14
+ },
15
+ "status": {
16
+ "type": "string"
17
+ },
18
+ "classification": {
19
+ "type": "string"
20
+ },
21
+ "origin": {
22
+ "type": [
23
+ "string",
24
+ "null"
25
+ ]
26
+ },
27
+ "target": {
28
+ "type": [
29
+ "string",
30
+ "null"
31
+ ]
32
+ },
33
+ "goldenCandidate": {
34
+ "type": [
35
+ "string",
36
+ "boolean"
37
+ ]
38
+ },
39
+ "notes": {
40
+ "type": [
41
+ "string",
42
+ "null"
43
+ ]
44
+ },
45
+ "url": {
46
+ "type": [
47
+ "string",
48
+ "null"
49
+ ]
50
+ },
51
+ "verification": {
52
+ "anyOf": [
53
+ {
54
+ "$ref": "https://decantr.ai/schemas/showcase-shortlist-report.v1.json#/$defs/showcaseShortlistEntry"
55
+ },
56
+ {
57
+ "type": "null"
58
+ }
59
+ ]
60
+ }
61
+ },
62
+ "additionalProperties": false
63
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://decantr.ai/schemas/showcase-manifest.v1.json",
4
+ "title": "Decantr Showcase Manifest Response",
5
+ "type": "object",
6
+ "required": [
7
+ "total",
8
+ "shortlisted",
9
+ "apps"
10
+ ],
11
+ "properties": {
12
+ "total": {
13
+ "type": "number",
14
+ "minimum": 0
15
+ },
16
+ "shortlisted": {
17
+ "type": "number",
18
+ "minimum": 0
19
+ },
20
+ "apps": {
21
+ "type": "array",
22
+ "items": {
23
+ "$ref": "https://decantr.ai/schemas/showcase-manifest-entry.v1.json"
24
+ }
25
+ }
26
+ },
27
+ "additionalProperties": false
28
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://decantr.ai/schemas/showcase-shortlist.v1.json",
4
+ "title": "Decantr Showcase Shortlist Response",
5
+ "type": "object",
6
+ "required": [
7
+ "generatedAt",
8
+ "summary",
9
+ "apps"
10
+ ],
11
+ "properties": {
12
+ "generatedAt": {
13
+ "type": [
14
+ "string",
15
+ "null"
16
+ ]
17
+ },
18
+ "summary": {
19
+ "anyOf": [
20
+ {
21
+ "$ref": "https://decantr.ai/schemas/showcase-shortlist-report.v1.json#/properties/summary"
22
+ },
23
+ {
24
+ "type": "null"
25
+ }
26
+ ]
27
+ },
28
+ "apps": {
29
+ "type": "array",
30
+ "items": {
31
+ "$ref": "https://decantr.ai/schemas/showcase-manifest-entry.v1.json"
32
+ }
33
+ }
34
+ },
35
+ "additionalProperties": false
36
+ }
@@ -0,0 +1,190 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://decantr.ai/schemas/theme.v1.json",
4
+ "title": "Decantr Theme",
5
+ "type": "object",
6
+ "required": [
7
+ "$schema",
8
+ "id",
9
+ "name",
10
+ "description"
11
+ ],
12
+ "properties": {
13
+ "$schema": {
14
+ "const": "https://decantr.ai/schemas/theme.v1.json"
15
+ },
16
+ "id": {
17
+ "$ref": "https://decantr.ai/schemas/common.v1.json#/$defs/nonEmptyString"
18
+ },
19
+ "name": {
20
+ "$ref": "https://decantr.ai/schemas/common.v1.json#/$defs/nonEmptyString"
21
+ },
22
+ "description": {
23
+ "$ref": "https://decantr.ai/schemas/common.v1.json#/$defs/nonEmptyString"
24
+ },
25
+ "tags": {
26
+ "$ref": "https://decantr.ai/schemas/common.v1.json#/$defs/nonEmptyStringArray"
27
+ },
28
+ "personality": {
29
+ "type": "string"
30
+ },
31
+ "seed": {
32
+ "$ref": "https://decantr.ai/schemas/common.v1.json#/$defs/stringMap"
33
+ },
34
+ "palette": {
35
+ "type": "object",
36
+ "additionalProperties": {
37
+ "anyOf": [
38
+ {
39
+ "type": "string"
40
+ },
41
+ {
42
+ "type": "object",
43
+ "additionalProperties": {
44
+ "type": "string"
45
+ }
46
+ }
47
+ ]
48
+ }
49
+ },
50
+ "modes": {
51
+ "$ref": "https://decantr.ai/schemas/common.v1.json#/$defs/nonEmptyStringArray"
52
+ },
53
+ "shapes": {
54
+ "$ref": "https://decantr.ai/schemas/common.v1.json#/$defs/nonEmptyStringArray"
55
+ },
56
+ "decantr_compat": {
57
+ "type": "string"
58
+ },
59
+ "source": {
60
+ "type": "string"
61
+ },
62
+ "decorators": {
63
+ "$ref": "https://decantr.ai/schemas/common.v1.json#/$defs/stringMap"
64
+ },
65
+ "treatments": {
66
+ "type": "object",
67
+ "additionalProperties": {
68
+ "type": "object",
69
+ "additionalProperties": {
70
+ "type": "string"
71
+ }
72
+ }
73
+ },
74
+ "spatial": {
75
+ "type": "object",
76
+ "properties": {
77
+ "density_bias": {
78
+ "type": [
79
+ "number",
80
+ "null"
81
+ ]
82
+ },
83
+ "content_gap_shift": {
84
+ "type": [
85
+ "number",
86
+ "null"
87
+ ]
88
+ },
89
+ "section_padding": {
90
+ "type": [
91
+ "string",
92
+ "null"
93
+ ]
94
+ },
95
+ "card_wrapping": {
96
+ "type": [
97
+ "string",
98
+ "null"
99
+ ]
100
+ },
101
+ "surface_override": {
102
+ "type": [
103
+ "string",
104
+ "null"
105
+ ]
106
+ }
107
+ },
108
+ "additionalProperties": true
109
+ },
110
+ "motion": {
111
+ "type": "object",
112
+ "additionalProperties": true
113
+ },
114
+ "effects": {
115
+ "type": "object",
116
+ "additionalProperties": true
117
+ },
118
+ "compositions": {
119
+ "type": "object",
120
+ "additionalProperties": {
121
+ "type": "object",
122
+ "additionalProperties": true
123
+ }
124
+ },
125
+ "radius": {
126
+ "type": "object",
127
+ "properties": {
128
+ "philosophy": {
129
+ "type": "string"
130
+ },
131
+ "base": {
132
+ "type": "number"
133
+ }
134
+ },
135
+ "additionalProperties": true
136
+ },
137
+ "pattern_preferences": {
138
+ "type": "object",
139
+ "properties": {
140
+ "prefer": {
141
+ "$ref": "https://decantr.ai/schemas/common.v1.json#/$defs/nonEmptyStringArray"
142
+ },
143
+ "avoid": {
144
+ "$ref": "https://decantr.ai/schemas/common.v1.json#/$defs/nonEmptyStringArray"
145
+ },
146
+ "default_presets": {
147
+ "$ref": "https://decantr.ai/schemas/common.v1.json#/$defs/stringMap"
148
+ }
149
+ },
150
+ "additionalProperties": true
151
+ },
152
+ "shell": {
153
+ "type": "object",
154
+ "additionalProperties": true
155
+ },
156
+ "typography": {
157
+ "type": "object",
158
+ "additionalProperties": true
159
+ },
160
+ "tokens": {
161
+ "type": "object",
162
+ "additionalProperties": true
163
+ },
164
+ "decorator_definitions": {
165
+ "type": "object",
166
+ "additionalProperties": {
167
+ "type": "object",
168
+ "properties": {
169
+ "description": {
170
+ "type": "string"
171
+ },
172
+ "intent": {
173
+ "type": "string"
174
+ },
175
+ "suggested_properties": {
176
+ "$ref": "https://decantr.ai/schemas/common.v1.json#/$defs/stringMap"
177
+ },
178
+ "pairs_with": {
179
+ "$ref": "https://decantr.ai/schemas/common.v1.json#/$defs/nonEmptyStringArray"
180
+ },
181
+ "usage": {
182
+ "$ref": "https://decantr.ai/schemas/common.v1.json#/$defs/nonEmptyStringArray"
183
+ }
184
+ },
185
+ "additionalProperties": true
186
+ }
187
+ }
188
+ },
189
+ "additionalProperties": true
190
+ }