Skip to content

Commit c061cbc

Browse files
committed
update json-schema url to point at the ebu github repo
1 parent 91ae66e commit c061cbc

File tree

5 files changed

+21
-14
lines changed

5 files changed

+21
-14
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
__old_from_tmp_repo/
2+
3+
# scripts used in local testing
4+
local-scripts/

v1-draft-0/specification/docs/Specification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ The following manifest describes a simple Lower Third Graphic. It does not conta
201201

202202
```json
203203
{
204-
"$schema": "https://superflytv.github.io/tmp-GraphicsDefinition/definition/definition/json-schema/v1/graphics-manifest/schema.json",
204+
"$schema": "https://ebu.github.io/ograf/v1-draft-0/specification/json-schemas/graphics/schema.json",
205205
"id": "l3rd-name",
206206
"version": "1.0.0",
207207
"name": "Lower 3rd - Name",

v1-draft-0/specification/json-schemas/graphics/schema.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://superflytv.github.io/tmp-GraphicsDefinition/definition/definition/json-schema/v1/graphics-manifest/schema.json",
3+
"$id": "https://ebu.github.io/ograf/v1-draft-0/specification/json-schemas/graphics/schema.json",
44
"type": "object",
55
"properties": {
66
"$schema": {
77
"type": "string",
8-
"const": "https://superflytv.github.io/tmp-GraphicsDefinition/definition/definition/json-schema/v1/graphics-manifest/schema.json",
8+
"const": "https://ebu.github.io/ograf/v1-draft-0/specification/json-schemas/graphics/schema.json",
99
"description": "Reference to the JSON-schema for this manifest"
1010
},
1111
"id": {
1212
"type": "string",
13-
"description": "The id of the Graphic uniquely identifies it. It is recommended to use a reverse domain name notation. For example: com.superflytv.my-lowerthird."
13+
"description": "The id of the Graphic uniquely identifies it. It is recommended to use a reverse domain name notation. For example: com.my-company.my-lowerthird."
1414
},
1515
"version": {
1616
"type": "string",
@@ -57,7 +57,7 @@
5757
"type": "array",
5858
"description": "Custom Actions that can be invoked on the Graphic.",
5959
"items": {
60-
"$ref": "https://superflytv.github.io/tmp-GraphicsDefinition/definition/definition/json-schema/v1/lib/action.json"
60+
"$ref": "https://ebu.github.io/ograf/v1-draft-0/specification/json-schemas/lib/action.json"
6161
}
6262
},
6363
"supportsRealTime": {

v1-draft-0/specification/json-schemas/lib/action.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://superflytv.github.io/tmp-GraphicsDefinition/definition/definition/json-schema/v1/lib/action.json",
3+
"$id": "https://ebu.github.io/ograf/v1-draft-0/specification/json-schemas/lib/action.json",
44
"type": "object",
55
"properties": {
66
"id": {

v1-draft-0/typescript-definitions/src/generated/graphics-manifest.ts

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -447,13 +447,13 @@ export type HttpsSuperflytvGithubIoGraphicsDataDefinitionGddMetaSchemaV1LibObjec
447447
[k: string]: unknown;
448448
};
449449

450-
export interface HttpsSuperflytvGithubIoTmpGraphicsDefinitionDefinitionDefinitionJsonSchemaV1GraphicsManifestSchemaJson {
450+
export interface HttpsEbuGithubIoOgrafV1Draft0SpecificationJsonSchemasGraphicsSchemaJson {
451451
/**
452452
* Reference to the JSON-schema for this manifest
453453
*/
454-
$schema: "https://superflytv.github.io/tmp-GraphicsDefinition/definition/definition/json-schema/v1/graphics-manifest/schema.json";
454+
$schema: "https://ebu.github.io/ograf/v1-draft-0/specification/json-schemas/graphics/schema.json";
455455
/**
456-
* The id of the Graphic uniquely identifies it. It is recommended to use a reverse domain name notation. For example: com.superflytv.my-lowerthird.
456+
* The id of the Graphic uniquely identifies it. It is recommended to use a reverse domain name notation. For example: com.my-company.my-lowerthird.
457457
*/
458458
id: string;
459459
/**
@@ -512,27 +512,31 @@ export interface HttpsSuperflytvGithubIoTmpGraphicsDefinitionDefinitionDefinitio
512512
stepCount?: number;
513513
schema?: HttpsSuperflytvGithubIoGraphicsDataDefinitionGddMetaSchemaV1LibObjectJson1;
514514
/**
515-
* This interface was referenced by `HttpsSuperflytvGithubIoTmpGraphicsDefinitionDefinitionDefinitionJsonSchemaV1GraphicsManifestSchemaJson`'s JSON-Schema definition
515+
* This interface was referenced by `HttpsEbuGithubIoOgrafV1Draft0SpecificationJsonSchemasGraphicsSchemaJson`'s JSON-Schema definition
516516
* via the `patternProperty` "^v_.*".
517517
*/
518518
[k: string]: unknown;
519519
}
520520
export interface HttpsSuperflytvGithubIoTmpGraphicsDefinitionDefinitionDefinitionJsonSchemaV1LibActionJson {
521+
/**
522+
* The identity of the action.
523+
*/
524+
id: string;
521525
/**
522526
* The name of the action. This is displayed to the user.
523527
*/
524-
label: string;
528+
name: string;
525529
/**
526530
* A longer description of the action. This is displayed to the user.
527531
*/
528532
description?: string;
529533
/**
530-
* The schema of the action. This is used to validate the action parameters as well as auto-generate a GUI for the action.
534+
* The schema of the action. This is used to validate the action parameters as well as auto-generate a GUI for the action. If the action does not require any parameters, set this to null.
531535
*/
532-
schema: null | HttpsSuperflytvGithubIoGraphicsDataDefinitionGddMetaSchemaV1LibObjectJson;
536+
schema?: HttpsSuperflytvGithubIoGraphicsDataDefinitionGddMetaSchemaV1LibObjectJson | null;
533537
/**
534538
* This interface was referenced by `HttpsSuperflytvGithubIoTmpGraphicsDefinitionDefinitionDefinitionJsonSchemaV1LibActionJson`'s JSON-Schema definition
535-
* via the `patternProperty` "^_.*".
539+
* via the `patternProperty` "^v_.*".
536540
*/
537541
[k: string]: unknown;
538542
}

0 commit comments

Comments
 (0)