big tings
This commit is contained in:
75
registry/schema-org/ContactPoint.schema.json
Normal file
75
registry/schema-org/ContactPoint.schema.json
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "schema:ContactPoint",
|
||||
"title": "ContactPoint",
|
||||
"description": "A contact point—for example, a Customer Complaints department.",
|
||||
"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": {
|
||||
"areaServed": {
|
||||
"description": "The geographic area where a service or offered item is provided.",
|
||||
"anyOf": [
|
||||
{ "type": "string" },
|
||||
{ "$ref": "schema:AdministrativeArea" },
|
||||
{ "$ref": "schema:GeoShape" },
|
||||
{ "$ref": "schema:Place" }
|
||||
]
|
||||
},
|
||||
"availableLanguage": {
|
||||
"description": "A language someone may use with or at the item, service or place. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[inLanguage]].",
|
||||
"oneOf": [
|
||||
{ "anyOf": [{ "type": "string" }, { "$ref": "schema:Language" }] },
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [{ "type": "string" }, { "$ref": "schema:Language" }]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"contactOption": {
|
||||
"description": "An option available on this contact point (e.g. a toll-free number or support for hearing-impaired callers).",
|
||||
"oneOf": [
|
||||
{ "$ref": "schema:ContactPointOption" },
|
||||
{ "type": "array", "items": { "$ref": "schema:ContactPointOption" } }
|
||||
]
|
||||
},
|
||||
"contactType": {
|
||||
"description": "A person or organization can have different contact points, for different purposes. For example, a sales contact point, a PR contact point and so on. This property is used to specify the kind of contact point.",
|
||||
"oneOf": [
|
||||
{ "type": "string" },
|
||||
{ "type": "array", "items": { "type": "string" } }
|
||||
]
|
||||
},
|
||||
"email": {
|
||||
"description": "Email address.",
|
||||
"oneOf": [
|
||||
{ "type": "string" },
|
||||
{ "type": "array", "items": { "type": "string" } }
|
||||
]
|
||||
},
|
||||
"faxNumber": { "description": "The fax number.", "type": "string" },
|
||||
"hoursAvailable": {
|
||||
"description": "The hours during which this service or contact is available.",
|
||||
"$ref": "schema:OpeningHoursSpecification"
|
||||
},
|
||||
"productSupported": {
|
||||
"description": "The product or service this support contact point is related to (such as product support for a particular product line). This can be a specific product or product line (e.g. \"iPhone\") or a general category of products or services (e.g. \"smartphones\").",
|
||||
"anyOf": [{ "type": "string" }, { "$ref": "schema:Product" }]
|
||||
},
|
||||
"serviceArea": {
|
||||
"description": "The geographic area where the service is provided.",
|
||||
"anyOf": [
|
||||
{ "$ref": "schema:AdministrativeArea" },
|
||||
{ "$ref": "schema:GeoShape" },
|
||||
{ "$ref": "schema:Place" }
|
||||
]
|
||||
},
|
||||
"telephone": { "description": "The telephone number.", "type": "string" }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user