SpaceX API · JSON-LD Context

Spacex Api Context

JSON-LD context defining the semantic vocabulary for Spacex Api from SpaceX API.

17 Classes 15 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
spacex: https://api.spacexdata.com/vocab/
xsd: http://www.w3.org/2001/XMLSchema#

Classes

Launch Rocket Capsule Core CrewMember Launchpad Landpad Payload Ship StarlinkSatellite id name details flight_number reuse_count landing_success orbit

Properties

Property Type Container
date_utc dateTime
upcoming boolean
success boolean
rocket reference
launchpad reference
payloads reference
crew
cores
links
active
latitude decimal
longitude decimal
image reference
wikipedia reference
mass_kg decimal

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "spacex": "https://api.spacexdata.com/vocab/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",

    "Launch": "schema:Event",
    "Rocket": "schema:Vehicle",
    "Capsule": "schema:Vehicle",
    "Core": "spacex:BoosterCore",
    "CrewMember": "schema:Person",
    "Launchpad": "schema:Place",
    "Landpad": "schema:Place",
    "Payload": "schema:Product",
    "Ship": "schema:Vehicle",
    "StarlinkSatellite": "schema:Vehicle",

    "id": "@id",
    "name": "schema:name",
    "details": "schema:description",
    "date_utc": {
      "@id": "schema:startDate",
      "@type": "xsd:dateTime"
    },
    "flight_number": "spacex:flightNumber",
    "upcoming": {
      "@id": "spacex:upcoming",
      "@type": "xsd:boolean"
    },
    "success": {
      "@id": "spacex:success",
      "@type": "xsd:boolean"
    },
    "rocket": {
      "@id": "spacex:rocket",
      "@type": "@id"
    },
    "launchpad": {
      "@id": "schema:location",
      "@type": "@id"
    },
    "payloads": {
      "@id": "spacex:payload",
      "@type": "@id"
    },
    "crew": {
      "@id": "schema:performer"
    },
    "cores": {
      "@id": "spacex:boosterCore"
    },
    "links": {
      "@id": "schema:associatedMedia"
    },
    "active": {
      "@id": "schema:isRelatedTo"
    },
    "latitude": {
      "@id": "schema:latitude",
      "@type": "xsd:decimal"
    },
    "longitude": {
      "@id": "schema:longitude",
      "@type": "xsd:decimal"
    },
    "image": {
      "@id": "schema:image",
      "@type": "@id"
    },
    "wikipedia": {
      "@id": "schema:sameAs",
      "@type": "@id"
    },
    "reuse_count": "spacex:reuseCount",
    "landing_success": "spacex:landingSuccess",
    "orbit": "spacex:targetOrbit",
    "mass_kg": {
      "@id": "schema:weight",
      "@type": "xsd:decimal"
    }
  }
}