Consul Connect · JSON-LD Context

Consul Connect Context

JSON-LD context defining the semantic vocabulary for Consul Connect from Consul Connect.

0 Classes 4 Properties 4 Namespaces
View Context View on GitHub

Namespaces

consul: https://developer.hashicorp.com/consul/vocabulary#
schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/

Properties

Property Type Container
Intention
Service
CaRoot
CaConfiguration

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "consul": "https://developer.hashicorp.com/consul/vocabulary#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",

    "Intention": {
      "@id": "consul:Intention",
      "@context": {
        "id": "schema:identifier",
        "sourceName": "consul:sourceServiceName",
        "destinationName": "consul:destinationServiceName",
        "sourceNamespace": "consul:sourceNamespace",
        "destinationNamespace": "consul:destinationNamespace",
        "action": "consul:authorizationAction",
        "description": "schema:description",
        "precedence": {
          "@id": "consul:precedence",
          "@type": "xsd:integer"
        },
        "meta": "consul:metadata",
        "createIndex": {
          "@id": "consul:createIndex",
          "@type": "xsd:integer"
        },
        "modifyIndex": {
          "@id": "consul:modifyIndex",
          "@type": "xsd:integer"
        }
      }
    },

    "Service": {
      "@id": "consul:Service",
      "@context": {
        "name": "schema:name",
        "namespace": "consul:namespace",
        "partition": "consul:partition",
        "tags": {
          "@id": "consul:tags",
          "@container": "@set"
        }
      }
    },

    "CaRoot": {
      "@id": "consul:CaRoot",
      "@context": {
        "id": "schema:identifier",
        "name": "schema:name",
        "trustDomain": "consul:trustDomain",
        "rootCert": "consul:rootCertificate",
        "active": "consul:isActive",
        "notBefore": {
          "@id": "consul:notBefore",
          "@type": "xsd:dateTime"
        },
        "notAfter": {
          "@id": "consul:notAfter",
          "@type": "xsd:dateTime"
        }
      }
    },

    "CaConfiguration": {
      "@id": "consul:CaConfiguration",
      "@context": {
        "provider": "consul:caProvider",
        "config": "consul:providerConfig",
        "state": "consul:providerState"
      }
    }
  }
}