Skip to content

Cross-entity references: docs say lists, OpenAPI says objects #61

@arcangelo7

Description

@arcangelo7

I think I found a mismatch between the data model html docs (https://skg-if.github.io/interoperability-framework/) and the OpenAPI spec (https://skg-if.github.io/api/openapi/ver/current/skg-if-openapi.yaml) in how entity-to-entity references are typed. When one entity points to another, the docs describe the value as an identifier (a list of strings), while the spec types it as a full nested object.

This affects organisations, grants, topics, venues, data sources and persons.

A possible payload following the docs

"funding": ["grant_789"]

A possible payload following the OpenAPI spec

"funding": [{ "local_identifier": "grant_789", "entity_type": "grant", "titles": {"en": "..."} }]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions