SPB Git forge

spb/doc-api

Public
2commits 1branches 0releases
15.7 MBsize
maindefault branch
13 days agolast push
Python 88.3% TypeScript 7.6% Shell 4.1%
2.0 KB · 111 lines json
Raw Blame History
1{2  "$schema": "https://json-schema.org/draft/2020-12/schema",3  "$id": "https://atlas.local/schemas/common.schema.json",4  "title": "Shared definitions",5  "$defs": {6    "status": {7      "enum": [8        "DOCUMENTED",9        "LIVE_DISCOVERED",10        "LIVE_VERIFIED",11        "BETA",12        "PREVIEW",13        "LEGACY",14        "DEPRECATED",15        "RETIRED",16        "ACCOUNT_RESTRICTED",17        "UNVERIFIED",18        "FAILED_VERIFICATION",19        "DOCUMENTATION_INCOMPLETE",20        "GA"21      ]22    },23    "tristate": {24      "anyOf": [25        {26          "type": "boolean"27        },28        {29          "type": "number"30        },31        {32          "type": "string"33        },34        {35          "type": "array"36        },37        {38          "type": "object"39        },40        {41          "type": "null"42        }43      ]44    },45    "source": {46      "type": "object",47      "required": [48        "url"49      ],50      "properties": {51        "url": {52          "type": "string"53        },54        "retrieved_at": {55          "type": [56            "string",57            "null"58          ]59        },60        "note": {61          "type": [62            "string",63            "null"64          ]65        }66      }67    },68    "verification": {69      "type": [70        "object",71        "null"72      ],73      "properties": {74        "method": {75          "type": [76            "string",77            "null"78          ]79        },80        "verified_at": {81          "type": [82            "string",83            "null"84          ]85        },86        "result": {87          "type": [88            "string",89            "null"90          ],91          "description": "success | failure | restricted | not_tested | partial | not_run | n/a"92        },93        "http_status": {94          "type": [95            "integer",96            "array",97            "string",98            "null"99          ]100        },101        "request_note": {102          "type": [103            "string",104            "null"105          ]106        }107      }108    }109  }110}111