Semaphore · JSON-LD Context

Semaphore Context

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

18 Classes 18 Properties 5 Namespaces
View Context View on GitHub

Namespaces

semaphore: https://semaphore.io/vocab#
xsd: http://www.w3.org/2001/XMLSchema#
hydra: http://www.w3.org/ns/hydra/core#
baseURL: https://{org_name}.semaphoreci.com/api/v2
documentation: https://docs.semaphore.io/reference/api

Classes

Workflow Pipeline Job Promotion Task Secret ProjectSecret DeploymentTarget SelfHostedAgentType SelfHostedAgent Dashboard Notification Artifact TestResult Project name description id

Properties

Property Type Container
workflow_id reference
pipeline_id reference
project_id reference
org_id reference
agent_name
agent_type_name
state
result
created_at dateTime
updated_at dateTime
terminated_at dateTime
apiVersion
kind
metadata
spec
status
url reference
provider Organization

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://schema.org/",
    "semaphore": "https://semaphore.io/vocab#",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "hydra": "http://www.w3.org/ns/hydra/core#",

    "Workflow": "semaphore:Workflow",
    "Pipeline": "semaphore:Pipeline",
    "Job": "semaphore:Job",
    "Promotion": "semaphore:Promotion",
    "Task": "semaphore:Task",
    "Secret": "semaphore:Secret",
    "ProjectSecret": "semaphore:ProjectSecret",
    "DeploymentTarget": "semaphore:DeploymentTarget",
    "SelfHostedAgentType": "semaphore:SelfHostedAgentType",
    "SelfHostedAgent": "semaphore:SelfHostedAgent",
    "Dashboard": "semaphore:Dashboard",
    "Notification": "semaphore:Notification",
    "Artifact": "semaphore:Artifact",
    "TestResult": "semaphore:TestResult",
    "Project": "semaphore:Project",

    "workflow_id": {"@id": "semaphore:workflowId", "@type": "@id"},
    "pipeline_id": {"@id": "semaphore:pipelineId", "@type": "@id"},
    "project_id": {"@id": "semaphore:projectId", "@type": "@id"},
    "org_id": {"@id": "semaphore:orgId", "@type": "@id"},
    "agent_name": {"@id": "semaphore:agentName"},
    "agent_type_name": {"@id": "semaphore:agentTypeName"},

    "state": {"@id": "semaphore:state"},
    "result": {"@id": "semaphore:result"},
    "created_at": {"@id": "schema:dateCreated", "@type": "xsd:dateTime"},
    "updated_at": {"@id": "schema:dateModified", "@type": "xsd:dateTime"},
    "terminated_at": {"@id": "semaphore:terminatedAt", "@type": "xsd:dateTime"},

    "apiVersion": {"@id": "semaphore:apiVersion"},
    "kind": {"@id": "semaphore:kind"},
    "metadata": {"@id": "semaphore:metadata"},
    "spec": {"@id": "semaphore:spec"},
    "status": {"@id": "semaphore:status"},

    "name": "schema:name",
    "description": "schema:description",
    "url": {"@id": "schema:url", "@type": "@id"},

    "id": "@id",

    "baseURL": "https://{org_name}.semaphoreci.com/api/v2",
    "documentation": "https://docs.semaphore.io/reference/api",
    "provider": {
      "@type": "Organization",
      "name": "Semaphore",
      "url": "https://semaphore.io"
    }
  }
}