Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"$schema": "../schema.cdm.json",
"jsonSchemaSemanticVersion": "1.0.0",
"imports": [
{
"corpusPath": "/foundations.cdm.json"
},
{
"corpusPath": "/meanings.cdm.json"
}
],
"definitions": [{
"entityName": "Comments",
"extendsEntity": "CdmEntity",
"description": "Comments send from users through various sources.",
"hasAttributes": [
{
"name": "id",
"dataType": "string",
"description": "Identifies the registry as unique within the entity."
},
{
"name": "postAuthor",
"dataType": "string",
"description": "Comment's author name."
},
{
"name": "postDate",
"dataType": "string",
"description": "Date when the comment was posted."
},
{
"name": "postMessage",
"dataType": "string",
"description": "Message posted by the user."
},
{
"name": "postSentiment",
"dataType": "string",
"description": "Identified sentiment."
}
]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment