{ "$schema":              "https://json-schema.org/draft/2020-12/schema",
  "$comment":             "https://schemas.mpai.community/AIF/V3.0/data/AIMMetadata.json",
  "$id":                  "https://schemas.mpai.community/CAE1/V2.5/AIMs/EmotionEnhancedSpeech.json",
  "title":                "Emotion Enhanced Speech V2.5",
  "Header":               "CAE-EES-V2.5",

  "Identifier":           {"ImplementerID": "/* String assigned by IIDRA */", "ImplementationID": "/* String assigned by Implementer */", "AIMName": "/* The name of the AIM, given by the concatenation of the two strings ImplementerID and ImplementationID, in this order, with no space and no character between them. */"},

  "APIProfile":           "Basic",
  "Execution":            "Exchange",
  "Description":          "Adds emotion to a speech segment either by modifying its prosodic features (Speech Feature Analysis 1, Prosodic Emotion Insertion) or by a neural network that produces the speech features of the emotion (Speech Feature Analysis 2, Emotion Feature Production, Neural Emotion Insertion).",

  "InternalTypes":        [ ],

  "ExternalPorts":        [{"Name": "ModeSelectorProsodic", "Direction": "Input", "DataType": "OSD-SEL-V1.5", "PortNumber": 1, "Technology": "Software", "Protocol": "", "IsRemote": false},
                           {"Name": "ModelUtterance", "Direction": "Input", "DataType": "OSD-BSO-V1.5", "PortNumber": 1, "Technology": "Software", "Protocol": "", "IsRemote": false},
                           {"Name": "ModeSelectorNeural", "Direction": "Input", "DataType": "OSD-SEL-V1.5", "PortNumber": 2, "Technology": "Software", "Protocol": "", "IsRemote": false},
                           {"Name": "LanguageSelector", "Direction": "Input", "DataType": "OSD-SEL-V1.5", "PortNumber": 3, "Technology": "Software", "Protocol": "", "IsRemote": false},
                           {"Name": "EmotionListNeural", "Direction": "Input", "DataType": "MMC-EEM-V2.5", "PortNumber": 1, "Technology": "Software", "Protocol": "", "IsRemote": false},
                           {"Name": "EmotionListProsodic", "Direction": "Input", "DataType": "MMC-EEM-V2.5", "PortNumber": 2, "Technology": "Software", "Protocol": "", "IsRemote": false},
                           {"Name": "EmotionlessSpeechForFeatures", "Direction": "Input", "DataType": "OSD-BSO-V1.5", "PortNumber": 2, "Technology": "Software", "Protocol": "", "IsRemote": false},
                           {"Name": "EmotionlessSpeechProsodic", "Direction": "Input", "DataType": "OSD-BSO-V1.5", "PortNumber": 3, "Technology": "Software", "Protocol": "", "IsRemote": false},
                           {"Name": "EmotionlessSpeechNeural", "Direction": "Input", "DataType": "OSD-BSO-V1.5", "PortNumber": 4, "Technology": "Software", "Protocol": "", "IsRemote": false},
                           {"Name": "SpeechWithEmotionProsodic", "Direction": "Output", "DataType": "OSD-BSO-V1.5", "PortNumber": 1, "IsOptional": true, "Technology": "Software", "Protocol": "", "IsRemote": false},
                           {"Name": "SpeechWithEmotionNeural", "Direction": "Output", "DataType": "OSD-BSO-V1.5", "PortNumber": 2, "IsOptional": true, "Technology": "Software", "Protocol": "", "IsRemote": false}],
  "SubAIMs":              [{"Header": "CAE-SFA-V2.5", "Identifier": {"ImplementerID": "/* String assigned by IIDRA */", "ImplementationID": "/* String assigned by Implementer */", "AIMName": "/* The name of the AIM, given by the concatenation of the two strings ImplementerID and ImplementationID, in this order, with no space and no character between them. */", "Relation": "Internal"}},
                           {"Header": "CAE-SFB-V2.5", "Identifier": {"ImplementerID": "/* String assigned by IIDRA */", "ImplementationID": "/* String assigned by Implementer */", "AIMName": "/* The name of the AIM, given by the concatenation of the two strings ImplementerID and ImplementationID, in this order, with no space and no character between them. */", "Relation": "Internal"}},
                           {"Header": "CAE-EFP-V2.5", "Identifier": {"ImplementerID": "/* String assigned by IIDRA */", "ImplementationID": "/* String assigned by Implementer */", "AIMName": "/* The name of the AIM, given by the concatenation of the two strings ImplementerID and ImplementationID, in this order, with no space and no character between them. */", "Relation": "Internal"}},
                           {"Header": "CAE-PEI-V2.5", "Identifier": {"ImplementerID": "/* String assigned by IIDRA */", "ImplementationID": "/* String assigned by Implementer */", "AIMName": "/* The name of the AIM, given by the concatenation of the two strings ImplementerID and ImplementationID, in this order, with no space and no character between them. */", "Relation": "Internal"}},
                           {"Header": "CAE-NEI-V2.5", "Identifier": {"ImplementerID": "/* String assigned by IIDRA */", "ImplementationID": "/* String assigned by Implementer */", "AIMName": "/* The name of the AIM, given by the concatenation of the two strings ImplementerID and ImplementationID, in this order, with no space and no character between them. */", "Relation": "Internal"}}],
  "Topology":             [{"Output": {"AIMName": "", "DataType": "OSD-SEL-V1.5", "PortNumber": 1}, "Input": {"AIMName": "CAE-SFA-V2.5", "DataType": "OSD-SEL-V1.5"}},
                           {"Output": {"AIMName": "", "DataType": "OSD-BSO-V1.5", "PortNumber": 1}, "Input": {"AIMName": "CAE-SFA-V2.5", "DataType": "OSD-BSO-V1.5"}},
                           {"Output": {"AIMName": "", "DataType": "OSD-BSO-V1.5", "PortNumber": 2}, "Input": {"AIMName": "CAE-SFB-V2.5", "DataType": "OSD-BSO-V1.5"}},
                           {"Output": {"AIMName": "", "DataType": "OSD-SEL-V1.5", "PortNumber": 2}, "Input": {"AIMName": "CAE-SFB-V2.5", "DataType": "OSD-SEL-V1.5"}},
                           {"Output": {"AIMName": "CAE-SFB-V2.5", "DataType": "MMC-SDO-V2.5"}, "Input": {"AIMName": "CAE-EFP-V2.5", "DataType": "MMC-SDO-V2.5"}},
                           {"Output": {"AIMName": "", "DataType": "MMC-EEM-V2.5", "PortNumber": 1}, "Input": {"AIMName": "CAE-EFP-V2.5", "DataType": "MMC-EEM-V2.5"}},
                           {"Output": {"AIMName": "", "DataType": "OSD-SEL-V1.5", "PortNumber": 3}, "Input": {"AIMName": "CAE-EFP-V2.5", "DataType": "OSD-SEL-V1.5"}},
                           {"Output": {"AIMName": "CAE-SFA-V2.5", "DataType": "MMC-SDO-V2.5"}, "Input": {"AIMName": "CAE-PEI-V2.5", "DataType": "MMC-SDO-V2.5"}},
                           {"Output": {"AIMName": "", "DataType": "MMC-EEM-V2.5", "PortNumber": 2}, "Input": {"AIMName": "CAE-PEI-V2.5", "DataType": "MMC-EEM-V2.5"}},
                           {"Output": {"AIMName": "", "DataType": "OSD-BSO-V1.5", "PortNumber": 3}, "Input": {"AIMName": "CAE-PEI-V2.5", "DataType": "OSD-BSO-V1.5"}},
                           {"Output": {"AIMName": "", "DataType": "OSD-BSO-V1.5", "PortNumber": 4}, "Input": {"AIMName": "CAE-NEI-V2.5", "DataType": "OSD-BSO-V1.5"}},
                           {"Output": {"AIMName": "CAE-EFP-V2.5", "DataType": "MMC-SDO-V2.5"}, "Input": {"AIMName": "CAE-NEI-V2.5", "DataType": "MMC-SDO-V2.5"}},
                           {"Output": {"AIMName": "CAE-PEI-V2.5", "DataType": "OSD-BSO-V1.5"}, "Input": {"AIMName": "", "DataType": "OSD-BSO-V1.5", "PortNumber": 1}},
                           {"Output": {"AIMName": "CAE-NEI-V2.5", "DataType": "OSD-BSO-V1.5"}, "Input": {"AIMName": "", "DataType": "OSD-BSO-V1.5", "PortNumber": 2}}],

  "AIMLicence":          "/* AIM Licence offered by the Implementer (AIF-LIC-V3.0): Grant, Term, Updates, Payment, TermsURI - or omit it if the AIM needs no AIM Licence */",

  "Implementations":      [{"ImplementationURI": "/* URI storing Implementation */",
                            "BinaryName":       "/* BinaryName */",
                            "Architecture":     "/* x86 | x86-64 | ARM | ARM64 | MIPS | RISC-V */",
                            "OperatingSystem":  "/* Windows | Linux | MacOS | Debian | Ubuntu | RedHat | Android | Zephyr | RTOS | Oniro | iOS */",
                            "Version":          "/* Version */",
                            "Source":           "/* AIMStorage | MPAIStore | AIMURL */",
                            "Destination":      "/* Destination URI */"}],

  "ResourcePolicies":     [{"Name": "Memory",    "Minimum": "/* GB */",                  "Request": "/* GB */",                  "Maximum": "/* GB */"},
                           {"Name": "CPU:Class", "Minimum": "/* Low | Medium | High */", "Request": "/* Low | Medium | High */", "Maximum": "/* Low | Medium | High */"}],

  "DataXMData":           { },

  "Documentation":        [{"Type": "Specification", "URI": "https://mpai.community/standards/mpai-cae/usc/v2-5/ai-modules/emotion-enhanced-speech/"}]}
