Skip to content

Commit

Permalink
update catalog schema and use proper formatting for embed
Browse files Browse the repository at this point in the history
Signed-off-by: MUzairS15 <[email protected]>
  • Loading branch information
MUzairS15 committed Jul 1, 2024
1 parent 5719f82 commit b797040
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ package schemas

import "embed"

// go:embed schemas/openapi.yml
//go:embed schemas/openapi.yml

var Schemas embed.FS
4 changes: 2 additions & 2 deletions schemas/constructs/v1alpha1/catalog_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
"description": "Tracks the specific content version that has been made available in the Catalog.",
"type": "string"
},
"class": {
"content_class": {
"description": "Published content is classifed by its support level. Content classes help you understand the origin and expected support level for each piece of content. It is important to note that the level of support may vary within each class, and you should exercise discretion when using community-contributed content. Content produced and fully supported by Meshery maintainers. This represents the highest level of support and is considered the most reliable. Content produced by partners and verified by Meshery maintainers. While not directly maintained by Meshery, it has undergone a verification process to ensure quality and compatibility. Content produced and supported by the respective project or organization responsible for the specific technology. This class offers a level of support from the project maintainers themselves. Content produced and shared by Meshery users. This includes a wide range of content, such as performance profiles, test results, filters, patterns, and applications. Community content may have varying levels of support and reliability.",
"type": "string",
"enum": [
"official",
"verified",
"project",
"community"
]
},
Expand All @@ -36,6 +35,7 @@
"pattern_info": {
"type": "string",
"title": "Description",
"minLength": 1,
"description": "Purpose of the design along with its intended and unintended uses."
},
"type": {
Expand Down

0 comments on commit b797040

Please sign in to comment.