github.com/w3security/vervet/v5@v5.3.1-0.20230618081846-5bd9b5d799dc/testdata/output/2021-06-13~experimental/spec.json (about)

     1  {
     2    "components": {
     3      "headers": {
     4        "DeprecationHeader": {
     5          "description": "A header containing the deprecation date of the underlying endpoint. For more information, please refer to the deprecation header RFC:\nhttps://tools.ietf.org/id/draft-dalal-deprecation-header-01.html\n",
     6          "example": "2021-07-01T00:00:00Z",
     7          "schema": {
     8            "format": "date-time",
     9            "type": "string"
    10          }
    11        },
    12        "LocationHeader": {
    13          "description": "A header providing a URL for the location of a resource\n",
    14          "example": "https://example.com/resource/4",
    15          "schema": {
    16            "format": "url",
    17            "type": "string"
    18          }
    19        },
    20        "RequestIdResponseHeader": {
    21          "description": "A header containing a unique id used for tracking this request. If you are reporting an issue to W3Security it's very helpful to provide this ID.\n",
    22          "example": "4b58e274-ec62-4fab-917b-1d2c48d6bdef",
    23          "schema": {
    24            "format": "uuid",
    25            "type": "string"
    26          }
    27        },
    28        "SunsetHeader": {
    29          "description": "A header containing the date of when the underlying endpoint will be removed. This header is only present if the endpoint has been deprecated. Please refer to the RFC for more information:\nhttps://datatracker.ietf.org/doc/html/rfc8594\n",
    30          "example": "2021-08-02T00:00:00Z",
    31          "schema": {
    32            "format": "date-time",
    33            "type": "string"
    34          }
    35        },
    36        "VersionRequestedResponseHeader": {
    37          "description": "A header containing the version of the endpoint requested by the caller.",
    38          "example": "2021-06-04",
    39          "schema": {
    40            "$ref": "#/components/schemas/QueryVersion"
    41          }
    42        },
    43        "VersionServedResponseHeader": {
    44          "description": "A header containing the version of the endpoint that was served by the API.",
    45          "example": "2021-06-04",
    46          "schema": {
    47            "$ref": "#/components/schemas/ActualVersion"
    48          }
    49        },
    50        "VersionStageResponseHeader": {
    51          "description": "A header containing the version stage of the endpoint. This stage describes the guarantees w3security provides surrounding stability of the endpoint.\n",
    52          "schema": {
    53            "enum": [
    54              "wip",
    55              "experimental",
    56              "beta",
    57              "ga",
    58              "deprecated",
    59              "sunset"
    60            ],
    61            "example": "ga",
    62            "type": "string"
    63          }
    64        }
    65      },
    66      "parameters": {
    67        "EndingBefore": {
    68          "description": "Return the page of results immediately before this cursor",
    69          "example": "v1.eyJpZCI6IjExMDAifQo=",
    70          "in": "query",
    71          "name": "ending_before",
    72          "schema": {
    73            "type": "string"
    74          }
    75        },
    76        "Limit": {
    77          "description": "Number of results to return per page",
    78          "example": 10,
    79          "in": "query",
    80          "name": "limit",
    81          "schema": {
    82            "default": 10,
    83            "format": "int32",
    84            "maximum": 100,
    85            "minimum": 10,
    86            "multipleOf": 10,
    87            "type": "integer"
    88          }
    89        },
    90        "Pagination": {
    91          "description": "The parameters used to paginate through a list of results from the API.",
    92          "in": "query",
    93          "name": "page",
    94          "schema": {
    95            "additionalProperties": false,
    96            "properties": {
    97              "after": {
    98                "type": "string"
    99              },
   100              "before": {
   101                "type": "string"
   102              },
   103              "size": {
   104                "format": "int32",
   105                "type": "integer"
   106              }
   107            },
   108            "type": "object"
   109          }
   110        },
   111        "StartingAfter": {
   112          "description": "Return the page of results immediately after this cursor",
   113          "example": "v1.eyJpZCI6IjEwMDAifQo=",
   114          "in": "query",
   115          "name": "starting_after",
   116          "schema": {
   117            "type": "string"
   118          }
   119        },
   120        "Version": {
   121          "description": "The requested version of the endpoint to process the request",
   122          "example": "2021-06-04",
   123          "in": "query",
   124          "name": "version",
   125          "required": true,
   126          "schema": {
   127            "$ref": "#/components/schemas/QueryVersion"
   128          }
   129        }
   130      },
   131      "responses": {
   132        "400": {
   133          "content": {
   134            "application/vnd.api+json": {
   135              "schema": {
   136                "$ref": "#/components/schemas/ErrorDocument"
   137              }
   138            }
   139          },
   140          "description": "Bad Request: A parameter provided as a part of the request was invalid.",
   141          "headers": {
   142            "deprecation": {
   143              "$ref": "#/components/headers/DeprecationHeader"
   144            },
   145            "w3security-request-id": {
   146              "$ref": "#/components/headers/RequestIdResponseHeader"
   147            },
   148            "w3security-version-lifecycle-stage": {
   149              "$ref": "#/components/headers/VersionStageResponseHeader"
   150            },
   151            "w3security-version-requested": {
   152              "$ref": "#/components/headers/VersionRequestedResponseHeader"
   153            },
   154            "w3security-version-served": {
   155              "$ref": "#/components/headers/VersionServedResponseHeader"
   156            },
   157            "sunset": {
   158              "$ref": "#/components/headers/SunsetHeader"
   159            }
   160          }
   161        },
   162        "401": {
   163          "content": {
   164            "application/vnd.api+json": {
   165              "schema": {
   166                "$ref": "#/components/schemas/ErrorDocument"
   167              }
   168            }
   169          },
   170          "description": "Unauthorized: the request requires an authentication token or a token with more permissions.",
   171          "headers": {
   172            "deprecation": {
   173              "$ref": "#/components/headers/DeprecationHeader"
   174            },
   175            "w3security-request-id": {
   176              "$ref": "#/components/headers/RequestIdResponseHeader"
   177            },
   178            "w3security-version-lifecycle-stage": {
   179              "$ref": "#/components/headers/VersionStageResponseHeader"
   180            },
   181            "w3security-version-requested": {
   182              "$ref": "#/components/headers/VersionRequestedResponseHeader"
   183            },
   184            "w3security-version-served": {
   185              "$ref": "#/components/headers/VersionServedResponseHeader"
   186            },
   187            "sunset": {
   188              "$ref": "#/components/headers/SunsetHeader"
   189            }
   190          }
   191        },
   192        "404": {
   193          "content": {
   194            "application/vnd.api+json": {
   195              "schema": {
   196                "$ref": "#/components/schemas/ErrorDocument"
   197              }
   198            }
   199          },
   200          "description": "Not Found: The resource being operated on could not be found.",
   201          "headers": {
   202            "deprecation": {
   203              "$ref": "#/components/headers/DeprecationHeader"
   204            },
   205            "w3security-request-id": {
   206              "$ref": "#/components/headers/RequestIdResponseHeader"
   207            },
   208            "w3security-version-lifecycle-stage": {
   209              "$ref": "#/components/headers/VersionStageResponseHeader"
   210            },
   211            "w3security-version-requested": {
   212              "$ref": "#/components/headers/VersionRequestedResponseHeader"
   213            },
   214            "w3security-version-served": {
   215              "$ref": "#/components/headers/VersionServedResponseHeader"
   216            },
   217            "sunset": {
   218              "$ref": "#/components/headers/SunsetHeader"
   219            }
   220          }
   221        },
   222        "500": {
   223          "content": {
   224            "application/vnd.api+json": {
   225              "schema": {
   226                "$ref": "#/components/schemas/ErrorDocument"
   227              }
   228            }
   229          },
   230          "description": "Internal Server Error: An error was encountered while attempting to process the request.",
   231          "headers": {
   232            "deprecation": {
   233              "$ref": "#/components/headers/DeprecationHeader"
   234            },
   235            "w3security-request-id": {
   236              "$ref": "#/components/headers/RequestIdResponseHeader"
   237            },
   238            "w3security-version-lifecycle-stage": {
   239              "$ref": "#/components/headers/VersionStageResponseHeader"
   240            },
   241            "w3security-version-requested": {
   242              "$ref": "#/components/headers/VersionRequestedResponseHeader"
   243            },
   244            "w3security-version-served": {
   245              "$ref": "#/components/headers/VersionServedResponseHeader"
   246            },
   247            "sunset": {
   248              "$ref": "#/components/headers/SunsetHeader"
   249            }
   250          }
   251        }
   252      },
   253      "schemas": {
   254        "ActualVersion": {
   255          "description": "Resolved API version",
   256          "pattern": "^((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?)$",
   257          "type": "string"
   258        },
   259        "Error": {
   260          "additionalProperties": false,
   261          "example": {
   262            "detail": "Not Found",
   263            "status": "404"
   264          },
   265          "properties": {
   266            "detail": {
   267              "description": "A human-readable explanation specific to this occurrence of the problem.",
   268              "example": "The request was missing these required fields: ...",
   269              "type": "string"
   270            },
   271            "id": {
   272              "description": "A unique identifier for this particular occurrence of the problem.",
   273              "example": "f16c31b5-6129-4571-add8-d589da9be524",
   274              "format": "uuid",
   275              "type": "string"
   276            },
   277            "meta": {
   278              "additionalProperties": true,
   279              "example": {
   280                "key": "value"
   281              },
   282              "type": "object"
   283            },
   284            "source": {
   285              "additionalProperties": false,
   286              "example": {
   287                "pointer": "/data/attributes"
   288              },
   289              "properties": {
   290                "parameter": {
   291                  "description": "A string indicating which URI query parameter caused the error.",
   292                  "example": "param1",
   293                  "type": "string"
   294                },
   295                "pointer": {
   296                  "description": "A JSON Pointer [RFC6901] to the associated entity in the request document.",
   297                  "example": "/data/attributes",
   298                  "type": "string"
   299                }
   300              },
   301              "type": "object"
   302            },
   303            "status": {
   304              "description": "The HTTP status code applicable to this problem, expressed as a string value.",
   305              "example": "400",
   306              "pattern": "^[45]\\d\\d$",
   307              "type": "string"
   308            }
   309          },
   310          "required": [
   311            "status",
   312            "detail"
   313          ],
   314          "type": "object"
   315        },
   316        "ErrorDocument": {
   317          "additionalProperties": false,
   318          "example": {
   319            "errors": [
   320              {
   321                "detail": "Permission denied for this resource",
   322                "status": "403"
   323              }
   324            ],
   325            "jsonapi": {
   326              "version": "1.0"
   327            }
   328          },
   329          "properties": {
   330            "errors": {
   331              "example": [
   332                {
   333                  "detail": "Permission denied for this resource",
   334                  "status": "403"
   335                }
   336              ],
   337              "items": {
   338                "$ref": "#/components/schemas/Error"
   339              },
   340              "minItems": 1,
   341              "type": "array"
   342            },
   343            "jsonapi": {
   344              "$ref": "#/components/schemas/JsonApi"
   345            }
   346          },
   347          "required": [
   348            "jsonapi",
   349            "errors"
   350          ],
   351          "type": "object"
   352        },
   353        "HelloWorld": {
   354          "additionalProperties": false,
   355          "properties": {
   356            "attributes": {
   357              "additionalProperties": false,
   358              "properties": {
   359                "message": {
   360                  "type": "string"
   361                },
   362                "requestSubject": {
   363                  "additionalProperties": false,
   364                  "properties": {
   365                    "clientId": {
   366                      "format": "uuid",
   367                      "type": "string"
   368                    },
   369                    "publicId": {
   370                      "format": "uuid",
   371                      "type": "string"
   372                    },
   373                    "type": {
   374                      "type": "string"
   375                    }
   376                  },
   377                  "required": [
   378                    "publicId",
   379                    "type"
   380                  ],
   381                  "type": "object"
   382                }
   383              },
   384              "required": [
   385                "message",
   386                "requestSubject"
   387              ],
   388              "type": "object"
   389            },
   390            "id": {
   391              "format": "uuid",
   392              "type": "string"
   393            },
   394            "type": {
   395              "type": "string"
   396            }
   397          },
   398          "required": [
   399            "type",
   400            "id",
   401            "attributes"
   402          ],
   403          "type": "object"
   404        },
   405        "JsonApi": {
   406          "additionalProperties": false,
   407          "example": {
   408            "version": "1.0"
   409          },
   410          "properties": {
   411            "version": {
   412              "description": "Version of the JSON API specification this server supports.",
   413              "example": "1.0",
   414              "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$",
   415              "type": "string"
   416            }
   417          },
   418          "required": [
   419            "version"
   420          ],
   421          "type": "object"
   422        },
   423        "LinkProperty": {
   424          "example": "https://example.com/api/resource",
   425          "oneOf": [
   426            {
   427              "description": "A string containing the link’s URL.",
   428              "example": "https://example.com/api/resource",
   429              "type": "string"
   430            },
   431            {
   432              "additionalProperties": false,
   433              "example": {
   434                "href": "https://example.com/api/resource"
   435              },
   436              "properties": {
   437                "href": {
   438                  "description": "A string containing the link’s URL.",
   439                  "example": "https://example.com/api/resource",
   440                  "type": "string"
   441                },
   442                "meta": {
   443                  "$ref": "#/components/schemas/Meta"
   444                }
   445              },
   446              "required": [
   447                "href"
   448              ],
   449              "type": "object"
   450            }
   451          ]
   452        },
   453        "Links": {
   454          "additionalProperties": false,
   455          "properties": {
   456            "first": {
   457              "$ref": "#/components/schemas/LinkProperty"
   458            },
   459            "last": {
   460              "$ref": "#/components/schemas/LinkProperty"
   461            },
   462            "next": {
   463              "$ref": "#/components/schemas/LinkProperty"
   464            },
   465            "prev": {
   466              "$ref": "#/components/schemas/LinkProperty"
   467            },
   468            "related": {
   469              "$ref": "#/components/schemas/LinkProperty"
   470            },
   471            "self": {
   472              "$ref": "#/components/schemas/LinkProperty"
   473            }
   474          },
   475          "type": "object"
   476        },
   477        "Meta": {
   478          "additionalProperties": true,
   479          "description": "Free-form object that may contain non-standard information.",
   480          "example": {
   481            "key1": "value1",
   482            "key2": {
   483              "sub_key": "sub_value"
   484            },
   485            "key3": [
   486              "array_value1",
   487              "array_value2"
   488            ]
   489          },
   490          "type": "object"
   491        },
   492        "Project": {
   493          "additionalProperties": false,
   494          "properties": {
   495            "attributes": {
   496              "additionalProperties": false,
   497              "properties": {
   498                "created": {
   499                  "description": "The date that the project was created on",
   500                  "example": "2021-05-29T09:50:54.014Z",
   501                  "type": "string"
   502                },
   503                "hostname": {
   504                  "description": "The hostname for a CLI project, null if not set",
   505                  "nullable": true,
   506                  "type": "string"
   507                },
   508                "name": {
   509                  "type": "string"
   510                },
   511                "origin": {
   512                  "description": "The origin the project was added from",
   513                  "example": "github",
   514                  "type": "string"
   515                },
   516                "status": {
   517                  "description": "Describes if a project is currently monitored or it is de-activated",
   518                  "example": "active",
   519                  "type": "string"
   520                },
   521                "type": {
   522                  "description": "The package manager of the project",
   523                  "example": "maven",
   524                  "type": "string"
   525                }
   526              },
   527              "required": [
   528                "name",
   529                "created",
   530                "origin",
   531                "type",
   532                "status"
   533              ],
   534              "type": "object"
   535            },
   536            "id": {
   537              "description": "The ID.",
   538              "example": "331ede0a-de94-456f-b788-166caeca58bf",
   539              "type": "string"
   540            },
   541            "type": {
   542              "description": "Content type.",
   543              "example": "projects",
   544              "type": "string"
   545            }
   546          },
   547          "required": [
   548            "type",
   549            "id",
   550            "attributes"
   551          ],
   552          "type": "object"
   553        },
   554        "QueryVersion": {
   555          "description": "Requested API version",
   556          "pattern": "^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$",
   557          "type": "string"
   558        }
   559      }
   560    },
   561    "info": {
   562      "title": "Registry",
   563      "version": "3.0.0"
   564    },
   565    "openapi": "3.0.3",
   566    "paths": {
   567      "/examples/hello-world": {
   568        "post": {
   569          "description": "Create a single result from the hello-world example",
   570          "operationId": "helloWorldCreate",
   571          "parameters": [
   572            {
   573              "$ref": "#/components/parameters/Version"
   574            }
   575          ],
   576          "requestBody": {
   577            "content": {
   578              "application/vnd.api+json": {
   579                "schema": {
   580                  "additionalProperties": false,
   581                  "properties": {
   582                    "attributes": {
   583                      "additionalProperties": false,
   584                      "properties": {
   585                        "betaField": {
   586                          "type": "string"
   587                        },
   588                        "message": {
   589                          "type": "string"
   590                        }
   591                      },
   592                      "required": [
   593                        "message",
   594                        "betaField"
   595                      ],
   596                      "type": "object"
   597                    }
   598                  },
   599                  "required": [
   600                    "attributes"
   601                  ],
   602                  "type": "object"
   603                }
   604              }
   605            }
   606          },
   607          "responses": {
   608            "201": {
   609              "content": {
   610                "application/vnd.api+json": {
   611                  "schema": {
   612                    "additionalProperties": false,
   613                    "properties": {
   614                      "data": {
   615                        "$ref": "#/components/schemas/HelloWorld"
   616                      },
   617                      "jsonapi": {
   618                        "$ref": "#/components/schemas/JsonApi"
   619                      },
   620                      "links": {
   621                        "$ref": "#/components/schemas/Links"
   622                      }
   623                    },
   624                    "required": [
   625                      "jsonapi",
   626                      "data",
   627                      "links"
   628                    ],
   629                    "type": "object"
   630                  }
   631                }
   632              },
   633              "description": "A hello world entity being requested is returned",
   634              "headers": {
   635                "location": {
   636                  "$ref": "#/components/headers/LocationHeader"
   637                },
   638                "w3security-request-id": {
   639                  "$ref": "#/components/headers/RequestIdResponseHeader"
   640                },
   641                "w3security-version-requested": {
   642                  "$ref": "#/components/headers/VersionRequestedResponseHeader"
   643                },
   644                "w3security-version-served": {
   645                  "$ref": "#/components/headers/VersionServedResponseHeader"
   646                }
   647              }
   648            },
   649            "400": {
   650              "$ref": "#/components/responses/400"
   651            },
   652            "401": {
   653              "$ref": "#/components/responses/401"
   654            },
   655            "404": {
   656              "$ref": "#/components/responses/404"
   657            },
   658            "500": {
   659              "$ref": "#/components/responses/500"
   660            }
   661          },
   662          "x-w3security-api-releases": [
   663            "2021-06-13~beta"
   664          ],
   665          "x-w3security-api-version": "2021-06-13~beta"
   666        },
   667        "x-w3security-api-resource": "hello-world"
   668      },
   669      "/examples/hello-world/{id}": {
   670        "get": {
   671          "description": "Get a single result from the hello-world example",
   672          "operationId": "helloWorldGetOne",
   673          "parameters": [
   674            {
   675              "$ref": "#/components/parameters/Version"
   676            },
   677            {
   678              "$ref": "#/components/parameters/Pagination"
   679            },
   680            {
   681              "description": "The id of the hello-world example entity to be retrieved.",
   682              "in": "path",
   683              "name": "id",
   684              "required": true,
   685              "schema": {
   686                "type": "string"
   687              }
   688            }
   689          ],
   690          "responses": {
   691            "200": {
   692              "content": {
   693                "application/vnd.api+json": {
   694                  "schema": {
   695                    "additionalProperties": false,
   696                    "properties": {
   697                      "data": {
   698                        "$ref": "#/components/schemas/HelloWorld"
   699                      },
   700                      "jsonapi": {
   701                        "$ref": "#/components/schemas/JsonApi"
   702                      },
   703                      "links": {
   704                        "$ref": "#/components/schemas/Links"
   705                      }
   706                    },
   707                    "required": [
   708                      "jsonapi",
   709                      "data",
   710                      "links"
   711                    ],
   712                    "type": "object"
   713                  }
   714                }
   715              },
   716              "description": "A hello world entity being requested is returned",
   717              "headers": {
   718                "w3security-request-id": {
   719                  "$ref": "#/components/headers/RequestIdResponseHeader"
   720                },
   721                "w3security-version-requested": {
   722                  "$ref": "#/components/headers/VersionRequestedResponseHeader"
   723                },
   724                "w3security-version-served": {
   725                  "$ref": "#/components/headers/VersionServedResponseHeader"
   726                }
   727              }
   728            },
   729            "400": {
   730              "$ref": "#/components/responses/400"
   731            },
   732            "401": {
   733              "$ref": "#/components/responses/401"
   734            },
   735            "404": {
   736              "$ref": "#/components/responses/404"
   737            },
   738            "500": {
   739              "$ref": "#/components/responses/500"
   740            }
   741          },
   742          "x-w3security-api-releases": [
   743            "2021-06-01~experimental",
   744            "2021-06-07~experimental",
   745            "2021-06-13~beta"
   746          ],
   747          "x-w3security-api-version": "2021-06-13~beta"
   748        },
   749        "x-w3security-api-resource": "hello-world"
   750      },
   751      "/openapi": {
   752        "get": {
   753          "description": "List available versions of OpenAPI specification",
   754          "operationId": "listAPIVersions",
   755          "responses": {
   756            "200": {
   757              "content": {
   758                "application/vnd.api+json": {
   759                  "schema": {
   760                    "items": {
   761                      "type": "string"
   762                    },
   763                    "type": "array"
   764                  }
   765                }
   766              },
   767              "description": "List of available versions is returned",
   768              "headers": {
   769                "w3security-request-id": {
   770                  "$ref": "#/components/headers/RequestIdResponseHeader"
   771                },
   772                "w3security-version-requested": {
   773                  "$ref": "#/components/headers/VersionRequestedResponseHeader"
   774                },
   775                "w3security-version-served": {
   776                  "$ref": "#/components/headers/VersionServedResponseHeader"
   777                }
   778              }
   779            },
   780            "400": {
   781              "$ref": "#/components/responses/400"
   782            },
   783            "401": {
   784              "$ref": "#/components/responses/401"
   785            },
   786            "404": {
   787              "$ref": "#/components/responses/404"
   788            },
   789            "500": {
   790              "$ref": "#/components/responses/500"
   791            }
   792          }
   793        }
   794      },
   795      "/openapi/{version}": {
   796        "get": {
   797          "description": "Get OpenAPI specification effective at version.",
   798          "operationId": "getAPIVersion",
   799          "parameters": [
   800            {
   801              "description": "The requested version of the API",
   802              "in": "path",
   803              "name": "version",
   804              "required": true,
   805              "schema": {
   806                "type": "string"
   807              }
   808            }
   809          ],
   810          "responses": {
   811            "200": {
   812              "content": {
   813                "application/vnd.api+json": {
   814                  "schema": {
   815                    "type": "object"
   816                  }
   817                },
   818                "application/x-yaml": {
   819                  "schema": {
   820                    "type": "object"
   821                  }
   822                }
   823              },
   824              "description": "OpenAPI specification matching requested version is returned",
   825              "headers": {
   826                "w3security-request-id": {
   827                  "$ref": "#/components/headers/RequestIdResponseHeader"
   828                },
   829                "w3security-version-requested": {
   830                  "$ref": "#/components/headers/VersionRequestedResponseHeader"
   831                },
   832                "w3security-version-served": {
   833                  "$ref": "#/components/headers/VersionServedResponseHeader"
   834                }
   835              }
   836            },
   837            "400": {
   838              "$ref": "#/components/responses/400"
   839            },
   840            "401": {
   841              "$ref": "#/components/responses/401"
   842            },
   843            "404": {
   844              "$ref": "#/components/responses/404"
   845            },
   846            "500": {
   847              "$ref": "#/components/responses/500"
   848            }
   849          }
   850        }
   851      },
   852      "/orgs/{orgId}/projects": {
   853        "get": {
   854          "description": "Get a list of an organization's projects.",
   855          "operationId": "getOrgsProjects",
   856          "parameters": [
   857            {
   858              "$ref": "#/components/parameters/Version"
   859            },
   860            {
   861              "$ref": "#/components/parameters/StartingAfter"
   862            },
   863            {
   864              "$ref": "#/components/parameters/EndingBefore"
   865            },
   866            {
   867              "$ref": "#/components/parameters/Limit"
   868            },
   869            {
   870              "description": "The id of the org to return a list of projects",
   871              "in": "path",
   872              "name": "orgId",
   873              "required": true,
   874              "schema": {
   875                "type": "string"
   876              }
   877            },
   878            {
   879              "description": "The options for filtering the result set",
   880              "in": "query",
   881              "name": "filters",
   882              "schema": {
   883                "additionalProperties": false,
   884                "properties": {
   885                  "attributes.criticality": {
   886                    "items": {
   887                      "type": "string"
   888                    },
   889                    "type": "array"
   890                  },
   891                  "attributes.environment": {
   892                    "items": {
   893                      "type": "string"
   894                    },
   895                    "type": "array"
   896                  },
   897                  "attributes.lifecycle": {
   898                    "items": {
   899                      "type": "string"
   900                    },
   901                    "type": "array"
   902                  },
   903                  "name": {
   904                    "type": "string"
   905                  },
   906                  "origin": {
   907                    "type": "string"
   908                  },
   909                  "status": {
   910                    "enum": [
   911                      "active",
   912                      "inactive"
   913                    ],
   914                    "type": "string"
   915                  },
   916                  "tags.includes": {
   917                    "items": {
   918                      "type": "string"
   919                    },
   920                    "type": "array"
   921                  },
   922                  "type": {
   923                    "type": "string"
   924                  }
   925                },
   926                "type": "object"
   927              }
   928            }
   929          ],
   930          "responses": {
   931            "200": {
   932              "content": {
   933                "application/vnd.api+json": {
   934                  "schema": {
   935                    "additionalProperties": false,
   936                    "properties": {
   937                      "data": {
   938                        "items": {
   939                          "$ref": "#/components/schemas/Project"
   940                        },
   941                        "type": "array"
   942                      },
   943                      "jsonapi": {
   944                        "$ref": "#/components/schemas/JsonApi"
   945                      },
   946                      "links": {
   947                        "$ref": "#/components/schemas/Links"
   948                      }
   949                    },
   950                    "required": [
   951                      "jsonapi",
   952                      "data",
   953                      "links"
   954                    ],
   955                    "type": "object"
   956                  }
   957                }
   958              },
   959              "description": "A list of projects is returned for the targeted org",
   960              "headers": {
   961                "w3security-request-id": {
   962                  "$ref": "#/components/headers/RequestIdResponseHeader"
   963                },
   964                "w3security-version-requested": {
   965                  "$ref": "#/components/headers/VersionRequestedResponseHeader"
   966                },
   967                "w3security-version-served": {
   968                  "$ref": "#/components/headers/VersionServedResponseHeader"
   969                }
   970              }
   971            },
   972            "400": {
   973              "$ref": "#/components/responses/400"
   974            },
   975            "401": {
   976              "$ref": "#/components/responses/401"
   977            },
   978            "404": {
   979              "$ref": "#/components/responses/404"
   980            },
   981            "500": {
   982              "$ref": "#/components/responses/500"
   983            }
   984          },
   985          "tags": [
   986            "Projects"
   987          ],
   988          "x-w3security-api-releases": [
   989            "2021-06-04~experimental"
   990          ],
   991          "x-w3security-api-version": "2021-06-04~experimental"
   992        },
   993        "x-w3security-api-resource": "projects"
   994      }
   995    },
   996    "servers": [
   997      {
   998        "description": "Test REST API",
   999        "url": "https://example.com/api/rest"
  1000      }
  1001    ],
  1002    "tags": [
  1003      {
  1004        "description": "Projects",
  1005        "name": "Projects"
  1006      },
  1007      {
  1008        "description": "Something",
  1009        "name": "Something"
  1010      }
  1011    ],
  1012    "x-w3security-api-lifecycle": "sunset",
  1013    "x-w3security-api-version": "2021-06-13~experimental"
  1014  }