﻿{ "$schema":                  "https://json-schema.org/draft/2020-12/schema",
  "$id":                      "https://schemas.mpai.community/MMC/V2.5/data/Meaning.json",
  "title":                    "Meaning V2.5", "type": "object", "properties": {

    "Header":                 { "type": "string", "pattern": "^MMC-MEA-V[0-9]{1,2}[.][0-9]{1,2}$" },

    "MInstanceID":            { "type": "string" },

    "MeaningID":              { "type": "string" },

    "MeaningTime":            { "$ref": "https://schemas.mpai.community/OSD/V1.5/data/Time.json" },

    "Meaning":                { "type": "object", "properties": {

                                  "POS_tagging":          { "type": "object", "properties": {
                                                            "POS_tagging_set":    { "type": "string" },
                                                            "POS_tagging_result": { "type": "string" } } },

                                  "NE_tagging":           { "type": "object", "properties": {
                                                            "NE_tagging_set":     { "type": "string" },
                                                            "NE_tagging_result":  { "type": "string" } } },

                                  "dependency_tagging":   { "type": "object", "properties": {
                                                            "dependency_tagging_set":    { "type": "string" },
                                                            "dependency_tagging_result": { "type": "string" } } },

                                  "SRL_tagging":          { "type": "object", "properties": {
                                                            "SRL_tagging_set":    { "type": "string" },
                                                            "SRL_tagging_result": { "type": "string" } } } } },

    "Trace":                  { "$ref": "https://schemas.mpai.community/AIF/V3.0/data/Trace.json" },

    "DescrMetadata":          { "type": "string", "maxLength": 2048 } } }