schemas: import update script
This commit is contained in:
parent
28baba18d2
commit
8f708072e8
3 changed files with 81 additions and 0 deletions
28
schemas/bridgelines.json
Normal file
28
schemas/bridgelines.json
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"title": "Bridgelines Version 2",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"version": {
|
||||
"title": "Version",
|
||||
"description": "Version number of the bridgelines schema in use",
|
||||
"type": "string"
|
||||
},
|
||||
"bridgelines": {
|
||||
"title": "Bridgelines",
|
||||
"description": "List of bridgelines, ready for use in a torrc file",
|
||||
"examples": [
|
||||
"obfs4 71.73.124.31:8887 E81B1237F6D13497B166060F55861565593CFF8E cert=b54NsV6tK1g+LHaThPOTCibdpx3wHm9NFe0PzGF1nwz+4M/tq6SkfOaShzPnZsIRCFRIHg iat-mode=0",
|
||||
"obfs4 172.105.176.101:80 D18BC7E082D7EBF8E851029AC89A12A3F44A50BF cert=KHfAAUptXWRmLy3ehS9ETMO5luY06d0w7tEBDiAI0z62nC5Qo/APrzZxodkYWX2bNko/Mw iat-mode=0",
|
||||
"obfs4 141.101.36.55:9023 045EF272F08BC11CDB985889E4E9FE35DC6F9C67 cert=6KEdf/5aDSyuYEqvo14JE8Cks3i7PQtj9EFX2wTCiEaUPsp/I7eaOm4uSWdqwvV4vTVlFw iat-mode=0"
|
||||
],
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"version",
|
||||
"bridgelines"
|
||||
]
|
||||
}
|
36
schemas/mirror-mapping.json
Normal file
36
schemas/mirror-mapping.json
Normal file
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
"title": "Mirror Mapping Version 1",
|
||||
"description": "The domain name for the mirror",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/MMMirror"
|
||||
},
|
||||
"definitions": {
|
||||
"MMMirror": {
|
||||
"title": "MMMirror",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"origin_domain": {
|
||||
"title": "Origin Domain",
|
||||
"description": "The full origin domain name",
|
||||
"type": "string"
|
||||
},
|
||||
"origin_domain_normalized": {
|
||||
"title": "Origin Domain Normalized",
|
||||
"description": "The origin_domain with \"www.\" removed, if present",
|
||||
"type": "string"
|
||||
},
|
||||
"origin_domain_root": {
|
||||
"title": "Origin Domain Root",
|
||||
"description": "The registered domain name of the origin, excluding subdomains",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"origin_domain",
|
||||
"origin_domain_normalized",
|
||||
"origin_domain_root"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue