{
    "$schema":  "https://json-schema.org/draft/2020-12/schema",
    "title":  "AIF metadata for MPAI-AIF V2.0",
    "type":  "object",
    "properties":  {
                       "ImplementerID":  {
                                             "type":  "string",
                                             "description":  "String assigned by IIDRA"
                                         },
                       "Version":  {
                                       "type":  "string",
                                       "description":  "Provided by the Implementer. Replaced by \u0027*\u0027 in technical specifications"
                                   },
                       "APIProfile":  {
                                          "type":  "string",
                                          "enum":  [
                                                       "Basic",
                                                       "Secure"
                                                   ],
                                          "description":  "Provided in Chapter 10. Selected by the Implementer"
                                      },
                       "Resources":  {
                                         "type":  "object",
                                         "properties":  {
                                                            "ComputingPolicies":  {
                                                                                      "type":  "array",
                                                                                      "items":  {
                                                                                                    "type":  "object",
                                                                                                    "properties":  {
                                                                                                                       "Name":  {
                                                                                                                                    "type":  "string"
                                                                                                                                },
                                                                                                                       "Minimum":  {
                                                                                                                                       "type":  "string"
                                                                                                                                   },
                                                                                                                       "Maximum":  {
                                                                                                                                       "type":  "string"
                                                                                                                                   }
                                                                                                                   },
                                                                                                    "required":  [
                                                                                                                     "Name"
                                                                                                                 ]
                                                                                                }
                                                                                  },
                                                            "Storage":  {
                                                                            "type":  "string"
                                                                        },
                                                            "Controller":  {
                                                                               "type":  "string"
                                                                           },
                                                            "Extension":  {
                                                                              "type":  "string"
                                                                          }
                                                        }
                                     },
                       "Services":  {
                                        "type":  "object",
                                        "properties":  {
                                                           "Communication":  {
                                                                                 "type":  "string"
                                                                             },
                                                           "TrustedServices":  {
                                                                                   "type":  "object",
                                                                                   "properties":  {
                                                                                                      "Communication":  {
                                                                                                                            "type":  "string"
                                                                                                                        },
                                                                                                      "Authentication":  {
                                                                                                                             "type":  "string"
                                                                                                                         },
                                                                                                      "Encryption":  {
                                                                                                                         "type":  "string"
                                                                                                                     },
                                                                                                      "Attestation":  {
                                                                                                                          "type":  "string"
                                                                                                                      },
                                                                                                      "Extension":  {
                                                                                                                        "type":  "string"
                                                                                                                    }
                                                                                                  }
                                                                               },
                                                           "TimeBase":  {
                                                                            "type":  "string",
                                                                            "enum":  [
                                                                                         "NTP",
                                                                                         "RTP",
                                                                                         "RTCP"
                                                                                     ]
                                                                        }
                                                       }
                                    }
                   },
    "required":  [
                     "ImplementerID",
                     "Version"
                 ],
    "$id":  "https://schemas.mpai.community/AIF/V2.0/AIF-metadata.schema.json"
}

