Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F7187824
test-basic-schema.json
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
test-basic-schema.json
View Options
{
"openapi"
:
"3.0.3"
,
"info"
:
{
"title"
:
"testing app"
,
"version"
:
"0.0.0-test"
,
"contact"
:
{
"email"
:
"admin@example.com"
}
},
"paths"
:
{},
"components"
:
{
"schemas"
:
{
"users"
:
{
"type"
:
"object"
,
"properties"
:
{
"username"
:
{
"type"
:
"string"
,
"default"
:
null
},
"password"
:
{
"type"
:
"string"
,
"format"
:
"password"
,
"default"
:
null
},
"roles"
:
{
"items"
:
{
"properties"
:
{
"role"
:
{
"default"
:
null
,
"type"
:
"string"
}
},
"type"
:
"object"
},
"type"
:
"array"
}
}
},
"water_areas"
:
{
"type"
:
"object"
,
"properties"
:
{
"name"
:
{
"type"
:
"string"
,
"default"
:
null
},
"temperature"
:
{
"type"
:
"integer"
,
"default"
:
null
},
"best_spots"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"object"
,
"properties"
:
{
"name"
:
{
"type"
:
"string"
,
"default"
:
null
},
"location"
:
{
"type"
:
"string"
,
"default"
:
null
}
}
}
}
}
},
"seals"
:
{
"type"
:
"object"
,
"properties"
:
{
"name"
:
{
"type"
:
"string"
,
"default"
:
"foczusia"
,
"maxLength"
:
64
,
"minLength"
:
2
},
"favorite_number"
:
{
"type"
:
"integer"
,
"default"
:
null
,
"minimum"
:
1
,
"maximum"
:
9
},
"water_area"
:
{
"$ref"
:
"#/components/schemas/water_areas"
},
"fav_food"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
,
"enum"
:
[
"flour"
,
"carrot"
,
"eggs"
,
"water"
,
"salt"
]
}
}
},
"required"
:
[
"favorite_number"
]
}
},
"securitySchemes"
:
{
"cookieAuth"
:
{
"type"
:
"apiKey"
,
"in"
:
"cookie"
,
"name"
:
"sealious-session"
}
}
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jul 8, 07:23 (9 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
810377
Default Alt Text
test-basic-schema.json (1 KB)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment