Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft post type #91

Open
cuibonobo opened this issue Dec 23, 2024 · 0 comments
Open

Draft post type #91

cuibonobo opened this issue Dec 23, 2024 · 0 comments

Comments

@cuibonobo
Copy link
Owner

This may have to be a "core" post type, since it requires a unique way to interpret the type, but maybe not. The schema of the type would be something like:

{
  "type": "string",
  "content": {
    "values": {}
  }
}

That is, the content key of the post will itself have a type and content that reflect the kind of post that this is a draft of. As a result, the parser would need to look at the content in order to enforce a particular schema.

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

No branches or pull requests

1 participant