Software Design Patterns · JSON-LD Context

Software Design Patterns Context

JSON-LD context defining the semantic vocabulary for Software Design Patterns from Software Design Patterns.

0 Classes 25 Properties 2 Namespaces
View Context View on GitHub

Namespaces

gof: https://refactoring.guru/design-patterns/ns#
pat: https://api-evangelist.github.io/software-design-patterns/ns#

Properties

Property Type Container
DesignPattern reference
name
intent
motivation
category
Creational
Structural
Behavioral
Participant reference
applicability
consequences
relatedPatterns
aliases
languages
Observer
Factory
Singleton
Adapter
Decorator
Strategy
Command
Proxy
Builder
Facade
Iterator

JSON-LD Document

software-design-patterns-context.jsonld Raw ↑
{
  "@context": {
    "@vocab": "https://schema.org/",
    "gof": "https://refactoring.guru/design-patterns/ns#",
    "pat": "https://api-evangelist.github.io/software-design-patterns/ns#",
    "DesignPattern": {
      "@id": "schema:HowTo",
      "@type": "@id"
    },
    "name": {
      "@id": "schema:name"
    },
    "intent": {
      "@id": "schema:description"
    },
    "motivation": {
      "@id": "pat:motivation"
    },
    "category": {
      "@id": "schema:category"
    },
    "Creational": {
      "@id": "gof:CreationalPattern"
    },
    "Structural": {
      "@id": "gof:StructuralPattern"
    },
    "Behavioral": {
      "@id": "gof:BehavioralPattern"
    },
    "Participant": {
      "@id": "pat:Participant",
      "@type": "@id"
    },
    "applicability": {
      "@id": "schema:applicationCategory"
    },
    "consequences": {
      "@id": "pat:consequence"
    },
    "relatedPatterns": {
      "@id": "schema:isRelatedTo"
    },
    "aliases": {
      "@id": "schema:alternateName"
    },
    "languages": {
      "@id": "schema:programmingLanguage"
    },
    "Observer": {"@id": "gof:ObserverPattern"},
    "Factory": {"@id": "gof:FactoryPattern"},
    "Singleton": {"@id": "gof:SingletonPattern"},
    "Adapter": {"@id": "gof:AdapterPattern"},
    "Decorator": {"@id": "gof:DecoratorPattern"},
    "Strategy": {"@id": "gof:StrategyPattern"},
    "Command": {"@id": "gof:CommandPattern"},
    "Proxy": {"@id": "gof:ProxyPattern"},
    "Builder": {"@id": "gof:BuilderPattern"},
    "Facade": {"@id": "gof:FacadePattern"},
    "Iterator": {"@id": "gof:IteratorPattern"}
  }
}