Sunrise Sunset · JSON-LD Context

Sunrise Sunset Context

JSON-LD context defining the semantic vocabulary for Sunrise Sunset from Sunrise Sunset.

2 Classes 16 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
api: https://sunrise-sunset.org/api#

Classes

SolarTimesResponse SolarTimes

Properties

Property Type Container
results reference
status string
tzid string
sunrise string
sunset string
solar_noon string
day_length
civil_twilight_begin string
civil_twilight_end string
nautical_twilight_begin string
nautical_twilight_end string
astronomical_twilight_begin string
astronomical_twilight_end string
lat float
lng float
date date

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "api": "https://sunrise-sunset.org/api#",

    "SolarTimesResponse": "api:SolarTimesResponse",
    "SolarTimes": "api:SolarTimes",

    "results": {
      "@id": "api:results",
      "@type": "@id"
    },
    "status": {
      "@id": "api:status",
      "@type": "xsd:string"
    },
    "tzid": {
      "@id": "api:tzid",
      "@type": "xsd:string"
    },
    "sunrise": {
      "@id": "schema:sunrise",
      "@type": "xsd:string"
    },
    "sunset": {
      "@id": "schema:sunset",
      "@type": "xsd:string"
    },
    "solar_noon": {
      "@id": "api:solar_noon",
      "@type": "xsd:string"
    },
    "day_length": {
      "@id": "api:day_length"
    },
    "civil_twilight_begin": {
      "@id": "api:civil_twilight_begin",
      "@type": "xsd:string"
    },
    "civil_twilight_end": {
      "@id": "api:civil_twilight_end",
      "@type": "xsd:string"
    },
    "nautical_twilight_begin": {
      "@id": "api:nautical_twilight_begin",
      "@type": "xsd:string"
    },
    "nautical_twilight_end": {
      "@id": "api:nautical_twilight_end",
      "@type": "xsd:string"
    },
    "astronomical_twilight_begin": {
      "@id": "api:astronomical_twilight_begin",
      "@type": "xsd:string"
    },
    "astronomical_twilight_end": {
      "@id": "api:astronomical_twilight_end",
      "@type": "xsd:string"
    },
    "lat": {
      "@id": "schema:latitude",
      "@type": "xsd:float"
    },
    "lng": {
      "@id": "schema:longitude",
      "@type": "xsd:float"
    },
    "date": {
      "@id": "schema:date",
      "@type": "xsd:date"
    }
  }
}