Skip to content

Commit

Permalink
chore: update jsonschema import
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Dec 14, 2023
1 parent 6fccc86 commit 0a00b10
Showing 1 changed file with 53 additions and 5 deletions.
58 changes: 53 additions & 5 deletions examples/import/jsonschema/test.schema.k
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,47 @@ schema MonacoManifestSchema:
----------
manifest_version : str, required
The schema version this manifest conforms to - e.g. 1.0
projects : [items], required
projects : [MonacoManifestSchemaProjectsItems0], required
The projects grouped by this manifest
environment_groups : [items], required
environment_groups : [MonacoManifestSchemaEnvironmentGroupsItems0], required
The Environment groups to which projects in this manifest are deployed
"""

manifest_version: str
projects: [items]
environment_groups: [items]
projects: [MonacoManifestSchemaProjectsItems0]
environment_groups: [MonacoManifestSchemaEnvironmentGroupsItems0]

schema Url:
schema MonacoManifestSchemaEnvironmentGroupsItems0:
"""
MonacoManifestSchemaEnvironmentGroupsItems0

Attributes
----------
name : str, optional
The name of this environment group
environments : [MonacoManifestSchemaEnvironmentGroupsItems0EnvironmentsItems0], optional
The environments in this group
"""

name?: str
environments?: [MonacoManifestSchemaEnvironmentGroupsItems0EnvironmentsItems0]

schema MonacoManifestSchemaEnvironmentGroupsItems0EnvironmentsItems0:
"""
MonacoManifestSchemaEnvironmentGroupsItems0EnvironmentsItems0

Attributes
----------
name : str, optional
The name of this environment
url : MonacoManifestSchemaEnvironmentGroupsItems0EnvironmentsItems0Url, optional
The URL of this environment
"""

name?: str
url?: MonacoManifestSchemaEnvironmentGroupsItems0EnvironmentsItems0Url

schema MonacoManifestSchemaEnvironmentGroupsItems0EnvironmentsItems0Url:
"""
The URL of this environment

Expand All @@ -36,3 +66,21 @@ schema Url:
type?: str
value?: str

schema MonacoManifestSchemaProjectsItems0:
"""
MonacoManifestSchemaProjectsItems0

Attributes
----------
name : str, required
The name of this project
type : str, optional
Optional Type of this project. Default: Simple
path : str, optional
Optional filepath of the project relative to the manifest.yaml location. Defaults to name
"""

name: str
type?: str
path?: str

0 comments on commit 0a00b10

Please sign in to comment.