{ "$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/MMC/V2.5/AIMs/SpeechPersonalStatusExtraction.json",
  "title": "Speech Personal Status Extraction Composite V2.5",

  "Header":       "MMC-SPE-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",
  "Description":  "This composite AIM extracts the Personal Status conveyed by Speech.",

  "ExternalPorts":  [
    { "Name": "BasicSpeechObject",         "Direction": "Input",  "DataType": ["OSD-BSO-V1.5", "OSD-SPO-V1.5"],                     "Technology": "Software", "Protocol": "", "IsRemote": false },
    { "Name": "SpeechDescriptors",    "Direction": "Input",  "DataType": "MMC-SDO-V2.5",                   "IsOptional": true, "Technology": "Software", "Protocol": "", "IsRemote": false },
    { "Name": "SpeechPersonalStatus", "Direction": "Output", "DataType": "MMC-SPS-V2.5",                                       "Technology": "Software", "Protocol": "", "IsRemote": false }
  ],

  "SubAIMs":  [
    { "Header": "MMC-ESD-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. */" } },
    { "Header": "MMC-PSI-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. */" } }
  ],

  "Topology":             [{"Output": {"AIMName": "", "DataType": "OSD-BSO-V1.5"}, "Input": {"AIMName": "MMC-ESD-V2.5", "DataType": "OSD-BSO-V1.5"}},
                          {"Output": {"AIMName": "MMC-ESD-V2.5", "DataType": "MMC-SDO-V2.5"}, "Input": {"AIMName": "MMC-PSI-V2.5", "DataType": "MMC-SDO-V2.5"}},
                          {"Output": {"AIMName": "", "DataType": "MMC-SDO-V2.5"}, "Input": {"AIMName": "MMC-PSI-V2.5", "DataType": "MMC-SDO-V2.5"}},
                          {"Output": {"AIMName": "MMC-PSI-V2.5", "DataType": "MMC-SPS-V2.5"}, "Input": {"AIMName": "", "DataType": "MMC-SPS-V2.5"}}],

  "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 */",

  "AccessSources":   [{"Name": "spe-model", "Uri": "/* URI of the file or of the archive that holds it */", "Sha256": "/* SHA-256 of the file */", "Setting": "W2v2Model", "AsFile": "model.onnx", "Description": "The speech emotion model."}],

  "Implementations":  [
   {
    "BinaryName": "/* provided by implementer */",
    "Architecture": "/* x86-64 | ARM64 */",
    "OperatingSystem": "/* Windows | Linux | MacOS */",
    "Version": "/* implementer version */",
    "Source": "/* AIMStorage | MPAIStore */",
    "Destination": "/* provided by implementer */"
   }
  ],

  "ResourcePolicies":  [
    { "Name": "Memory",               "Minimum": "/* GB */",             "Maximum": "/* GB */",             "Request": "/* GB */" },
    { "Name": "CPU:Number",           "Minimum": "/* integer, 0=all */", "Maximum": "/* integer, 0=all */", "Request": "/* integer */" },
    { "Name": "CPU:Class",            "Minimum": "/* string */",         "Maximum": "/* string */",         "Request": "/* string */" },
    { "Name": "GPU:Number",           "Minimum": "/* integer, 0=all */", "Maximum": "/* integer, 0=all */", "Request": "/* integer */" },
    { "Name": "GPU:CUDA:Class",       "Minimum": "/* string */",         "Maximum": "/* string */",         "Request": "/* string */" },
    { "Name": "GPU:CUDA:FrameBuffer", "Minimum": "/* GB */",             "Maximum": "/* GB */",             "Request": "/* GB */" },
    { "Name": "GPU:CUDA:MemorySpeed", "Minimum": "/* GB/s */",           "Maximum": "/* GB/s */",           "Request": "/* GB/s */" }
  ],

  "DataXMData":  { },

  "Documentation":  [{ "Type": "Tutorial", "URI": "https://mpai.community/standards/mpai-mmc/v2-5/" }] }