Properties
| Name | Type | Description |
|---|---|---|
| type | string | |
| geometry | object | |
| properties | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Note",
"title": "Note",
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Feature"
]
},
"geometry": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Point"
]
},
"coordinates": {
"type": "array",
"items": {
"type": "number"
},
"minItems": 2,
"maxItems": 2
}
}
},
"properties": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"url": {
"type": "string",
"format": "uri"
},
"status": {
"type": "string",
"enum": [
"open",
"closed"
]
},
"date_created": {
"type": "string",
"format": "date-time"
},
"date_closed": {
"type": "string",
"format": "date-time"
},
"comments": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"format": "date-time"
},
"user": {
"type": "string"
},
"user_url": {
"type": "string",
"format": "uri"
},
"action": {
"type": "string",
"enum": [
"opened",
"commented",
"closed",
"reopened"
]
},
"text": {
"type": "string"
},
"html": {
"type": "string"
}
}
}
}
}
}
}
}