big tings
This commit is contained in:
39
registry/schema-org/GeoCoordinates.schema.json
Normal file
39
registry/schema-org/GeoCoordinates.schema.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "schema:GeoCoordinates",
|
||||
"title": "GeoCoordinates",
|
||||
"description": "The geographic coordinates of a place or event.",
|
||||
"type": "object",
|
||||
"allOf": [
|
||||
{
|
||||
"description": "Structured values are used when the value of a property has a more complex structure than simply being a textual value or a reference to another thing.",
|
||||
"$ref": "schema:StructuredValue"
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"address": {
|
||||
"description": "Physical address of the item.",
|
||||
"anyOf": [{ "type": "string" }, { "$ref": "schema:PostalAddress" }]
|
||||
},
|
||||
"addressCountry": {
|
||||
"description": "The country. Recommended to be in 2-letter [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1) format, for example \"US\". For backward compatibility, a 3-letter [ISO 3166-1 alpha-3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) country code such as \"SGP\" or a full country name such as \"Singapore\" can also be used.",
|
||||
"anyOf": [{ "type": "string" }, { "$ref": "schema:Country" }]
|
||||
},
|
||||
"elevation": {
|
||||
"description": "The elevation of a location ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). Values may be of the form 'NUMBER UNIT\\_OF\\_MEASUREMENT' (e.g., '1,000 m', '3,200 ft') while numbers alone should be assumed to be a value in meters.",
|
||||
"anyOf": [{ "type": "number" }, { "type": "string" }]
|
||||
},
|
||||
"latitude": {
|
||||
"description": "The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).",
|
||||
"anyOf": [{ "type": "number" }, { "type": "string" }]
|
||||
},
|
||||
"longitude": {
|
||||
"description": "The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).",
|
||||
"anyOf": [{ "type": "number" }, { "type": "string" }]
|
||||
},
|
||||
"postalCode": {
|
||||
"description": "The postal code. For example, 94043.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user