{
  "openapi": "3.1.0",
  "info": {
    "title": "Pauhu.eu Data API",
    "version": "catalogue-f48934baa54e"
  },
  "servers": [
    {
      "url": "https://api.pauhu.eu/v1"
    }
  ],
  "paths": {
    "/lds/_catalog": {
      "get": {
        "operationId": "getLdsCatalog",
        "summary": "Data-product catalogue.",
        "parameters": [],
        "servers": [
          {
            "url": "https://api.pauhu.eu/v1"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful JSON response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServedCatalogueSnapshot"
                }
              }
            }
          }
        }
      }
    },
    "/dcat/catalog/{product_id}": {
      "get": {
        "operationId": "getDcatCatalogOne",
        "summary": "Per-product DCAT-AP catalogue (JSON-LD).",
        "parameters": [
          {
            "name": "product_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "servers": [
          {
            "url": "https://api.pauhu.eu/v1"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful JSON response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ServedCatalogueSnapshot": {
        "type": "object",
        "properties": {
          "@context": {
            "type": "string"
          },
          "@type": {
            "type": "string"
          },
          "dct:license": {
            "type": "string"
          },
          "dct:publisher": {
            "type": "string"
          },
          "dct:title": {
            "type": "string"
          },
          "products": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "_health": {
                  "type": "object",
                  "properties": {
                    "cache_ttl_seconds": {
                      "type": "integer"
                    },
                    "checked_at": {
                      "type": "string"
                    },
                    "rollup": {
                      "type": "string"
                    },
                    "rollup_reason": {
                      "type": "string"
                    },
                    "row_count": {
                      "type": "integer"
                    },
                    "row_count_at_launch": {
                      "type": "integer"
                    },
                    "sources_optional_count": {
                      "type": "integer"
                    },
                    "sources_required_count": {
                      "type": "integer"
                    }
                  },
                  "additionalProperties": true
                },
                "asset_uri": {
                  "type": "string"
                },
                "dcat_url": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                },
                "envelope_state": {
                  "type": "string"
                },
                "launch_state": {
                  "type": "string"
                },
                "licence_basis": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "attribution": {
                        "oneOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string"
                          }
                        ]
                      },
                      "basis": {
                        "oneOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string"
                          }
                        ]
                      },
                      "conditions": {
                        "oneOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string"
                          }
                        ]
                      },
                      "quote_sha256": {
                        "oneOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string"
                          }
                        ]
                      },
                      "ruled_at": {
                        "oneOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string"
                          }
                        ]
                      },
                      "source": {
                        "type": "string"
                      },
                      "terms_url": {
                        "oneOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string"
                          }
                        ]
                      },
                      "verdict": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "licence_state": {
                  "type": "string"
                },
                "licence_summary": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "display": {
                        "oneOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "string"
                          }
                        ]
                      },
                      "from": {
                        "type": "string"
                      },
                      "licences": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "source": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "live_row_count": {
                  "type": "integer"
                },
                "live_unit_count": {
                  "type": "integer"
                },
                "marker": {
                  "type": "string"
                },
                "mcp_endpoint": {
                  "type": "string"
                },
                "product_id": {
                  "type": "string"
                },
                "row_count_at_launch": {
                  "type": "integer"
                },
                "row_count_basis": {
                  "type": "string"
                },
                "row_count_computed_at": {
                  "type": "string"
                },
                "rulebook_ref": {
                  "type": "string"
                },
                "sectoral_ds": {
                  "type": "string"
                },
                "slug": {
                  "type": "string"
                },
                "subscribe_status": {
                  "type": "string"
                },
                "subscribe_url": {
                  "type": "null"
                },
                "terminal_condition": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                },
                "unit_count_basis": {
                  "type": "string"
                },
                "unit_definition": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "source": {
                        "type": "string"
                      },
                      "unit": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": true
                  }
                }
              },
              "additionalProperties": true
            }
          },
          "total": {
            "type": "integer"
          }
        },
        "additionalProperties": true
      }
    }
  },
  "x-projection-state": "CANDIDATE_NOT_SERVED",
  "x-generation-basis": {
    "catalogue_sha256": "f48934baa54e5f66817d60f732ab598d96136559d68ae3dabf603904e95943de",
    "specification_sha256": "caa64f474899f52096280206c8c6ee701673f34d30b81fb46e97901a1e630677",
    "specification_source": "https://api.pauhu.eu/v1/specification",
    "route_source_contract": "authoritative served OpenAPI /v1/specification; catalogue routes only"
  }
}