Class SchemaHintsEntry
- Namespace
- Kuestenlogik.Bowire.Semantics
- Assembly
- Kuestenlogik.Bowire.dll
Annotations contributed by a single (service, method) pair —
the second-level grouping under Schemas.
public sealed class SchemaHintsEntry
- Inheritance
-
SchemaHintsEntry
- Inherited Members
Constructors
SchemaHintsEntry()
public SchemaHintsEntry()
Properties
Discriminator
Optional discriminator declaration for multi-type methods.
Absent means single-type (every annotation lives under the
"*" wildcard key in Types).
[JsonPropertyName("discriminator")]
public SchemaHintsDiscriminator? Discriminator { get; set; }
Property Value
Method
Method identifier (e.g. "Subscribe").
[JsonPropertyName("method")]
public string Method { get; set; }
Property Value
Service
Service identifier (e.g. "dis.LiveExercise").
[JsonPropertyName("service")]
public string Service { get; set; }
Property Value
Types
Per-discriminator-value annotation maps. The outer key is the
discriminator value (e.g. "EntityStatePdu") or "*"
for single-type methods; the inner key is a JSONPath; the inner
value is the semantic kind-string.
[JsonPropertyName("types")]
public IDictionary<string, IDictionary<string, string>> Types { get; init; }