Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync api #11

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10,849 changes: 3,070 additions & 7,779 deletions package-lock.json

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions src/schemas/Advertisement.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
type: object
properties:
publisher:
type: string
position:
type: number
totalLength:
type: number
quartile:
type: number
placementId:
type: string
placementName:
type: string
10 changes: 10 additions & 0 deletions src/schemas/AppContext.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
type: object
properties:
name:
type: string
version:
type: string
build:
type: string
namespace:
type: string
2 changes: 2 additions & 0 deletions src/schemas/AssetType.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ enum:
- Craft # eg a potion
- Input # Set of Resources, (Monsters/Entity??)
- Modifier # Player Stat, Stat that enriches craft
- Profile # Player Profile instance
- Character # Profile character, eg warrior class
30 changes: 30 additions & 0 deletions src/schemas/CampaignContext.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
type: object
properties:
name:
type: string
affiliate:
type: string
provider:
type: string
source:
type: string
medium:
type: string
term:
type: string
contentId:
type: string
contentType:
type: string
creativeUri:
type: string
marketingTactic:
type: string
group:
type: string
uri:
type: string
eCPM:
type: number
idfv:
type: string
14 changes: 14 additions & 0 deletions src/schemas/Content.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
type: object
properties:
key:
type: string
title:
type: string
term:
type: string
count:
type: number
uri:
type: string
isIPFS:
type: boolean
50 changes: 50 additions & 0 deletions src/schemas/DeviceContext.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
type: object
properties:
instalationId:
type: string
id:
$ref: "./ID.yaml"
fullScreen:
type: boolean
adTrackingEnabled:
type: boolean
manufacturer:
type: string
model:
type: string
name:
type: string
osName:
type: string
osType:
type: string
osVersion:
type: string
jailbroken:
type: boolean
token:
type: string
ip:
type: string
userAgent:
type: string
engine:
type: string
engineVersion:
type: string
client:
type: string
locale:
type: string
bluetooh:
type: boolean
carrier:
type: string
cellular:
type: boolean
wifi:
type: boolean
screen:
$ref: "./DeviceScreen.yaml"
location:
$ref: "./DeviceLocation.yaml"
14 changes: 14 additions & 0 deletions src/schemas/DeviceLocation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
type: object
properties:
city:
type: string
country:
type: string
continent:
type: string
latitude:
type: number
longitude:
type: number
speed:
type: number
8 changes: 8 additions & 0 deletions src/schemas/DeviceScreen.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
type: object
properties:
width:
type: number
height:
type: number
density:
type: number
20 changes: 20 additions & 0 deletions src/schemas/EventSourceContext.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
type: object
properties:
app:
$ref: "./AppContext.yaml"
campaign:
$ref: "./CampaignContext.yaml"
device:
$ref: "./DeviceContext.yaml"
source:
$ref: "./SourceContext.yaml"
experiment:
$ref: "./ExperimentContext.yaml"
session:
$ref: "./SessionContext.yaml"
profile:
$ref: "./ProfileContext.yaml"
targetProfile:
$ref: "./ProfileContext.yaml"
map:
$ref: "./MapContext.yaml"
Loading