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

Add JSON Schema for publications #450

Merged
merged 5 commits into from
Feb 25, 2021
Merged

Add JSON Schema for publications #450

merged 5 commits into from
Feb 25, 2021

Conversation

acka47
Copy link
Contributor

@acka47 acka47 commented Feb 25, 2021

First draft to resolve #441

  • update test script
  • add examples

ref #441
- update test script
- add examples
@acka47 acka47 requested a review from TobiasNx February 25, 2021 12:47
"$id": "resource:/about.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Subject",
"description": "The subject of a publication",
Copy link
Contributor

Choose a reason for hiding this comment

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

Add more specific subject description. "The subject e.g. project or product..."

"type": "string",
"format": "uri"
}
},
Copy link
Contributor

Choose a reason for hiding this comment

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

Add name and type

@@ -0,0 +1,7 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

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

I think that we then should use pubDate also for products since the product doesn't really start. It is released.

"description": {
"$ref": "localizedString.json"
},
"keywords": {
Copy link
Contributor

Choose a reason for hiding this comment

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

tags for all entities?

"type": "string",
"enum": [
"BlogPosting",
"PresentationDigitalDocument",
Copy link
Contributor

Choose a reason for hiding this comment

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

event related metadata too?

"enum": [
"BlogPosting",
"PresentationDigitalDocument",
"Article"
Copy link
Contributor

Choose a reason for hiding this comment

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

bibliographic information too? publisher, journal, pages?

"type": "string",
"format": "uri"
},
"name": {
Copy link
Contributor

Choose a reason for hiding this comment

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

id?

@TobiasNx TobiasNx linked an issue Feb 25, 2021 that may be closed by this pull request
@acka47 acka47 merged commit 734c729 into master Feb 25, 2021
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.

Create JSON schema for blog post description Create JSON schema for slide deck description
2 participants