{
  "@context": {
    "@version": 1.1,
    "wkt": "https://schema.wakatime.com/v1/",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "prov": "http://www.w3.org/ns/prov#",
    "dct": "http://purl.org/dc/terms/",
    "foaf": "http://xmlns.com/foaf/0.1/",

    "Heartbeat":         { "@id": "wkt:Heartbeat",         "@type": "@id" },
    "Duration":          { "@id": "wkt:Duration",          "@type": "@id" },
    "ExternalDuration":  { "@id": "wkt:ExternalDuration",  "@type": "@id" },
    "Summary":           { "@id": "wkt:Summary",           "@type": "@id" },
    "Stats":             { "@id": "wkt:Stats",             "@type": "@id" },
    "Insight":           { "@id": "wkt:Insight",           "@type": "@id" },
    "Project":           { "@id": "wkt:Project",           "@type": "@id" },
    "Commit":            { "@id": "wkt:Commit",            "@type": "@id" },
    "Goal":              { "@id": "wkt:Goal",              "@type": "@id" },
    "CustomRule":        { "@id": "wkt:CustomRule",        "@type": "@id" },
    "DataDump":          { "@id": "wkt:DataDump",          "@type": "@id" },
    "Editor":            { "@id": "wkt:Editor",            "@type": "@id" },
    "Language":          { "@id": "wkt:Language",          "@type": "@id" },
    "Machine":           { "@id": "wkt:Machine",           "@type": "@id" },
    "UserAgent":         { "@id": "wkt:UserAgent",         "@type": "@id" },
    "Leader":            { "@id": "wkt:Leader",            "@type": "@id" },
    "Leaderboard":       { "@id": "wkt:Leaderboard",       "@type": "@id" },
    "Organization":      { "@id": "schema:Organization" },
    "Dashboard":         { "@id": "wkt:Dashboard",         "@type": "@id" },
    "User":              { "@id": "schema:Person" },

    "id":                  { "@id": "schema:identifier" },
    "user_id":             { "@id": "wkt:userId" },
    "username":            { "@id": "foaf:nick" },
    "display_name":        { "@id": "schema:name" },
    "email":               { "@id": "schema:email" },
    "photo":               { "@id": "schema:image", "@type": "@id" },
    "timezone":            { "@id": "schema:timezone" },
    "plan":                { "@id": "wkt:plan" },

    "entity":              { "@id": "wkt:entity" },
    "type":                { "@id": "wkt:entityType" },
    "category":            { "@id": "wkt:category" },
    "time":                { "@id": "wkt:time", "@type": "xsd:double" },
    "project":             { "@id": "wkt:project" },
    "branch":              { "@id": "wkt:branch" },
    "language":            { "@id": "wkt:language" },
    "dependencies":        { "@id": "wkt:dependencies", "@container": "@list" },
    "is_write":            { "@id": "wkt:isWrite",          "@type": "xsd:boolean" },
    "lines":               { "@id": "wkt:lines",            "@type": "xsd:integer" },
    "lineno":              { "@id": "wkt:lineNumber",       "@type": "xsd:integer" },
    "cursorpos":           { "@id": "wkt:cursorPosition",   "@type": "xsd:integer" },
    "machine_name_id":     { "@id": "wkt:machineNameId" },
    "user_agent_id":       { "@id": "wkt:userAgentId" },

    "duration":            { "@id": "wkt:duration",         "@type": "xsd:double" },
    "total_seconds":       { "@id": "wkt:totalSeconds",     "@type": "xsd:double" },
    "daily_average":       { "@id": "wkt:dailyAverage",     "@type": "xsd:double" },
    "percent":             { "@id": "wkt:percent",          "@type": "xsd:double" },

    "range":               { "@id": "wkt:range" },
    "start":               { "@id": "schema:startDate",     "@type": "xsd:dateTime" },
    "end":                 { "@id": "schema:endDate",       "@type": "xsd:dateTime" },
    "start_date":          { "@id": "schema:startDate",     "@type": "xsd:date" },
    "end_date":            { "@id": "schema:endDate",       "@type": "xsd:date" },

    "categories":          { "@id": "wkt:categories",       "@container": "@list" },
    "projects":            { "@id": "wkt:projects",         "@container": "@list" },
    "languages":           { "@id": "wkt:languages",        "@container": "@list" },
    "editors":             { "@id": "wkt:editors",          "@container": "@list" },
    "operating_systems":   { "@id": "wkt:operatingSystems", "@container": "@list" },
    "machines":            { "@id": "wkt:machines",         "@container": "@list" },
    "branches":            { "@id": "wkt:branches",         "@container": "@list" },

    "hash":                { "@id": "wkt:commitHash" },
    "message":             { "@id": "schema:text" },
    "ref":                 { "@id": "wkt:gitRef" },
    "author_name":         { "@id": "schema:author" },
    "author_email":        { "@id": "schema:email" },

    "status":              { "@id": "wkt:status" },
    "seconds":             { "@id": "wkt:goalSeconds",      "@type": "xsd:integer" },
    "is_enabled":          { "@id": "wkt:isEnabled",        "@type": "xsd:boolean" },

    "created_at":          { "@id": "dct:created",          "@type": "xsd:dateTime" },
    "modified_at":         { "@id": "dct:modified",         "@type": "xsd:dateTime" },

    "rank":                { "@id": "schema:position",      "@type": "xsd:integer" }
  }
}
