{ "$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/AudioSceneObjectIdentification.json",
  "title":                "Audio Scene Object Identification V2.5",
  "Identifier":       {"ImplementerID": "/* String assigned by IIDRA */", "ImplementationID": "/* String assigned by Implementer */", "AIMCode": "/* The AIM Instance ID of the L3 (its AIMInstID), given by the concatenation of the two strings ImplementerID and ImplementationID, in this order, with no space and no character between them. */"},
  "Header":            "AIF-AMM-V3.0",
  "AIMType":           "CAE-ASI-V2.5",

  "APIProfile":       "Basic",
  "Description":      "Audio Scene object Identification: classifies each audio object of the Basic Audio Scene with YAMNet and requalifies it - a speech object becomes a Basic Speech Object (OSD-BSO) for Speaker Recognition/ASR/Personal Status; other sound stays a Basic Audio Object (OSD-BAO) for Audio Instance Identification.",

  "InternalTypes":   [ ],

  "ExternalPorts":   [{"Name": "AudioSceneDescriptors", "Direction": "Input",  "DataType": ["OSD-EAD-V1.5", "OSD-BAS-V1.5"],                     "Technology": "", "Protocol": "", "IsRemote": ""},
                     {"Name": "AudioVisualSceneDescriptors", "Direction": "Input",  "DataType": "OSD-BMS-V1.5", "IsOptional": true, "Technology": "", "Protocol": "", "IsRemote": ""},
                     {"Name": "BasicSpeechObject",          "Direction": "Output", "DataType": "OSD-BSO-V1.5",                     "Technology": "", "Protocol": "", "IsRemote": ""},
                     {"Name": "AudioObject",           "Direction": "Output", "DataType": "OSD-BAO-V1.5",                     "Technology": "", "Protocol": "", "IsRemote": ""}],

  "SubAIMs":         [ ],

  "Topology":        [ ],

  "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": "sound-classifier", "Uri": "/* URI of the file */", "Sha256": "/* SHA-256 */", "Setting": "YamnetModel", "AsFile": "yamnet.onnx", "Description": "The sound classification model (YAMNet, 521 classes of AudioSet)."},
                      {"Name": "sound-classes", "Uri": "/* URI of the file */", "Sha256": "/* SHA-256 */", "Setting": "YamnetClassMap", "AsFile": "yamnet_class_map.csv", "Description": "The names of the classes the sound classification model gives."}],

  "Implementations": [{ "ImplementationURI":"/* absolute URI locating the Implementation */",
                        "BinaryName":       "/* provided by implementer */",
                        "Architecture":     "/* x86-64 | ARM64 */",
                        "MASPort":          443,
                        "Firewall":         [{ "Protocol": "TCP | UDP", "Version": "IPV4 | IPV6", "Direction": "Ingress | Egress | Both", "Range": "9990[-9999]", "Source": "0.0.0.0/0" }],
                        "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": "Specification", "URI": "https://mpai.community/standards/mpai-cae/v1-0/"}]}