From 49a109b477f53f6d75ae9528a4485785174f784e Mon Sep 17 00:00:00 2001 From: Eugene Crosser Date: Tue, 15 Apr 2014 12:10:18 +0400 Subject: [PATCH] spec doc clarification --- SPEC.md | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/SPEC.md b/SPEC.md index 22b236e..b3abef3 100644 --- a/SPEC.md +++ b/SPEC.md @@ -9,26 +9,26 @@ `DomObj` is a JSON `Map`, with the following attributes, all optional: -| Key | Type | Comment | -|-------------|---------------------------------------|---------------------------------| -| service | Array(SrvObj) | Located two levels above pos. | -| ip | Array(String) | Dotted quad "1.2.3.4" | -| ip6 | Array(String) | Semicolon format "DEAD::BEEF" | -| tor | String | Onion name | -| i2p | I2pObj | | -| freenet | String | | -| alias | String | Nullifies other attributes | -| translate | String | Nullifies other attributes | -| email | String | Used in `SOA` | -| loc | String | Format suitable for `LOC` | -| info | JsonObj | Currently unspecified | -| ns | Array(String) | Domain names as in `NS` | -| delegate | String | Replaces current object | -| import | String | "Deep" merges into current obj. | -| map | Map(String:DomObj) | Tree of subdomain objects | -| fingerprint | Array(String) | | -| tls | Map(String:Map(String:Array(TlsObj))) | | -| ds | Array(DsObj) | | +| Key | Type | Comment | +|-------------|---------------------------------------|--------------------------------------------| +| service | Array(SrvObj) | Located two levels above pos. | +| ip | Array(String) | Dotted quad "1.2.3.4" | +| ip6 | Array(String) | Semicolon format "DEAD::BEEF" | +| tor | String | Onion name | +| i2p | I2pObj | | +| freenet | String | | +| alias | String | Nullifies other attributes | +| translate | String | Nullifies other attributes | +| email | String | Used in `SOA` | +| loc | String | Format suitable for `LOC` | +| info | JsonObj | Currently unspecified | +| ns | Array(String) | Domain names as in `NS` | +| delegate | String | Replaces current object | +| import | String | "Deep" merges into current obj. | +| map | Map(String:DomObj) | Tree of subdomain objects | +| fingerprint | Array(String) | | +| tls | Map(String:Map(String:Array(TlsObj))) | Outer `Map` by `Protocol`, inner by `Port` | +| ds | Array(DsObj) | | #### Notes: -- 2.39.2