Skip to content

fdc3.entity.fileAttachment is only defined inline in the fdc3.message schema and example has wrong type #1255

@kriswest

Description

@kriswest

While working on generating context documentation from schemas I noticed that the fdc3.message type defines an fdc3.entity.fileAttachment type inline:

"const": "fdc3.entity.fileAttachment"

and the type name does not agree with that used in the example (fdc3.fileAttachment):

"type": "fdc3.fileAttachment",

FDC3 context types should each have their own definition and schema to make them usable and to properly reserve the type name. Hence, this definition should be separated out into its own schema and be referenced into fdc3.message.

@Yannick-Malins & @mistryvinay

Metadata

Metadata

Assignees

No one assigned

    Labels

    Context Data & IntentsContexts & Intents Discussion GroupbugSomething isn't workingcontext-dataFDC3 Context Data Working Group

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions