API JSON: a flow's payload and a dependency's prefix metadata differ from the metamodel
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 55/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- json
- 领域
- api
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Go
- 星标
- 24
- 派生
- 5
- 平均合并
- 10 小时 12 分钟
- 30 天内合并 PR
- 598
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Open-MBEE/OpenSysML 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
Open-MBEE/OpenSysML#729 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 68/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 68/100
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 48/100
Open-MBEE/OpenSysML#720 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 58/100
维护者通常 1 天内回复
查看 Open-MBEE/OpenSysML 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 90/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
NVIDIA/k8s-device-plugin#2076 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
area/release kind/bug
难度 2/5 1-3 小时 新手友好度 82/100
kubernetes-sigs/kueue#16455 · 1 条评论 ·
维护者通常 1 天内回复