Skip to content

Add official XSD schema format #915

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jonaslagoni opened this issue Mar 22, 2023 · 5 comments
Closed

Add official XSD schema format #915

jonaslagoni opened this issue Mar 22, 2023 · 5 comments
Labels
stale 💭 Strawman (RFC 0) RFC Stage 0 (See CONTRIBUTING.md)

Comments

@jonaslagoni
Copy link
Member

Description

We discussed this in the following meeting: https://www.youtube.com/watch?v=8Yjles2pEHo

It would be nice to have official schemaFormat types for XSD, so all tooling can understand when XSD is in use instead of each having using it's own.

I have no specific suggestion for the value it self, that needs to be researched.

@jonaslagoni jonaslagoni added the 💭 Strawman (RFC 0) RFC Stage 0 (See CONTRIBUTING.md) label Mar 22, 2023
@derberg
Copy link
Member

derberg commented Apr 3, 2023

@jessemenning @damaru-inc you are the only ones I know in the community that advocated for XSD in the past. So maybe you can help define those

@github-actions
Copy link

github-actions bot commented Aug 2, 2023

This issue has been automatically marked as stale because it has not had recent activity 😴

It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

Thank you for your patience ❤️

@github-actions github-actions bot added the stale label Aug 2, 2023
@GreenRover
Copy link
Collaborator

GreenRover commented Aug 29, 2023

I struggle again about this issue and i am not sure if there is any beautiful solution to map this xml example:

<outer attributeA="foo" attributeB=12>
  <inner>the first</inner>
  <inner>the second</inner>
  <inner>the third</inner>
  <innerB>the first</innerB>
<outer>

to json schema the parser.js internal model.
At leased something like:

properties:
  attributeA:
    type: string
  attributeB
    type: integer
  innerA:
    type: array
    items:
      type: string
  innerB:
    type: string

Than it is not clear that attributeA and attributeB are xml attributes
and innerA , innerB are child nodes.

To support this we need to enhance json schema some how.

@github-actions github-actions bot removed the stale label Aug 30, 2023
Copy link

This issue has been automatically marked as stale because it has not had recent activity 😴

It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

Thank you for your patience ❤️

@github-actions github-actions bot added the stale label Dec 28, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 26, 2024
@ChristianHoltfurth
Copy link

Are there any plans to add XSD support to AsyncAPI?
I believe there are still plenty of XML payload based applications out there that need to be modeled.
Having official support in AsyncAPI would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale 💭 Strawman (RFC 0) RFC Stage 0 (See CONTRIBUTING.md)
Projects
None yet
Development

No branches or pull requests

4 participants