Skip to content

Instantly share code, notes, and snippets.

@fabriciosanchez
Created January 14, 2021 15:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fabriciosanchez/cb022e52bca68d54c12c872368faeb0d to your computer and use it in GitHub Desktop.
Save fabriciosanchez/cb022e52bca68d54c12c872368faeb0d to your computer and use it in GitHub Desktop.
{
"$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