Skip to content

Commit

Permalink
Changing aspects/opinions to optional properties from required proper…
Browse files Browse the repository at this point in the history
…ties
  • Loading branch information
josuh committed Jun 3, 2020
1 parent cda732a commit 1866176
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -734,9 +734,7 @@
"sentiment",
"confidenceScores",
"offset",
"length",
"aspects",
"opinions"
"length"
],
"properties": {
"text": {
Expand Down Expand Up @@ -772,14 +770,14 @@
},
"aspects": {
"type": "array",
"description": "The array of aspect object for the sentence.",
"description": "(Optional) The array of aspect object for the sentence.",
"items": {
"$ref": "#/definitions/SentenceAspect"
}
},
"opinions": {
"type": "array",
"description": "The array of opinion object for the sentence.",
"description": "(Optional) The array of opinion object for the sentence.",
"items": {
"$ref": "#/definitions/SentenceOpinion"
}
Expand Down

0 comments on commit 1866176

Please sign in to comment.