Google Cloud Natural Language · JSON-LD Context
Google Cloud Natural Language Context
JSON-LD context defining the semantic vocabulary for Google Cloud Natural Language from Google Cloud Natural Language.
19 Classes
30 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
google:
https://google.com/schema#
Classes
AnalyzeEntitiesRequest
AnalyzeEntitiesResponse
AnalyzeSentimentRequest
AnalyzeSentimentResponse
AnnotateTextRequest
AnnotateTextRequestFeatures
AnnotateTextResponse
ClassificationCategory
ClassifyTextRequest
ClassifyTextResponse
Document
Entity
EntityMention
GoogleRpcError
ModerateTextRequest
ModerateTextResponse
Sentence
Sentiment
TextSpan
Properties
| Property | Type | Container |
|---|---|---|
| encodingType | string | |
| document | reference | |
| entities | list | |
| languageCode | string | |
| languageSupported | boolean | |
| documentSentiment | reference | |
| sentences | list | |
| features | reference | |
| extractEntities | boolean | |
| classifyText | boolean | |
| extractDocumentSentiment | boolean | |
| moderateText | boolean | |
| categories | list | |
| moderationCategories | list | |
| confidence | decimal | |
| name | string | |
| severity | decimal | |
| type | string | |
| gcsContentUri | string | |
| content | string | |
| mentions | list | |
| sentiment | reference | |
| metadata | ||
| text | reference | |
| probability | decimal | |
| error | ||
| modelVersion | string | |
| magnitude | decimal | |
| score | decimal | |
| beginOffset | integer |
JSON-LD Document
{
"@context": {
"@vocab": "https://google.com/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"google": "https://google.com/schema#",
"AnalyzeEntitiesRequest": "google:AnalyzeEntitiesRequest",
"encodingType": {
"@id": "google:encodingType",
"@type": "xsd:string"
},
"document": {
"@id": "google:document",
"@type": "@id"
},
"AnalyzeEntitiesResponse": "google:AnalyzeEntitiesResponse",
"entities": {
"@id": "google:entities",
"@container": "@list"
},
"languageCode": {
"@id": "google:languageCode",
"@type": "xsd:string"
},
"languageSupported": {
"@id": "google:languageSupported",
"@type": "xsd:boolean"
},
"AnalyzeSentimentRequest": "google:AnalyzeSentimentRequest",
"AnalyzeSentimentResponse": "google:AnalyzeSentimentResponse",
"documentSentiment": {
"@id": "google:documentSentiment",
"@type": "@id"
},
"sentences": {
"@id": "google:sentences",
"@container": "@list"
},
"AnnotateTextRequest": "google:AnnotateTextRequest",
"features": {
"@id": "google:features",
"@type": "@id"
},
"AnnotateTextRequestFeatures": "google:AnnotateTextRequestFeatures",
"extractEntities": {
"@id": "google:extractEntities",
"@type": "xsd:boolean"
},
"classifyText": {
"@id": "google:classifyText",
"@type": "xsd:boolean"
},
"extractDocumentSentiment": {
"@id": "google:extractDocumentSentiment",
"@type": "xsd:boolean"
},
"moderateText": {
"@id": "google:moderateText",
"@type": "xsd:boolean"
},
"AnnotateTextResponse": "google:AnnotateTextResponse",
"categories": {
"@id": "google:categories",
"@container": "@list"
},
"moderationCategories": {
"@id": "google:moderationCategories",
"@container": "@list"
},
"ClassificationCategory": "google:ClassificationCategory",
"confidence": {
"@id": "google:confidence",
"@type": "xsd:decimal"
},
"name": {
"@id": "google:name",
"@type": "xsd:string"
},
"severity": {
"@id": "google:severity",
"@type": "xsd:decimal"
},
"ClassifyTextRequest": "google:ClassifyTextRequest",
"ClassifyTextResponse": "google:ClassifyTextResponse",
"Document": "google:Document",
"type": {
"@id": "google:type",
"@type": "xsd:string"
},
"gcsContentUri": {
"@id": "google:gcsContentUri",
"@type": "xsd:string"
},
"content": {
"@id": "google:content",
"@type": "xsd:string"
},
"Entity": "google:Entity",
"mentions": {
"@id": "google:mentions",
"@container": "@list"
},
"sentiment": {
"@id": "google:sentiment",
"@type": "@id"
},
"metadata": {
"@id": "google:metadata"
},
"EntityMention": "google:EntityMention",
"text": {
"@id": "google:text",
"@type": "@id"
},
"probability": {
"@id": "google:probability",
"@type": "xsd:decimal"
},
"GoogleRpcError": "google:GoogleRpcError",
"error": {
"@id": "google:error"
},
"ModerateTextRequest": "google:ModerateTextRequest",
"modelVersion": {
"@id": "google:modelVersion",
"@type": "xsd:string"
},
"ModerateTextResponse": "google:ModerateTextResponse",
"Sentence": "google:Sentence",
"Sentiment": "google:Sentiment",
"magnitude": {
"@id": "google:magnitude",
"@type": "xsd:decimal"
},
"score": {
"@id": "google:score",
"@type": "xsd:decimal"
},
"TextSpan": "google:TextSpan",
"beginOffset": {
"@id": "google:beginOffset",
"@type": "xsd:integer"
}
},
"@type": "schema:Dataset",
"schema:name": "Google Cloud Natural Language API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects Google Cloud Natural Language's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-11) from openapi/google-cloud-natural-language-documents-api-openapi.yml.",
"dcterms:created": "2026-11-11",
"dcterms:source": [
"openapi/google-cloud-natural-language-documents-api-openapi.yml"
]
}