From
bafyreidtslbm7sk2dvejvivjkjhcxpmhmzgib7ue7dn7hezaba373raqcu
indexed 2026-06-20 15:22 UTC
View this version
To
bafyreihkbs4h5bzbkjlpzu4nshpwxxhovcep3soxhqkodmt64uu3pigmjq
indexed 2026-07-26 20:05 UTC
View this version
Compatibility
backward compatible No changes detected.
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {55
"description": "Source file content or content references for a CAD project or release.",66
"key": "any",77
"record": {88
"properties": {99
"cid": {1010
"description": "CID for this source file, if content-addressed.",1111
"format": "cid",1212
"type": "string"1313
},1414
"createdAt": {1515
"format": "datetime",1616
"type": "string"1717
},1818
"externalUri": {1919
"description": "External content URL, such as a Zoo project file or archive download URL.",2020
"format": "uri",2121
"type": "string"2222
},2323
"format": {2424
"description": "CAD source or artifact format.",2525
"knownValues": [2626
"kcl",2727
"solidworks-part",2828
"solidworks-assembly",2929
"step",3030
"stl",3131
"parasolid",3232
"obj",3333
"gltf",3434
"archive",3535
"unknown"3636
],3737
"maxLength": 128,3838
"type": "string"3939
},4040
"lineCount": {4141
"description": "Line count for text-native source files.",4242
"minimum": 0,4343
"type": "integer"4444
},4545
"mimeType": {4646
"maxLength": 256,4747
"type": "string"4848
},4949
"path": {5050
"description": "Path within the project archive or source tree.",5151
"maxLength": 2048,5252
"type": "string"5353
},5454
"role": {5555
"description": "Role this source file plays in the project.",5656
"knownValues": [5757
"entrypoint",5858
"source",5959
"import",6060
"asset",6161
"library",6262
"derived"6363
],6464
"maxLength": 64,6565
"type": "string"6666
},6767
"sha256": {6868
"description": "Lowercase hex SHA-256 digest of the source file bytes.",6969
"maxLength": 64,7070
"minLength": 64,7171
"type": "string"7272
},7373
"sizeBytes": {7474
"description": "Size of this source file in bytes.",7575
"minimum": 0,7676
"type": "integer"7777
},7878
"sourceBlob": {7979
"accept": [8080
"text/*",8181
"model/*",8282
"application/octet-stream",83
"application/zip"83
"application/zip",84
"application/json",85
"application/toml",86
"application/yaml"8487
],8588
"description": "Blob reference for source bytes, especially large text files and binary CAD artifacts.",8689
"maxSize": 10000000,8790
"type": "blob"8891
},8992
"sourceText": {9093
"description": "Inline UTF-8 source text for compact text-native CAD files such as KCL.",9194
"maxLength": 200000,9295
"type": "string"9396
},9497
"subject": {9598
"description": "Project or release record this source file belongs to.",9699
"ref": "nyc.noirot.cad.defs#projectRef",97100
"type": "ref"98101
},99102
"textEncoding": {100103
"description": "Text encoding for sourceText, when present.",101104
"knownValues": [102105
"utf-8"103106
],104107
"maxLength": 64,105108
"type": "string"106109
},107110
"updatedAt": {108111
"format": "datetime",109112
"type": "string"110113
}111114
},112115
"required": [113116
"subject",114117
"path",115118
"sha256",116119
"createdAt"117120
],118121
"type": "object"119122
},120123
"type": "record"121124
}122125
},123126
"description": "A sidecar record for one CAD source file or artifact.",124127
"id": "nyc.noirot.cad.source",125128
"lexicon": 1126129
}