forked from MapComplete/MapComplete
		
	Merge master
This commit is contained in:
		
						commit
						80168f5d0d
					
				
					 919 changed files with 95585 additions and 8504 deletions
				
			
		
							
								
								
									
										20
									
								
								src/UI/Studio/jsonSchema.ts
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								src/UI/Studio/jsonSchema.ts
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,20 @@ | |||
| /** | ||||
|  * Extracts the data from the scheme file and writes them in a flatter structure | ||||
|  */ | ||||
| 
 | ||||
| export type JsonSchemaType = | ||||
|     | string | ||||
|     | { $ref: string; description?: string } | ||||
|     | { type: string } | ||||
|     | JsonSchemaType[] | ||||
| export interface JsonSchema { | ||||
|     description?: string | ||||
|     type?: JsonSchemaType | ||||
|     properties?: any | ||||
|     items?: JsonSchema | ||||
|     allOf?: JsonSchema[] | ||||
|     anyOf: JsonSchema[] | ||||
|     enum: JsonSchema[] | ||||
|     $ref: string | ||||
|     required: string[] | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue