Skip to content

Commit

Permalink
Replace workflowType with represents (#217)
Browse files Browse the repository at this point in the history
* Replace workflowType with alternativeFor

The data model diagram didn't survive unscathed, and needs to be re-fixed. It's technically correct but aesthetically a disaster.

* Make spelling of dialogue consistent

* Fix data model diagram

* Update class-diagram.svg

Fix validation errors

* Change "alternativeFor" to "represents"

* Add `<content-descriptor>` registry table

Also tidy up some section ordering and some wording.
  • Loading branch information
nigelmegitt authored Apr 11, 2024
1 parent 2b80da2 commit 25f2686
Show file tree
Hide file tree
Showing 12 changed files with 132 additions and 59 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ttp:contentProfiles="http://www.w3.org/ns/ttml/profile/dapt1.0/content"
xml:lang="en"
daptm:langSrc="fr"
daptm:workflowType="dubbing"
daptm:represents="dialogue"
daptm:scriptType="preRecording">
<head>
<metadata>
Expand Down
2 changes: 1 addition & 1 deletion examples/intro-original-language-with-dub-language.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ttp:contentProfiles="http://www.w3.org/ns/ttml/profile/dapt1.0/content"
xml:lang="en"
daptm:langSrc="fr"
daptm:workflowType="dubbing"
daptm:represents="dialogue"
daptm:scriptType="translatedTranscript">
<head>
<metadata>
Expand Down
2 changes: 1 addition & 1 deletion examples/intro-original-language.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ttp:contentProfiles="http://www.w3.org/ns/ttml/profile/dapt1.0/content"
xml:lang="fr"
daptm:langSrc="fr"
daptm:workflowType="dubbing"
daptm:represents="dialogue"
daptm:scriptType="originalTranscript">
<head>
<metadata>
Expand Down
2 changes: 1 addition & 1 deletion examples/intro-script-with-gain.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<tt ...
daptm:workflowType="audioDescription"
daptm:represents="visualNonText, visualText"
daptm:scriptType="asRecorded"
xml:lang="en"
daptm:langSrc="">
Expand Down
2 changes: 1 addition & 1 deletion examples/intro-times-and-text.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ttp:contentProfiles="http://www.w3.org/ns/ttml/profile/dapt1.0/content"
xml:lang="en"
daptm:langSrc=""
daptm:workflowType="audioDescription"
daptm:represents="visualNonText, visualText"
daptm:scriptType="preRecording">
<body>
<div begin="10s" end="13s">
Expand Down
2 changes: 1 addition & 1 deletion examples/intro-top-level.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
ttp:contentProfiles="http://www.w3.org/ns/ttml/profile/dapt1.0/content"
xml:lang="en"
daptm:langSrc="en"
daptm:workflowType="dubbing"
daptm:represents="dialogue"
daptm:scriptType="originalTranscript">
<head>
<metadata>
Expand Down
2 changes: 1 addition & 1 deletion examples/sourceMediaIdentifier.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:ebuttm="urn:ebu:tt:metadata"
xml:lang="en"
ttp:contentProfiles="http://www.w3.org/ns/ttml/profile/dapt1.0/content"
daptm:workflowType="dubbing"
daptm:represents="dialogue"
daptm:scriptType="originalTranscript">
<head>
<metadata>
Expand Down
24 changes: 13 additions & 11 deletions figures/class-diagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion figures/sources/class-diagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ skinparam Ranksep 80
skinparam MinClassWidth 220

Class DAPTScript as "**DAPT Script**" [[#dapt-script]] {
Workflow Type [[[#workflow-type]]]
Represents [[[#represents]]]
Script Type [[[#script-type]]]
Default Language [[[#default-language]]]
{field} (optional) Text Language Source [[[#text-language-source]]]
Expand Down Expand Up @@ -101,6 +101,7 @@ SynthesizedAudio -[hidden]r- AudioRecording
' Text -[hidden]down- Audio
AudioRecording -[hidden]left- SynthesizedAudio
Audio -[hidden]left- MixingInstruction
' ScriptEventDescription -[hidden]down- MixingInstruction

hide empty members
hide circle
Expand Down
Loading

0 comments on commit 25f2686

Please sign in to comment.