[ 
https://issues.apache.org/jira/browse/CAMEL-19703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17750770#comment-17750770
 ] 

Luca Burgazzoli commented on CAMEL-19703:
-----------------------------------------

About schemastore, we can eventually use versions to point to different 
branches, as example:

{code:json}
   {
      "name": "BX CI",
      "description": "CI configuration for Amdocs Bill Experience projects",
      "url": "https://json.schemastore.org/bxci.schema-2.x.json";,
      "fileMatch": ["**/bxci.yaml", "**/bxci.yml"],
      "versions": {
        "1.0": "https://json.schemastore.org/bxci.schema-1.0.json";,
        "1.0.1": "https://json.schemastore.org/bxci.schema-1.0.1.json";,
        "2.0.0": "https://json.schemastore.org/bxci.schema-2.0.0.json";,
        "2.x": "https://json.schemastore.org/bxci.schema-2.x.json";
      }
    }
{code}

There is also an option to define versions in the camel, an example 
https://github.com/SchemaStore/schemastore/pull/2057#issuecomment-1024470105

> [yaml dsl] remove kebab-case schema definition
> ----------------------------------------------
>
>                 Key: CAMEL-19703
>                 URL: https://issues.apache.org/jira/browse/CAMEL-19703
>             Project: Camel
>          Issue Type: Task
>          Components: camel-yaml-dsl
>            Reporter: Luca Burgazzoli
>            Priority: Minor
>             Fix For: 4.0.0
>
>
> As today there are two schema for the YAML dsl:
> - one that  uses camelCase 
> - one that  uses kebab-case
> since the  kebab-case is a leftover from an initial version and was meant to 
> be removed, we can take finally remove it now that we are moving to a new 
> major release.
> once removed we also need to update the [schemastore 
> repository|https://github.com/SchemaStore/schemastore/blob/14f6880f5e6520beb1889f404589008fda1bd09f/src/api/json/catalog.json#L745-L750]
>  to  point to the right schema



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to