GeoJSON Taxonomy Schema
This document provides a comprehensive overview of the JSON schema titled "Generated schema for Root." This schema is designed to validate an array of objects, where each object contains various properties related to a specific feature. The schema adheres to the JSON Schema Draft 07 standard.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Generated schema for Root",
"type": "array",
"items": {
"type": "object",
"properties": {
"tid": {
"type": "number"
},
"typeCode": {
"type": "string"
},
"typeName": {
"type": "string"
},
"description": {
"type": "string"
},
"categories": {
"type": "string"
},
"isMapObject": {
"type": "boolean"
},
"shape": {
"type": "string"
},
"class": {
"type": "string"
},
"isWalkable": {
"type": "boolean"
},
"transitionDirection": {
"type": [ "string", "null" ]
},
"transitionTravelTime": {
"type": [ "string", "null" ]
},
"isTransitionAccessible": {
"type": [ "string", "null" ]
},
"isTransitionComfortable": {
"type": [ "string", "null" ]
},
"featureName": {
"type": "string"
},
"featureDescription": {
"type": "string"
}
},
"required": [
"tid",
"typeCode",
"typeName",
"description",
"categories",
"isMapObject",
"shape",
"class",
"isWalkable",
"featureName",
"featureDescription"
]
}
}
Schema Overview
- Title: Generated schema for Root
- Type: Array
- Description: This schema defines an array where each item must be an object with specific properties.
Array Items
Each item in the array must be an object structured as follows:
Object Properties
-
tid
- Type: Number
- Description: A unique identifier for the feature.
-
typeCode
- Type: String
- Description: A code representing the type of feature.
-
typeName
- Type: String
- Description: The name associated with the type of feature.
-
description
- Type: String
- Description: A text description of the feature.
-
categories
- Type: String
- Description: Categories applicable to the feature.
-
isMapObject
- Type: Boolean
- Description: Indicates whether the feature is a map object.
-
shape
- Type: String
- Description: The geometric shape associated with the feature.
-
class
- Type: String
- Description: The classification of the feature.
-
isWalkable
- Type: Boolean
- Description: Indicates if the feature is walkable.
-
transitionDirection
(Optional)- Type: String or Null
- Description: The direction of transition, if applicable.
-
transitionTravelTime
(Optional)- Type: String or Null
- Description: The estimated travel time for a transition, if applicable.
-
isTransitionAccessible
(Optional)- Type: String or Null
- Description: Indicates if the transition is accessible.
-
isTransitionComfortable
(Optional)- Type: String or Null
- Description: Indicates if the transition is comfortable.
-
featureName
- Type: String
- Description: A name that identifies the feature.
-
featureDescription
- Type: String
- Description: A description providing more details about the feature.
Required Properties
Each object in the array must include the following required properties:
tid
typeCode
typeName
description
categories
isMapObject
shape
class
isWalkable
featureName
featureDescription
This schema aims to ensure a consistent and comprehensive structure for each feature object, facilitating uniformity and data integrity across multiple entries. Optional fields provide flexibility for additional attributes related to transitions.