diff --git a/docs/assets/dynamic-rules-and-pools.jpg b/docs/assets/dynamic-rules-and-pools.jpg deleted file mode 100644 index 005383c..0000000 Binary files a/docs/assets/dynamic-rules-and-pools.jpg and /dev/null differ diff --git a/docs/dynamic_records.md b/docs/dynamic_records.md index a44aec0..58a87f6 100644 --- a/docs/dynamic_records.md +++ b/docs/dynamic_records.md @@ -76,7 +76,33 @@ If you encounter validation errors in dynamic records suggesting best practices #### Visual Representation of the Rules and Pools -![Diagram of the example records rules and pools](assets/dynamic-rules-and-pools.jpg) +```mermaid +--- +title: Visual Representation of the Rules and Pools +--- +flowchart LR + query((Query)) --goelocate--> rule_0[Rule 0
AF-ZA
AS
OC] + query --geolocate--> rule_1[Rule 1
AF
EU] + query --geolocate--> rule_2["Rule 2
(catch all)"] + rule_0 --to pool--> pool_apac[Pool apac
1.1.1.1
2.2.2.2] + pool_apac --fallback--> pool_na + rule_1 --to pool--> pool_eu["Pool eu
3.3.3.3 (2/5)
4.4.4.4 (3/5)"] + pool_eu --fallback--> pool_na + rule_2 --to pool---> pool_na[Pool na
5.5.5.5
6.6.6.6
7.7.7.7] + pool_na --fallback--> values[values
3.3.3.3
4.4.4.4
5.5.5.5
6.6.6.6
7.7.7.7] + + classDef queryColor fill:#3B67A8,color:#ffffff + classDef ruleColor fill:#D8F57A,color:#000000 + classDef poolColor fill:#F57261,color:#000000 + classDef valueColor fill:#498FF5,color:#000000 + + class query queryColor + class rule_0,rule_1,rule_2 ruleColor + class pool_apac,pool_eu,pool_na poolColor + class values valueColor +``` + + #### Geo Codes