{
  "$schema": "http://json-schema.org/draft/2020-12/schema",
  "$id": "https://schemas.mpai.community/MMM4/V2.0/data/BasicDiscovery.json",
  "title": "BasicDiscovery",
  "type": "object",
  "properties": {
    "Header": {
      "type": "string",
      "pattern": "^MMM-BDV-V[0-9]{1,2}[.][0-9]{1,2}$"
    },
    "MInstanceID": {
      "type": "string"
    },
    "BasicDiscoveryID": {
      "type": "string"
    },
    "BasicDiscovery": {
      "type": "object",
      "properties": {
        "DiscoveryRequest": {
          "type": "object",
          "properties": {
            "RequestText": {
              "type": "string"
            },
            "ItemID": {
              "type": "string"
            },
            "PerceptibleEntity": {
                "$ref": "https://schemas.mpai.community/OSD/V1.3/data/PerceptibleEntity.json"
              },
            "ProcessID": {
              "type": "string"
            },
            "ModelRights": {
              "$ref": "https://schemas.mpai.community/MMM4/V2.0/data/Rights.json"
            }
          }
        },
        "DiscoveryResponse": {
          "type": "object",
          "properties": {
            "Items": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "ItemID": {
                    "type": "string"
                  },
                  "PerceptibleEntity": {
                    "$ref": "https://schemas.mpai.community/OSD/V1.3/data/PerceptibleEntity.json"
                  },
                  "MLocationID": {
                    "type": "string"
                  }
                }
              }
            },
            "Processes": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "ProcessID": {
                    "type": "string"
                  }
                }
              }
            },
            "OutRights": {
              "$ref": "https://schemas.mpai.community/MMM4/V2.0/data/Rights.json"
            }
          }
        }
      }
    },
    "DescrMetadata": {
      "type": "string"
    }
  }
}