"mention_node": { "type": "object", "additionalProperties": false, "required": [ "type", "attrs" ], "properties": { "type": { "enum": ["mention"] }, "attrs": { "type": "object", "additionalProperties": false, "required": ["id"], "properties": {} } } }
"type": { "enum": ["mention"] }
"attrs": { "type": "object", "additionalProperties": false, "required": ["id"], "properties": { "id": {"type": "string"}, "text": {"type": "string"}, "userType": { "enum": [ "APP", "SPECIAL", "DEFAULT" ] }, "accessLevel": {"type": "string"} } }
"id": {"type": "string"}
"text": {"type": "string"}
"userType": { "enum": [ "APP", "SPECIAL", "DEFAULT" ] }
"accessLevel": {"type": "string"}