{
  "$id":                          "https://schemas.mpai.community/MMC/V2.5/data/SpeechPersonalStatus.json",
  "$schema":                      "https://json-schema.org/draft/2020-12/schema",
  "title":                        "Speech Personal Status V2.5",
  "description":                  "Describes personal speech-related cognitive, emotional, and social state.",
  "type":                         "object",
  "required":                     ["Header", "SpeechPersonalStatusID"],

  "properties": {
    "Header":                     { "type": "string", "const": "MMC-SPS-V2.5" },
    "MInstanceID":                { "type": "string", "description": "M-Instance identifier." },
    "UEnvironmentID":             { "type": "string", "description": "U-Environment identifier." },
    "SpeechPersonalStatusID":     { "type": "string", "description": "Unique speech personal status ID." },
    "SpeechPersonalStatusTime":   { "$ref": "https://schemas.mpai.community/OSD/V1.5/data/SimpleTime.json" },


    "SpeechCognitiveState":       { "type": "object", "properties": { "Value": { "type": "number", "minimum": 0 } } },

    "SpeechEmotion":              { "type": "object", "properties": { "Value": { "type": "number", "minimum": 0 } } },

    "SpeechSocialAttitude":       { "type": "object", "properties": { "Value": { "type": "number", "minimum": 0 } } },

    "DataXMData":                 { "$ref": "https://schemas.mpai.community/PTF/V1.0/data/DataExchangeMetadata.json" },
    "DescrMetadata":              { "type": "string", "maxLength": 2048 } } }
