Subversion Repositories oidplus

Rev

View as "text/json" | Blame | Last modification | View Log | RSS feed

  1. {
  2.   "$id": "urn:oid:1.3.6.1.4.1.37476.2.5.2.8.1.1",
  3.   "$schema": "https://json-schema.org/draft/2020-12/schema",
  4.   "type": "object",
  5.   "properties": {
  6.     "oidplus_backup": {
  7.       "type": "object",
  8.       "properties": {
  9.         "created": {
  10.           "type": "string",
  11.           "pattern": "^\\d{4}(-(0[1-9]|1[0-2])(-(0[1-9]|1\\d|2\\d|3[0-1])( [0-5]\\d:[0-5]\\d(:[0-5]\\d)?( [+-][0-5]\\d[0-5]\\d)?)?)?)?$"
  12.         },
  13.         "origin_systemid": {
  14.           "oneOf": [
  15.             {
  16.               "type": "integer"
  17.             },
  18.             {
  19.               "type": "string",
  20.               "enum": [
  21.                 "unknown"
  22.               ]
  23.             }
  24.           ]
  25.         },
  26.         "dataset_count": {
  27.           "type": "object",
  28.           "properties": {
  29.             "objects": {
  30.               "oneOf": [
  31.                 {
  32.                   "type": "integer"
  33.                 },
  34.                 {
  35.                   "type": "string",
  36.                   "enum": [
  37.                     "n/a"
  38.                   ]
  39.                 }
  40.               ]
  41.             },
  42.             "asn1id": {
  43.               "oneOf": [
  44.                 {
  45.                   "type": "integer"
  46.                 },
  47.                 {
  48.                   "type": "string",
  49.                   "enum": [
  50.                     "n/a"
  51.                   ]
  52.                 }
  53.               ]
  54.             },
  55.             "iri": {
  56.               "oneOf": [
  57.                 {
  58.                   "type": "integer"
  59.                 },
  60.                 {
  61.                   "type": "string",
  62.                   "enum": [
  63.                     "n/a"
  64.                   ]
  65.                 }
  66.               ]
  67.             },
  68.             "ra": {
  69.               "oneOf": [
  70.                 {
  71.                   "type": "integer"
  72.                 },
  73.                 {
  74.                   "type": "string",
  75.                   "enum": [
  76.                     "n/a"
  77.                   ]
  78.                 }
  79.               ]
  80.             },
  81.             "config": {
  82.               "oneOf": [
  83.                 {
  84.                   "type": "integer"
  85.                 },
  86.                 {
  87.                   "type": "string",
  88.                   "enum": [
  89.                     "n/a"
  90.                   ]
  91.                 }
  92.               ]
  93.             },
  94.             "log": {
  95.               "oneOf": [
  96.                 {
  97.                   "type": "integer"
  98.                 },
  99.                 {
  100.                   "type": "string",
  101.                   "enum": [
  102.                     "n/a"
  103.                   ]
  104.                 }
  105.               ]
  106.             },
  107.             "log_object": {
  108.               "oneOf": [
  109.                 {
  110.                   "type": "integer"
  111.                 },
  112.                 {
  113.                   "type": "string",
  114.                   "enum": [
  115.                     "n/a"
  116.                   ]
  117.                 }
  118.               ]
  119.             },
  120.             "log_user": {
  121.               "oneOf": [
  122.                 {
  123.                   "type": "integer"
  124.                 },
  125.                 {
  126.                   "type": "string",
  127.                   "enum": [
  128.                     "n/a"
  129.                   ]
  130.                 }
  131.               ]
  132.             },
  133.             "pki": {
  134.               "oneOf": [
  135.                 {
  136.                   "type": "integer"
  137.                 },
  138.                 {
  139.                   "type": "string",
  140.                   "enum": [
  141.                     "n/a"
  142.                   ]
  143.                 }
  144.               ]
  145.             }
  146.           },
  147.           "required": [
  148.             "objects",
  149.             "asn1id",
  150.             "iri",
  151.             "ra",
  152.             "config",
  153.             "log",
  154.             "log_object",
  155.             "log_user",
  156.             "pki"
  157.           ]
  158.         }
  159.       },
  160.       "required": [
  161.         "created",
  162.         "origin_systemid",
  163.         "dataset_count"
  164.       ]
  165.     },
  166.     "objects": {
  167.       "type": "array",
  168.       "items": {
  169.         "type": "object",
  170.         "properties": {
  171.           "id": {
  172.             "type": "any"
  173.           },
  174.           "parent": {
  175.             "type": "any"
  176.           },
  177.           "title": {
  178.             "type": "any"
  179.           },
  180.           "description": {
  181.             "type": "any"
  182.           },
  183.           "ra_email": {
  184.             "type": "any"
  185.           },
  186.           "confidential": {
  187.             "type": "any"
  188.           },
  189.           "created": {
  190.             "type": "any"
  191.           },
  192.           "updated": {
  193.             "type": "any"
  194.           },
  195.           "comment": {
  196.             "type": "any"
  197.           },
  198.           "asn1ids": {
  199.             "type": "array",
  200.             "items": {
  201.               "type": "object",
  202.               "properties": {
  203.                 "name": {
  204.                   "type": "any"
  205.                 },
  206.                 "standardized": {
  207.                   "type": "any"
  208.                 },
  209.                 "well_known": {
  210.                   "type": "any"
  211.                 }
  212.               },
  213.               "required": [
  214.                 "name",
  215.                 "standardized",
  216.                 "well_known"
  217.               ]
  218.             }
  219.           },
  220.           "iris": {
  221.             "type": "array",
  222.             "items": {
  223.               "type": "object",
  224.               "properties": {
  225.                 "name": {
  226.                   "type": "any"
  227.                 },
  228.                 "longarc": {
  229.                   "type": "any"
  230.                 },
  231.                 "well_known": {
  232.                   "type": "any"
  233.                 }
  234.               },
  235.               "required": [
  236.                 "name",
  237.                 "longarc",
  238.                 "well_known"
  239.               ]
  240.             }
  241.           }
  242.         },
  243.         "required": [
  244.           "id",
  245.           "parent",
  246.           "title",
  247.           "description",
  248.           "ra_email",
  249.           "confidential",
  250.           "created",
  251.           "updated",
  252.           "comment",
  253.           "asn1ids",
  254.           "iris"
  255.         ]
  256.       }
  257.     },
  258.     "ra": {
  259.       "type": "array",
  260.       "items": {
  261.         "type": "object",
  262.         "properties": {
  263.           "email": {
  264.             "type": "any"
  265.           },
  266.           "ra_name": {
  267.             "type": "any"
  268.           },
  269.           "personal_name": {
  270.             "type": "any"
  271.           },
  272.           "organization": {
  273.             "type": "any"
  274.           },
  275.           "office": {
  276.             "type": "any"
  277.           },
  278.           "street": {
  279.             "type": "any"
  280.           },
  281.           "zip_town": {
  282.             "type": "any"
  283.           },
  284.           "country": {
  285.             "type": "any"
  286.           },
  287.           "phone": {
  288.             "type": "any"
  289.           },
  290.           "mobile": {
  291.             "type": "any"
  292.           },
  293.           "fax": {
  294.             "type": "any"
  295.           },
  296.           "privacy": {
  297.             "type": "any"
  298.           },
  299.           "authkey": {
  300.             "type": "any"
  301.           },
  302.           "registered": {
  303.             "type": "any"
  304.           },
  305.           "updated": {
  306.             "type": "any"
  307.           },
  308.           "last_login": {
  309.             "type": "any"
  310.           }
  311.         },
  312.         "required": [
  313.           "email",
  314.           "ra_name",
  315.           "personal_name",
  316.           "organization",
  317.           "office",
  318.           "street",
  319.           "zip_town",
  320.           "country",
  321.           "phone",
  322.           "mobile",
  323.           "fax",
  324.           "privacy",
  325.           "authkey",
  326.           "registered",
  327.           "updated",
  328.           "last_login"
  329.         ]
  330.       }
  331.     },
  332.     "config": {
  333.       "type": "array",
  334.       "items": {
  335.         "type": "object",
  336.         "properties": {
  337.           "name": {
  338.             "type": "any"
  339.           },
  340.           "value": {
  341.             "type": "any"
  342.           },
  343.           "description": {
  344.             "type": "any"
  345.           },
  346.           "protected": {
  347.             "type": "any"
  348.           },
  349.           "visible": {
  350.             "type": "any"
  351.           }
  352.         },
  353.         "required": [
  354.           "name",
  355.           "value",
  356.           "description",
  357.           "protected",
  358.           "visible"
  359.         ]
  360.       }
  361.     },
  362.     "log": {
  363.       "type": "array",
  364.       "items": {
  365.         "type": "object",
  366.         "properties": {
  367.           "unix_ts": {
  368.             "type": "any"
  369.           },
  370.           "addr": {
  371.             "type": "any"
  372.           },
  373.           "event": {
  374.             "type": "any"
  375.           },
  376.           "objects": {
  377.             "type": "array",
  378.             "items": {
  379.               "type": "object",
  380.               "properties": {
  381.                 "object": {
  382.                   "type": "any"
  383.                 },
  384.                 "severity": {
  385.                   "type": "any"
  386.                 }
  387.               },
  388.               "required": [
  389.                 "object",
  390.                 "severity"
  391.               ]
  392.             }
  393.           },
  394.           "users": {
  395.             "type": "array",
  396.             "items": {
  397.               "type": "object",
  398.               "properties": {
  399.                 "username": {
  400.                   "type": "any"
  401.                 },
  402.                 "severity": {
  403.                   "type": "any"
  404.                 }
  405.               },
  406.               "required": [
  407.                 "username",
  408.                 "severity"
  409.               ]
  410.             }
  411.           }
  412.         },
  413.         "required": [
  414.           "unix_ts",
  415.           "addr",
  416.           "event",
  417.           "objects",
  418.           "users"
  419.         ]
  420.       }
  421.     },
  422.     "pki": {
  423.       "type": "array",
  424.       "minItems": 0,
  425.       "maxItems": 1,
  426.       "items": {
  427.         "type": "object",
  428.         "properties": {
  429.           "private_key": {
  430.             "type": "string"
  431.           },
  432.           "public_key": {
  433.             "type": "string"
  434.           }
  435.         },
  436.         "required": [
  437.           "private_key",
  438.           "public_key"
  439.         ]
  440.       }
  441.     }
  442.   },
  443.   "required": [
  444.     "oidplus_backup",
  445.     "objects",
  446.     "ra",
  447.     "config",
  448.     "log",
  449.     "pki"
  450.   ]
  451. }