Hydra EntryPoint erstellt. vocab.jsonld angepasst

This commit is contained in:
2026-01-29 15:50:01 +01:00
parent 74161b4a79
commit 695772949f
47 changed files with 2340 additions and 191 deletions

View File

@@ -1,6 +1,6 @@
{
"@context": {
"api": "https://bureau.kapdion.com/produktwissen-app/produktApi/vocab#",
"api": "http://localhost:9090/produktwissen-app/produktApi/",
"vvo": "http://vvo.pisanoapi.at/",
"hydra": "http://www.w3.org/ns/hydra/core#",
"xsd": "http://www.w3.org/2001/XMLSchema#",

View File

@@ -5,16 +5,16 @@
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"schema": "http://schema.org/",
"api": "https://bureau.kapdion.com/produktwissen-app/produktApi/vocab#",
"api": "http://localhost:9090/produktwissen-app/produktApi/",
"vvo": "http://vvo.pisanoapi.at/"
},
"@id": "api:ApiDocumentation",
"@id": "http://localhost:9090/produktwissen-app/produktApi/vocab.jsonld",
"@type": "hydra:ApiDocumentation",
"hydra:title": "Produkt API",
"hydra:entrypoint": "https://bureau.kapdion.com/produktwissen-app/produktApi",
"hydra:entrypoint": "http://localhost:9090/produktwissen-app/produktApi/",
"hydra:supportedClass": [
{
"@id": "api:EntryPoint",
"@id": "hydra:EntryPoint",
"@type": "hydra:Class",
"hydra:title": "API Einstiegspunkt",
"hydra:supportedOperation": [
@@ -26,7 +26,10 @@
"hydra:expects": "api:ProductsRequest",
"hydra:returns": "api:ProductsResponse",
"hydra:possibleStatus": [
{ "hydra:statusCode": 200, "description": "Produktwissen erfolgreich abgefragt" }
{
"hydra:statusCode": 200,
"hydra:description": "Produktwissen erfolgreich abgefragt"
}
]
},
{
@@ -37,7 +40,10 @@
"hydra:expects": "api:CalculateRequest",
"hydra:returns": "api:CalculateResponse",
"hydra:possibleStatus": [
{ "hydra:statusCode": 200, "description": "Berechnung durchgeführt" }
{
"hydra:statusCode": 200,
"hydra:description": "Berechnung durchgeführt"
}
]
}
]
@@ -51,7 +57,7 @@
"hydra:property": "api:stichtag",
"hydra:title": "Stichtag für die Abfrage",
"hydra:required": true,
"range": "xsd:date"
"rdfs:range": "xsd:date"
}
]
},
@@ -60,11 +66,15 @@
"@type": "hydra:Class",
"hydra:title": "Berechnungsanfrage",
"hydra:supportedProperty": [
{ "hydra:property": "vvo:ProdElement" },
{ "hydra:property": "vvo:Meldung" },
{ "hydra:property": "vvo:FahrzeugType" }
{
"hydra:property": "vvo:ProdElement"
},
{
"hydra:property": "vvo:Meldung"
},
{
"hydra:property": "vvo:FahrzeugType"
}
]
},
{
@@ -72,8 +82,12 @@
"@type": "hydra:Class",
"hydra:title": "Antwort der Produktwissen-Abfrage",
"hydra:supportedProperty": [
{ "hydra:property": "vvo:ProdElement" },
{ "hydra:property": "vvo:Meldung" }
{
"hydra:property": "vvo:ProdElement"
},
{
"hydra:property": "vvo:Meldung"
}
]
},
{
@@ -81,8 +95,12 @@
"@type": "hydra:Class",
"hydra:title": "Antwort der Berechnung",
"hydra:supportedProperty": [
{ "hydra:property": "vvo:ProdElement" },
{ "hydra:property": "vvo:Meldung" }
{
"hydra:property": "vvo:ProdElement"
},
{
"hydra:property": "vvo:Meldung"
}
]
},
{
@@ -91,12 +109,30 @@
"hydra:title": "VVO Produkt-Element",
"hydra:description": "Ein Element innerhalb der Versicherungsstruktur (Baustein, Elementarprodukt etc.)",
"hydra:supportedProperty": [
{ "hydra:property": "vvo:bez", "hydra:title": "Bezeichnung" },
{ "hydra:property": "vvo:value", "hydra:title": "Wert" },
{ "hydra:property": "vvo:minOccurrence", "hydra:title": "Minimale Häufigkeit" },
{ "hydra:property": "vvo:maxOccurrence", "hydra:title": "Maximale Häufigkeit" },
{ "hydra:property": "vvo:Baustein", "hydra:title": "Referenz auf Unterbausteine" },
{ "hydra:property": "vvo:Parent", "hydra:title": "Referenz auf Elternelement" }
{
"hydra:property": "vvo:bez",
"hydra:title": "Bezeichnung"
},
{
"hydra:property": "vvo:value",
"hydra:title": "Wert"
},
{
"hydra:property": "vvo:minOccurrence",
"hydra:title": "Minimale Häufigkeit"
},
{
"hydra:property": "vvo:maxOccurrence",
"hydra:title": "Maximale Häufigkeit"
},
{
"hydra:property": "vvo:Baustein",
"hydra:title": "Referenz auf Unterbausteine"
},
{
"hydra:property": "vvo:Parent",
"hydra:title": "Referenz auf Elternelement"
}
]
},
{
@@ -104,11 +140,15 @@
"@type": "hydra:Class",
"hydra:title": "System-Meldung",
"hydra:supportedProperty": [
{ "hydra:property": "vvo:errorMsg", "hydra:title": "Fehlermeldung Text" },
{ "hydra:property": "vvo:errorType", "hydra:title": "Fehlertyp Code" }
{
"hydra:property": "vvo:errorMsg",
"hydra:title": "Fehlermeldung Text"
},
{
"hydra:property": "vvo:errorType",
"hydra:title": "Fehlertyp Code"
}
]
}
//To-Do: Genauer ausformulieren
]
}