maps.nyc.gov

Namespace: jcard

nyc.jcard

Classes

Builder

Members

(static) Data :string

Supported JCard data types
Type:
  • string
Properties:
Name Type Description
STRING string The JCard string data type
URI string The JCard URI data type
UTC_OFFSET string The JCard utc-offset data type
TEXT string The JCard text data type
DATE string The JCard date data type
Source:

(static) Property :string

Supported JCard properties
Type:
  • string
Properties:
Name Type Description
NAME string The JCard name property
FORMATTED_NAME string The JCard formatted name property
ORGANIZATION string The JCard organization name property
ADDRESS string The JCard address name property
PHONE string The JCard phone name property
EMAIL string The JCard email name property
URL string The JCard URL name property
TIMEZONE string The JCard timezone name property
GEOGRAPHY string The JCard geography name property
REVISION string The JCard revision name property
NOTE string The JCard note name property
Source:

(static) Type :string

Supported JCard types
Type:
  • string
Properties:
Name Type Description
WORK string The JCard work type
HOME string The JCard home type
VOICE string The JCard voice type
TEXT string The JCard text type
CELL string The JCard cell type
VIDEO string The JCard video type
Source:

Type Definitions

Address

Object type description for JCard address property
Type:
  • Object
Properties:
Name Type Attributes Description
line1 string <optional>
Address line 1
line2 string <optional>
Address line 2
city string <optional>
City name
state string <optional>
State name or abbreviation
zip string <optional>
ZIP Code
country string <optional>
Country name or abbreviation
type nyc.jcard.Type | Array.<nyc.jcard.Type> <optional>
The type of address
Source:

Email

Object type description for JCard address email
Type:
  • Object
Properties:
Name Type Attributes Description
email string The email address
type nyc.jcard.Type | Array.<nyc.jcard.Type> <optional>
The type of email address
Source:

Geo

Object type description for JCard geography property
Type:
  • Object
Properties:
Name Type Attributes Description
lat number Latitude
lng number Longitude
type nyc.jcard.Type | Array.<nyc.jcard.Type> <optional>
The geography type
Source:

Name

Object type description for JCard name property
Type:
  • Object
Properties:
Name Type Attributes Description
first string <optional>
First name
last string <optional>
Last name
initial string <optional>
Middle initial
prefix string <optional>
Name refix
suffix string <optional>
Name suffix
Source:

Oraganization

Object type description for JCard organization property
Type:
  • Object
Properties:
Name Type Attributes Description
name string Organization name
type nyc.jcard.Type | Array.<nyc.jcard.Type> <optional>
The type of organization
Source:

Phone

Object type description for JCard phone property
Type:
  • Object
Properties:
Name Type Attributes Description
area string Phone number area code
number string Phone number
extension string <optional>
Phone extension
type nyc.jcard.Type | Array.<nyc.jcard.Type> <optional>
The type of phone number
Source:

nyc-lib: Namespace: jcard

maps.nyc.gov

Namespace: jcard

nyc.jcard

Classes

Builder

Members

(static) Data :string

Supported JCard data types
Type:
  • string
Properties:
Name Type Description
STRING string The JCard string data type
URI string The JCard URI data type
UTC_OFFSET string The JCard utc-offset data type
TEXT string The JCard text data type
DATE string The JCard date data type
Source:

(static) Property :string

Supported JCard properties
Type:
  • string
Properties:
Name Type Description
NAME string The JCard name property
FORMATTED_NAME string The JCard formatted name property
ORGANIZATION string The JCard organization name property
ADDRESS string The JCard address name property
PHONE string The JCard phone name property
EMAIL string The JCard email name property
URL string The JCard URL name property
TIMEZONE string The JCard timezone name property
GEOGRAPHY string The JCard geography name property
REVISION string The JCard revision name property
NOTE string The JCard note name property
Source:

(static) Type :string

Supported JCard types
Type:
  • string
Properties:
Name Type Description
WORK string The JCard work type
HOME string The JCard home type
VOICE string The JCard voice type
TEXT string The JCard text type
CELL string The JCard cell type
VIDEO string The JCard video type
Source:

Type Definitions

Address

Object type description for JCard address property
Type:
  • Object
Properties:
Name Type Attributes Description
line1 string <optional>
Address line 1
line2 string <optional>
Address line 2
city string <optional>
City name
state string <optional>
State name or abbreviation
zip string <optional>
ZIP Code
country string <optional>
Country name or abbreviation
type nyc.jcard.Type | Array.<nyc.jcard.Type> <optional>
The type of address
Source:

Email

Object type description for JCard address email
Type:
  • Object
Properties:
Name Type Attributes Description
email string The email address
type nyc.jcard.Type | Array.<nyc.jcard.Type> <optional>
The type of email address
Source:

Geo

Object type description for JCard geography property
Type:
  • Object
Properties:
Name Type Attributes Description
lat number Latitude
lng number Longitude
type nyc.jcard.Type | Array.<nyc.jcard.Type> <optional>
The geography type
Source:

Name

Object type description for JCard name property
Type:
  • Object
Properties:
Name Type Attributes Description
first string <optional>
First name
last string <optional>
Last name
initial string <optional>
Middle initial
prefix string <optional>
Name refix
suffix string <optional>
Name suffix
Source:

Oraganization

Object type description for JCard organization property
Type:
  • Object
Properties:
Name Type Attributes Description
name string Organization name
type nyc.jcard.Type | Array.<nyc.jcard.Type> <optional>
The type of organization
Source:

Phone

Object type description for JCard phone property
Type:
  • Object
Properties:
Name Type Attributes Description
area string Phone number area code
number string Phone number
extension string <optional>
Phone extension
type nyc.jcard.Type | Array.<nyc.jcard.Type> <optional>
The type of phone number
Source: