chore: initialisation du template-webapp
This commit is contained in:
0
contracts/data_model.md
Normal file
0
contracts/data_model.md
Normal file
0
contracts/errors.md
Normal file
0
contracts/errors.md
Normal file
0
contracts/import/examples/import_full.json
Normal file
0
contracts/import/examples/import_full.json
Normal file
0
contracts/import/examples/import_min.json
Normal file
0
contracts/import/examples/import_min.json
Normal file
28
contracts/import/import.schema.json
Normal file
28
contracts/import/import.schema.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "Import Item",
|
||||
"type": "object",
|
||||
"required": ["source", "item"],
|
||||
"properties": {
|
||||
"source": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {"type": "string"},
|
||||
"imported_at": {"type": "string", "format": "date-time"}
|
||||
}
|
||||
},
|
||||
"item": {
|
||||
"type": "object",
|
||||
"required": ["name", "domain"],
|
||||
"properties": {
|
||||
"name": {"type": "string"},
|
||||
"domain": {"type": "string"},
|
||||
"description": {"type": "string"},
|
||||
"specs": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
0
contracts/openapi.yaml
Normal file
0
contracts/openapi.yaml
Normal file
0
contracts/pagination.md
Normal file
0
contracts/pagination.md
Normal file
Reference in New Issue
Block a user