-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7f1b1f9
commit 076c0a8
Showing
17 changed files
with
345 additions
and
190 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
resources/3dcitydb/json-schema/geometryProperties.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2019-09/schema", | ||
"$id": "https://3dcitydb.org/json-schema/5.0/geometryProperties.schema.json", | ||
"title": "3DCityDB 5.0 geometry properties schema", | ||
"description": "Schema for the JSON column geometry_properties of the geometry_data table.", | ||
"type": "object", | ||
"properties": { | ||
"objectId": { | ||
"type": "string" | ||
}, | ||
"is2D": { | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"hierarchy": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"type": { | ||
"type": "number", | ||
"minimum": 1, | ||
"maximum": 11 | ||
}, | ||
"objectId": { | ||
"type": "string" | ||
}, | ||
"parent": { | ||
"type": "number" | ||
}, | ||
"geometryIndex": { | ||
"type": "number" | ||
}, | ||
"isReversed": { | ||
"type": "boolean", | ||
"default": false | ||
} | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"additionalItems": false | ||
} | ||
}, | ||
"additionalProperties": false | ||
} |
10 changes: 10 additions & 0 deletions
10
resources/3dcitydb/json-schema/georeferencedTextureMapping.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2019-09/schema", | ||
"$id": "https://3dcitydb.org/json-schema/5.0/georeferencedTextureMapping.schema.json", | ||
"title": "3DCityDB 5.0 geo-referenced texture mapping schema", | ||
"description": "Schema for the JSON column georeferenced_texture_mapping of the surface_data_mapping table.", | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "boolean" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2019-09/schema", | ||
"$id": "https://3dcitydb.org/json-schema/5.0/gtOrientation.schema.json", | ||
"title": "3DCityDB 5.0 geo-referenced texture orientation schema", | ||
"description": "Schema for the JSON column gt_orientation of the surface_data table.", | ||
"type": "array", | ||
"items": { | ||
"type": "number" | ||
}, | ||
"minItems": 4, | ||
"maxItems": 4, | ||
"additionalItems": false | ||
} |
10 changes: 10 additions & 0 deletions
10
resources/3dcitydb/json-schema/materialMapping.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2019-09/schema", | ||
"$id": "https://3dcitydb.org/json-schema/5.0/materialMapping.schema.json", | ||
"title": "3DCityDB 5.0 material mapping schema", | ||
"description": "Schema for the JSON column material_mapping of the surface_data_mapping table.", | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "boolean" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2019-09/schema", | ||
"$id": "https://3dcitydb.org/json-schema/5.0/textureMapping.schema.json", | ||
"title": "3DCityDB 5.0 texture mapping schema", | ||
"description": "Schema for the JSON column texture_mapping of the surface_data_mapping table.", | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "array", | ||
"items": { | ||
"type": "array", | ||
"items": { | ||
"type": "array", | ||
"items": { | ||
"type": "number" | ||
}, | ||
"minItems": 2, | ||
"maxItems": 2, | ||
"additionalItems": false | ||
}, | ||
"additionalItems": false | ||
}, | ||
"additionalItems": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2019-09/schema", | ||
"$id": "https://3dcitydb.org/json-schema/5.0/valArray.schema.json", | ||
"title": "3DCityDB 5.0 array value schema", | ||
"description": "Schema for the JSON column val_array of the property table.", | ||
"type": "array", | ||
"items": { | ||
"anyOf": [ | ||
{ | ||
"type": "integer" | ||
}, | ||
{ | ||
"type": "number" | ||
}, | ||
{ | ||
"type": "string" | ||
}, | ||
{ | ||
"type": "boolean" | ||
} | ||
] | ||
}, | ||
"additionalItems": false | ||
} |
16 changes: 16 additions & 0 deletions
16
resources/3dcitydb/json-schema/worldToTextureMapping.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2019-09/schema", | ||
"$id": "https://3dcitydb.org/json-schema/5.0/worldToTextureMapping.schema.json", | ||
"title": "3DCityDB 5.0 world-to-texture mapping schema", | ||
"description": "Schema for the JSON column world_to_texture_mapping of the surface_data_mapping table.", | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "array", | ||
"items": { | ||
"type": "number" | ||
}, | ||
"minItems": 12, | ||
"maxItems": 12, | ||
"additionalItems": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.