Google Cloud Vision · JSON-LD Context

Google Cloud Vision Context

JSON-LD context defining the semantic vocabulary for Google Cloud Vision from Google Cloud Vision.

80 Classes 156 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
google: https://google.com/schema#

Classes

AnnotateFileRequest AnnotateFileResponse AnnotateImageResponse AsyncAnnotateFileRequest AsyncBatchAnnotateFilesRequest BatchAnnotateFilesRequest BatchAnnotateFilesResponse Block BoundingPoly Color ColorInfo CropHint CropHintsAnnotation CropHintsParams DetectedBreak DetectedLanguage DominantColorsAnnotation EntityAnnotation FaceAnnotation Feature GcsDestination GcsSource GoogleRpcError GroupedResult ImageAnnotationContext ImageContext ImageProperties InputConfig KeyValue Landmark LatLng LatLongRect LocalizedObjectAnnotation LocationInfo NormalizedVertex ObjectAnnotation Operation OutputConfig Page Paragraph Position Product ProductSearchParams ProductSearchResults Property Result SafeSearchAnnotation Status Symbol TextAnnotation TextDetectionParams TextProperty Vertex WebDetection WebDetectionParams WebEntity WebImage WebLabel WebPage Word AnnotateImageRequest AsyncBatchAnnotateImagesRequest BatchAnnotateImagesRequest BatchAnnotateImagesResponse Image ImageSource ListOperationsResponse AddProductToProductSetRequest ImportProductSetsGcsSource ImportProductSetsInputConfig ImportProductSetsRequest ListProductSetsResponse ListProductsInProductSetResponse ListProductsResponse ListReferenceImagesResponse ProductSet ProductSetPurgeConfig PurgeProductsRequest ReferenceImage RemoveProductFromProductSetRequest

Properties

Property Type Container
features list
inputConfig reference
imageContext reference
pages list
error reference
responses list
totalPages integer
localizedObjectAnnotations list
textAnnotations list
fullTextAnnotation reference
safeSearchAnnotation reference
cropHintsAnnotation reference
context reference
faceAnnotations list
labelAnnotations list
landmarkAnnotations list
logoAnnotations list
imagePropertiesAnnotation reference
webDetection reference
productSearchResults reference
outputConfig reference
labels
parent string
requests list
paragraphs list
confidence decimal
blockType string
property reference
boundingBox reference
vertices list
normalizedVertices list
green decimal
red decimal
blue decimal
alpha decimal
pixelFraction decimal
score decimal
color reference
importanceFraction decimal
boundingPoly reference
cropHints list
aspectRatios list
isPrefix boolean
type string
languageCode string
colors list
locations list
topicality decimal
properties list
mid string
description string
locale string
blurredLikelihood string
angerLikelihood string
tiltAngle decimal
joyLikelihood string
surpriseLikelihood string
landmarks list
detectionConfidence decimal
fdBoundingPoly reference
rollAngle decimal
landmarkingConfidence decimal
panAngle decimal
sorrowLikelihood string
headwearLikelihood string
underExposedLikelihood string
model string
maxResults integer
uri string
objectAnnotations list
results list
pageNumber integer
webDetectionParams reference
languageHints list
productSearchParams reference
latLongRect reference
cropHintsParams reference
textDetectionParams reference
dominantColors reference
mimeType string
gcsSource reference
content string
key string
value string
position reference
latitude decimal
longitude decimal
minLatLng reference
maxLatLng reference
name string
latLng reference
y decimal
x decimal
response
done boolean
metadata
batchSize integer
gcsDestination reference
width integer
height integer
blocks list
words list
z decimal
productLabels list
productCategory string
displayName string
productCategories list
filter string
productSet string
productGroupedResults list
indexTime string
uint64Value string
product reference
image string
violence string
racy string
spoof string
medical string
adult string
code integer
details list
message string
text string
enableTextDetectionConfidenceScore boolean
advancedOcrOptions list
detectedBreak reference
detectedLanguages list
visuallySimilarImages list
bestGuessLabels list
webEntities list
partialMatchingImages list
fullMatchingImages list
pagesWithMatchingImages list
includeGeoResults boolean
entityId string
url string
label string
pageTitle string
symbols list
source reference
gcsImageUri string
imageUri string
nextPageToken string
operations list
unreachable list
csvFileUri string
productSets list
products list
referenceImages list
pageSize integer
indexError reference
productSetId string
deleteOrphanProducts boolean
force boolean
productSetPurgeConfig reference
boundingPolys list

JSON-LD Document

Raw ↑
{
  "@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#",
    "AnnotateFileRequest": "google:AnnotateFileRequest",
    "features": {
      "@id": "google:features",
      "@container": "@list"
    },
    "inputConfig": {
      "@id": "google:inputConfig",
      "@type": "@id"
    },
    "imageContext": {
      "@id": "google:imageContext",
      "@type": "@id"
    },
    "pages": {
      "@id": "google:pages",
      "@container": "@list"
    },
    "AnnotateFileResponse": "google:AnnotateFileResponse",
    "error": {
      "@id": "google:error",
      "@type": "@id"
    },
    "responses": {
      "@id": "google:responses",
      "@container": "@list"
    },
    "totalPages": {
      "@id": "google:totalPages",
      "@type": "xsd:integer"
    },
    "AnnotateImageResponse": "google:AnnotateImageResponse",
    "localizedObjectAnnotations": {
      "@id": "google:localizedObjectAnnotations",
      "@container": "@list"
    },
    "textAnnotations": {
      "@id": "google:textAnnotations",
      "@container": "@list"
    },
    "fullTextAnnotation": {
      "@id": "google:fullTextAnnotation",
      "@type": "@id"
    },
    "safeSearchAnnotation": {
      "@id": "google:safeSearchAnnotation",
      "@type": "@id"
    },
    "cropHintsAnnotation": {
      "@id": "google:cropHintsAnnotation",
      "@type": "@id"
    },
    "context": {
      "@id": "google:context",
      "@type": "@id"
    },
    "faceAnnotations": {
      "@id": "google:faceAnnotations",
      "@container": "@list"
    },
    "labelAnnotations": {
      "@id": "google:labelAnnotations",
      "@container": "@list"
    },
    "landmarkAnnotations": {
      "@id": "google:landmarkAnnotations",
      "@container": "@list"
    },
    "logoAnnotations": {
      "@id": "google:logoAnnotations",
      "@container": "@list"
    },
    "imagePropertiesAnnotation": {
      "@id": "google:imagePropertiesAnnotation",
      "@type": "@id"
    },
    "webDetection": {
      "@id": "google:webDetection",
      "@type": "@id"
    },
    "productSearchResults": {
      "@id": "google:productSearchResults",
      "@type": "@id"
    },
    "AsyncAnnotateFileRequest": "google:AsyncAnnotateFileRequest",
    "outputConfig": {
      "@id": "google:outputConfig",
      "@type": "@id"
    },
    "AsyncBatchAnnotateFilesRequest": "google:AsyncBatchAnnotateFilesRequest",
    "labels": {
      "@id": "google:labels"
    },
    "parent": {
      "@id": "google:parent",
      "@type": "xsd:string"
    },
    "requests": {
      "@id": "google:requests",
      "@container": "@list"
    },
    "BatchAnnotateFilesRequest": "google:BatchAnnotateFilesRequest",
    "BatchAnnotateFilesResponse": "google:BatchAnnotateFilesResponse",
    "Block": "google:Block",
    "paragraphs": {
      "@id": "google:paragraphs",
      "@container": "@list"
    },
    "confidence": {
      "@id": "google:confidence",
      "@type": "xsd:decimal"
    },
    "blockType": {
      "@id": "google:blockType",
      "@type": "xsd:string"
    },
    "property": {
      "@id": "google:property",
      "@type": "@id"
    },
    "boundingBox": {
      "@id": "google:boundingBox",
      "@type": "@id"
    },
    "BoundingPoly": "google:BoundingPoly",
    "vertices": {
      "@id": "google:vertices",
      "@container": "@list"
    },
    "normalizedVertices": {
      "@id": "google:normalizedVertices",
      "@container": "@list"
    },
    "Color": "google:Color",
    "green": {
      "@id": "google:green",
      "@type": "xsd:decimal"
    },
    "red": {
      "@id": "google:red",
      "@type": "xsd:decimal"
    },
    "blue": {
      "@id": "google:blue",
      "@type": "xsd:decimal"
    },
    "alpha": {
      "@id": "google:alpha",
      "@type": "xsd:decimal"
    },
    "ColorInfo": "google:ColorInfo",
    "pixelFraction": {
      "@id": "google:pixelFraction",
      "@type": "xsd:decimal"
    },
    "score": {
      "@id": "google:score",
      "@type": "xsd:decimal"
    },
    "color": {
      "@id": "google:color",
      "@type": "@id"
    },
    "CropHint": "google:CropHint",
    "importanceFraction": {
      "@id": "google:importanceFraction",
      "@type": "xsd:decimal"
    },
    "boundingPoly": {
      "@id": "google:boundingPoly",
      "@type": "@id"
    },
    "CropHintsAnnotation": "google:CropHintsAnnotation",
    "cropHints": {
      "@id": "google:cropHints",
      "@container": "@list"
    },
    "CropHintsParams": "google:CropHintsParams",
    "aspectRatios": {
      "@id": "google:aspectRatios",
      "@container": "@list"
    },
    "DetectedBreak": "google:DetectedBreak",
    "isPrefix": {
      "@id": "google:isPrefix",
      "@type": "xsd:boolean"
    },
    "type": {
      "@id": "google:type",
      "@type": "xsd:string"
    },
    "DetectedLanguage": "google:DetectedLanguage",
    "languageCode": {
      "@id": "google:languageCode",
      "@type": "xsd:string"
    },
    "DominantColorsAnnotation": "google:DominantColorsAnnotation",
    "colors": {
      "@id": "google:colors",
      "@container": "@list"
    },
    "EntityAnnotation": "google:EntityAnnotation",
    "locations": {
      "@id": "google:locations",
      "@container": "@list"
    },
    "topicality": {
      "@id": "google:topicality",
      "@type": "xsd:decimal"
    },
    "properties": {
      "@id": "google:properties",
      "@container": "@list"
    },
    "mid": {
      "@id": "google:mid",
      "@type": "xsd:string"
    },
    "description": {
      "@id": "google:description",
      "@type": "xsd:string"
    },
    "locale": {
      "@id": "google:locale",
      "@type": "xsd:string"
    },
    "FaceAnnotation": "google:FaceAnnotation",
    "blurredLikelihood": {
      "@id": "google:blurredLikelihood",
      "@type": "xsd:string"
    },
    "angerLikelihood": {
      "@id": "google:angerLikelihood",
      "@type": "xsd:string"
    },
    "tiltAngle": {
      "@id": "google:tiltAngle",
      "@type": "xsd:decimal"
    },
    "joyLikelihood": {
      "@id": "google:joyLikelihood",
      "@type": "xsd:string"
    },
    "surpriseLikelihood": {
      "@id": "google:surpriseLikelihood",
      "@type": "xsd:string"
    },
    "landmarks": {
      "@id": "google:landmarks",
      "@container": "@list"
    },
    "detectionConfidence": {
      "@id": "google:detectionConfidence",
      "@type": "xsd:decimal"
    },
    "fdBoundingPoly": {
      "@id": "google:fdBoundingPoly",
      "@type": "@id"
    },
    "rollAngle": {
      "@id": "google:rollAngle",
      "@type": "xsd:decimal"
    },
    "landmarkingConfidence": {
      "@id": "google:landmarkingConfidence",
      "@type": "xsd:decimal"
    },
    "panAngle": {
      "@id": "google:panAngle",
      "@type": "xsd:decimal"
    },
    "sorrowLikelihood": {
      "@id": "google:sorrowLikelihood",
      "@type": "xsd:string"
    },
    "headwearLikelihood": {
      "@id": "google:headwearLikelihood",
      "@type": "xsd:string"
    },
    "underExposedLikelihood": {
      "@id": "google:underExposedLikelihood",
      "@type": "xsd:string"
    },
    "Feature": "google:Feature",
    "model": {
      "@id": "google:model",
      "@type": "xsd:string"
    },
    "maxResults": {
      "@id": "google:maxResults",
      "@type": "xsd:integer"
    },
    "GcsDestination": "google:GcsDestination",
    "uri": {
      "@id": "google:uri",
      "@type": "xsd:string"
    },
    "GcsSource": "google:GcsSource",
    "GoogleRpcError": "google:GoogleRpcError",
    "GroupedResult": "google:GroupedResult",
    "objectAnnotations": {
      "@id": "google:objectAnnotations",
      "@container": "@list"
    },
    "results": {
      "@id": "google:results",
      "@container": "@list"
    },
    "ImageAnnotationContext": "google:ImageAnnotationContext",
    "pageNumber": {
      "@id": "google:pageNumber",
      "@type": "xsd:integer"
    },
    "ImageContext": "google:ImageContext",
    "webDetectionParams": {
      "@id": "google:webDetectionParams",
      "@type": "@id"
    },
    "languageHints": {
      "@id": "google:languageHints",
      "@container": "@list"
    },
    "productSearchParams": {
      "@id": "google:productSearchParams",
      "@type": "@id"
    },
    "latLongRect": {
      "@id": "google:latLongRect",
      "@type": "@id"
    },
    "cropHintsParams": {
      "@id": "google:cropHintsParams",
      "@type": "@id"
    },
    "textDetectionParams": {
      "@id": "google:textDetectionParams",
      "@type": "@id"
    },
    "ImageProperties": "google:ImageProperties",
    "dominantColors": {
      "@id": "google:dominantColors",
      "@type": "@id"
    },
    "InputConfig": "google:InputConfig",
    "mimeType": {
      "@id": "google:mimeType",
      "@type": "xsd:string"
    },
    "gcsSource": {
      "@id": "google:gcsSource",
      "@type": "@id"
    },
    "content": {
      "@id": "google:content",
      "@type": "xsd:string"
    },
    "KeyValue": "google:KeyValue",
    "key": {
      "@id": "google:key",
      "@type": "xsd:string"
    },
    "value": {
      "@id": "google:value",
      "@type": "xsd:string"
    },
    "Landmark": "google:Landmark",
    "position": {
      "@id": "google:position",
      "@type": "@id"
    },
    "LatLng": "google:LatLng",
    "latitude": {
      "@id": "google:latitude",
      "@type": "xsd:decimal"
    },
    "longitude": {
      "@id": "google:longitude",
      "@type": "xsd:decimal"
    },
    "LatLongRect": "google:LatLongRect",
    "minLatLng": {
      "@id": "google:minLatLng",
      "@type": "@id"
    },
    "maxLatLng": {
      "@id": "google:maxLatLng",
      "@type": "@id"
    },
    "LocalizedObjectAnnotation": "google:LocalizedObjectAnnotation",
    "name": {
      "@id": "google:name",
      "@type": "xsd:string"
    },
    "LocationInfo": "google:LocationInfo",
    "latLng": {
      "@id": "google:latLng",
      "@type": "@id"
    },
    "NormalizedVertex": "google:NormalizedVertex",
    "y": {
      "@id": "google:y",
      "@type": "xsd:decimal"
    },
    "x": {
      "@id": "google:x",
      "@type": "xsd:decimal"
    },
    "ObjectAnnotation": "google:ObjectAnnotation",
    "Operation": "google:Operation",
    "response": {
      "@id": "google:response"
    },
    "done": {
      "@id": "google:done",
      "@type": "xsd:boolean"
    },
    "metadata": {
      "@id": "google:metadata"
    },
    "OutputConfig": "google:OutputConfig",
    "batchSize": {
      "@id": "google:batchSize",
      "@type": "xsd:integer"
    },
    "gcsDestination": {
      "@id": "google:gcsDestination",
      "@type": "@id"
    },
    "Page": "google:Page",
    "width": {
      "@id": "google:width",
      "@type": "xsd:integer"
    },
    "height": {
      "@id": "google:height",
      "@type": "xsd:integer"
    },
    "blocks": {
      "@id": "google:blocks",
      "@container": "@list"
    },
    "Paragraph": "google:Paragraph",
    "words": {
      "@id": "google:words",
      "@container": "@list"
    },
    "Position": "google:Position",
    "z": {
      "@id": "google:z",
      "@type": "xsd:decimal"
    },
    "Product": "google:Product",
    "productLabels": {
      "@id": "google:productLabels",
      "@container": "@list"
    },
    "productCategory": {
      "@id": "google:productCategory",
      "@type": "xsd:string"
    },
    "displayName": {
      "@id": "google:displayName",
      "@type": "xsd:string"
    },
    "ProductSearchParams": "google:ProductSearchParams",
    "productCategories": {
      "@id": "google:productCategories",
      "@container": "@list"
    },
    "filter": {
      "@id": "google:filter",
      "@type": "xsd:string"
    },
    "productSet": {
      "@id": "google:productSet",
      "@type": "xsd:string"
    },
    "ProductSearchResults": "google:ProductSearchResults",
    "productGroupedResults": {
      "@id": "google:productGroupedResults",
      "@container": "@list"
    },
    "indexTime": {
      "@id": "google:indexTime",
      "@type": "xsd:string"
    },
    "Property": "google:Property",
    "uint64Value": {
      "@id": "google:uint64Value",
      "@type": "xsd:string"
    },
    "Result": "google:Result",
    "product": {
      "@id": "google:product",
      "@type": "@id"
    },
    "image": {
      "@id": "google:image",
      "@type": "xsd:string"
    },
    "SafeSearchAnnotation": "google:SafeSearchAnnotation",
    "violence": {
      "@id": "google:violence",
      "@type": "xsd:string"
    },
    "racy": {
      "@id": "google:racy",
      "@type": "xsd:string"
    },
    "spoof": {
      "@id": "google:spoof",
      "@type": "xsd:string"
    },
    "medical": {
      "@id": "google:medical",
      "@type": "xsd:string"
    },
    "adult": {
      "@id": "google:adult",
      "@type": "xsd:string"
    },
    "Status": "google:Status",
    "code": {
      "@id": "google:code",
      "@type": "xsd:integer"
    },
    "details": {
      "@id": "google:details",
      "@container": "@list"
    },
    "message": {
      "@id": "google:message",
      "@type": "xsd:string"
    },
    "Symbol": "google:Symbol",
    "text": {
      "@id": "google:text",
      "@type": "xsd:string"
    },
    "TextAnnotation": "google:TextAnnotation",
    "TextDetectionParams": "google:TextDetectionParams",
    "enableTextDetectionConfidenceScore": {
      "@id": "google:enableTextDetectionConfidenceScore",
      "@type": "xsd:boolean"
    },
    "advancedOcrOptions": {
      "@id": "google:advancedOcrOptions",
      "@container": "@list"
    },
    "TextProperty": "google:TextProperty",
    "detectedBreak": {
      "@id": "google:detectedBreak",
      "@type": "@id"
    },
    "detectedLanguages": {
      "@id": "google:detectedLanguages",
      "@container": "@list"
    },
    "Vertex": "google:Vertex",
    "WebDetection": "google:WebDetection",
    "visuallySimilarImages": {
      "@id": "google:visuallySimilarImages",
      "@container": "@list"
    },
    "bestGuessLabels": {
      "@id": "google:bestGuessLabels",
      "@container": "@list"
    },
    "webEntities": {
      "@id": "google:webEntities",
      "@container": "@list"
    },
    "partialMatchingImages": {
      "@id": "google:partialMatchingImages",
      "@container": "@list"
    },
    "fullMatchingImages": {
      "@id": "google:fullMatchingImages",
      "@container": "@list"
    },
    "pagesWithMatchingImages": {
      "@id": "google:pagesWithMatchingImages",
      "@container": "@list"
    },
    "WebDetectionParams": "google:WebDetectionParams",
    "includeGeoResults": {
      "@id": "google:includeGeoResults",
      "@type": "xsd:boolean"
    },
    "WebEntity": "google:WebEntity",
    "entityId": {
      "@id": "google:entityId",
      "@type": "xsd:string"
    },
    "WebImage": "google:WebImage",
    "url": {
      "@id": "google:url",
      "@type": "xsd:string"
    },
    "WebLabel": "google:WebLabel",
    "label": {
      "@id": "google:label",
      "@type": "xsd:string"
    },
    "WebPage": "google:WebPage",
    "pageTitle": {
      "@id": "google:pageTitle",
      "@type": "xsd:string"
    },
    "Word": "google:Word",
    "symbols": {
      "@id": "google:symbols",
      "@container": "@list"
    },
    "AnnotateImageRequest": "google:AnnotateImageRequest",
    "AsyncBatchAnnotateImagesRequest": "google:AsyncBatchAnnotateImagesRequest",
    "BatchAnnotateImagesRequest": "google:BatchAnnotateImagesRequest",
    "BatchAnnotateImagesResponse": "google:BatchAnnotateImagesResponse",
    "Image": "google:Image",
    "source": {
      "@id": "google:source",
      "@type": "@id"
    },
    "ImageSource": "google:ImageSource",
    "gcsImageUri": {
      "@id": "google:gcsImageUri",
      "@type": "xsd:string"
    },
    "imageUri": {
      "@id": "google:imageUri",
      "@type": "xsd:string"
    },
    "ListOperationsResponse": "google:ListOperationsResponse",
    "nextPageToken": {
      "@id": "google:nextPageToken",
      "@type": "xsd:string"
    },
    "operations": {
      "@id": "google:operations",
      "@container": "@list"
    },
    "unreachable": {
      "@id": "google:unreachable",
      "@container": "@list"
    },
    "AddProductToProductSetRequest": "google:AddProductToProductSetRequest",
    "ImportProductSetsGcsSource": "google:ImportProductSetsGcsSource",
    "csvFileUri": {
      "@id": "google:csvFileUri",
      "@type": "xsd:string"
    },
    "ImportProductSetsInputConfig": "google:ImportProductSetsInputConfig",
    "ImportProductSetsRequest": "google:ImportProductSetsRequest",
    "ListProductSetsResponse": "google:ListProductSetsResponse",
    "productSets": {
      "@id": "google:productSets",
      "@container": "@list"
    },
    "ListProductsInProductSetResponse": "google:ListProductsInProductSetResponse",
    "products": {
      "@id": "google:products",
      "@container": "@list"
    },
    "ListProductsResponse": "google:ListProductsResponse",
    "ListReferenceImagesResponse": "google:ListReferenceImagesResponse",
    "referenceImages": {
      "@id": "google:referenceImages",
      "@container": "@list"
    },
    "pageSize": {
      "@id": "google:pageSize",
      "@type": "xsd:integer"
    },
    "ProductSet": "google:ProductSet",
    "indexError": {
      "@id": "google:indexError",
      "@type": "@id"
    },
    "ProductSetPurgeConfig": "google:ProductSetPurgeConfig",
    "productSetId": {
      "@id": "google:productSetId",
      "@type": "xsd:string"
    },
    "PurgeProductsRequest": "google:PurgeProductsRequest",
    "deleteOrphanProducts": {
      "@id": "google:deleteOrphanProducts",
      "@type": "xsd:boolean"
    },
    "force": {
      "@id": "google:force",
      "@type": "xsd:boolean"
    },
    "productSetPurgeConfig": {
      "@id": "google:productSetPurgeConfig",
      "@type": "@id"
    },
    "ReferenceImage": "google:ReferenceImage",
    "boundingPolys": {
      "@id": "google:boundingPolys",
      "@container": "@list"
    },
    "RemoveProductFromProductSetRequest": "google:RemoveProductFromProductSetRequest"
  },
  "@type": "schema:Dataset",
  "schema:name": "Google Cloud Vision API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Google Cloud Vision'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-vision-files-api-openapi.yml, openapi/google-cloud-vision-images-api-openapi.yml, openapi/google-cloud-vision-locations-api-openapi.yml.",
  "dcterms:created": "2026-11-11",
  "dcterms:source": [
    "openapi/google-cloud-vision-files-api-openapi.yml",
    "openapi/google-cloud-vision-images-api-openapi.yml",
    "openapi/google-cloud-vision-locations-api-openapi.yml",
    "openapi/google-cloud-vision-operations-api-openapi.yml",
    "openapi/google-cloud-vision-projects-api-openapi.yml"
  ]
}