Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Estructura de data
- ## Sitios fisicos
- Se recomienda la siguiente extructura:
- ```json
- {
- "name": string,
- "type": [
- "hotel",
- "restaurante",
- "etc..."
- ],
- //Podria ser otra tabla
- "url": string,
- "facebook-fanpage": string,
- "instagram-account": string,
- "twitter-account": string,
- "tripadvisor-account": string,
- //Podria ser otra tabla de Contacto
- "phone": string,
- "email": string,
- //
- "location" : {
- "lat" : numeric,
- "lng" : numeric
- },
- "country": string,
- "address": {
- "formatted": string,
- "state": string,
- "city": string,
- "postalCode": string
- }
- }
- ```
- ## Actividades
- Se recomienda la siguiente estructura:
- ```json
- {
- "name": string,
- "type": [
- "canoppy",
- "classes",
- "etc..."
- ],
- "place": placeId, //Id del sitio, no definido aΓΊn
- "description": string,
- "price": numeric
- }
- ```
- ## Schedule
- ```json
- {
- siteId: guid,
- activityId: guid,
- dateActivity: datetime,
- paxId: guid //crear tabla de pax
- }
- ```
- ## Medio de Contacto
- Se recomienda la siguiente extructura:
- ```json
- {
- "type": [
- "phone",
- "email",
- "fax",
- "etc..."
- ],
- "description": string
- }
- ```
- ## Medio Social
- Se recomienda la siguiente extructura:
- ```json
- {
- "type": [
- "facebook-account",
- "twitter-account",
- "instagram-account",
- "tripadvisor-account",
- "etc..."
- ],
- issApp: boolean,
- "description": string
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement