ai-code-map 0.0.0-stage → 0.1.0-alpha.3

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,1078 @@
1
+ {
2
+ "$defs": {
3
+ "__schema0": {
4
+ "additionalProperties": false,
5
+ "properties": {
6
+ "analyzerVersion": {
7
+ "minLength": 1,
8
+ "type": "string"
9
+ },
10
+ "analyzers": {
11
+ "items": {
12
+ "$ref": "#/$defs/__schema1"
13
+ },
14
+ "type": "array"
15
+ },
16
+ "artifacts": {
17
+ "items": {
18
+ "additionalProperties": false,
19
+ "properties": {
20
+ "hash": {
21
+ "pattern": "^[a-f0-9]{64}$",
22
+ "type": "string"
23
+ },
24
+ "path": {
25
+ "enum": [
26
+ "overview.md",
27
+ "project.json",
28
+ "files.jsonl",
29
+ "symbols.jsonl",
30
+ "relations.jsonl",
31
+ "diagnostics.json"
32
+ ],
33
+ "type": "string"
34
+ }
35
+ },
36
+ "required": [
37
+ "path",
38
+ "hash"
39
+ ],
40
+ "type": "object"
41
+ },
42
+ "type": "array"
43
+ },
44
+ "configHash": {
45
+ "pattern": "^[a-f0-9]{64}$",
46
+ "type": "string"
47
+ },
48
+ "integrityHash": {
49
+ "pattern": "^[a-f0-9]{64}$",
50
+ "type": "string"
51
+ },
52
+ "producer": {
53
+ "additionalProperties": false,
54
+ "properties": {
55
+ "fingerprint": {
56
+ "pattern": "^[a-f0-9]{64}$",
57
+ "type": "string"
58
+ },
59
+ "id": {
60
+ "minLength": 1,
61
+ "type": "string"
62
+ },
63
+ "kind": {
64
+ "enum": [
65
+ "built-in",
66
+ "custom"
67
+ ],
68
+ "type": "string"
69
+ }
70
+ },
71
+ "required": [
72
+ "id",
73
+ "kind",
74
+ "fingerprint"
75
+ ],
76
+ "type": "object"
77
+ },
78
+ "schemaVersion": {
79
+ "const": 4,
80
+ "type": "number"
81
+ },
82
+ "semanticInputs": {
83
+ "items": {
84
+ "oneOf": [
85
+ {
86
+ "additionalProperties": false,
87
+ "properties": {
88
+ "hash": {
89
+ "pattern": "^[a-f0-9]{64}$",
90
+ "type": "string"
91
+ },
92
+ "kind": {
93
+ "const": "file",
94
+ "type": "string"
95
+ },
96
+ "path": {
97
+ "$ref": "#/$defs/__schema3"
98
+ }
99
+ },
100
+ "required": [
101
+ "path",
102
+ "kind",
103
+ "hash"
104
+ ],
105
+ "type": "object"
106
+ },
107
+ {
108
+ "additionalProperties": false,
109
+ "properties": {
110
+ "exists": {
111
+ "type": "boolean"
112
+ },
113
+ "kind": {
114
+ "const": "resolution-probe",
115
+ "type": "string"
116
+ },
117
+ "path": {
118
+ "$ref": "#/$defs/__schema3"
119
+ },
120
+ "scope": {
121
+ "enum": [
122
+ "project",
123
+ "toolchain"
124
+ ],
125
+ "type": "string"
126
+ },
127
+ "targetKind": {
128
+ "enum": [
129
+ "file",
130
+ "directory",
131
+ "readable-file"
132
+ ],
133
+ "type": "string"
134
+ }
135
+ },
136
+ "required": [
137
+ "path",
138
+ "kind",
139
+ "scope",
140
+ "targetKind",
141
+ "exists"
142
+ ],
143
+ "type": "object"
144
+ },
145
+ {
146
+ "additionalProperties": false,
147
+ "properties": {
148
+ "hash": {
149
+ "pattern": "^[a-f0-9]{64}$",
150
+ "type": "string"
151
+ },
152
+ "kind": {
153
+ "const": "directory-listing",
154
+ "type": "string"
155
+ },
156
+ "path": {
157
+ "$ref": "#/$defs/__schema3"
158
+ },
159
+ "scope": {
160
+ "enum": [
161
+ "project",
162
+ "toolchain"
163
+ ],
164
+ "type": "string"
165
+ }
166
+ },
167
+ "required": [
168
+ "path",
169
+ "kind",
170
+ "scope",
171
+ "hash"
172
+ ],
173
+ "type": "object"
174
+ },
175
+ {
176
+ "additionalProperties": false,
177
+ "properties": {
178
+ "kind": {
179
+ "const": "symlink",
180
+ "type": "string"
181
+ },
182
+ "path": {
183
+ "$ref": "#/$defs/__schema3"
184
+ },
185
+ "scope": {
186
+ "enum": [
187
+ "project",
188
+ "toolchain"
189
+ ],
190
+ "type": "string"
191
+ },
192
+ "target": {
193
+ "$ref": "#/$defs/__schema3"
194
+ }
195
+ },
196
+ "required": [
197
+ "path",
198
+ "kind",
199
+ "scope",
200
+ "target"
201
+ ],
202
+ "type": "object"
203
+ },
204
+ {
205
+ "additionalProperties": false,
206
+ "properties": {
207
+ "hash": {
208
+ "pattern": "^[a-f0-9]{64}$",
209
+ "type": "string"
210
+ },
211
+ "kind": {
212
+ "const": "toolchain-file",
213
+ "type": "string"
214
+ },
215
+ "path": {
216
+ "$ref": "#/$defs/__schema3"
217
+ }
218
+ },
219
+ "required": [
220
+ "path",
221
+ "kind",
222
+ "hash"
223
+ ],
224
+ "type": "object"
225
+ }
226
+ ]
227
+ },
228
+ "type": "array"
229
+ },
230
+ "semanticResolver": {
231
+ "$ref": "#/$defs/__schema1"
232
+ },
233
+ "sourceFiles": {
234
+ "items": {
235
+ "additionalProperties": false,
236
+ "properties": {
237
+ "compilerUnit": {
238
+ "minLength": 1,
239
+ "type": "string"
240
+ },
241
+ "hash": {
242
+ "pattern": "^[a-f0-9]{64}$",
243
+ "type": "string"
244
+ },
245
+ "lines": {
246
+ "maximum": 9007199254740991,
247
+ "minimum": 0,
248
+ "type": "integer"
249
+ },
250
+ "path": {
251
+ "$ref": "#/$defs/__schema2"
252
+ }
253
+ },
254
+ "required": [
255
+ "path",
256
+ "hash",
257
+ "compilerUnit",
258
+ "lines"
259
+ ],
260
+ "type": "object"
261
+ },
262
+ "type": "array"
263
+ },
264
+ "syntaxParser": {
265
+ "$ref": "#/$defs/__schema1"
266
+ }
267
+ },
268
+ "required": [
269
+ "schemaVersion",
270
+ "analyzerVersion",
271
+ "producer",
272
+ "semanticResolver",
273
+ "syntaxParser",
274
+ "analyzers",
275
+ "configHash",
276
+ "sourceFiles",
277
+ "semanticInputs",
278
+ "artifacts",
279
+ "integrityHash"
280
+ ],
281
+ "type": "object"
282
+ },
283
+ "__schema1": {
284
+ "additionalProperties": false,
285
+ "properties": {
286
+ "name": {
287
+ "minLength": 1,
288
+ "type": "string"
289
+ },
290
+ "version": {
291
+ "minLength": 1,
292
+ "type": "string"
293
+ }
294
+ },
295
+ "required": [
296
+ "name",
297
+ "version"
298
+ ],
299
+ "type": "object"
300
+ },
301
+ "__schema10": {
302
+ "exclusiveMinimum": 0,
303
+ "maximum": 9007199254740991,
304
+ "type": "integer"
305
+ },
306
+ "__schema11": {
307
+ "exclusiveMinimum": 0,
308
+ "maximum": 9007199254740991,
309
+ "type": "integer"
310
+ },
311
+ "__schema12": {
312
+ "exclusiveMinimum": 0,
313
+ "maximum": 9007199254740991,
314
+ "type": "integer"
315
+ },
316
+ "__schema13": {
317
+ "exclusiveMinimum": 0,
318
+ "maximum": 9007199254740991,
319
+ "type": "integer"
320
+ },
321
+ "__schema14": {
322
+ "anyOf": [
323
+ {
324
+ "type": "string"
325
+ },
326
+ {
327
+ "type": "number"
328
+ },
329
+ {
330
+ "type": "boolean"
331
+ },
332
+ {
333
+ "type": "null"
334
+ },
335
+ {
336
+ "items": {
337
+ "$ref": "#/$defs/__schema14"
338
+ },
339
+ "type": "array"
340
+ },
341
+ {
342
+ "additionalProperties": {
343
+ "$ref": "#/$defs/__schema14"
344
+ },
345
+ "propertyNames": {
346
+ "type": "string"
347
+ },
348
+ "type": "object"
349
+ }
350
+ ]
351
+ },
352
+ "__schema15": {
353
+ "items": {
354
+ "additionalProperties": false,
355
+ "properties": {
356
+ "confidence": {
357
+ "maximum": 1,
358
+ "minimum": 0,
359
+ "type": "number"
360
+ },
361
+ "from": {
362
+ "minLength": 1,
363
+ "type": "string"
364
+ },
365
+ "origin": {
366
+ "additionalProperties": false,
367
+ "properties": {
368
+ "analyzer": {
369
+ "minLength": 1,
370
+ "type": "string"
371
+ },
372
+ "classification": {
373
+ "enum": [
374
+ "exact",
375
+ "framework-derived",
376
+ "heuristic",
377
+ "derived"
378
+ ],
379
+ "type": "string"
380
+ },
381
+ "explanation": {
382
+ "minLength": 1,
383
+ "type": "string"
384
+ },
385
+ "file": {
386
+ "$ref": "#/$defs/__schema2"
387
+ },
388
+ "line": {
389
+ "exclusiveMinimum": 0,
390
+ "maximum": 9007199254740991,
391
+ "type": "integer"
392
+ },
393
+ "range": {
394
+ "$ref": "#/$defs/__schema9"
395
+ }
396
+ },
397
+ "required": [
398
+ "file",
399
+ "line",
400
+ "range",
401
+ "explanation",
402
+ "classification",
403
+ "analyzer"
404
+ ],
405
+ "type": "object"
406
+ },
407
+ "schemaVersion": {
408
+ "const": 4,
409
+ "type": "number"
410
+ },
411
+ "to": {
412
+ "minLength": 1,
413
+ "type": "string"
414
+ },
415
+ "type": {
416
+ "enum": [
417
+ "imports",
418
+ "exports",
419
+ "reexports",
420
+ "calls",
421
+ "instantiates",
422
+ "renders",
423
+ "uses-hook",
424
+ "reads-state",
425
+ "depends-on",
426
+ "used-by",
427
+ "contains",
428
+ "references",
429
+ "injects",
430
+ "handles-route",
431
+ "consumes-dto",
432
+ "belongs-to-module",
433
+ "uses-layout"
434
+ ],
435
+ "type": "string"
436
+ }
437
+ },
438
+ "required": [
439
+ "schemaVersion",
440
+ "from",
441
+ "type",
442
+ "to",
443
+ "confidence",
444
+ "origin"
445
+ ],
446
+ "type": "object"
447
+ },
448
+ "type": "array"
449
+ },
450
+ "__schema16": {
451
+ "items": {
452
+ "additionalProperties": false,
453
+ "properties": {
454
+ "code": {
455
+ "enum": [
456
+ "parse-error",
457
+ "unresolved-import",
458
+ "invalid-config",
459
+ "unsupported-file",
460
+ "analysis-error",
461
+ "parser-fallback",
462
+ "compiler-config"
463
+ ],
464
+ "type": "string"
465
+ },
466
+ "column": {
467
+ "exclusiveMinimum": 0,
468
+ "maximum": 9007199254740991,
469
+ "type": "integer"
470
+ },
471
+ "file": {
472
+ "$ref": "#/$defs/__schema2"
473
+ },
474
+ "line": {
475
+ "exclusiveMinimum": 0,
476
+ "maximum": 9007199254740991,
477
+ "type": "integer"
478
+ },
479
+ "message": {
480
+ "minLength": 1,
481
+ "type": "string"
482
+ },
483
+ "schemaVersion": {
484
+ "const": 4,
485
+ "type": "number"
486
+ },
487
+ "severity": {
488
+ "enum": [
489
+ "info",
490
+ "warning",
491
+ "error"
492
+ ],
493
+ "type": "string"
494
+ }
495
+ },
496
+ "required": [
497
+ "schemaVersion",
498
+ "code",
499
+ "severity",
500
+ "message"
501
+ ],
502
+ "type": "object"
503
+ },
504
+ "type": "array"
505
+ },
506
+ "__schema2": {
507
+ "$ref": "#/$defs/__schema3"
508
+ },
509
+ "__schema3": {
510
+ "minLength": 1,
511
+ "type": "string"
512
+ },
513
+ "__schema4": {
514
+ "additionalProperties": false,
515
+ "properties": {
516
+ "compilerUnits": {
517
+ "items": {
518
+ "additionalProperties": false,
519
+ "properties": {
520
+ "config": {
521
+ "$ref": "#/$defs/__schema2"
522
+ },
523
+ "extends": {
524
+ "items": {
525
+ "$ref": "#/$defs/__schema2"
526
+ },
527
+ "type": "array"
528
+ },
529
+ "id": {
530
+ "minLength": 1,
531
+ "type": "string"
532
+ },
533
+ "kind": {
534
+ "enum": [
535
+ "configured",
536
+ "fallback"
537
+ ],
538
+ "type": "string"
539
+ },
540
+ "pathAliases": {
541
+ "additionalProperties": {
542
+ "items": {
543
+ "$ref": "#/$defs/__schema3"
544
+ },
545
+ "type": "array"
546
+ },
547
+ "propertyNames": {
548
+ "$ref": "#/$defs/__schema6"
549
+ },
550
+ "type": "object"
551
+ },
552
+ "references": {
553
+ "items": {
554
+ "$ref": "#/$defs/__schema2"
555
+ },
556
+ "type": "array"
557
+ },
558
+ "root": {
559
+ "$ref": "#/$defs/__schema3"
560
+ }
561
+ },
562
+ "required": [
563
+ "id",
564
+ "kind",
565
+ "root",
566
+ "references",
567
+ "extends",
568
+ "pathAliases"
569
+ ],
570
+ "type": "object"
571
+ },
572
+ "type": "array"
573
+ },
574
+ "counts": {
575
+ "additionalProperties": false,
576
+ "properties": {
577
+ "diagnostics": {
578
+ "maximum": 9007199254740991,
579
+ "minimum": 0,
580
+ "type": "integer"
581
+ },
582
+ "files": {
583
+ "maximum": 9007199254740991,
584
+ "minimum": 0,
585
+ "type": "integer"
586
+ },
587
+ "relations": {
588
+ "maximum": 9007199254740991,
589
+ "minimum": 0,
590
+ "type": "integer"
591
+ },
592
+ "symbols": {
593
+ "maximum": 9007199254740991,
594
+ "minimum": 0,
595
+ "type": "integer"
596
+ }
597
+ },
598
+ "required": [
599
+ "files",
600
+ "symbols",
601
+ "relations",
602
+ "diagnostics"
603
+ ],
604
+ "type": "object"
605
+ },
606
+ "entryPoints": {
607
+ "items": {
608
+ "$ref": "#/$defs/__schema2"
609
+ },
610
+ "type": "array"
611
+ },
612
+ "frameworks": {
613
+ "items": {
614
+ "$ref": "#/$defs/__schema5"
615
+ },
616
+ "type": "array"
617
+ },
618
+ "name": {
619
+ "type": "string"
620
+ },
621
+ "packageManager": {
622
+ "type": "string"
623
+ },
624
+ "pathAliases": {
625
+ "additionalProperties": {
626
+ "items": {
627
+ "$ref": "#/$defs/__schema3"
628
+ },
629
+ "type": "array"
630
+ },
631
+ "propertyNames": {
632
+ "$ref": "#/$defs/__schema6"
633
+ },
634
+ "type": "object"
635
+ },
636
+ "schemaVersion": {
637
+ "const": 4,
638
+ "type": "number"
639
+ },
640
+ "tsconfig": {
641
+ "$ref": "#/$defs/__schema2"
642
+ },
643
+ "workspaces": {
644
+ "items": {
645
+ "additionalProperties": false,
646
+ "properties": {
647
+ "entryPoints": {
648
+ "items": {
649
+ "$ref": "#/$defs/__schema2"
650
+ },
651
+ "type": "array"
652
+ },
653
+ "name": {
654
+ "type": "string"
655
+ },
656
+ "path": {
657
+ "$ref": "#/$defs/__schema2"
658
+ }
659
+ },
660
+ "required": [
661
+ "name",
662
+ "path",
663
+ "entryPoints"
664
+ ],
665
+ "type": "object"
666
+ },
667
+ "type": "array"
668
+ }
669
+ },
670
+ "required": [
671
+ "schemaVersion",
672
+ "name",
673
+ "frameworks",
674
+ "compilerUnits",
675
+ "pathAliases",
676
+ "entryPoints",
677
+ "workspaces",
678
+ "counts"
679
+ ],
680
+ "type": "object"
681
+ },
682
+ "__schema5": {
683
+ "enum": [
684
+ "typescript",
685
+ "node",
686
+ "react",
687
+ "nextjs",
688
+ "nestjs"
689
+ ],
690
+ "type": "string"
691
+ },
692
+ "__schema6": {
693
+ "minLength": 1,
694
+ "type": "string"
695
+ },
696
+ "__schema7": {
697
+ "items": {
698
+ "additionalProperties": false,
699
+ "properties": {
700
+ "compilerUnit": {
701
+ "minLength": 1,
702
+ "type": "string"
703
+ },
704
+ "env": {
705
+ "items": {
706
+ "type": "string"
707
+ },
708
+ "type": "array"
709
+ },
710
+ "exports": {
711
+ "items": {
712
+ "additionalProperties": false,
713
+ "properties": {
714
+ "default": {
715
+ "type": "boolean"
716
+ },
717
+ "line": {
718
+ "exclusiveMinimum": 0,
719
+ "maximum": 9007199254740991,
720
+ "type": "integer"
721
+ },
722
+ "local": {
723
+ "type": "string"
724
+ },
725
+ "name": {
726
+ "type": "string"
727
+ },
728
+ "source": {
729
+ "type": "string"
730
+ },
731
+ "typeOnly": {
732
+ "type": "boolean"
733
+ }
734
+ },
735
+ "required": [
736
+ "name",
737
+ "default",
738
+ "line"
739
+ ],
740
+ "type": "object"
741
+ },
742
+ "type": "array"
743
+ },
744
+ "frameworks": {
745
+ "items": {
746
+ "$ref": "#/$defs/__schema5"
747
+ },
748
+ "type": "array"
749
+ },
750
+ "hash": {
751
+ "pattern": "^[a-f0-9]{64}$",
752
+ "type": "string"
753
+ },
754
+ "id": {
755
+ "minLength": 1,
756
+ "type": "string"
757
+ },
758
+ "imports": {
759
+ "items": {
760
+ "additionalProperties": false,
761
+ "properties": {
762
+ "external": {
763
+ "type": "boolean"
764
+ },
765
+ "kind": {
766
+ "enum": [
767
+ "esm",
768
+ "commonjs"
769
+ ],
770
+ "type": "string"
771
+ },
772
+ "line": {
773
+ "exclusiveMinimum": 0,
774
+ "maximum": 9007199254740991,
775
+ "type": "integer"
776
+ },
777
+ "resolved": {
778
+ "$ref": "#/$defs/__schema2"
779
+ },
780
+ "source": {
781
+ "minLength": 1,
782
+ "type": "string"
783
+ },
784
+ "specifiers": {
785
+ "items": {
786
+ "additionalProperties": false,
787
+ "properties": {
788
+ "imported": {
789
+ "type": "string"
790
+ },
791
+ "local": {
792
+ "type": "string"
793
+ },
794
+ "typeOnly": {
795
+ "type": "boolean"
796
+ }
797
+ },
798
+ "required": [
799
+ "imported",
800
+ "local"
801
+ ],
802
+ "type": "object"
803
+ },
804
+ "type": "array"
805
+ }
806
+ },
807
+ "required": [
808
+ "source",
809
+ "specifiers",
810
+ "external",
811
+ "kind",
812
+ "line"
813
+ ],
814
+ "type": "object"
815
+ },
816
+ "type": "array"
817
+ },
818
+ "language": {
819
+ "enum": [
820
+ "ts",
821
+ "tsx",
822
+ "js",
823
+ "jsx",
824
+ "mts",
825
+ "cts",
826
+ "mjs",
827
+ "cjs"
828
+ ],
829
+ "type": "string"
830
+ },
831
+ "lines": {
832
+ "maximum": 9007199254740991,
833
+ "minimum": 0,
834
+ "type": "integer"
835
+ },
836
+ "operations": {
837
+ "items": {
838
+ "additionalProperties": false,
839
+ "properties": {
840
+ "api": {
841
+ "minLength": 1,
842
+ "type": "string"
843
+ },
844
+ "kind": {
845
+ "enum": [
846
+ "filesystem",
847
+ "http",
848
+ "database",
849
+ "queue"
850
+ ],
851
+ "type": "string"
852
+ },
853
+ "line": {
854
+ "exclusiveMinimum": 0,
855
+ "maximum": 9007199254740991,
856
+ "type": "integer"
857
+ }
858
+ },
859
+ "required": [
860
+ "kind",
861
+ "api",
862
+ "line"
863
+ ],
864
+ "type": "object"
865
+ },
866
+ "type": "array"
867
+ },
868
+ "path": {
869
+ "$ref": "#/$defs/__schema2"
870
+ },
871
+ "schemaVersion": {
872
+ "const": 4,
873
+ "type": "number"
874
+ },
875
+ "symbolIds": {
876
+ "items": {
877
+ "minLength": 1,
878
+ "type": "string"
879
+ },
880
+ "type": "array"
881
+ },
882
+ "syntax": {
883
+ "additionalProperties": false,
884
+ "properties": {
885
+ "factCount": {
886
+ "maximum": 9007199254740991,
887
+ "minimum": 0,
888
+ "type": "integer"
889
+ },
890
+ "fallbackFrom": {
891
+ "minLength": 1,
892
+ "type": "string"
893
+ },
894
+ "hadErrors": {
895
+ "type": "boolean"
896
+ },
897
+ "parser": {
898
+ "minLength": 1,
899
+ "type": "string"
900
+ }
901
+ },
902
+ "required": [
903
+ "parser",
904
+ "factCount",
905
+ "hadErrors"
906
+ ],
907
+ "type": "object"
908
+ }
909
+ },
910
+ "required": [
911
+ "schemaVersion",
912
+ "id",
913
+ "compilerUnit",
914
+ "path",
915
+ "language",
916
+ "frameworks",
917
+ "hash",
918
+ "lines",
919
+ "imports",
920
+ "exports",
921
+ "symbolIds",
922
+ "env",
923
+ "operations",
924
+ "syntax"
925
+ ],
926
+ "type": "object"
927
+ },
928
+ "type": "array"
929
+ },
930
+ "__schema8": {
931
+ "items": {
932
+ "additionalProperties": false,
933
+ "properties": {
934
+ "defaultExport": {
935
+ "type": "boolean"
936
+ },
937
+ "documentation": {
938
+ "type": "string"
939
+ },
940
+ "exported": {
941
+ "type": "boolean"
942
+ },
943
+ "facts": {
944
+ "additionalProperties": {
945
+ "$ref": "#/$defs/__schema14"
946
+ },
947
+ "propertyNames": {
948
+ "type": "string"
949
+ },
950
+ "type": "object"
951
+ },
952
+ "file": {
953
+ "$ref": "#/$defs/__schema2"
954
+ },
955
+ "id": {
956
+ "minLength": 1,
957
+ "type": "string"
958
+ },
959
+ "kind": {
960
+ "enum": [
961
+ "function",
962
+ "class",
963
+ "method",
964
+ "interface",
965
+ "type-alias",
966
+ "variable",
967
+ "react-component",
968
+ "react-hook",
969
+ "react-context",
970
+ "next-page",
971
+ "next-layout",
972
+ "next-route-handler",
973
+ "next-special-file",
974
+ "nest-module",
975
+ "nest-controller",
976
+ "nest-provider",
977
+ "nest-guard",
978
+ "nest-interceptor",
979
+ "nest-pipe",
980
+ "nest-filter",
981
+ "nest-gateway",
982
+ "dto",
983
+ "route"
984
+ ],
985
+ "type": "string"
986
+ },
987
+ "name": {
988
+ "type": "string"
989
+ },
990
+ "range": {
991
+ "$ref": "#/$defs/__schema9"
992
+ },
993
+ "schemaVersion": {
994
+ "const": 4,
995
+ "type": "number"
996
+ },
997
+ "signature": {
998
+ "type": "string"
999
+ },
1000
+ "sourceHash": {
1001
+ "pattern": "^[a-f0-9]{64}$",
1002
+ "type": "string"
1003
+ }
1004
+ },
1005
+ "required": [
1006
+ "schemaVersion",
1007
+ "id",
1008
+ "name",
1009
+ "kind",
1010
+ "file",
1011
+ "range",
1012
+ "exported",
1013
+ "facts",
1014
+ "sourceHash"
1015
+ ],
1016
+ "type": "object"
1017
+ },
1018
+ "type": "array"
1019
+ },
1020
+ "__schema9": {
1021
+ "additionalProperties": false,
1022
+ "properties": {
1023
+ "endColumn": {
1024
+ "$ref": "#/$defs/__schema13"
1025
+ },
1026
+ "endLine": {
1027
+ "$ref": "#/$defs/__schema12"
1028
+ },
1029
+ "startColumn": {
1030
+ "$ref": "#/$defs/__schema11"
1031
+ },
1032
+ "startLine": {
1033
+ "$ref": "#/$defs/__schema10"
1034
+ }
1035
+ },
1036
+ "required": [
1037
+ "startLine",
1038
+ "startColumn",
1039
+ "endLine",
1040
+ "endColumn"
1041
+ ],
1042
+ "type": "object"
1043
+ }
1044
+ },
1045
+ "$id": "urn:ai-code-map:complete:4",
1046
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1047
+ "additionalProperties": false,
1048
+ "properties": {
1049
+ "diagnostics": {
1050
+ "$ref": "#/$defs/__schema16"
1051
+ },
1052
+ "files": {
1053
+ "$ref": "#/$defs/__schema7"
1054
+ },
1055
+ "manifest": {
1056
+ "$ref": "#/$defs/__schema0"
1057
+ },
1058
+ "project": {
1059
+ "$ref": "#/$defs/__schema4"
1060
+ },
1061
+ "relations": {
1062
+ "$ref": "#/$defs/__schema15"
1063
+ },
1064
+ "symbols": {
1065
+ "$ref": "#/$defs/__schema8"
1066
+ }
1067
+ },
1068
+ "required": [
1069
+ "manifest",
1070
+ "project",
1071
+ "files",
1072
+ "symbols",
1073
+ "relations",
1074
+ "diagnostics"
1075
+ ],
1076
+ "title": "complete in-memory ai-code-map",
1077
+ "type": "object"
1078
+ }