{
  "components": {
    "schemas": {
      "Offering": {
        "type": "object",
        "required": [
          "id",
          "language",
          "title",
          "url",
          "summary",
          "format",
          "audiences",
          "topics",
          "intended_outcomes",
          "status"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "language": {
            "type": "string",
            "enum": [
              "en",
              "de"
            ]
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "summary": {
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "audiences": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "individuals",
                "teams",
                "organizations"
              ]
            }
          },
          "topics": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "intended_outcomes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "outcomes_are_guaranteed": {
            "const": false
          },
          "status": {
            "type": "string"
          }
        }
      },
      "Offers": {
        "type": "object",
        "required": [
          "language",
          "items"
        ],
        "properties": {
          "language": {
            "type": "string",
            "enum": [
              "en",
              "de"
            ]
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Offering"
            }
          }
        }
      },
      "Profile": {
        "type": "object",
        "required": [
          "language",
          "name",
          "brand",
          "url",
          "text"
        ],
        "properties": {
          "language": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "brand": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        }
      },
      "Framework": {
        "type": "object",
        "required": [
          "id",
          "language",
          "title",
          "url",
          "status",
          "whitepaper",
          "newsletter"
        ],
        "properties": {
          "id": {
            "const": "sympoiesia"
          },
          "status": {
            "const": "framework_in_development"
          },
          "whitepaper": {
            "type": "object",
            "properties": {
              "delivery_status": {
                "const": "not_configured"
              },
              "public_download_url": {
                "type": "null"
              }
            }
          },
          "newsletter": {
            "type": "object",
            "properties": {
              "available": {
                "const": false
              },
              "optional": {
                "const": true
              },
              "separate_confirmation_required": {
                "const": true
              }
            }
          }
        }
      },
      "Contact": {
        "type": "object",
        "required": [
          "language",
          "email",
          "introductory_conversation"
        ],
        "properties": {
          "email": {
            "type": "string",
            "format": "email"
          },
          "introductory_conversation": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "format": "uri"
              },
              "duration_minutes": {
                "type": "integer"
              },
              "booking_action_supported": {
                "const": false
              }
            }
          }
        }
      },
      "Cases": {
        "type": "object",
        "required": [
          "language",
          "items"
        ],
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "id",
                "title",
                "url",
                "text"
              ]
            }
          }
        }
      }
    }
  },
  "openapi": "3.1.0",
  "info": {
    "title": "SONOOGA public read-only catalogue",
    "version": "1.0.0",
    "description": "Read public offerings, cases, profile, framework and contact links. No bookings, emails or subscriptions are performed."
  },
  "servers": [
    {
      "url": "https://sonooga.com"
    }
  ],
  "paths": {
    "/agent/en/offers.json": {
      "get": {
        "operationId": "offers_en",
        "summary": "Read public offers in en",
        "responses": {
          "200": {
            "description": "Public information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Offers"
                }
              }
            }
          }
        }
      }
    },
    "/agent/en/profile.json": {
      "get": {
        "operationId": "profile_en",
        "summary": "Read public profile in en",
        "responses": {
          "200": {
            "description": "Public information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Profile"
                }
              }
            }
          }
        }
      }
    },
    "/agent/en/framework.json": {
      "get": {
        "operationId": "framework_en",
        "summary": "Read public framework in en",
        "responses": {
          "200": {
            "description": "Public information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Framework"
                }
              }
            }
          }
        }
      }
    },
    "/agent/en/cases.json": {
      "get": {
        "operationId": "cases_en",
        "summary": "Read public cases in en",
        "responses": {
          "200": {
            "description": "Public information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Cases"
                }
              }
            }
          }
        }
      }
    },
    "/agent/en/contact.json": {
      "get": {
        "operationId": "contact_en",
        "summary": "Read public contact in en",
        "responses": {
          "200": {
            "description": "Public information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Contact"
                }
              }
            }
          }
        }
      }
    },
    "/agent/en/offers/{id}.json": {
      "get": {
        "operationId": "offering_en",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "understand-explore-apply",
                "leadership-in-the-age-of-ai",
                "rethinking-your-business",
                "team-direction-collaboration",
                "leadership-strategic-sparring",
                "ai-studio",
                "next-generation-talent"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One public offering",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Offering"
                }
              }
            }
          },
          "404": {
            "description": "Unknown offering"
          }
        }
      }
    },
    "/agent/de/offers.json": {
      "get": {
        "operationId": "offers_de",
        "summary": "Read public offers in de",
        "responses": {
          "200": {
            "description": "Public information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Offers"
                }
              }
            }
          }
        }
      }
    },
    "/agent/de/profile.json": {
      "get": {
        "operationId": "profile_de",
        "summary": "Read public profile in de",
        "responses": {
          "200": {
            "description": "Public information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Profile"
                }
              }
            }
          }
        }
      }
    },
    "/agent/de/framework.json": {
      "get": {
        "operationId": "framework_de",
        "summary": "Read public framework in de",
        "responses": {
          "200": {
            "description": "Public information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Framework"
                }
              }
            }
          }
        }
      }
    },
    "/agent/de/cases.json": {
      "get": {
        "operationId": "cases_de",
        "summary": "Read public cases in de",
        "responses": {
          "200": {
            "description": "Public information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Cases"
                }
              }
            }
          }
        }
      }
    },
    "/agent/de/contact.json": {
      "get": {
        "operationId": "contact_de",
        "summary": "Read public contact in de",
        "responses": {
          "200": {
            "description": "Public information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Contact"
                }
              }
            }
          }
        }
      }
    },
    "/agent/de/offers/{id}.json": {
      "get": {
        "operationId": "offering_de",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "understand-explore-apply",
                "leadership-in-the-age-of-ai",
                "rethinking-your-business",
                "team-direction-collaboration",
                "leadership-strategic-sparring",
                "ai-studio",
                "next-generation-talent"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "One public offering",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Offering"
                }
              }
            }
          },
          "404": {
            "description": "Unknown offering"
          }
        }
      }
    }
  }
}
