docs(readme): document properties data flow
This commit is contained in:
parent
8c7946091f
commit
46e9b4e48e
1 changed files with 22 additions and 0 deletions
22
README.md
22
README.md
|
@ -59,6 +59,28 @@ flowchart LR
|
|||
items -->|item_id| item_properties
|
||||
properties -->|property_id| item_properties
|
||||
```
|
||||
|
||||
### Properties data flow
|
||||
```mermaid
|
||||
sequenceDiagram
|
||||
participant User
|
||||
participant App as Application
|
||||
participant Wikidata
|
||||
|
||||
User->>App: Enters search
|
||||
App->>Wikidata: fetch_wikidata_suggestions()
|
||||
Wikidata-->>App: Return suggestions
|
||||
App->>User: Show suggestions
|
||||
|
||||
User->>App: Selects item
|
||||
App->>Wikidata: fetch_item_properties()
|
||||
Wikidata-->>App: Return properties (IDs + values)
|
||||
|
||||
App->>Wikidata: fetch_property_labels()
|
||||
Wikidata-->>App: Return labels
|
||||
App->>App: Combine labels + properties
|
||||
App->>User: Show labeled properties
|
||||
```
|
||||
## **Docker Deployment**
|
||||
|
||||
### **Prerequisites**
|
||||
|
|
Loading…
Add table
Reference in a new issue