Google Photos Library · JSON-LD Context

Google Photos Context

JSON-LD context defining the semantic vocabulary for Google Photos from Google Photos Library.

47 Classes 93 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

AddEnrichmentToAlbumRequest AddEnrichmentToAlbumResponse Album AlbumPosition BatchAddMediaItemsToAlbumRequest BatchRemoveMediaItemsFromAlbumRequest CreateAlbumRequest EnrichmentItem GoogleRpcError LatLng ListAlbumsResponse Location LocationEnrichment MapEnrichment NewEnrichmentItem ShareAlbumRequest ShareAlbumResponse ShareInfo SharedAlbumOptions TextEnrichment BatchCreateMediaItemsRequest BatchCreateMediaItemsResponse BatchGetMediaItemsResponse ContentFilter ContributorInfo Date DateFilter DateRange FeatureFilter Filters ListMediaItemsResponse MediaItem MediaItemResult MediaMetadata MediaTypeFilter NewMediaItem NewMediaItemResult Photo SearchMediaItemsRequest SearchMediaItemsResponse SimpleMediaItem Status Video JoinSharedAlbumRequest JoinSharedAlbumResponse LeaveSharedAlbumRequest ListSharedAlbumsResponse

Properties

Property Type Container
newEnrichmentItem reference
albumPosition reference
enrichmentItem reference
isWriteable boolean
title string
coverPhotoMediaItemId string
productUrl string
id string
shareInfo reference
mediaItemsCount string
coverPhotoBaseUrl string
relativeEnrichmentItemId string
relativeMediaItemId string
position string
mediaItemIds list
album reference
error
longitude decimal
latitude decimal
albums list
nextPageToken string
locationName string
latlng reference
location reference
origin reference
destination reference
textEnrichment reference
locationEnrichment reference
mapEnrichment reference
sharedAlbumOptions reference
shareToken string
isJoined boolean
shareableUrl string
isOwned boolean
isJoinable boolean
isCollaborative boolean
isCommentable boolean
text string
newMediaItems list
albumId string
newMediaItemResults list
mediaItemResults list
includedContentCategories list
excludedContentCategories list
displayName string
profilePictureBaseUrl string
month integer
day integer
year integer
dates list
ranges list
startDate reference
endDate reference
includedFeatures list
includeArchivedMedia boolean
excludeNonAppCreatedData boolean
contentFilter reference
mediaTypeFilter reference
dateFilter reference
featureFilter reference
mediaItems list
contributorInfo reference
description string
baseUrl string
mediaMetadata reference
mimeType string
filename string
status reference
mediaItem reference
width string
creationTime string
photo reference
video reference
height string
mediaTypes list
simpleMediaItem reference
uploadToken string
cameraMake string
cameraModel string
focalLength decimal
exposureTime string
apertureFNumber decimal
isoEquivalent integer
orderBy string
pageToken string
pageSize integer
filters reference
fileName string
code integer
details list
message string
fps decimal
sharedAlbums 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#",
    "AddEnrichmentToAlbumRequest": "google:AddEnrichmentToAlbumRequest",
    "newEnrichmentItem": {
      "@id": "google:newEnrichmentItem",
      "@type": "@id"
    },
    "albumPosition": {
      "@id": "google:albumPosition",
      "@type": "@id"
    },
    "AddEnrichmentToAlbumResponse": "google:AddEnrichmentToAlbumResponse",
    "enrichmentItem": {
      "@id": "google:enrichmentItem",
      "@type": "@id"
    },
    "Album": "google:Album",
    "isWriteable": {
      "@id": "google:isWriteable",
      "@type": "xsd:boolean"
    },
    "title": {
      "@id": "google:title",
      "@type": "xsd:string"
    },
    "coverPhotoMediaItemId": {
      "@id": "google:coverPhotoMediaItemId",
      "@type": "xsd:string"
    },
    "productUrl": {
      "@id": "google:productUrl",
      "@type": "xsd:string"
    },
    "id": {
      "@id": "google:id",
      "@type": "xsd:string"
    },
    "shareInfo": {
      "@id": "google:shareInfo",
      "@type": "@id"
    },
    "mediaItemsCount": {
      "@id": "google:mediaItemsCount",
      "@type": "xsd:string"
    },
    "coverPhotoBaseUrl": {
      "@id": "google:coverPhotoBaseUrl",
      "@type": "xsd:string"
    },
    "AlbumPosition": "google:AlbumPosition",
    "relativeEnrichmentItemId": {
      "@id": "google:relativeEnrichmentItemId",
      "@type": "xsd:string"
    },
    "relativeMediaItemId": {
      "@id": "google:relativeMediaItemId",
      "@type": "xsd:string"
    },
    "position": {
      "@id": "google:position",
      "@type": "xsd:string"
    },
    "BatchAddMediaItemsToAlbumRequest": "google:BatchAddMediaItemsToAlbumRequest",
    "mediaItemIds": {
      "@id": "google:mediaItemIds",
      "@container": "@list"
    },
    "BatchRemoveMediaItemsFromAlbumRequest": "google:BatchRemoveMediaItemsFromAlbumRequest",
    "CreateAlbumRequest": "google:CreateAlbumRequest",
    "album": {
      "@id": "google:album",
      "@type": "@id"
    },
    "EnrichmentItem": "google:EnrichmentItem",
    "GoogleRpcError": "google:GoogleRpcError",
    "error": {
      "@id": "google:error"
    },
    "LatLng": "google:LatLng",
    "longitude": {
      "@id": "google:longitude",
      "@type": "xsd:decimal"
    },
    "latitude": {
      "@id": "google:latitude",
      "@type": "xsd:decimal"
    },
    "ListAlbumsResponse": "google:ListAlbumsResponse",
    "albums": {
      "@id": "google:albums",
      "@container": "@list"
    },
    "nextPageToken": {
      "@id": "google:nextPageToken",
      "@type": "xsd:string"
    },
    "Location": "google:Location",
    "locationName": {
      "@id": "google:locationName",
      "@type": "xsd:string"
    },
    "latlng": {
      "@id": "google:latlng",
      "@type": "@id"
    },
    "LocationEnrichment": "google:LocationEnrichment",
    "location": {
      "@id": "google:location",
      "@type": "@id"
    },
    "MapEnrichment": "google:MapEnrichment",
    "origin": {
      "@id": "google:origin",
      "@type": "@id"
    },
    "destination": {
      "@id": "google:destination",
      "@type": "@id"
    },
    "NewEnrichmentItem": "google:NewEnrichmentItem",
    "textEnrichment": {
      "@id": "google:textEnrichment",
      "@type": "@id"
    },
    "locationEnrichment": {
      "@id": "google:locationEnrichment",
      "@type": "@id"
    },
    "mapEnrichment": {
      "@id": "google:mapEnrichment",
      "@type": "@id"
    },
    "ShareAlbumRequest": "google:ShareAlbumRequest",
    "sharedAlbumOptions": {
      "@id": "google:sharedAlbumOptions",
      "@type": "@id"
    },
    "ShareAlbumResponse": "google:ShareAlbumResponse",
    "ShareInfo": "google:ShareInfo",
    "shareToken": {
      "@id": "google:shareToken",
      "@type": "xsd:string"
    },
    "isJoined": {
      "@id": "google:isJoined",
      "@type": "xsd:boolean"
    },
    "shareableUrl": {
      "@id": "google:shareableUrl",
      "@type": "xsd:string"
    },
    "isOwned": {
      "@id": "google:isOwned",
      "@type": "xsd:boolean"
    },
    "isJoinable": {
      "@id": "google:isJoinable",
      "@type": "xsd:boolean"
    },
    "SharedAlbumOptions": "google:SharedAlbumOptions",
    "isCollaborative": {
      "@id": "google:isCollaborative",
      "@type": "xsd:boolean"
    },
    "isCommentable": {
      "@id": "google:isCommentable",
      "@type": "xsd:boolean"
    },
    "TextEnrichment": "google:TextEnrichment",
    "text": {
      "@id": "google:text",
      "@type": "xsd:string"
    },
    "BatchCreateMediaItemsRequest": "google:BatchCreateMediaItemsRequest",
    "newMediaItems": {
      "@id": "google:newMediaItems",
      "@container": "@list"
    },
    "albumId": {
      "@id": "google:albumId",
      "@type": "xsd:string"
    },
    "BatchCreateMediaItemsResponse": "google:BatchCreateMediaItemsResponse",
    "newMediaItemResults": {
      "@id": "google:newMediaItemResults",
      "@container": "@list"
    },
    "BatchGetMediaItemsResponse": "google:BatchGetMediaItemsResponse",
    "mediaItemResults": {
      "@id": "google:mediaItemResults",
      "@container": "@list"
    },
    "ContentFilter": "google:ContentFilter",
    "includedContentCategories": {
      "@id": "google:includedContentCategories",
      "@container": "@list"
    },
    "excludedContentCategories": {
      "@id": "google:excludedContentCategories",
      "@container": "@list"
    },
    "ContributorInfo": "google:ContributorInfo",
    "displayName": {
      "@id": "google:displayName",
      "@type": "xsd:string"
    },
    "profilePictureBaseUrl": {
      "@id": "google:profilePictureBaseUrl",
      "@type": "xsd:string"
    },
    "Date": "google:Date",
    "month": {
      "@id": "google:month",
      "@type": "xsd:integer"
    },
    "day": {
      "@id": "google:day",
      "@type": "xsd:integer"
    },
    "year": {
      "@id": "google:year",
      "@type": "xsd:integer"
    },
    "DateFilter": "google:DateFilter",
    "dates": {
      "@id": "google:dates",
      "@container": "@list"
    },
    "ranges": {
      "@id": "google:ranges",
      "@container": "@list"
    },
    "DateRange": "google:DateRange",
    "startDate": {
      "@id": "google:startDate",
      "@type": "@id"
    },
    "endDate": {
      "@id": "google:endDate",
      "@type": "@id"
    },
    "FeatureFilter": "google:FeatureFilter",
    "includedFeatures": {
      "@id": "google:includedFeatures",
      "@container": "@list"
    },
    "Filters": "google:Filters",
    "includeArchivedMedia": {
      "@id": "google:includeArchivedMedia",
      "@type": "xsd:boolean"
    },
    "excludeNonAppCreatedData": {
      "@id": "google:excludeNonAppCreatedData",
      "@type": "xsd:boolean"
    },
    "contentFilter": {
      "@id": "google:contentFilter",
      "@type": "@id"
    },
    "mediaTypeFilter": {
      "@id": "google:mediaTypeFilter",
      "@type": "@id"
    },
    "dateFilter": {
      "@id": "google:dateFilter",
      "@type": "@id"
    },
    "featureFilter": {
      "@id": "google:featureFilter",
      "@type": "@id"
    },
    "ListMediaItemsResponse": "google:ListMediaItemsResponse",
    "mediaItems": {
      "@id": "google:mediaItems",
      "@container": "@list"
    },
    "MediaItem": "google:MediaItem",
    "contributorInfo": {
      "@id": "google:contributorInfo",
      "@type": "@id"
    },
    "description": {
      "@id": "google:description",
      "@type": "xsd:string"
    },
    "baseUrl": {
      "@id": "google:baseUrl",
      "@type": "xsd:string"
    },
    "mediaMetadata": {
      "@id": "google:mediaMetadata",
      "@type": "@id"
    },
    "mimeType": {
      "@id": "google:mimeType",
      "@type": "xsd:string"
    },
    "filename": {
      "@id": "google:filename",
      "@type": "xsd:string"
    },
    "MediaItemResult": "google:MediaItemResult",
    "status": {
      "@id": "google:status",
      "@type": "@id"
    },
    "mediaItem": {
      "@id": "google:mediaItem",
      "@type": "@id"
    },
    "MediaMetadata": "google:MediaMetadata",
    "width": {
      "@id": "google:width",
      "@type": "xsd:string"
    },
    "creationTime": {
      "@id": "google:creationTime",
      "@type": "xsd:string"
    },
    "photo": {
      "@id": "google:photo",
      "@type": "@id"
    },
    "video": {
      "@id": "google:video",
      "@type": "@id"
    },
    "height": {
      "@id": "google:height",
      "@type": "xsd:string"
    },
    "MediaTypeFilter": "google:MediaTypeFilter",
    "mediaTypes": {
      "@id": "google:mediaTypes",
      "@container": "@list"
    },
    "NewMediaItem": "google:NewMediaItem",
    "simpleMediaItem": {
      "@id": "google:simpleMediaItem",
      "@type": "@id"
    },
    "NewMediaItemResult": "google:NewMediaItemResult",
    "uploadToken": {
      "@id": "google:uploadToken",
      "@type": "xsd:string"
    },
    "Photo": "google:Photo",
    "cameraMake": {
      "@id": "google:cameraMake",
      "@type": "xsd:string"
    },
    "cameraModel": {
      "@id": "google:cameraModel",
      "@type": "xsd:string"
    },
    "focalLength": {
      "@id": "google:focalLength",
      "@type": "xsd:decimal"
    },
    "exposureTime": {
      "@id": "google:exposureTime",
      "@type": "xsd:string"
    },
    "apertureFNumber": {
      "@id": "google:apertureFNumber",
      "@type": "xsd:decimal"
    },
    "isoEquivalent": {
      "@id": "google:isoEquivalent",
      "@type": "xsd:integer"
    },
    "SearchMediaItemsRequest": "google:SearchMediaItemsRequest",
    "orderBy": {
      "@id": "google:orderBy",
      "@type": "xsd:string"
    },
    "pageToken": {
      "@id": "google:pageToken",
      "@type": "xsd:string"
    },
    "pageSize": {
      "@id": "google:pageSize",
      "@type": "xsd:integer"
    },
    "filters": {
      "@id": "google:filters",
      "@type": "@id"
    },
    "SearchMediaItemsResponse": "google:SearchMediaItemsResponse",
    "SimpleMediaItem": "google:SimpleMediaItem",
    "fileName": {
      "@id": "google:fileName",
      "@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"
    },
    "Video": "google:Video",
    "fps": {
      "@id": "google:fps",
      "@type": "xsd:decimal"
    },
    "JoinSharedAlbumRequest": "google:JoinSharedAlbumRequest",
    "JoinSharedAlbumResponse": "google:JoinSharedAlbumResponse",
    "LeaveSharedAlbumRequest": "google:LeaveSharedAlbumRequest",
    "ListSharedAlbumsResponse": "google:ListSharedAlbumsResponse",
    "sharedAlbums": {
      "@id": "google:sharedAlbums",
      "@container": "@list"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Google Photos Library API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Google Photos Library'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-photos-albums-api-openapi.yml, openapi/google-photos-media-items-api-openapi.yml, openapi/google-photos-shared-albums-api-openapi.yml.",
  "dcterms:created": "2026-11-11",
  "dcterms:source": [
    "openapi/google-photos-albums-api-openapi.yml",
    "openapi/google-photos-media-items-api-openapi.yml",
    "openapi/google-photos-shared-albums-api-openapi.yml"
  ]
}