Unleash · JSON-LD Context

Unleash Context

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

11 Classes 27 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
unleash: https://getunleash.io/ontology#
xsd: http://www.w3.org/2001/XMLSchema#

Classes

FeatureFlag Project Environment Strategy Segment Variant User APIToken Constraint name description

Properties

Property Type Container
enabled boolean
createdAt dateTime
updatedAt dateTime
lastSeenAt dateTime
project reference
type string
stale boolean
impressionData boolean
environments set
strategies set
constraints set
parameters
segments set
variants set
tags set
context
contextName string
operator string
values set
weight integer
weightType string
payload
email string
rootRole string
tokenType string
secret string
version string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "unleash": "https://getunleash.io/ontology#",
    "xsd": "http://www.w3.org/2001/XMLSchema#",

    "FeatureFlag": "unleash:FeatureFlag",
    "Project": "schema:Project",
    "Environment": "unleash:Environment",
    "Strategy": "unleash:Strategy",
    "Segment": "unleash:Segment",
    "Variant": "unleash:Variant",
    "User": "schema:Person",
    "APIToken": "unleash:APIToken",
    "Constraint": "unleash:Constraint",

    "name": "schema:name",
    "description": "schema:description",
    "enabled": {
      "@id": "schema:actionStatus",
      "@type": "xsd:boolean"
    },
    "createdAt": {
      "@id": "schema:dateCreated",
      "@type": "xsd:dateTime"
    },
    "updatedAt": {
      "@id": "schema:dateModified",
      "@type": "xsd:dateTime"
    },
    "lastSeenAt": {
      "@id": "unleash:lastSeenAt",
      "@type": "xsd:dateTime"
    },
    "project": {
      "@id": "schema:isPartOf",
      "@type": "@id"
    },
    "type": {
      "@id": "unleash:flagType",
      "@type": "xsd:string"
    },
    "stale": {
      "@id": "unleash:stale",
      "@type": "xsd:boolean"
    },
    "impressionData": {
      "@id": "unleash:impressionData",
      "@type": "xsd:boolean"
    },
    "environments": {
      "@id": "unleash:environments",
      "@container": "@set"
    },
    "strategies": {
      "@id": "unleash:strategies",
      "@container": "@set"
    },
    "constraints": {
      "@id": "unleash:constraints",
      "@container": "@set"
    },
    "parameters": {
      "@id": "schema:additionalProperty"
    },
    "segments": {
      "@id": "unleash:segments",
      "@container": "@set"
    },
    "variants": {
      "@id": "unleash:variants",
      "@container": "@set"
    },
    "tags": {
      "@id": "schema:keywords",
      "@container": "@set"
    },
    "context": {
      "@id": "unleash:context"
    },
    "contextName": {
      "@id": "unleash:contextName",
      "@type": "xsd:string"
    },
    "operator": {
      "@id": "unleash:operator",
      "@type": "xsd:string"
    },
    "values": {
      "@id": "schema:value",
      "@container": "@set"
    },
    "weight": {
      "@id": "schema:weight",
      "@type": "xsd:integer"
    },
    "weightType": {
      "@id": "unleash:weightType",
      "@type": "xsd:string"
    },
    "payload": {
      "@id": "schema:value"
    },
    "email": {
      "@id": "schema:email",
      "@type": "xsd:string"
    },
    "rootRole": {
      "@id": "schema:roleName",
      "@type": "xsd:string"
    },
    "tokenType": {
      "@id": "unleash:tokenType",
      "@type": "xsd:string"
    },
    "secret": {
      "@id": "unleash:secret",
      "@type": "xsd:string"
    },
    "version": {
      "@id": "schema:version",
      "@type": "xsd:string"
    }
  }
}