full diff

org.cairnsproto.draft.source

cairnsproto.org +1 −1
From
bafyreied7iskjsom2q3s7rbibycz5ynpd7nrnvq6cittidnuam7yq3dbue indexed 2026-11-02 15:29 UTC View this version
To
bafyreicr4ncqpjyp5arrlneavwmwzg4lhnriosng4goheyzf53mnjytbpm indexed 2026-11-05 17:19 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "derivation": {
55 "description": "This source is the output of running a transform record on another source.",
66 "properties": {
77 "hash": {
88 "ref": "org.cairnsproto.draft.defs#hash",
99 "type": "ref"
1010 },
1111 "transform": {
1212 "description": "The transform record that produced it.",
1313 "ref": "com.atproto.repo.strongRef",
1414 "type": "ref"
1515 }
1616 },
1717 "required": [
1818 "hash",
1919 "transform"
2020 ],
2121 "type": "object"
2222 },
2323 "gitState": {
2424 "properties": {
2525 "commit": {
2626 "description": "Full commit hash.",
2727 "maxLength": 64,
2828 "minLength": 40,
2929 "type": "string"
3030 },
3131 "repo": {
3232 "description": "Git URL.",
3333 "maxLength": 2048,
3434 "type": "string"
3535 }
3636 },
3737 "required": [
3838 "repo",
3939 "commit"
4040 ],
4141 "type": "object"
4242 },
4343 "main": {
4444 "description": "A content-addressed input. Anyone may publish one; records with the same hash name the same source.",
4545 "key": "tid",
4646 "record": {
4747 "properties": {
4848 "createdAt": {
4949 "format": "datetime",
5050 "type": "string"
5151 },
5252 "derivedFrom": {
5353 "ref": "#derivation",
5454 "type": "ref"
5555 },
5656 "git": {
5757 "description": "A published state of an official repo. The hash alg is git-sha1 or git-sha256.",
5858 "ref": "#gitState",
5959 "type": "ref"
6060 },
6161 "hash": {
6262 "ref": "org.cairnsproto.draft.defs#hash",
6363 "type": "ref"
6464 },
6565 "license": {
66 "description": "SPDX expression or URL. Governs whether bundles may redistribute the source.",
66 "description": "SPDX expression or URL: the source's own rights, which the project's output license must fit.",
6767 "maxLength": 512,
6868 "type": "string"
6969 },
7070 "mimeType": {
7171 "maxLength": 256,
7272 "type": "string"
7373 },
7474 "size": {
7575 "minimum": 0,
7676 "type": "integer"
7777 },
7878 "urls": {
7979 "description": "Where to fetch. The hash is the identity.",
8080 "items": {
8181 "format": "uri",
8282 "type": "string"
8383 },
8484 "maxLength": 32,
8585 "type": "array"
8686 }
8787 },
8888 "required": [
8989 "hash",
9090 "createdAt"
9191 ],
9292 "type": "object"
9393 },
9494 "type": "record"
9595 }
9696 },
9797 "id": "org.cairnsproto.draft.source",
9898 "lexicon": 1
9999}

Compare other versions