{
  "$schema": "https://mpai.community/standards/resources/MPAI-AIF/V2.0/AIW-AIM-metadata.schema.json",
  "$CanonicalURI": "https://schemas.mpai.community/CAE1/V2.4/AIWs/SpeechRestorationSystem.json",
  "title": "Speech Restoration System V2.4", "Identifier": { "ImplementerID": "/* String assigned by IIDRA */",
                                                              "Standard": "MPAI-CAE", "AIW": "CAE-SRS", "AIM": "", "Version": "V2.4" },
  "APIProfile": "Basic",
  "Description": "This AIW implements Speech Recording Sysstem",
  "Types": [
    { "Name": "SpeechObject_t", "Type": "uint8[]" },
    { "Name": "NNModel_t",      "Type": "uint8[]" },
    { "Name": "TextObject_t",   "Type": "uint8[]" } ],
  "Ports": [
    { "Name":       "AudioSegmentsForModelling",  "Direction": "InputOutput", "RecordType": "SpeechObject_t",
      "Technology": "Software",                   "Protocol": "",             "IsRemote": false },
    { "Name":       "TextList",                   "Direction": "InputOutput", "RecordType": "TextObject_t",
      "Technology": "Software",                   "Protocol": "",             "IsRemote": false },
    { "Name":       "NeuralNetworkSpeechModel",   "Direction": "InputOutput", "RecordType": "NNModel_t",
      "Technology": "Software",                   "Protocol": "",             "IsRemote": false },
    { "Name":       "DamagedSegment",             "Direction": "InputOutput", "RecordType": "SpeechObject_t",
      "Technology": "Software",                   "Protocol": "",             "IsRemote": false },
    { "Name":       "DamagedList",                "Direction": "InputOutput", "RecordType": "TextObject_t",
      "Technology": "Software",                   "Protocol": "",             "IsRemote": false },
    { "Name":       "SynthesisedSpeech",          "Direction": "OutputInput", "RecordType": "SpeechObject_t",
      "Technology": "Software",                   "Protocol": "",             "IsRemote": false },
    { "Name":       "RestoredSegment",            "Direction": "OutputInput", "RecordType": "SpeechObject_t",
      "Technology": "Software",                   "Protocol": "",             "IsRemote": false } ],
  "SubAIMs": [
    { "Name": "SpeechModelCreation",           "Identifier": { "ImplementerID": "/* String assigned by IIDRA */", "Specification": {
                                                               "Standard": "MPAI-CAE", "AIW": "", "AIM": "SpeechModelCreation", "Version": "V2.4" } } },
    { "Name": "SpeechSynthesisforRestoration", "Identifier": { "ImplementerID": "/* String assigned by IIDRA */", "Specification": {
                                                               "Standard": "MPAI-MMC", "AIW": "", "AIM": "TextToSpeech", "Version": "V2.4" } } },
    { "Name": "SpeechRestorationAssembly",     "Identifier": { "ImplementerID": "/* String assigned by IIDRA */", "Specification": {
                                                               "Standard": "MPAI-CAE", "AIW": "", "AIM": "SpeechRestorationAssembly", "Version": "V2.4" } } } ],
  "Topology": [
    { "Output": { "AIMName": "",                           "PortName": "AudioSegmentForModelling" },
      "Input": { "AIMName":  "SpeechModelCreation",        "PortName": "AudioSegmentForModelling" } },
    { "Output": { "AIMName": "",                           "PortName": "TextList" },
      "Input": { "AIMName":  "TextToSpeech",               "PortName": "TextList" } },
    { "Output": { "AIMName": "SpeechModelCreation",        "PortName": "NeuralNetworkSpeechModel" },
      "Input": { "AIMName":  "TextToSpeech",               "PortName": "NeuralNetworkSpeechModel" } },
    { "Output": { "AIMName": "",                           "PortName": "DamagedSegment" },
      "Input": { "AIMName":  "SpeechRestorationAssembly",  "PortName": "DamagedSegment" } },
    { "Output": { "AIMName": "",                           "PortName": "DamagedList" },
      "Input": { "AIMName":  "SpeechRestorationAssembly",  "PortName": "DamagedList" } },
    { "Output": { "AIMName": "TextToSpeech",               "PortName": "SynthesisedSpeech" },
      "Input": { "AIMName":  "SpeechRestorationAssembly",  "PortName": "SynthesisedSpeech" } },
    { "Output": { "AIMName": "SpeechRestorationAssembly",  "PortName": "RestoredSegment" },
      "Input": { "AIMName":  "",                           "PortName": "RestoredSegment" } } ],
  "Implementations": [],
  "Documentation": [ { "Type": "Tutorial", "URI": "https://mpai.community/standards/mpai-cae/usc/v2.4" } ]
}
  
