@stencila/schema
Version:
Stencila schema and other specifications
29 lines (28 loc) • 910 B
YAML
title: ContactPoint
'@id': schema:contactPoint
$extends: ../Thing.schema.yaml
role: tertiary
status: unstable
description: A contact point—for example, a R&D department. https://schema.org/ContactPoint.
properties:
availableLanguages:
'@id': schema:availableLanguage
description: |
Languages (human not programming) in which it is possible to communicate with the organization/department etc.
type: array
items:
type: string
emails:
'@id': schema:email
description: |
Email address for correspondence. It must be provided in a valid email format (eg. info@example.com ).
type: array
items:
type: string
format: email
telephone:
'@id': schema:telephone
description: |
"Phone contact number. Accepted formats: +44 123455, (02)12345, 006645667."
type: string
pattern: '^[+#*\(\)\[\]]*([0-9][ ext+-pw#*\(\)\[\]]*){6,45}$'