UNPKG

eslint-plugin-json-schema-validator

Version:
1 lines 1.65 kB
{"title":"JSON schema for schema.org / ContactPoint","$schema":"http://json-schema.org/draft-04/schema#","type":"object","anyOf":[{"$ref":"https://json.schemastore.org/schema-org-thing"}],"properties":{"@context":{"type":"string","format":"regex","pattern":"http://schema.org"},"@type":{"type":"string","format":"regex","pattern":"ContactPoint"},"areaServed":{"anyOf":[{"type":"array","items":{"oneOf":[{"$ref":"https://json.schemastore.org/schema-org-thing"},{"$ref":"https://json.schemastore.org/schema-org-thing"},{"$ref":"https://json.schemastore.org/schema-org-thing"},{"type":"string"}]}},{"anyOf":[{"$ref":"https://json.schemastore.org/schema-org-thing"},{"$ref":"https://json.schemastore.org/schema-org-thing"},{"$ref":"https://json.schemastore.org/schema-org-thing"},{"type":"string"}]}]},"availableLanguage":{"anyOf":[{"anyOf":[{"type":"string"},{"$ref":"https://json.schemastore.org/schema-org-thing"}]},{"type":"array","items":{"oneOf":[{"type":"string"},{"$ref":"https://json.schemastore.org/schema-org-thing"}]}}]},"contactOption":{"anyOf":[{"type":"array","items":{"oneOf":[{"enum":["HearingImpairedSupported","TollFree"]}]}},{"enum":["HearingImpairedSupported","TollFree"]}]},"contactType":{"type":"string"},"email":{"type":"string","format":"email"},"faxNumber":{"type":"string"},"hoursAvailable":{"$ref":"https://json.schemastore.org/schema-org-thing"},"productSupported":{"anyOf":[{"type":"array","items":{"oneOf":[{"type":"string"},{"$ref":"https://json.schemastore.org/schema-org-thing"}]}},{"anyOf":[{"type":"string"},{"$ref":"https://json.schemastore.org/schema-org-thing"}]}]},"telephone":{"type":"string"}},"required":["@type"]}