Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

API JSON: a flow's payload and a dependency's prefix metadata differ from the metamodel

Abierto
#652 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
json
Área
api

Línea de trabajo

Read rdf-mapping.md at lines 458-466 and 532, then compare those mappings with the corresponding entries in SysML-textual-bnf at lines 51-53, 845-852, and 1660-1662. Locate the API JSON serialization entry point and verify how flows and dependencies are represented. Done means the JSON form exposes the metamodel-aligned PayloadFeature and annotation while the documented Turtle mappings remain understood.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Both are documented choices in rdf-mapping.md, so this is a request, not a bug report. For the API's JSON form, could they follow the metamodel?

Source Exported (documented at) Grammar (SysML-textual-bnf)
flow of Fuel from a.p.fuel to b.p.fuel; (the flow example in #651) sysx:payload → a FeatureReferenceExpression under an OwningMembership (rdf-mapping.md:532) FeatureMembership owning a PayloadFeature (:845-852)
#Tag dependency x to y; MetadataUsage under an OwningMembership of the dependency (rdf-mapping.md:458-466) an Annotation whose annotatingElement is the MetadataUsage (:51-53, :1660-1662)
package A {
    metadata def Tag;
    part x;
    part y;
    #Tag dependency x to y;
}

A reader of standard API JSON finds no payload feature on the flow, and no annotation on the dependency.

:532 gives the reason for the payload: the 202407 ontology table has no payloadFeature property. The API form reads metaclasses rather than that table, so it could carry the PayloadFeature even if Turtle keeps the expression.

Lenguaje dominante
Go
Estrellas
24
Forks
5
Merge medio
10 h 11 min
PR fusionados (30 d)
572

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Open-MBEE/OpenSysML

Todos los issues de Open-MBEE/OpenSysML

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.