Spotlight Rules · JSON-LD Context

Spotlight Rules Context

JSON-LD context defining the semantic vocabulary for Spotlight Rules from Spotlight Rules.

24 Classes 5 Properties 3 Namespaces
View Context View on GitHub

Namespaces

spotlight: https://spotlight-rules.com/vocab#
spectral: https://stoplight.io/spectral/vocab#
vacuum: https://quobix.com/vacuum/vocab#

Classes

SpectralRule VacuumRule Ruleset LintingFunction description message severity given then formats id howToFix category recommended tags extends aliases overrides rules function field functionOptions match notMatch

Properties

Property Type Container
Spectral reference
Vacuum reference
OpenAPI reference
AsyncAPI reference
Arazzo reference

JSON-LD Document

spotlight-rules-context.jsonld Raw ↑
{
  "@context": {
    "@vocab": "https://schema.org/",
    "spotlight": "https://spotlight-rules.com/vocab#",
    "spectral": "https://stoplight.io/spectral/vocab#",
    "vacuum": "https://quobix.com/vacuum/vocab#",
    "SpectralRule": "spotlight:SpectralRule",
    "VacuumRule": "spotlight:VacuumRule",
    "Ruleset": "spotlight:Ruleset",
    "LintingFunction": "spotlight:LintingFunction",
    "description": "description",
    "message": "spotlight:ruleMessage",
    "severity": "spotlight:severity",
    "given": "spotlight:jsonPathSelector",
    "then": "spotlight:assertion",
    "formats": "spotlight:applicableFormats",
    "id": "identifier",
    "howToFix": "spotlight:remediationGuidance",
    "category": "category",
    "recommended": "spotlight:isRecommended",
    "tags": "keywords",
    "extends": "spotlight:extendsRuleset",
    "aliases": "spotlight:jsonPathAliases",
    "overrides": "spotlight:fileOverrides",
    "rules": "spotlight:containsRules",
    "function": "spotlight:validationFunction",
    "field": "spotlight:targetField",
    "functionOptions": "spotlight:functionOptions",
    "match": "spotlight:matchPattern",
    "notMatch": "spotlight:negativeMatchPattern",
    "Spectral": {
      "@id": "spotlight:Spectral",
      "@type": "@id"
    },
    "Vacuum": {
      "@id": "spotlight:Vacuum",
      "@type": "@id"
    },
    "OpenAPI": {
      "@id": "https://spec.openapis.org/oas/v3.1.0",
      "@type": "@id"
    },
    "AsyncAPI": {
      "@id": "https://www.asyncapi.com/docs/reference",
      "@type": "@id"
    },
    "Arazzo": {
      "@id": "https://spec.openapis.org/arazzo/v1.0.0",
      "@type": "@id"
    }
  }
}