Skip to content

Basic ATproto lexicon schemas#8

Open
TomNicholas wants to merge 3 commits intomainfrom
lexicon
Open

Basic ATproto lexicon schemas#8
TomNicholas wants to merge 3 commits intomainfrom
lexicon

Conversation

@TomNicholas
Copy link
Owner

@TomNicholas TomNicholas commented Feb 7, 2025

ToDo:

  • Basic schemas for fundamental objects for dataset entries, updates, and dependencies
  • Extensible list of allowed data models (for a hypothetical IceHub app which supports Icechunk and Iceberg)
  • Useful queries such as getDependents, getDependencies, and getUpdates

"type": "object",
"required": ["subject", "createdAt"],
"properties": {
"subject": { "type": "string", "format": "did" },

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{ "type": "ref", "ref": "com.atproto.repo.strongRef" }

Comment on lines +23 to +31
"dataModel": {
"type": "union",
"description": "Extensible set of supported data models.",
"refs": [
"icehub.datamodels.icechunk",
"icehub.datamodels.iceberg"
],
"closed": false
},
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unsure if this is the best way to make data models open to extension

@TomNicholas
Copy link
Owner Author

See #9 and #1 (comment) for why this idea should probably wait until the catalog is implemented in some other way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants