Skip to content

Hayagriva JSON Schema (using specification Draft-07) - #281

Closed
jassielof wants to merge 19 commits into
typst:mainfrom
jassielof:main
Closed

Hayagriva JSON Schema (using specification Draft-07)#281
jassielof wants to merge 19 commits into
typst:mainfrom
jassielof:main

Conversation

@jassielof

Copy link
Copy Markdown

Example used for validation (using JSON Schema Validator):

harry:
  type: Book
  title: Harry Potter and the Order of the Phoenix
  author: Rowling, J. K.
  volume: 5
  page-total: 768
  date: 2003-06-21

electronic:
  type: Web
  title: Ishkur's Guide to Electronic Music
  serial-number: v2.5
  author: Ishkur
  url: http://www.techno.org/electronic-music-guide/

kinetics:
  type: Article
  title: Kinetics and luminescence of the excitations of a nonequilibrium polariton condensate
  author: ["Doan, T. D.", "Tran Thoai, D. B.", "Haug, Hartmut"]
  serial-number:
    doi: "10.1103/PhysRevB.102.165126"
  page-range: 165126-165139
  date: 2020-10-14
  parent:
    type: Periodical
    title: Physical Review B
    volume: 102
    issue: 16
    publisher: American Physical Society

wwdc-network:
  type: Article
  author: ["Mehta, Jiten", "Kinnear, Eric"]
  title: Boost Performance and Security with Modern Networking
  date: 2020-06-26
  parent:
    - type: Conference
      title: World Wide Developer Conference 2020
      organization: Apple Inc.
      location: Mountain View, CA
    - type: Video
      runtime: "00:13:42"
      url: https://developer.apple.com/videos/play/wwdc2020/10111/

plaque:
  type: Misc
  title: Informational plaque about Jacoby's 1967 photos
  publisher:
    name: Stiftung Reinbeckhallen
    location: Berlin, Germany
  date: 2020
  parent:
    type: Artwork
    date: 1967
    author: Jacoby, Max
    parent:
      type: Anthology
      title: Bleibtreustraße
      archive: Landesmuseum Koblenz
      archive-location: Koblenz, Germany

$id would need to be added.

@mkdjr

mkdjr commented Feb 24, 2025

Copy link
Copy Markdown
Contributor

Hi! I started a pull request back in June to create a JSON schema and actually just pushed some updates (#192)!

Would you be interested in joining efforts?

@jassielof

Copy link
Copy Markdown
Author

Hi, sure, I did the PR thinking it was abandoned. But sure.

@mkdjr

mkdjr commented Feb 24, 2025

Copy link
Copy Markdown
Contributor

That's very fair. I feel bad for not finishing it earlier.

@jassielof

Copy link
Copy Markdown
Author

It's ok, just let me know how can I contribute your PR so I close this one.

@mkdjr

mkdjr commented Feb 24, 2025

Copy link
Copy Markdown
Contributor

Your schema looks much cleaner than mine, so please edit the schema however you like. I just invited you as a collaborator to my fork!

@jassielof
jassielof marked this pull request as draft February 24, 2025 18:10
@jassielof jassielof closed this Feb 25, 2025
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