Google Classroom · JSON-LD Context

Google Classroom Context

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

20 Classes 43 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

ListStudentsResponse Teacher ListStudentSubmissionsResponse ListCourseWorkResponse Course Topic ListCoursesResponse ListTeachersResponse Student StudentSubmission UserProfile CourseWork Announcement Invitation CloudPubsubTopic CourseRosterChangesInfo CourseWorkChangesInfo Feed GoogleRpcError Registration

Properties

Property Type Container
students list
nextPageToken string
courseId string
userId string
profile reference
studentSubmissions list
courseWork list
id string
name string
section string
descriptionHeading string
description string
room string
ownerId string
courseState string
enrollmentCode string
creationTime dateTime
updateTime dateTime
topicId string
courses list
teachers list
courseWorkId string
state string
assignedGrade decimal
draftGrade decimal
emailAddress string
photoUrl string
title string
workType string
maxPoints decimal
dueDate
dueTime
text string
role string
topicName string
courseWorkChangesInfo reference
feedType string
courseRosterChangesInfo reference
error
expiryTime string
feed reference
registrationId string
cloudPubsubTopic reference

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#",
    "ListStudentsResponse": "google:ListStudentsResponse",
    "students": {
      "@id": "google:students",
      "@container": "@list"
    },
    "nextPageToken": {
      "@id": "google:nextPageToken",
      "@type": "xsd:string"
    },
    "Teacher": "google:Teacher",
    "courseId": {
      "@id": "google:courseId",
      "@type": "xsd:string"
    },
    "userId": {
      "@id": "google:userId",
      "@type": "xsd:string"
    },
    "profile": {
      "@id": "google:profile",
      "@type": "@id"
    },
    "ListStudentSubmissionsResponse": "google:ListStudentSubmissionsResponse",
    "studentSubmissions": {
      "@id": "google:studentSubmissions",
      "@container": "@list"
    },
    "ListCourseWorkResponse": "google:ListCourseWorkResponse",
    "courseWork": {
      "@id": "google:courseWork",
      "@container": "@list"
    },
    "Course": "google:Course",
    "id": {
      "@id": "google:id",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "google:name",
      "@type": "xsd:string"
    },
    "section": {
      "@id": "google:section",
      "@type": "xsd:string"
    },
    "descriptionHeading": {
      "@id": "google:descriptionHeading",
      "@type": "xsd:string"
    },
    "description": {
      "@id": "google:description",
      "@type": "xsd:string"
    },
    "room": {
      "@id": "google:room",
      "@type": "xsd:string"
    },
    "ownerId": {
      "@id": "google:ownerId",
      "@type": "xsd:string"
    },
    "courseState": {
      "@id": "google:courseState",
      "@type": "xsd:string"
    },
    "enrollmentCode": {
      "@id": "google:enrollmentCode",
      "@type": "xsd:string"
    },
    "creationTime": {
      "@id": "google:creationTime",
      "@type": "xsd:dateTime"
    },
    "updateTime": {
      "@id": "google:updateTime",
      "@type": "xsd:dateTime"
    },
    "Topic": "google:Topic",
    "topicId": {
      "@id": "google:topicId",
      "@type": "xsd:string"
    },
    "ListCoursesResponse": "google:ListCoursesResponse",
    "courses": {
      "@id": "google:courses",
      "@container": "@list"
    },
    "ListTeachersResponse": "google:ListTeachersResponse",
    "teachers": {
      "@id": "google:teachers",
      "@container": "@list"
    },
    "Student": "google:Student",
    "StudentSubmission": "google:StudentSubmission",
    "courseWorkId": {
      "@id": "google:courseWorkId",
      "@type": "xsd:string"
    },
    "state": {
      "@id": "google:state",
      "@type": "xsd:string"
    },
    "assignedGrade": {
      "@id": "google:assignedGrade",
      "@type": "xsd:decimal"
    },
    "draftGrade": {
      "@id": "google:draftGrade",
      "@type": "xsd:decimal"
    },
    "UserProfile": "google:UserProfile",
    "emailAddress": {
      "@id": "google:emailAddress",
      "@type": "xsd:string"
    },
    "photoUrl": {
      "@id": "google:photoUrl",
      "@type": "xsd:string"
    },
    "CourseWork": "google:CourseWork",
    "title": {
      "@id": "google:title",
      "@type": "xsd:string"
    },
    "workType": {
      "@id": "google:workType",
      "@type": "xsd:string"
    },
    "maxPoints": {
      "@id": "google:maxPoints",
      "@type": "xsd:decimal"
    },
    "dueDate": {
      "@id": "google:dueDate"
    },
    "dueTime": {
      "@id": "google:dueTime"
    },
    "Announcement": "google:Announcement",
    "text": {
      "@id": "google:text",
      "@type": "xsd:string"
    },
    "Invitation": "google:Invitation",
    "role": {
      "@id": "google:role",
      "@type": "xsd:string"
    },
    "CloudPubsubTopic": "google:CloudPubsubTopic",
    "topicName": {
      "@id": "google:topicName",
      "@type": "xsd:string"
    },
    "CourseRosterChangesInfo": "google:CourseRosterChangesInfo",
    "CourseWorkChangesInfo": "google:CourseWorkChangesInfo",
    "Feed": "google:Feed",
    "courseWorkChangesInfo": {
      "@id": "google:courseWorkChangesInfo",
      "@type": "@id"
    },
    "feedType": {
      "@id": "google:feedType",
      "@type": "xsd:string"
    },
    "courseRosterChangesInfo": {
      "@id": "google:courseRosterChangesInfo",
      "@type": "@id"
    },
    "GoogleRpcError": "google:GoogleRpcError",
    "error": {
      "@id": "google:error"
    },
    "Registration": "google:Registration",
    "expiryTime": {
      "@id": "google:expiryTime",
      "@type": "xsd:string"
    },
    "feed": {
      "@id": "google:feed",
      "@type": "@id"
    },
    "registrationId": {
      "@id": "google:registrationId",
      "@type": "xsd:string"
    },
    "cloudPubsubTopic": {
      "@id": "google:cloudPubsubTopic",
      "@type": "@id"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Google Classroom API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Google Classroom'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-classroom-courses-api-openapi.yml, openapi/google-classroom-invitations-api-openapi.yml, openapi/google-classroom-registrations-api-openapi.yml.",
  "dcterms:created": "2026-11-11",
  "dcterms:source": [
    "openapi/google-classroom-courses-api-openapi.yml",
    "openapi/google-classroom-invitations-api-openapi.yml",
    "openapi/google-classroom-registrations-api-openapi.yml",
    "openapi/google-classroom-user-profiles-api-openapi.yml"
  ]
}