Class: Lutaml::Xsd::Spa::SpaMetadata

Inherits:
Model::Serializable
  • Object
show all
Defined in:
lib/lutaml/xsd/spa/spa_metadata.rb

Overview

Metadata specific to SPA documentation display. This is a model-driven class (not a hash) that gets serialized to JSON for consumption by the Vue.js frontend.

Examples:

Creating SPA metadata

 = SpaMetadata.new(
  title: "My Schema Docs",
  name: "my-package",
  version: "1.0.0",
  authors: [{ "name" => "Jane Doe", "email" => "jane@example.com" }],
  tags: ["xml", "schema"],
  branding: { "logo_url" => "https://example.com/logo.svg" },
  links: { "getting_started" => "https://example.com/docs" }
)