Microsoft Cognitive Services · JSON-LD Context
Microsoft Cognitive Services Context
JSON-LD context defining the semantic vocabulary for Microsoft Cognitive Services from Microsoft Cognitive Services.
16 Classes
27 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
microsoft:
https://microsoft.com/schema#
Classes
ObjectsResult
TagsResult
ImageAnalysisResult
DetectedObject
ImageMetadata
DetectedPerson
SmartCropsResult
PeopleResult
ImageUrl
ReadResult
DenseCaptionsResult
Tag
ErrorResponse
DenseCaption
CaptionResult
BoundingBox
Properties
| Property | Type | Container |
|---|---|---|
| values | list | |
| modelVersion | string | |
| metadata | reference | |
| captionResult | reference | |
| denseCaptionsResult | reference | |
| tagsResult | reference | |
| objectsResult | reference | |
| peopleResult | reference | |
| readResult | reference | |
| smartCropsResult | reference | |
| id | string | |
| boundingBox | reference | |
| tags | list | |
| width | integer | |
| height | integer | |
| confidence | decimal | |
| url | reference | |
| content | string | |
| pages | list | |
| stringIndexType | string | |
| name | string | |
| error | ||
| text | string | |
| x | integer | |
| y | integer | |
| w | integer | |
| h | integer |
JSON-LD Document
{
"@context": {
"@vocab": "https://microsoft.com/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"microsoft": "https://microsoft.com/schema#",
"ObjectsResult": "microsoft:ObjectsResult",
"values": {
"@id": "microsoft:values",
"@container": "@list"
},
"TagsResult": "microsoft:TagsResult",
"ImageAnalysisResult": "microsoft:ImageAnalysisResult",
"modelVersion": {
"@id": "microsoft:modelVersion",
"@type": "xsd:string"
},
"metadata": {
"@id": "microsoft:metadata",
"@type": "@id"
},
"captionResult": {
"@id": "microsoft:captionResult",
"@type": "@id"
},
"denseCaptionsResult": {
"@id": "microsoft:denseCaptionsResult",
"@type": "@id"
},
"tagsResult": {
"@id": "microsoft:tagsResult",
"@type": "@id"
},
"objectsResult": {
"@id": "microsoft:objectsResult",
"@type": "@id"
},
"peopleResult": {
"@id": "microsoft:peopleResult",
"@type": "@id"
},
"readResult": {
"@id": "microsoft:readResult",
"@type": "@id"
},
"smartCropsResult": {
"@id": "microsoft:smartCropsResult",
"@type": "@id"
},
"DetectedObject": "microsoft:DetectedObject",
"id": {
"@id": "microsoft:id",
"@type": "xsd:string"
},
"boundingBox": {
"@id": "microsoft:boundingBox",
"@type": "@id"
},
"tags": {
"@id": "microsoft:tags",
"@container": "@list"
},
"ImageMetadata": "microsoft:ImageMetadata",
"width": {
"@id": "microsoft:width",
"@type": "xsd:integer"
},
"height": {
"@id": "microsoft:height",
"@type": "xsd:integer"
},
"DetectedPerson": "microsoft:DetectedPerson",
"confidence": {
"@id": "microsoft:confidence",
"@type": "xsd:decimal"
},
"SmartCropsResult": "microsoft:SmartCropsResult",
"PeopleResult": "microsoft:PeopleResult",
"ImageUrl": "microsoft:ImageUrl",
"url": {
"@id": "microsoft:url",
"@type": "@id"
},
"ReadResult": "microsoft:ReadResult",
"content": {
"@id": "microsoft:content",
"@type": "xsd:string"
},
"pages": {
"@id": "microsoft:pages",
"@container": "@list"
},
"stringIndexType": {
"@id": "microsoft:stringIndexType",
"@type": "xsd:string"
},
"DenseCaptionsResult": "microsoft:DenseCaptionsResult",
"Tag": "microsoft:Tag",
"name": {
"@id": "microsoft:name",
"@type": "xsd:string"
},
"ErrorResponse": "microsoft:ErrorResponse",
"error": {
"@id": "microsoft:error"
},
"DenseCaption": "microsoft:DenseCaption",
"text": {
"@id": "microsoft:text",
"@type": "xsd:string"
},
"CaptionResult": "microsoft:CaptionResult",
"BoundingBox": "microsoft:BoundingBox",
"x": {
"@id": "microsoft:x",
"@type": "xsd:integer"
},
"y": {
"@id": "microsoft:y",
"@type": "xsd:integer"
},
"w": {
"@id": "microsoft:w",
"@type": "xsd:integer"
},
"h": {
"@id": "microsoft:h",
"@type": "xsd:integer"
}
},
"@type": "schema:Dataset",
"schema:name": "Microsoft Cognitive Services API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects Microsoft Cognitive Services'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-04) from openapi/microsoft-cognitive-services-computer-vision-openapi.yml, openapi/microsoft-cognitive-services-image-analysis-api-openapi.yml, openapi/microsoft-cognitive-services-text-analytics-openapi.yml.",
"dcterms:created": "2026-11-04",
"dcterms:source": [
"openapi/microsoft-cognitive-services-computer-vision-openapi.yml",
"openapi/microsoft-cognitive-services-image-analysis-api-openapi.yml",
"openapi/microsoft-cognitive-services-text-analytics-openapi.yml"
]
}