phpvms/app/Database/seeds/sample.yml
2018-02-21 15:02:24 -06:00

962 lines
19 KiB
YAML

airlines:
- id: 1
icao: VMS
iata: VM
name: phpvms airlines
country: us
active: 1
created_at: now
updated_at: now
users:
- id: 1
name: Admin User
email: admin@phpvms.net
password: admin
api_key: testadminapikey
airline_id: 1
rank_id: 1
country: us
home_airport_id: KAUS
curr_airport_id: KJFK
last_pirep_id: pirepid_3
flights: 3
flight_time: 0
timezone: America/Chicago
state: 1
created_at: now
updated_at: now
- id: 2
name: Carla Walters
email: carla.walters68@example.com
password: admin
api_key: testuserapikey1
airline_id: 1
rank_id: 1
home_airport_id: KJFK
curr_airport_id: KJFK
flights: 1
flight_time: 4320
created_at: now
updated_at: now
state: 0
- id: 3
name: Raymond Pearson
email: raymond.pearson56@example.com
password: admin
api_key: testuserapikey2
airline_id: 1
rank_id: 1
home_airport_id: KJFK
curr_airport_id: KAUS
flights: 1
flight_time: 4320
created_at: now
updated_at: now
state: 1
role_user:
- user_id: 1
role_id: 1
user_type: App\Models\User
- user_id: 1
role_id: 2
user_type: App\Models\User
- user_id: 2
role_id: 2
user_type: App\Models\User
- user_id: 3
role_id: 2
user_type: App\Models\User
# ranks
ranks:
- id: 2
name: Junior First Officer
hours: 10
- id: 3
name: First Officer
hours: 15
auto_approve_acars: 1
auto_approve_manual: 1
- id: 4
name: Senior Captain
hours: 20
auto_approve_acars: 1
auto_approve_manual: 1
auto_promote: 0
news:
- id: 1
user_id: 1
subject: Some VA News!
body: >
Lorem Ipsum is simply dummy text of the printing and
typesetting industry. Lorem Ipsum has been the industry's
standard dummy text ever since the 1500s, when an unknown
printer took a galley of type and scrambled it to make a
type specimen book. It has survived not only five centuries,
but also the leap into electronic typesetting, remaining
essentially unchanged. It was popularised in the 1960s with
the release of Letraset sheets containing Lorem Ipsum passages,
and more recently with desktop publishing software like
Aldus PageMaker including versions of Lorem Ipsum.
created_at: now
airports:
- id: KAUS
iata: AUS
icao: KAUS
name: Austin-Bergstrom
location: Austin, Texas, USA
country: United States
timezone: America/Chicago
lat: 30.1945278
lon: -97.6698889
hub: 1
- id: KJFK
iata: JFK
icao: KJFK
name: John F Kennedy
location: New York, New York, USA
country: United States
timezone: America/New_York
lat: 40.6399257
lon: -73.7786950
hub: 1
- id: KBWI
iata: BWI
icao: KBWI
name: Baltimore/Washington International Thurgood Marshall Airport
location: Baltimore, MD
country: United States
timezone: America/New_York
lat: 39.1754
lon: -76.6683
- id: KIAH
iata: IAH
icao: KIAH
name: George Bush Intercontinental Houston Airport
location: Houston, TX
country: United States
timezone: America/Chicago
lat: 29.9844
lon: -95.3414
- id: KORD
iata: ORD
icao: KORD
name: Chicago O'Hare International Airport
location: Chicago, IL
country: United States
timezone: America/Chicago
lat: 41.9786
lon: -87.9048
- id: KDFW
iata: DFW
icao: KDFW
name: Dallas Fort Worth International Airport
location: Dallas, TX
country: United States
timezone: America/Chicago
lat: 32.8968
lon: -97.038
- id: EFHK
iata: HEL
icao: EFHK
name: Helsinki Vantaa Airport
location: Helsinki
country: Finland
timezone: Europe/Helsinki
lat: 60.3172
lon: 24.9633
- id: EGLL
iata: LHR
icao: EGLL
name: London Heathrow
location: London, England
timezone: Europe/London
lat: 51.4775
lon: -0.4614
- id: LGRP
iata: RHO
icao: LGRP
name: Diagoras Airport
location: Rhodos
country: Greece
timezone: Europe/Athens
lat: 36.4054
lon: 28.0862
#
aircraft:
- id: 1
subfleet_id: 1
name: Boeing 747-400
registration: 001Z
- id: 2
subfleet_id: 2
name: Boeing 777-200
registration: C202
- id: 3
subfleet_id: 1
name: Boeing 747-412
registration: S2333
fares:
- id: 1
code: Y
name: Economy
price: 100
capacity: 200
- id: 2
code: B
name: Business
price: 500
capacity: 10
- id: 3
code: F
name: First-Class
price: 800
capacity: 5
subfleets:
- id: 1
airline_id: 1
name: 747-400 Winglets
type: 744W
- id: 2
airline_id: 1
name: 777-200 LR
type: 772-LR
# add a few mods to aircraft and fares
subfleet_fare:
# Fare classes on the 747
- subfleet_id: 1
fare_id: 1
price: 200
capacity: 400
- subfleet_id: 1
fare_id: 2
capacity: 20
- subfleet_id: 1
fare_id: 3
price: 1000
capacity: 10
# Fare classes on the 777
- subfleet_id: 2
fare_id: 1
- subfleet_id: 2
fare_id: 3
capacity: 10
subfleet_flight:
- subfleet_id: 1
flight_id: flightid_1
subfleet_rank:
- rank_id: 1
subfleet_id: 1
flights:
- id: flightid_1
airline_id: 1
flight_number: 100
dpt_airport_id: KAUS
arr_airport_id: KJFK
route: KAUS SID TNV J87 IAH J2 LCH J22 MEI J239 ATL J52 AJFEB J14 BYJAC Q60 JAXSN J14 COLIN J61 HUBBS J55 SIE STAR KJFK
distance: 2028
level: 360
dpt_time: 6PM CST
arr_time: 11PM EST
created_at: NOW
updated_at: NOW
- id: flightid_2
airline_id: 1
flight_number: 6028
route_code: A
dpt_airport_id: LGRP
arr_airport_id: LGRP
dpt_time: 9AM CST
arr_time: 1030AM CST
route: PITZZ4 MNURE WLEEE4
created_at: NOW
updated_at: NOW
- id: flightid_3
airline_id: 1
flight_number: 6028
route_code: A
route_leg: 1
dpt_airport_id: KIAH
arr_airport_id: KAUS
dpt_time: 9AM CST
arr_time: 1030AM CST
route: PITZZ4 MNURE WLEEE4
created_at: NOW
updated_at: NOW
flight_fields:
- id: 1
flight_id: flightid_1
name: cost index
value: 80
- id: 2
flight_id: flightid_2
name: cost index
value: 100
user_bids:
- id: 100
user_id: 1
flight_id: flightid_1
- id: 101
user_id: 1
flight_id: flightid_3
pireps:
- id: pirepid_1
user_id: 1
airline_id: 1
flight_id: flightid_1
flight_number: 100
aircraft_id: 1
dpt_airport_id: KAUS
arr_airport_id: KJFK
flight_time: 180 # 6 hours
state: 1
route: KAUS SID TNV J87 IAH J2 LCH J22 MEI J239 ATL J52 AJFEB J14 BYJAC Q60 JAXSN J14 COLIN J61 HUBBS J55 SIE STAR KJFK
notes: just a pilot report
created_at: NOW
updated_at: NOW
- id: pirepid_2
user_id: 1
airline_id: 1
flight_id: flightid_2
flight_number: 101
aircraft_id: 1
dpt_airport_id: LGRP
arr_airport_id: LGRP
flight_time: 180 # 6 hours
state: 1
route: PLMMR2 SPA Q22 BEARI FAK PHLBO3
notes: just a pilot report
created_at: NOW
updated_at: NOW
- id: pirepid_3
user_id: 1
airline_id: 1
flight_id: flightid_2
flight_number: 101
aircraft_id: 1
dpt_airport_id: KJFK
arr_airport_id: KAUS
flight_time: 180 # 6 hours
state: 1
route: PLMMR2 SPA Q22 BEARI FAK PHLBO3
notes: just a pilot report
created_at: NOW
updated_at: NOW
pirep_fields:
- id: 1
name: departure gate
slug: departure_gate
required: 1
- id: 2
name: arrival gate
slug: arrival_gate
required: 0
pirep_field_values:
- id: 1
pirep_id: pirepid_1
name: arrival gate
value: B14
source: manual
pirep_comments:
- id: 1
pirep_id: pirepid_1
user_id: 1
comment: A comment
created_at: now
updated_at: now
- id: 2
pirep_id: pirepid_1
user_id: 2
comment: Another comment
created_at: now
updated_at: now
acars:
- pirep_id: pirepid_1
type: 1
nav_type: 2
name: TNV
lat: 30.28852
lon: -96.058239
created_at: now
updated_at: now
- pirep_id: pirepid_1
type: 1
nav_type: 2
name: IAH
lat: 29.95691
lon: -95.345719
created_at: now
updated_at: now
- pirep_id: pirepid_1
type: 1
nav_type: 2
name: LCH
lat: 30.14151
lon: -93.105569
created_at: now
updated_at: now
- pirep_id: pirepid_1
type: 1
nav_type: 2
name: MEI
lat: 32.37843
lon: -88.804267
created_at: now
updated_at: now
- pirep_id: pirepid_1
type: 1
nav_type: 2
name: ATL
lat: 33.62907
lon: -84.435064
created_at: now
updated_at: now
- pirep_id: pirepid_1
type: 1
nav_type: 2
name: SIE
lat: 39.0955
lon: -74.800344
created_at: now
updated_at: now
-
id: 7e5Q5wlxBpxe
pirep_id: pirepid_2
type: '0'
nav_type: ''
order: '0'
name: ''
log: ''
lat: '36.4314'
lon: '28.1399'
heading: '251'
altitude: '1040'
vs: '-950'
gs: '62'
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:06:36'
updated_at: '2018-02-21 20:06:36'
-
id: 9aAN5XQ7y6Ob
pirep_id: pirepid_2
type: '0'
nav_type: ''
order: '0'
name: ''
log: ''
lat: '36.4169'
lon: '28.1202'
heading: '238'
altitude: '350'
vs: '-200'
gs: '58'
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:08:06'
updated_at: '2018-02-21 20:08:06'
-
id: aADPEZ6kR81e
pirep_id: pirepid_2
type: '2'
nav_type: ''
order: '0'
name: ''
log: 'Brakes are Released'
lat: '36.4004'
lon: '28.0689'
heading: ''
altitude: ''
vs: ''
gs: ''
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:02:47'
updated_at: '2018-02-21 20:02:47'
-
id: aOYypxgnx1Nd
pirep_id: pirepid_2
type: '2'
nav_type: ''
order: '0'
name: ''
log: 'Brakes are On'
lat: '36.4004'
lon: '28.0689'
heading: ''
altitude: ''
vs: ''
gs: ''
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:02:37'
updated_at: '2018-02-21 20:02:37'
-
id: azpKgO7O4r2d
pirep_id: pirepid_2
type: '0'
nav_type: ''
order: '0'
name: ''
log: ''
lat: '36.4097'
lon: '28.1016'
heading: '255'
altitude: '120'
vs: '-250'
gs: '61'
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:09:06'
updated_at: '2018-02-21 20:09:06'
-
id: b826rZMqoKLe
pirep_id: pirepid_2
type: '0'
nav_type: ''
order: '0'
name: ''
log: ''
lat: '36.4159'
lon: '28.1218'
heading: '70'
altitude: '1370'
vs: '700'
gs: '92'
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:05:06'
updated_at: '2018-02-21 20:05:06'
-
id: bDk9KjqgQxka
pirep_id: pirepid_2
type: '0'
nav_type: ''
order: '0'
name: ''
log: ''
lat: '36.4010'
lon: '28.0711'
heading: '70'
altitude: '20'
vs: '0'
gs: '52'
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:03:06'
updated_at: '2018-02-21 20:03:06'
-
id: bmZQWxqo2D0d
pirep_id: pirepid_2
type: '2'
nav_type: ''
order: '0'
name: ''
log: 'Airborne and Beacons are off'
lat: '36.4018'
lon: '28.0739'
heading: ''
altitude: ''
vs: ''
gs: ''
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:03:15'
updated_at: '2018-02-21 20:03:15'
-
id: bo2QWzjqBg3a
pirep_id: pirepid_2
type: '2'
nav_type: ''
order: '0'
name: ''
log: "Landed @ 59 Knots with -90 Vertical Speed With a heading of 251 and with 1.2416 G Force\nArrival Weather: KJFK 211951Z 19007KT 10SM FEW033 FEW070 FEW270 18/12 A3022 RMK AO2 SLP233 T01780122"
lat: '36.4075'
lon: '28.0929'
heading: ''
altitude: ''
vs: ''
gs: ''
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:09:33'
updated_at: '2018-02-21 20:09:33'
-
id: bqxYWBQ0yrpa
pirep_id: pirepid_2
type: '2'
nav_type: ''
order: '0'
name: ''
log: 'Engine 1 Started'
lat: '36.4004'
lon: '28.0689'
heading: ''
altitude: ''
vs: ''
gs: ''
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:02:38'
updated_at: '2018-02-21 20:02:38'
-
id: bW67AJQwJRWa
pirep_id: pirepid_2
type: '2'
nav_type: ''
order: '0'
name: ''
log: 'Flaps 3 Selected at 1360ft and 101kts'
lat: '36.4287'
lon: '28.1486'
heading: ''
altitude: ''
vs: ''
gs: ''
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:06:10'
updated_at: '2018-02-21 20:06:10'
-
id: bYEvDL73AmMb
pirep_id: pirepid_2
type: '0'
nav_type: ''
order: '0'
name: ''
log: ''
lat: '36.4042'
lon: '28.0820'
heading: '70'
altitude: '200'
vs: '-50'
gs: '78'
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:03:36'
updated_at: '2018-02-21 20:03:36'
-
id: dG65NmMk1N8b
pirep_id: pirepid_2
type: '0'
nav_type: ''
order: '0'
name: ''
log: ''
lat: '36.4124'
lon: '28.1113'
heading: '241'
altitude: '230'
vs: '-250'
gs: '62'
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:08:36'
updated_at: '2018-02-21 20:08:36'
-
id: dNk9owOZwGLe
pirep_id: pirepid_2
type: '0'
nav_type: ''
order: '0'
name: ''
log: ''
lat: '36.4117'
lon: '28.1075'
heading: '70'
altitude: '990'
vs: '650'
gs: '88'
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:04:36'
updated_at: '2018-02-21 20:04:36'
-
id: dR6ovAlxj1Ed
pirep_id: pirepid_2
type: '2'
nav_type: ''
order: '0'
name: ''
log: 'Airborne and Navigation Lights are off'
lat: '36.4020'
lon: '28.0744'
heading: ''
altitude: ''
vs: ''
gs: ''
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:03:16'
updated_at: '2018-02-21 20:03:16'
-
id: e73LqZ9Z87we
pirep_id: pirepid_2
type: '2'
nav_type: ''
order: '0'
name: ''
log: 'Flaps 2 Selected at 20ft and 0kts'
lat: '36.4004'
lon: '28.0689'
heading: ''
altitude: ''
vs: ''
gs: ''
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:02:48'
updated_at: '2018-02-21 20:02:48'
-
id: e9rQvZ9095Da
pirep_id: pirepid_2
type: '2'
nav_type: ''
order: '0'
name: ''
log: 'Flaps 0 Selected at 190ft and 69kts'
lat: '36.4037'
lon: '28.0802'
heading: ''
altitude: ''
vs: ''
gs: ''
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:03:32'
updated_at: '2018-02-21 20:03:32'
-
id: egJLWonpgwZd
pirep_id: pirepid_2
type: '0'
nav_type: ''
order: '0'
name: ''
log: ''
lat: '36.4203'
lon: '28.1366'
heading: '70'
altitude: '1500'
vs: '-150'
gs: '97'
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:05:36'
updated_at: '2018-02-21 20:05:36'
-
id: egJLWonx6p3d
pirep_id: pirepid_2
type: '0'
nav_type: ''
order: '0'
name: ''
log: ''
lat: '36.4274'
lon: '28.1487'
heading: '6'
altitude: '1390'
vs: '-450'
gs: '102'
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:06:06'
updated_at: '2018-02-21 20:06:06'
-
id: egJLWopjvKDd
pirep_id: pirepid_2
type: '2'
nav_type: ''
order: '0'
name: ''
log: 'Beacon lights are off and engine is started'
lat: '36.4004'
lon: '28.0689'
heading: ''
altitude: ''
vs: ''
gs: ''
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:02:39'
updated_at: '2018-02-21 20:02:39'
-
id: ejRqWrYE8Nye
pirep_id: pirepid_2
type: '0'
nav_type: ''
order: '0'
name: ''
log: ''
lat: '36.4080'
lon: '28.0949'
heading: '70'
altitude: '640'
vs: '400'
gs: '81'
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:04:06'
updated_at: '2018-02-21 20:04:06'
-
id: erkRWD2wROBa
pirep_id: pirepid_2
type: '2'
nav_type: ''
order: '0'
name: ''
log: "Took off @ 68 Knots and Flaps at Position 2 With a heading of 70 Degrees \nDeparture Weather KAUS 211953Z 35018KT 2SM R17L/3500VP6000FT -RA BR OVC010 05/05 A3017 RMK AO2 SFC VIS 2 1/2 SLP216"
lat: '36.4018'
lon: '28.0736'
heading: ''
altitude: ''
vs: ''
gs: ''
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:03:14'
updated_at: '2018-02-21 20:03:14'
-
id: erkRWDmNz92a
pirep_id: pirepid_2
type: '0'
nav_type: ''
order: '0'
name: ''
log: ''
lat: '36.4216'
lon: '28.1277'
heading: '210'
altitude: '440'
vs: '-250'
gs: '55'
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:07:36'
updated_at: '2018-02-21 20:07:36'
-
id: kazvG4B4z0Oa
pirep_id: pirepid_2
type: '2'
nav_type: ''
order: '0'
name: ''
log: 'Landing light OFF Below FL100'
lat: '36.4022'
lon: '28.0750'
heading: ''
altitude: ''
vs: ''
gs: ''
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:03:17'
updated_at: '2018-02-21 20:03:17'
-
id: wdL7o1YlAZjb
pirep_id: pirepid_2
type: '0'
nav_type: ''
order: '0'
name: ''
log: ''
lat: '36.4263'
lon: '28.1347'
heading: '183'
altitude: '660'
vs: '-500'
gs: '56'
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:07:06'
updated_at: '2018-02-21 20:07:06'
-
id: zbq7vpVrwB2e
pirep_id: pirepid_2
type: '0'
nav_type: ''
order: '0'
name: ''
log: ''
lat: '36.4072'
lon: '28.0917'
heading: '252'
altitude: '20'
vs: '0'
gs: '58'
transponder: ''
autopilot: ''
fuel_flow: ''
sim_time: ''
created_at: '2018-02-21 20:09:36'
updated_at: '2018-02-21 20:09:36'