{
  "openapi": "3.0.0",
  "info": {
    "title": "PSX",
    "version": "1"
  },
  "servers": [
    {
      "url": "http:\/\/127.0.0.1\/"
    }
  ],
  "paths": {
    "\/population\/popo": {
      "get": {
        "description": "Collection endpoint",
        "operationId": "PSX_Framework_App_Api_Population_CollectionPopo_doGet",
        "parameters": [
          {
            "name": "startIndex",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "count",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/PSX_Framework_App_Api_Population_CollectionPopo_doGet_GET_200_Response"
                }
              }
            }
          }
        }
      },
      "post": {
        "description": "Collection endpoint",
        "operationId": "PSX_Framework_App_Api_Population_CollectionPopo_doPost",
        "requestBody": {
          "description": "POST Request",
          "content": {
            "application\/json": {
              "schema": {
                "$ref": "#\/components\/schemas\/PSX_Framework_App_Api_Population_CollectionPopo_doPost_POST_Request"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "POST 201 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/PSX_Framework_App_Api_Population_CollectionPopo_doPost_POST_201_Response"
                }
              }
            }
          }
        }
      }
    },
    "\/population\/popo\/{id}": {
      "get": {
        "description": "Entity endpoint",
        "operationId": "PSX_Framework_App_Api_Population_EntityPopo_doGet",
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/PSX_Framework_App_Api_Population_EntityPopo_doGet_GET_200_Response"
                }
              }
            }
          }
        }
      },
      "put": {
        "description": "Entity endpoint",
        "operationId": "PSX_Framework_App_Api_Population_EntityPopo_doPut",
        "requestBody": {
          "description": "PUT Request",
          "content": {
            "application\/json": {
              "schema": {
                "$ref": "#\/components\/schemas\/PSX_Framework_App_Api_Population_EntityPopo_doPut_PUT_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "PUT 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/PSX_Framework_App_Api_Population_EntityPopo_doPut_PUT_200_Response"
                }
              }
            }
          }
        }
      },
      "delete": {
        "description": "Entity endpoint",
        "operationId": "PSX_Framework_App_Api_Population_EntityPopo_doDelete",
        "responses": {
          "200": {
            "description": "DELETE 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/PSX_Framework_App_Api_Population_EntityPopo_doDelete_DELETE_200_Response"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "\/population\/typeschema": {
      "get": {
        "description": "Collection endpoint",
        "operationId": "PSX_Framework_App_Api_Population_CollectionTypeSchema_doGet",
        "parameters": [
          {
            "name": "startIndex",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "count",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/PSX_Framework_App_Api_Population_CollectionTypeSchema_doGet_GET_200_Response"
                }
              }
            }
          }
        }
      },
      "post": {
        "description": "Collection endpoint",
        "operationId": "PSX_Framework_App_Api_Population_CollectionTypeSchema_doPost",
        "requestBody": {
          "description": "POST Request",
          "content": {
            "application\/json": {
              "schema": {
                "$ref": "#\/components\/schemas\/PSX_Framework_App_Api_Population_CollectionTypeSchema_doPost_POST_Request"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "POST 201 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/PSX_Framework_App_Api_Population_CollectionTypeSchema_doPost_POST_201_Response"
                }
              }
            }
          }
        }
      }
    },
    "\/population\/typeschema\/{id}": {
      "get": {
        "description": "Entity endpoint",
        "operationId": "PSX_Framework_App_Api_Population_EntityTypeSchema_doGet",
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/PSX_Framework_App_Api_Population_EntityTypeSchema_doGet_GET_200_Response"
                }
              }
            }
          }
        }
      },
      "put": {
        "description": "Entity endpoint",
        "operationId": "PSX_Framework_App_Api_Population_EntityTypeSchema_doPut",
        "requestBody": {
          "description": "PUT Request",
          "content": {
            "application\/json": {
              "schema": {
                "$ref": "#\/components\/schemas\/PSX_Framework_App_Api_Population_EntityTypeSchema_doPut_PUT_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "PUT 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/PSX_Framework_App_Api_Population_EntityTypeSchema_doPut_PUT_200_Response"
                }
              }
            }
          }
        }
      },
      "delete": {
        "description": "Entity endpoint",
        "operationId": "PSX_Framework_App_Api_Population_EntityTypeSchema_doDelete",
        "responses": {
          "200": {
            "description": "DELETE 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/PSX_Framework_App_Api_Population_EntityTypeSchema_doDelete_DELETE_200_Response"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "integer"
          }
        }
      ]
    },
    "\/tool": {
      "get": {
        "operationId": "PSX_Framework_Controller_Tool_DefaultController_doGet",
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/PSX_Framework_Controller_Tool_DefaultController_doGet_GET_200_Response"
                }
              }
            }
          }
        }
      }
    },
    "\/tool\/discovery": {
      "get": {
        "operationId": "PSX_Framework_Controller_Tool_DiscoveryController_doGet",
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/PSX_Framework_Controller_Tool_DiscoveryController_doGet_GET_200_Response"
                }
              }
            }
          }
        }
      }
    },
    "\/tool\/doc": {
      "get": {
        "operationId": "PSX_Framework_Controller_Tool_Documentation_IndexController_doGet",
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/PSX_Framework_Controller_Tool_Documentation_IndexController_doGet_GET_200_Response"
                }
              }
            }
          }
        }
      }
    },
    "\/tool\/doc\/{version}\/{path}": {
      "get": {
        "operationId": "PSX_Framework_Controller_Tool_Documentation_DetailController_doGet",
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/PSX_Framework_Controller_Tool_Documentation_DetailController_doGet_GET_200_Response"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "version",
          "in": "path",
          "required": false,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "path",
          "in": "path",
          "required": false,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "\/tool\/routing": {
      "get": {
        "operationId": "PSX_Framework_Controller_Tool_RoutingController_doGet",
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/PSX_Framework_Controller_Tool_RoutingController_doGet_GET_200_Response"
                }
              }
            }
          }
        }
      }
    },
    "\/generator\/{type}\/{version}\/{path}": {
      "get": {
        "operationId": "PSX_Framework_Controller_Generator_GeneratorController_doGet",
        "responses": {}
      }
    }
  },
  "components": {
    "schemas": {
      "Collection": {
        "type": "object",
        "properties": {
          "totalResults": {
            "type": "integer"
          },
          "entry": {
            "type": "array",
            "items": {
              "$ref": "#\/components\/schemas\/Entity"
            }
          }
        }
      },
      "Discovery_Collection": {
        "type": "object",
        "properties": {
          "links": {
            "type": "array",
            "items": {
              "$ref": "#\/components\/schemas\/Discovery_Link"
            }
          }
        }
      },
      "Discovery_Link": {
        "type": "object",
        "properties": {
          "rel": {
            "type": "string"
          },
          "href": {
            "type": "string"
          }
        }
      },
      "Documentation_Detail": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "status": {
            "type": "integer"
          },
          "description": {
            "type": "string"
          },
          "schema": {
            "$ref": "#\/components\/schemas\/Documentation_Schema"
          },
          "pathParameters": {
            "type": "string"
          },
          "methods": {
            "$ref": "#\/components\/schemas\/Documentation_Methods"
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#\/components\/schemas\/Discovery_Link"
            }
          }
        }
      },
      "Documentation_Index": {
        "type": "object",
        "properties": {
          "routings": {
            "type": "array",
            "items": {
              "$ref": "#\/components\/schemas\/Documentation_Route"
            }
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#\/components\/schemas\/Discovery_Link"
            }
          }
        }
      },
      "Documentation_Method": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "queryParameters": {
            "type": "string"
          },
          "request": {
            "type": "string"
          },
          "responses": {
            "$ref": "#\/components\/schemas\/Documentation_Method_Responses"
          }
        }
      },
      "Documentation_Method_Responses": {
        "type": "object",
        "additionalProperties": {
          "type": "string"
        }
      },
      "Documentation_Methods": {
        "type": "object",
        "additionalProperties": {
          "$ref": "#\/components\/schemas\/Documentation_Method"
        }
      },
      "Documentation_Route": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "methods": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "version": {
            "type": "string"
          }
        }
      },
      "Documentation_Schema": {
        "type": "object",
        "additionalProperties": true
      },
      "Entity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "place": {
            "type": "integer"
          },
          "region": {
            "type": "string"
          },
          "population": {
            "type": "integer"
          },
          "users": {
            "type": "integer"
          },
          "worldUsers": {
            "type": "number"
          },
          "datetime": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "Message": {
        "type": "object"
      },
      "PSX_Framework_App_Api_Population_CollectionPopo_doGet_GET_200_Response": {
        "$ref": "#\/components\/schemas\/Collection"
      },
      "PSX_Framework_App_Api_Population_CollectionPopo_doPost_POST_201_Response": {
        "$ref": "#\/components\/schemas\/Message"
      },
      "PSX_Framework_App_Api_Population_CollectionPopo_doPost_POST_Request": {
        "$ref": "#\/components\/schemas\/Entity"
      },
      "PSX_Framework_App_Api_Population_CollectionTypeSchema_doGet_GET_200_Response": {
        "$ref": "#\/components\/schemas\/Collection"
      },
      "PSX_Framework_App_Api_Population_CollectionTypeSchema_doPost_POST_201_Response": {
        "$ref": "#\/components\/schemas\/Message"
      },
      "PSX_Framework_App_Api_Population_CollectionTypeSchema_doPost_POST_Request": {
        "$ref": "#\/components\/schemas\/Entity"
      },
      "PSX_Framework_App_Api_Population_EntityPopo_doDelete_DELETE_200_Response": {
        "$ref": "#\/components\/schemas\/Message"
      },
      "PSX_Framework_App_Api_Population_EntityPopo_doGet_GET_200_Response": {
        "$ref": "#\/components\/schemas\/Entity"
      },
      "PSX_Framework_App_Api_Population_EntityPopo_doPut_PUT_200_Response": {
        "$ref": "#\/components\/schemas\/Message"
      },
      "PSX_Framework_App_Api_Population_EntityPopo_doPut_PUT_Request": {
        "$ref": "#\/components\/schemas\/Entity"
      },
      "PSX_Framework_App_Api_Population_EntityTypeSchema_doDelete_DELETE_200_Response": {
        "$ref": "#\/components\/schemas\/Message"
      },
      "PSX_Framework_App_Api_Population_EntityTypeSchema_doGet_GET_200_Response": {
        "$ref": "#\/components\/schemas\/Entity"
      },
      "PSX_Framework_App_Api_Population_EntityTypeSchema_doPut_PUT_200_Response": {
        "$ref": "#\/components\/schemas\/Message"
      },
      "PSX_Framework_App_Api_Population_EntityTypeSchema_doPut_PUT_Request": {
        "$ref": "#\/components\/schemas\/Entity"
      },
      "PSX_Framework_Controller_Tool_DefaultController_doGet_GET_200_Response": {
        "$ref": "#\/components\/schemas\/Welcome"
      },
      "PSX_Framework_Controller_Tool_DiscoveryController_doGet_GET_200_Response": {
        "$ref": "#\/components\/schemas\/Discovery_Collection"
      },
      "PSX_Framework_Controller_Tool_Documentation_DetailController_doGet_GET_200_Response": {
        "$ref": "#\/components\/schemas\/Documentation_Detail"
      },
      "PSX_Framework_Controller_Tool_Documentation_IndexController_doGet_GET_200_Response": {
        "$ref": "#\/components\/schemas\/Documentation_Index"
      },
      "PSX_Framework_Controller_Tool_RoutingController_doGet_GET_200_Response": {
        "$ref": "#\/components\/schemas\/Routing_Collection"
      },
      "Routing_Collection": {
        "type": "object",
        "properties": {
          "routings": {
            "type": "array",
            "items": {
              "$ref": "#\/components\/schemas\/Routing_Route"
            }
          }
        }
      },
      "Routing_Route": {
        "type": "object",
        "properties": {
          "methods": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "path": {
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        }
      },
      "Welcome": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    }
  }
}