Skip to content

Conversation

@nytamin
Copy link
Collaborator

@nytamin nytamin commented Nov 21, 2025

This PR copies the GDD definitions from the superfly repo into Ograf, as discussed in #24.

closes #24

@nytamin nytamin force-pushed the fix/move-gdd-definitions branch from a82d258 to 5c8d520 Compare January 19, 2026 08:42
@nytamin nytamin marked this pull request as ready for review January 19, 2026 08:42
@nytamin
Copy link
Collaborator Author

nytamin commented Jan 21, 2026

Notes from Working Group meeting 2026-01-21:

Due to the size of this PR, it would be good if we could have a few pairs of extra eyes testing this before merging it.
It would be useful with some testing instructions as well.

@nytamin
Copy link
Collaborator Author

nytamin commented Jan 21, 2026

Test instructions / How to test JSON-Schemas:

It is a little bit tricky to test JSON-schemas locally, but here is how I do it:

Preparing for test

Prerequisites

  • VSCode or other IDE that supports JSON-Schemas
  • Node.js
  • git

I start by cloning this repo, and checking out the correct branch:

> git clone https://github.com/ebu/ograf.git
> cd ograf
> git checkout fix/move-gdd-definitions

I've made a script to make it easier to test JSON-Schemas locally. It replaces all references in the JSON-schemas from https://ograf.ebu.io/** to http://localhost:8080/**:

> node v1/typescript-definitions/scripts/local-testing.js

And now, you can serve the JSON-Schemas from your localhost!

> npm install --global http-server
> http-server -p 8080

You should now be able to see the JSON-Schemas at http://127.0.0.1:8080/v1/specification/json-schemas/graphics/schema.json

Testing JSON Schemas

You can test your JSON-Schemas by changing the $schema property in the OGraf manifest to

  "$schema": "http://localhost:8080/v1/specification/json-schemas/graphics/schema.json",

You your IDE will now use your local JSON Schemas and provide intellisense and feedback.

image

@dvdeurse
Copy link
Collaborator

@nytamin I followed your instructions and experimented a bit with various GDD types, looks good to me!

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.

PSA: Moving of GDD info Ograf

3 participants