Test Scripts · JSON-LD Context

Test Scripts Context

JSON-LD context defining the semantic vocabulary for Test Scripts from Test Scripts.

22 Classes 9 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
ts: https://raw.githubusercontent.com/api-evangelist/test-scripts/main/vocabulary/test-scripts-vocabulary.yml#

Classes

id name description tags framework language environment url method path operationId platform workflow trigger UnitTest IntegrationTest EndToEndTest ContractTest PerformanceTest SecurityTest SmokeTest RegressionTest

Properties

Property Type Container
TestScript reference
Assertion reference
TestTarget reference
created date
modified date
type reference
target reference
assertions set
ci reference

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "ts": "https://raw.githubusercontent.com/api-evangelist/test-scripts/main/vocabulary/test-scripts-vocabulary.yml#",

    "TestScript": {
      "@id": "ts:TestScript",
      "@type": "@id"
    },
    "Assertion": {
      "@id": "ts:Assertion",
      "@type": "@id"
    },
    "TestTarget": {
      "@id": "ts:TestTarget",
      "@type": "@id"
    },

    "id": "@id",
    "name": "schema:name",
    "description": "schema:description",
    "created": {
      "@id": "schema:dateCreated",
      "@type": "xsd:date"
    },
    "modified": {
      "@id": "schema:dateModified",
      "@type": "xsd:date"
    },
    "tags": "schema:keywords",

    "type": {
      "@id": "ts:testType",
      "@type": "@id"
    },
    "framework": "ts:framework",
    "language": "schema:programmingLanguage",
    "target": {
      "@id": "ts:target",
      "@type": "@id"
    },
    "assertions": {
      "@id": "ts:assertions",
      "@container": "@set"
    },
    "environment": "ts:environment",
    "ci": {
      "@id": "ts:ciIntegration",
      "@type": "@id"
    },

    "url": "schema:url",
    "method": "ts:httpMethod",
    "path": "ts:apiPath",
    "operationId": "ts:operationId",

    "platform": "ts:ciPlatform",
    "workflow": "ts:ciWorkflow",
    "trigger": "ts:ciTrigger",

    "UnitTest": "ts:UnitTest",
    "IntegrationTest": "ts:IntegrationTest",
    "EndToEndTest": "ts:EndToEndTest",
    "ContractTest": "ts:ContractTest",
    "PerformanceTest": "ts:PerformanceTest",
    "SecurityTest": "ts:SecurityTest",
    "SmokeTest": "ts:SmokeTest",
    "RegressionTest": "ts:RegressionTest"
  }
}