{ "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":           "OSD-MAC-V1.5",

  "APIProfile":       "Basic",
  "Description":      "Multimodal Access Control: recognises a User from face and speech and issues a spoken/rendered verdict. Face Recognition and Speaker Recognition read the enrolled gallery (the User IDs) and the Scene Descriptors from Shared Storage - these are NOT ports. Time (OSD-STM) accompanies each captured object and is supplied by the User Agent's clock. ID Reconciliation reconciles the two candidate Instance Identifiers and issues the Response (the verdict words) and its Personal Status; Response and Scene Rendering speaks the Response and produces the lip-synced Machine Face Descriptors. The reconciled UserID stays internal; the User consumes the Response and the avatar. Acquisition and delivery are the User Agent, not sub-AIMs.",

  "InternalTypes":   [{"Name": "FaceID",         "DataType": "OSD-IID-V1.5"},
                     {"Name": "SpeakerID",      "DataType": "OSD-IID-V1.5"},
                     {"Name": "UserID",         "DataType": "OSD-IID-V1.5"},
                     {"Name": "PersonalStatus", "DataType": "MMC-EPS-V2.5"},
                          {"DataType": "OSD-BTO-V1.5", "Output": 1} ],

  "ExternalPorts":   [{"Name": "FaceObject", "Direction": "Input", "DataType": "OSD-BVO-V1.5", "Technology": "", "Protocol": "", "IsRemote": ""},
                          {"Name": "BasicSpeechObject", "Direction": "Input", "DataType": "OSD-BSO-V1.5", "Technology": "", "Protocol": "", "IsRemote": ""},
                          {"Name": "Prompt", "Direction": "Input", "DataType": "OSD-BTO-V1.5", "Output": 1, "IsOptional": true, "Technology": "", "Protocol": "", "IsRemote": ""},
                          {"Name": "Response", "Direction": "Output", "DataType": "OSD-BTO-V1.5", "Output": 1, "Technology": "", "Protocol": "", "IsRemote": ""},
                          {"Name": "Identification", "Direction": "Output", "DataType": "boolean", "Technology": "", "Protocol": "", "IsRemote": ""},
                          {"Name": "AvatarModel", "Direction": "Input", "DataType": "OSD-B3O-V1.5", "Technology": "", "Protocol": "", "IsRemote": ""},
                          {"Name": "MachineID", "Direction": "Input", "DataType": "string", "Technology": "", "Protocol": "", "IsRemote": "", "IsOptional": true},
                          {"Name": "PortableAvatar", "Direction": "Output", "DataType": "PAF-PAV-V1.6", "Technology": "", "Protocol": "", "IsRemote": ""}],

  "SubAIMs":         [{ "AIMType": "PAF-FIR-V1.6", "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. */", "Relation": "" } },
                     { "AIMType": "MMC-SIR-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. */", "Relation": "" } },
                     { "AIMType": "OSD-IDR-V1.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. */", "Relation": "" } },
                     { "AIMType": "PAF-RSR-V1.6", "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. */", "Relation": "" } }],

  "Topology":             [{"Output": {"AIMCode": "", "DataType": "OSD-BVO-V1.5"}, "Input": {"AIMCode": "PAF-FIR-V1.6", "DataType": "OSD-BVO-V1.5"}},
                          {"Output": {"AIMCode": "", "DataType": "OSD-BSO-V1.5"}, "Input": {"AIMCode": "MMC-SIR-V2.5", "DataType": "OSD-BSO-V1.5"}},
                          {"Output": {"AIMCode": "", "DataType": "OSD-BTO-V1.5"}, "Input": {"AIMCode": "PAF-RSR-V1.6", "DataType": "OSD-BTO-V1.5", "PortNumber": 1}},
                          {"Output": {"AIMCode": "PAF-FIR-V1.6", "DataType": "OSD-IID-V1.5"}, "Input": {"AIMCode": "OSD-IDR-V1.5", "DataType": "OSD-IID-V1.5", "PortNumber": 1}},
                          {"Output": {"AIMCode": "MMC-SIR-V2.5", "DataType": "OSD-IID-V1.5"}, "Input": {"AIMCode": "OSD-IDR-V1.5", "DataType": "OSD-IID-V1.5", "PortNumber": 2}},
                          {"Output": {"AIMCode": "OSD-IDR-V1.5", "DataType": "MMC-EPS-V2.5"}, "Input": {"AIMCode": "PAF-RSR-V1.6", "DataType": "MMC-EPS-V2.5"}},
                          {"Output": {"AIMCode": "OSD-IDR-V1.5", "DataType": "OSD-BTO-V1.5"}, "Input": {"AIMCode": "PAF-RSR-V1.6", "DataType": "OSD-BTO-V1.5", "PortNumber": 1}},
                          {"Output": {"AIMCode": "OSD-IDR-V1.5", "DataType": "OSD-BTO-V1.5"}, "Input": {"AIMCode": "", "DataType": "OSD-BTO-V1.5"}},
                          {"Output": {"AIMCode": "PAF-RSR-V1.6", "DataType": "PAF-PAV-V1.6"}, "Input": {"AIMCode": "", "DataType": "PAF-PAV-V1.6"}},
                          {"Output": {"AIMCode": "OSD-IDR-V1.5", "DataType": "boolean"}, "Input": {"AIMCode": "", "DataType": "boolean"}},
                          {"Output": {"AIMCode": "", "DataType": "OSD-B3O-V1.5"}, "Input": {"AIMCode": "PAF-RSR-V1.6", "DataType": "OSD-B3O-V1.5"}},
                          {"Output": {"AIMCode": "", "DataType": "string"}, "Input": {"AIMCode": "PAF-RSR-V1.6", "DataType": "string"}}],


  "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":"/* 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-osd/v1-5/"}]}