Smithy · JSON-LD Context

Smithy Context

JSON-LD context defining the semantic vocabulary for Smithy from Smithy.

26 Classes 0 Properties 1 Namespaces
View Context View on GitHub

Namespaces

smithy: https://smithy.io/vocab#

Classes

Model Shape Trait Service Operation Resource smithy:version smithy:shapes smithy:type smithy:traits smithy:members smithy:target smithy:input smithy:output smithy:errors smithy:operations smithy:resources smithy:version-field smithy:metadata smithy:namespace smithy:protocol smithy:shapeId smithy:documentation smithy:required smithy:httpMethod smithy:httpUri

JSON-LD Document

smithy-context.jsonld Raw ↑
{
  "@context": {
    "@vocab": "https://schema.org/",
    "smithy": "https://smithy.io/vocab#",
    "Model": "SoftwareSourceCode",
    "Shape": "smithy:Shape",
    "Trait": "smithy:Trait",
    "Service": "WebAPI",
    "Operation": "EntryPoint",
    "Resource": "smithy:Resource",
    "smithy:version": "softwareVersion",
    "smithy:shapes": "hasPart",
    "smithy:type": "additionalType",
    "smithy:traits": "smithy:traits",
    "smithy:members": "smithy:members",
    "smithy:target": "smithy:target",
    "smithy:input": "smithy:input",
    "smithy:output": "smithy:output",
    "smithy:errors": "smithy:errors",
    "smithy:operations": "potentialAction",
    "smithy:resources": "hasPart",
    "smithy:version-field": "version",
    "smithy:metadata": "additionalProperty",
    "smithy:namespace": "identifier",
    "smithy:protocol": "encodingFormat",
    "smithy:shapeId": "@id",
    "smithy:documentation": "description",
    "smithy:required": "valueRequired",
    "smithy:httpMethod": "httpMethod",
    "smithy:httpUri": "url"
  }
}